http://forum.eeeuser...pic.php?id=3413
Open up your service manager (System>Administration>Services) and make sure both Power Management options are filled (acpid and acmd).
In terminal type the following to stick you in the right directory to edit the scripts the Fn keys will call.
cd /etc/acpi/Edit the volume up script
sudo gedit volupbtn.shreplace the contents with
#!/bin/bash action= amixer set Front 3.20dB+ unmuteEdit the volume down script
sudo gedit voldownbtn.shreplace the contents with
#!/bin/bash action= amixer set Front 3.20dB+ unmuteEdit the mute script
sudo gedit mutebtn.shreplace the contents with
#!/bin/bash action= amixer set Front toggleThen delete some files to prevent conflicits. These two files where messing up all the FN keys into thinking that they where brightness keys
sudo rm asus-brn-down.sh sudo rm asus-brn-up.shNow we need something to read the Fn keys
Type
cd eventsEdit the Volume down file
sudo gedit asus-volume-downreplace the contents with
event=hotkey ATKD 00000014 action=/etc/acpi/voldownbtn.shEdit the Volume up file
sudo gedit asus-volume-upreplace the contents with
event=hotkey ATKD 00000015 action=/etc/acpi/volupbtn.shEdit the mute file
sudo gedit asus-volume-mutereplace the contents with
event=hotkey ATKD 00000013 action=/etc/acpi/mutebtn.shNow to have asus_acpi start up on boot
sudo gedit /etc/modulesadd the following after the last comment
asus_acpiRestart your EEE and see if it worked! What doesn't work is wireless on/off, F5 thing, and F6 thing.
I am close to the wireless but I need some of the files from the original OS (/etc/acpi/wlan.sh) to make it work I think. I someone can email me that file I can hopefully get it to work.
The F6 key is event 00000012. F5 jey is event 00000030, 00000031, 00000032. F2 is event 00000010.
edit// I should mention that F1 and the brightness keys still work and are functional after this. The only Fn keys that don't work are F2,F5,F6. Will a little bit of hunting the script for the F5 should be found and the script for the wireless shuold be easy. I couldn't get F6 to work because I tried to get the script to run gnome-session-manager and for some reason the key function wouldn't work even tho the script worked.
Edited by Longhorn Engineer, 28 November 2007 - 02:24 PM.












