You are not logged in.

#1 2010-01-21 09:49:13

asterhex
Member
From: Italy
Registered: 2010-01-21
Posts: 9

EeePc 1005Ha Touchpad enable/disable status led

Hi everybody!! smile

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

#2 2010-01-23 11:32:05

asterhex
Member
From: Italy
Registered: 2010-01-21
Posts: 9

Re: EeePc 1005Ha Touchpad enable/disable status led

Anyone??

Offline

#3 2010-01-23 11:33:34

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: EeePc 1005Ha Touchpad enable/disable status led

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

#4 2010-01-23 11:43:22

asterhex
Member
From: Italy
Registered: 2010-01-21
Posts: 9

Re: EeePc 1005Ha Touchpad enable/disable status led

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

#5 2010-01-27 08:04:45

backwardselvis
Member
Registered: 2010-01-27
Posts: 1

Re: EeePc 1005Ha Touchpad enable/disable status led

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

#6 2010-01-27 16:20:30

barzam
Member
From: Sweden
Registered: 2009-01-27
Posts: 277

Re: EeePc 1005Ha Touchpad enable/disable status led

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

#7 2010-01-27 20:15:46

asterhex
Member
From: Italy
Registered: 2010-01-21
Posts: 9

Re: EeePc 1005Ha Touchpad enable/disable status led

@barzam: of course!!

Offline

#8 2010-12-06 23:27:47

asterhex
Member
From: Italy
Registered: 2010-01-21
Posts: 9

Re: EeePc 1005Ha Touchpad enable/disable status led

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

#9 2010-12-12 15:54:16

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: EeePc 1005Ha Touchpad enable/disable status led

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

#10 2010-12-12 23:06:30

asterhex
Member
From: Italy
Registered: 2010-01-21
Posts: 9

Re: EeePc 1005Ha Touchpad enable/disable status led

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

#11 2010-12-12 23:41:07

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: EeePc 1005Ha Touchpad enable/disable status led

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

#12 2011-07-31 19:41:18

dan34
Member
Registered: 2011-07-29
Posts: 17

Re: EeePc 1005Ha Touchpad enable/disable status led

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

#13 2011-08-01 02:40:47

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: EeePc 1005Ha Touchpad enable/disable status led

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

Board footer

Powered by FluxBB