You are not logged in.
Hi everybody!!
I just completed the Archlinux installation on my Asus Eeepc 1005ha (seashell), everything works well, with the exeption of one little and insignificant thing:
the led in the enable/disable touchpad button at the top-left corner of the keyboard
Let me explain, the button works fine (toggle on/off the touchpad), but the led doesn't work at all
I know that's a stupid thing, but itìs so useful. How can I control a status led under LInux???
Thanks for the attention
I use acpi-eeepc-generic script with acpid
Last edited by asterhex (2010-01-22 17:48:39)
Offline
Anyone??
Offline
If it can be ordered with Linux (and I suppose it can?), maybe you should check if and how other distro's that run on it do it?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Maybe I should check the official Asus Xandros distro, but in my country this model of eeepc is distributed only with windows!!
Anyone who has the 1005ha with Xandros could tell me if the led works?
Offline
I can chime in. My 1005ha is currently running Ubuntu 9.10 Netbook Remix, it has the same exact issue.
Last edited by backwardselvis (2010-01-27 08:05:32)
Offline
I didn't even know there was a LED there (only used the supplied XP a couple of times :-) ).
If you ever find the solution, please post it here and I'll update the wiki with the info.
Offline
@barzam: of course!!
Offline
I resume this post to post a possible solution i've found.
This solution is based on a workaround, but works!
see this old bug track https://bugzilla.kernel.org/show_bug.cgi?id=14865
the kernel driver for the touchpad toggle button has an inverted behaviour.
First of all i run
sudo echo 0 > /sys/devices/platform/eeepc/leds/eeepc::touchpad/brightness
you should see the touchpad led turn on!
sudo echo 1 > /sys/devices/platform/eeepc/leds/eeepc::touchpad/brightness
should turn off the led.
Now I simply modified the /etc/acpi/eeepc/acpi-eeepc-generic-toggle-touchpad-sh file of the acpi-eeepc-generic
I just insert two lines of code in the touchpad_toggle function:
I add
echo 0 > /sys/devices/platform/eeepc/leds/eeepc::touchpad/brightness
above
eeepc_notify "Touchpad Disabled" mouse
and
echo 1 > /sys/devices/platform/eeepc/leds/eeepc::touchpad/brightness
above
eeepc_notify "Touchpad Enabled" mouse
I wish this could help someone.
Asterhex
Offline
Thanks for your report asterhex. I've added this into the 1.0 branch on github[1], particulirly commit id 8c75803b00fb780f60fb9e893a19938812703ce1[2]
[1] https://github.com/nbigaouette/acpi-eee … ommits/1.0
[2] https://github.com/nbigaouette/acpi-eee … 8812703ce1
Offline
Thank you big_gie I don't now if this problem is only relative to 1005ha or also other models. Maybe we should create a more generic post in the forum for the acpi-eeepc-generic touchpad toggle led?
Offline
Well the script just try to see if the file "/sys/devices/platform/eeepc/leds/eeepc::touchpad/brightness" exists, whatever the model, and echo 0 or 1 to it if it does. Did you have something else in mind?
Offline
My 1005HA loads eeepc_wmi rather than eeepc_laptop. The directory structure under /sys is different and there doesn't seem to be a way to set the led. Does anyone know how to get the led to work in this case?
Offline
Sorry, I don't know.
You should check with the kernel folks. Check what is exposed in /sys by the module. If you find a file, let me know I'll add it to the script.
Offline