Re: [ibm-acpi-devel] nvram keys to userspace

2007-05-16 Thread Bastien Nocera
On Wed, 2007-05-16 at 16:36 +0100, Richard Hughes wrote: > On Wed, 2007-05-16 at 11:58 -0300, Henrique de Moraes Holschuh wrote: > > It may be the only choice. Adding new keys to input is frowned upon... > > I'll talk to some of the fd.o people and find out how easy it would be > to get new keys

Re: [ibm-acpi-devel] nvram keys to userspace

2007-05-16 Thread Henrique de Moraes Holschuh
Hi Bastien! On Wed, 16 May 2007, Bastien Nocera wrote: > On Wed, 2007-05-16 at 16:36 +0100, Richard Hughes wrote: > > On Wed, 2007-05-16 at 11:58 -0300, Henrique de Moraes Holschuh wrote: > > > > It may be the only choice. Adding new keys to input is frowned upon... > > > > I'll talk to some o

[ibm-acpi-devel] [patch] add INPUT key reporting to thinkpad_acpi

2007-05-16 Thread Richard Hughes
Attached patch adds input keyboard reporting to the thinkpad_acpi driver. This works for me using evtest /dev/input/event7, although the events do not get to X for some reason. KEY_POWER does get to X but not KEY_FN_F1, so I assume X is filtering the keys at some stage. This removes ugly userspac

Re: [ibm-acpi-devel] nvram keys to userspace

2007-05-16 Thread Richard Hughes
On Wed, 2007-05-16 at 17:06 +0100, Bastien Nocera wrote: > On Wed, 2007-05-16 at 16:36 +0100, Richard Hughes wrote: > > On Wed, 2007-05-16 at 11:58 -0300, Henrique de Moraes Holschuh wrote: > > > > It may be the only choice. Adding new keys to input is frowned upon... > > > > I'll talk to some o

Re: [ibm-acpi-devel] nvram keys to userspace

2007-05-16 Thread Richard Hughes
On Wed, 2007-05-16 at 11:58 -0300, Henrique de Moraes Holschuh wrote: > On Wed, 16 May 2007, Richard Hughes wrote: > > On Wed, 2007-05-16 at 10:10 -0300, Henrique de Moraes Holschuh wrote: > > > The plan is to get all hotkeys sent to userspace through INPUT, using a > > > "hotkey fX" or something e

Re: [ibm-acpi-devel] nvram keys to userspace

2007-05-16 Thread Henrique de Moraes Holschuh
On Wed, 16 May 2007, Richard Hughes wrote: > On Wed, 2007-05-16 at 10:10 -0300, Henrique de Moraes Holschuh wrote: > > The plan is to get all hotkeys sent to userspace through INPUT, using a > > "hotkey fX" or something equally generic. I can't translate from fn+f3 to > > fn+battery, as that's mod

Re: [ibm-acpi-devel] nvram keys to userspace

2007-05-16 Thread Richard Hughes
On Wed, 2007-05-16 at 10:10 -0300, Henrique de Moraes Holschuh wrote: > The plan is to get all hotkeys sent to userspace through INPUT, using a > "hotkey fX" or something equally generic. I can't translate from fn+f3 to > fn+battery, as that's model specific knowledge. So you don't want to do any

Re: [ibm-acpi-devel] nvram keys to userspace

2007-05-16 Thread Henrique de Moraes Holschuh
On Wed, 16 May 2007, Richard Hughes wrote: > > thinkpad-acpi has a feature scheduled to export control of the mixer these > > keys control as an alsa mixer device, so I wouldn't mind much adding input > > processing too. We will need to get there for properly handling the fn+x > > keys anyway. >

Re: [ibm-acpi-devel] nvram keys to userspace

2007-05-16 Thread Richard Hughes
On Wed, 2007-05-16 at 00:12 -0300, Henrique de Moraes Holschuh wrote: > On Tue, 15 May 2007, Richard Hughes wrote: > > Hi, sorry for the direct mail, please feel free to CC this message to > > the revelant lists. > > That would be [EMAIL PROTECTED] CC added. Cheers. > > I've been asked to add t