[Debian-eeepc-devel] Bug#566707: eeepc-acpi-scripts 1.1.9: SHE-ENGINE toggle not working (eeepc 1000h/1000he) - A POSSIBLE SOLUTION

Darren Salt linux at youmustbejoking.demon.co.uk
Tue Feb 2 19:29:46 UTC 2010


I demand that Domenico Cufalo may or may not have written...

> With eeepc-acpi-scripts version 1.1.9, the situation has worsened!

> At pc startup, the fn+space key works, but, if you press any fn key (I
> tested: fn+f9 = system monitor; fn+volumeUP/DOWN; fn+brightnessUP/DOWN),
> fn+space key STOPS WORKING!!!!!!

This suggests that Fn-Space causes an ACPI hotkey event but no ACPI button/*
event. (Most keys, I find, cause both.)

> This is the solution I've found:
> - comment the last line of /etc/acpi/actions/hotkey.sh, so to have
>   # test "$acpiwrite" = '' || echo "$acpiwrite" >"$ACPITEST"
> - rm /lib/init/rw/eeepc-acpi-scripts.acpi-ignore

That's how the script determines which event type to ignore. (While I'm
presently seeing them occurring hotkey first, I've seen that second. Which is
a bit of a problem, since I don't think that it's yet safe to assume that
we'll always get button events – consider backports.)

> I hope that this information can be useful to solve this annoying problem!

Well... something which I missed in your initial report has helped: Fn-Space
has hotkey code 00000039, which matches the "SHE button" on other models.
AFAIK, this only produces a hotkey event, but you can check this by running
acpi_listen and pressing Fn-Space.

If you'd included "diff -u" output rather than the whole script, this would
have been spotted sooner...

Regardless of whether one or two events are generated, the attached patch
should fix things.

-- 
| Darren Salt            | linux at youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | or ds    ,demon,co,uk    | Northumberland | Army
| + They're after you...

It's six o'clock and time for the penguin on top of your monitor to explode.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fn-space.patch
Type: application/octet-stream
Size: 814 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20100202/d1561e37/attachment.obj>


More information about the Debian-eeepc-devel mailing list