OESF Portables Forum
Everything Else => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Asus Eee PC => Topic started by: louigi600 on May 08, 2008, 05:10:08 pm
-
On the original distro pressing "Fn + F2" key combination toggles the wifi card from on to off.
Anyone know how to manage that on a generic, non eeePC tuned, distribution ?
I'd be even happy to run a command (or script to turn it on) but do not want to leave it allways on from bios (to save pattery life when unused).
-
Well it looks like that if one enables correctly the ASUS ACPI interface you can get control over the integrated devices trough /proc/acpi/asus/
Echoing 1 or 0 in the appropriate device interface wil turn on and off the devices.
For example
echo 1 > /proc/acpi/asus/wlan
will turn on the wireless lan device
-
Are you sure that Fn+F2 doesn't work? On my Dell, it appears to be hardware controlled (it works no matter what distro I have running, but the LED doesn't).
-
Are you sure that Fn+F2 doesn't work? On my Dell, it appears to be hardware controlled (it works no matter what distro I have running, but the LED doesn't).
Wen not sure because I've recompiled a new kernel and the /proc/acpi/asus sutff has dissapeared .... it may work but I bet it will not untill I compile a 2.6.25.1 kernel that gets me back the stuff in /proc/acpi/asus.
OK I think I figured out what was wrong in my kernel:
in order to make the CONFIG_ASUS_LAPTOP option come out I neaded to fix up these dependencies...
depends on X86
depends on ACPI
depends on EXPERIMENTAL && !ACPI_ASUS
depends on LEDS_CLASS
depends on BACKLIGHT_CLASS_DEVICE
I'm building the kernel right now ;-)