[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: make thinkpad Fn-F12 work in sid

On 11/30/06, Sven Arvidsson <sa@whiz.se> wrote:
On Wed, 2006-11-29 at 15:33 +0800, Paolo Alexis Falcone wrote:
> I went back to debian sid after using ubuntu for a few months. So far,
> i've been able to configure my thinkpad t42p to resemble some ubuntu
> goodies except for fn-f12: nothing happens when i hit it, as supposed
> to hibernate using ubuntu. I have verified that echo disk >
> /sys/power/state just works though. Any hint how ubuntu did it?

I'm guessing Ubuntu uses gnome-power-manager, you need to be in group
powerdev, and possibly bind the correct key to "Sleep" in "Keyboard

I'm already a member of the powerdev group...

pfalcone@vanguard:~$ groups pfalcone
pfalcone : pfalcone adm dialout cdrom floppy audio src video plugdev
powerdev netdev nvram

Even with that, I still can't make the laptop suspend via Fn-F12
(although using g-p-m works just fine). Here's the log of
/var/log/acpid whenever I press Fn-F12:

[Fri Dec  1 13:50:08 2006] executing action "/etc/acpi/hibernatebtn.sh"
[Fri Dec  1 13:50:08 2006] BEGIN HANDLER MESSAGES
[Fri Dec  1 13:50:09 2006] END HANDLER MESSAGES
[Fri Dec  1 13:50:09 2006] action exited with status 0
[Fri Dec  1 13:50:09 2006] completed event "ibm/hotkey HKEY 00000080 0000100c"

Now, I couldn't map the Fn-F12 script to GNOME keyboard shortcuts as I
don't mask the ibm_acpi module:

pfalcone@vanguard:~$ cat /etc/modprobe.d/ibm_acpi.modprobe
options ibm_acpi hotkey=enable,0xff9f experimental=1

I do believe that this is also the same options that ubuntu passes to
the ibm_acpi module.

> Also, how do i enable graphical notification of screen brightness in
> gnome when i use the appropriate fn-key combination, similar to
> ubuntu? Thanks.

Not sure if this is supported in g-p-m 2.14 or if it was added in 2.16.
What version did Ubuntu use?

I used Ubuntu 6.06 and 6.10 back then ... both already have that patch
enabled I guess.. at any rate g-p-m 2.14 as packaged by Debian in Sid
I think doesn't have that patch for Thinkpads... (I could be wrong

Also found this,


Sven Arvidsson
PGP Key ID 760BDD22

Paolo Alexis Falcone

Reply to: