This is about my experiences with installing Debian/GNU Linux on my girlfriend`s (really! I know, this is one of the most written sentences...) laptop. The more specific model number is printed on the sticker where the serial number is listed: A6V-Q014H.
Some features:
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04) 0000:00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 04) 0000:00:1b.0 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04) 0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) 0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) 0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) 0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04) 0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04) 0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) 0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04) 0000:00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04) 0000:01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13) 0000:01:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3) 0000:01:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08) 0000:01:01.2 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17) 0000:01:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 08) 0000:01:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05) 0000:03:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X700 (PCIE)
The first difficulty was choosing the right distribution. No question, it had to be a Debian-based one. But unfortunately Debian stable, sarge, is too old to support the ATI X700 out of the box.
Installing the proprietary ATI fglrx driver was no Problem with the packages of ???, but I didn't like the idea of building a new driver, everytime I build a new kernel.
So i tried Ubuntu 5.10 Breezy Badger, but as a debian-addict I felt strange with the Ubuntu-specific modifications. Additionally X also didn't work, although the X700 chip is said to be supportet by the included xorg driver (see 'man radeon').
Okay, so Debian testing, etch, must be the right thing for us. But now there was the same problem with X under Ubuntu: x-server starts without any errors but the LCD stays black. Noticing that it was dark-black brought the solution: The X700 switches to the wrong output when xorg starts.
Again 'man radeon' helps: adding the following line to xorg.conf tells the chip which outputs to use:
Option "MonitorLayout" "LVDS, NONE"Here you can download the complete xorg.conf.
Not much to say; I recommend using at least 2.6.15 for best compatibility. Feel free to use my kernel configuration and the output of 'lsmod'.
Sound works with with module snd_hda_intel. But to get the headphone-jack working you have to hand over a module parameter for example using 'modconf'. I use two parameters:
model=z71v position_fix=1the second fixes noise problems -- use it if you experience an improvement. Instead of using 'modconf' you can edit/create /etc/modprobe.d/snd-hda-intel to look like mine:
options snd-hda-intel model=z71v position_fix=1Now the headphone-jack works, but yet the volume controller of KDE's 'kmix' controls the volume of the headphone-jack and not the PCM volume. To change this, just right-click on kmix's icon in the tray and choose 'PCM' as the default channel.
Most ACPI functions work fine when the kernel module 'asus_acpi' is loaded. LCD-on/off and -brightness (Fn+F7/F5/F6) work out of the box and with KDE a status bar for the brightness level pops up.
The other buttons -- all except the WLAN-switch (Fn+F2) -- create ACPI-events which you can read with 'cat /proc/acpi/events', or if the acpi-daemon is running, with 'tail -f /var/log/acpid'.
Now we have to make the ACPI-events trigger an action: install acpid. Inspired by Ubuntu's solution, I think translating ACPI-events to keyboard-events is by far the nicest way for all actions which don't have to run with root privileges. Additionally, if keyboard-events are created, the user can decide what action has to be performed.
But how will we achieve this? Ubuntu-users are on the sunny side now, because Ubuntu already features the nice program 'acpi_fakekey'. We're using Debian and like Ubuntu benefits from the Debian, we try ro benefit from Ubuntu:
Go to packages.ubuntu.com and download the binary package called 'acpi-support' (the experienced user may also build it from the source package).
Extract the .deb file, don't install it because you get unmet dependencies when not using Ubuntu. You only need two files:
Option "XkbModel" "hp5185"Or tell KDE in the control-center to use this model. After restarting X and the ACPI daemon, you can test if your efforts were successful: open 'xev', place the mouse cursor in the popped-up window and press for instance the Webbrowser-hotkey. Then xev should tell you in its terminal-output that it received the event 'XF86WWW'. If your buttons work, you can assign functions with your preferred window manager by setting up the keyboard-shortcuts.
key <I20> { [ XF86AudioMute ] };
Now we come to the confusing part: This line defines, that the strange keycode <I20> will be translated to the X-event 'XF86AudioMute'. The thing is, what I called strange keycode is not really evident to the user. The translation table we need can be found in /etc/X11/xkb/keycodes/xfree86. There we can find, that <I20> stands for keycode 160.
| ACPI-event | event definition in /etc/acpi/events |
script in /etc/acpi |
keycode to be generated |
X-event |
| button/power PWRF 00000080 | powerbtn | powerbtn.sh | -none- | -none |
| hotkey ATKD 0000005c | asus-lock | asus-speed.sh | 146 | XF86Go |
| hotkey ATKD 00000050 | asus-mail | mailbtn.sh | 236 | XF86Mail |
| hotkey ATKD 00000051 | asus-internet | webbtn.sh | 178 | XF86WWW |
| hotkey ATKD 0000006b | asus-touchpad | asus-touchpad.sh | -none- | -none- |
| button/sleep SLPB 00000080 | sleepbtn | /usr/sbin/hibernate | -none- | -none- |
| hotkey ATKD 00000032 | asus-volume-mute | mutebtn.sh | 160 | XF86AudioMute |
| hotkey ATKD 00000031 | asus-volume-dowm | voldownbtn.sh | 174 | XF86AudioLowerVolume |
| hotkey ATKD 00000030 | asus-volume-up | volupbtn.sh | 176 | XF86AudioRaiseVolume |
| hotkey ATKD 00000040 | asus-media-prev | prevbtn.sh | 144 | XF86AudioPrev |
| hotkey ATKD 00000041 | asus-media-next | nextbtn.sh | 153 | XF86AudioNext |
| hotkey ATKD 00000043 | asus-media-stop | stopbtn.sh | 164 | XF86AudioStop |
| hotkey ATKD 00000045 | asus-media-play-pause | playbtn.sh | 162 | XF86AudioPlay |
The Intel Pro/Wireless 2200 WLAN card (802.11b/g) works nice with the new drivers included in kernel 2.6.15. Also WPA (WPA-PSK, TKIP) works nice (using 'wpa_supplicant') for example in combination with Fritz! Box Phon-WLAN 7050. If you're not successful, you might want to see my /etc/wpa_supplicant.conf, /etc/default/wpasupplicant, /etc/network/interfaces and the output of 'lsmod'.
'kwifimanager' works great even switches the WLAN-LED on the front.
If you think I should spend some more time on explaining this topic, contact me.
If you have better solutions, suggestions, questions or just want to give me some feedback, just write me an Email:
![]()
(To avoid spam, this email address is embedded in a picture - please enter it manually into your email program.)
O.K. the hard work is done...
Maybe you need some holidays? Check out our vacation homes at the Baltic Sea and in the Black Forrest: http://leufke.eu
You want to see, who's responsible for the content of this site and/or want to contact the webmaster? Look at the imprint.