Debian Lenny on Acer 3004 laptop

I needed a stable, fast environment to get some work done so I decided that as I had a spare partition on my Acer 3004 laptop i’d go back to Debian Lenny.

I installed Debian Lenny Netinstall via a wired connection to my router.

I chose to install to an Ext3 partition, and only selected the base files and laptop files as I am going for a Fluxbox driven rocket box.

This laptop has Broadcom wireless, a Sis graphics card, and a Synaptics touchpad. Everything else is standard

I updated and upgraded after install and then got my wireless drivers and additional wireless necessities (I have a wpa2 tkip wireless connection):
aptitude instal bcm43-fwcutter wireless-tools wpasupplicant
Then as I like to use Wicd which isn’t available in the standard Lenny repos, I added Lenny backports and pinned the standard repos as default:
Lenny Backports:
# Backported packages for Debian Lenny
deb http://www.backports.org/debian lenny-backports main contrib non-free

Backports key:
apt-get install debian-backports-keyring

Pin Lenny as default:
echo 'APT::Default-Release "lenny";' > /etc/apt/apt.conf.d/default
While I was at it, I added “contrib” and “non-free” to the standard repos

Install Xorg Sis driver which automaticall installs Xorg dependencies
aptitude install xserver-xorg-video-sis
Incidentally, I always add video=sisfb after ro quiet splash on the menu.list or grub.cfg to make sure that the sisfb framebuffer gets used. Vesa witll leave you with a blurry desktop with the wrong colour depth. But that’s what you get for buying a laptop with a pile of crap graphics card like Sis. Sis have stated there will never be drivers for Linux, so we just have to put up with it, or buy Ati/Nvidia next time.

Synaptics Touchpad
aptitude install xserver-xorg-input-synaptics
(See my xorg.conf to add the relative synaptics section, without it you get no scroll action)

Next up I configured Xorg and copied the new xorg.conf over to /etc/X11
su to root
X -configure
Then copy it over:
cp /root/xorg.conf.new /etc/X11/xorg.conf

Next up I had to manually add my Spanish keyboard and the section for my Synaptics touchpad
As a quick fix to get your keyboard keymap correct while you are getting everything setup, you can issue this command with your keymap (mine is “es” for Spain):
setxkbmap es
My Xorg.conf for my laptop with everything working
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/etc/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "GLcore"
Load "dri"
Load "dbe"
Load "record"
Load "glx"
Load "xtrap"
Load "extmod"
Load "synaptics"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "synaptics"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
Option "TapButton1" "1"
Option "SpecialScrollAreaRight" "true"
Option "VertEdgeScroll" "true"
Option "VertTwoFingerScroll" "true"
Option "SHMConfig" "true"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "Accel" # []
#Option "AccelMethod" #
#Option "TurboQueue" # []
#Option "FastVram" # []
#Option "HostBus" # []
#Option "RenderAcceleration" # []
#Option "ForceCRT1Type" #
#Option "ForceCRT2Type" #
#Option "ShadowFB" # []
#Option "DRI" # []
#Option "AGPSize" #
#Option "GARTSize" #
#Option "Vesa" # []
#Option "MaxXFBMem" #
#Option "EnableSiSCtrl" # []
#Option "SWCursor" # []
#Option "HWCursor" # []
#Option "UseColorHWCursor" # []
#Option "Rotate" #
#Option "Reflect" #
#Option "Xvideo" # []
#Option "InternalModes" # []
#Option "OverruleFrequencyRanges" # []
#Option "RestoreBySetMode" # []
#Option "ForceCRT1" # []
#Option "XvOnCRT2" # []
#Option "PanelDelayCompensation" #
#Option "PDC" #
#Option "PanelDelayCompensation2" #
#Option "PDC2" #
#Option "PanelDelayCompensation1" #
#Option "PDC1" #
#Option "EMI" #
#Option "LVDSHL" #
#Option "ForcePanelRGB" #
#Option "SpecialTiming" #
#Option "TVStandard" #
#Option "UseROMData" # []
#Option "UseOEMData" # []
#Option "YV12" # []
#Option "CHTVType" # []
#Option "CHTVOverscan" # []
#Option "CHTVSuperOverscan" # []
#Option "CHTVLumaBandwidthCVBS" #
#Option "CHTVLumaBandwidthSVIDEO" #
#Option "CHTVLumaFlickerFilter" #
#Option "CHTVChromaBandwidth" #
#Option "CHTVChromaFlickerFilter" #
#Option "CHTVCVBSColor" # []
#Option "CHTVTextEnhance" #
#Option "CHTVContrast" #
#Option "SISTVEdgeEnhance" #
#Option "SISTVAntiFlicker" #
#Option "SISTVSaturation" #
#Option "SISTVCFilter" # []
#Option "SISTVYFilter" #
#Option "SISTVColorCalibFine" #
#Option "SISTVColorCalibCoarse" #
#Option "SISTVXScale" #
#Option "SISTVYScale" #
#Option "TVXPosOffset" #
#Option "TVYPosOffset" #
#Option "SIS6326TVAntiFlicker" #
#Option "SIS6326TVEnableYFilter" # []
#Option "SIS6326TVYFilterStrong" # []
#Option "SIS6326TVForcePlug" #
#Option "SIS6326FSCAdjust" #
#Option "YPbPrAspectRatio" #
#Option "TVBlueWorkAround" # []
#Option "ColorHWCursorBlending" # []
#Option "ColorHWCursorBlendThreshold" #
#Option "CRT2Detection" # []
#Option "ForceCRT2ReDetection" # []
#Option "SenseYPbPr" # []
#Option "CRT1Gamma" # []
#Option "CRT2Gamma" # []
#Option "GammaBrightness" #
#Option "GammaBrightnessCRT2" #
#Option "CRT2GammaBrightness" #
#Option "Brightness" #
#Option "NewGammaBrightness" #
#Option "CRT2Brightness" #
#Option "CRT2NewGammaBrightness" #
#Option "Contrast" #
#Option "NewGammaContrast" #
#Option "CRT2Contrast" #
#Option "CRT2NewGammaContrast" #
#Option "CRT1Saturation" #
#Option "XvGamma" # []
#Option "XvDefaultContrast" #
#Option "XvDefaultBrightness" #
#Option "XvDefaultHue" #
#Option "XvDefaultSaturation" #
#Option "XvDefaultDisableGfx" # []
#Option "XvDefaultDisableGfxLR" # []
#Option "XvChromaMin" #
#Option "XvChromaMax" #
#Option "XvUseChromaKey" # []
#Option "XvInsideChromaKey" # []
#Option "XvYUVChromaKey" # []
#Option "XvDisableColorKey" # []
#Option "XvUseMemcpy" # []
#Option "BenchmarkMemcpy" # []
#Option "UseSSE" # []
#Option "XvDefaultAdaptor" #
#Option "ScaleLCD" # []
#Option "CenterLCD" # []
#Option "EnableHotkey" # []
#Option "ForceCRT1VGAAspect" #
#Option "ForceCRT2VGAAspect" #
#Option "MergedFB" # []
#Option "TwinView" # []
#Option "MergedFBAuto" # []
#Option "CRT2HSync" #
#Option "SecondMonitorHorizSync" #
#Option "CRT2VRefresh" #
#Option "SecondMonitorVertRefresh" #
#Option "CRT2Position" #
#Option "TwinViewOrientation" #
#Option "MetaModes" #
#Option "MergedDPI" #
#Option "MergedXinerama" # []
#Option "TwinviewXineramaInfo" # []
#Option "MergedXineramaCRT2IsScreen0" # []
#Option "MergedNonRectangular" # []
#Option "MergedMouseRestriction" # []
#Option "SHMConfig" "true"
Identifier "Card0"
Driver "sis"
VendorName "Silicon Integrated Systems [SiS]"
BoardName "661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Once that was all done I installed my desktop and a few apps:
aptitude install fluxbox wicd gdm bbrun fluxconf fbpager xfce4-terminal conky lua50 imlib2 iceweasel scrot imagemagick
No themes, no wallpaper, no frills………….. at the moment 😉

Then reboot, at GDM choose Session > Fluxbox then login to a very sparse but very fast Fluxbox desktop.

Next up was to edit my ~/fluxbox/menu to add my main apps right at the top, and also add wicd and conky as my startup apps on ~/fluxbox/startup

That’s it for the moment for a basic Debian Lenny Acer laptop H4x0r-R0kk3t-B0x.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s