Re: [PATCH] thinkpad-acpi: use correct key names for sleep states in driver

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

 



Yves-Alexis Perez wrote:
On mar, 2009-08-18 at 21:10 +0100, Matthew Garrett wrote:
It seems that this patch is still not in master?
Correct. We can't change the existing semantics without breaking existing userspace applications.

Hmh ok, but is it planned?
Currently (on debian unstable), input-events reports on my T61:

KEY_SLEEP for Fn+F4
KEY_SUSPEND for Fn+F12

which kind-of breaks xfce4-power-manager, where SLEEP and SUSPEND
both
suspend to ram, so I don't have any way to hibernate. Changing xfpm
doesn't seem like a good idea if the way to go is to use SUSPEND for
STR, HIBERNATE for STD and SLEEP for either.

So what's the status for this?
KEY_SLEEP is suspend to RAM, KEY_SUSPEND is suspend to disk. xfpm should be changed to match.

Ok, I'm CC:ing the developer to let him know.

Cheers,


Dunno if i should ask the question here, now gpm relies completely on X to map these buttons, in X there is:

HAVE_XF86XK_SLEEP  (Suspend).

HAVE_XF86XK_HIBERNATE
HAVE_XF86XK_SUSPEND

As i understood These two buttons are suspend two disk, okay, so they should have the same keycode right?, or can they be two different keys?

Cheers And thanks,
Ali.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux