You are not logged in.

#1 2009-06-29 21:06:44

sfauzia
Member
Registered: 2009-01-11
Posts: 88

Waking Up From Suspend With Taking Pen Out of Pen Barn (Tablet PC)

I really liked this feature in Windows, and I'm trying to figure out how to make it work in Linux. Currently, only hitting the power button takes the computer out of suspend mode. I'm assuming hitting the power button generates a hotkey event, and that's how it works... so why not use the hotkey events generated by removing the pen from the pen barn?

Taking out the pen:

ibm/hotkey HKEY 00000080 0000500c

Putting the pen back in:

ibm/hotkey HKEY 00000080 0000500b

Hope someone can offer me some pointers. I'm using a Lenovo X61 tablet.

Offline

#2 2009-07-13 09:54:06

Sara
Member
From: USA
Registered: 2009-07-09
Posts: 219
Website

Re: Waking Up From Suspend With Taking Pen Out of Pen Barn (Tablet PC)

Well, here's an update on the situation. I've found out how to activate devices to wake from suspend with by running

cat /proc/acpi/wakeup

to see available devices, which are activated by

echo "device name" > /proc/acpi/wakeup

However, this doesn't solve my problem, which is, namely, wanting to wake from suspend using an ibm hotkey. Hopefully someone can help.

Last edited by Sara (2009-07-13 09:55:22)


Registed Linux User 483618

Offline

Board footer

Powered by FluxBB