Page 1 of 1

T60: Volume+power buttons as software buttons on Windows?

Posted: Tue Dec 31, 2013 6:49 am
by nitro2k01
After a little bit of fiddling, I've managed to get this working on Linux, using commands like

Code: Select all

sudo echo enable,0x00ffffff > /proc/acpi/ibm/hotkey
or

Code: Select all

sudo cp /sys/devices/platform/thinkpad_acpi/hotkey_all_mask /sys/devices/platform/thinkpad_acpi/hotkey_mask
And the power button as well, by holding it longer than 3 seconds, but no longer than 5 seconds. (Gee, why couldn't Lenovo trigger on pressing the button down?)

I currently have Windows XP installed as well. After some experimentation, I realized that I could get a visual indication of the volume when using volume buttons, by installing the hotkey driver. But trick was to install the one marked "for WIndows 98/Me/NT 4.0/2000/XP" because the newer one doesn't work on XP, despite being marked as being "for Windows 8 (32-bit, 64-bit), 7 (32-bit, 64-bit), Vista (32-bit, 64-bit), XP and 2000".

But the driver that is working is still not perfect. Even though it shows an indication of the volume, the volume setting is still independent of the Windows mixer. Is there a way to fix this? I think I will replace the XP install with a Windows 7 install. Does the other hotkey driver integrate with the Windows mixer in Windows 7?

Is there a way to make the power button dispatch the ACPI event immediately when the button is pressed? I'm guessing not, but I can just as well ask.