Re: [ibm-acpi-devel] nvram polling for hardware mixer

2007-05-29 Thread Bastien Nocera
On Tue, 2007-05-29 at 18:45 -0300, Henrique de Moraes Holschuh wrote: > On Tue, 29 May 2007, Richard Hughes wrote: > > On Tue, 2007-05-29 at 22:11 +0100, Bastien Nocera wrote: > > > > Please review, and make sure I'm on the right lines. I also can't > > > see > > > > the input patches in the ibm-ac

Re: [ibm-acpi-devel] nvram polling for hardware mixer

2007-05-29 Thread Henrique de Moraes Holschuh
On Tue, 29 May 2007, Richard Hughes wrote: > On Tue, 2007-05-29 at 22:11 +0100, Bastien Nocera wrote: > > > Please review, and make sure I'm on the right lines. I also can't > > see > > > the input patches in the ibm-acpi-2.6 tree, so I've done this > > against > > > linus. This isn't for merging,

Re: [ibm-acpi-devel] nvram polling for hardware mixer

2007-05-29 Thread Richard Hughes
On Tue, 2007-05-29 at 22:11 +0100, Bastien Nocera wrote: > > Please review, and make sure I'm on the right lines. I also can't > see > > the input patches in the ibm-acpi-2.6 tree, so I've done this > against > > linus. This isn't for merging, it's just a preview for comments. > Why is defining a _

Re: [ibm-acpi-devel] nvram polling for hardware mixer

2007-05-29 Thread Henrique de Moraes Holschuh
On Tue, 29 May 2007, Bastien Nocera wrote: > > I've been hacking to make the nvram hardware buttons on thinkpad exposed > > as a hardware mixer device. This requires the nvram to be polled in > > kernel space, and then examined to see if the volume and mute status has > > changed. I have attached c

Re: [ibm-acpi-devel] nvram polling for hardware mixer

2007-05-29 Thread Bastien Nocera
On Mon, 2007-05-28 at 23:58 +0100, Richard Hughes wrote: > Hi, > > I've been hacking to make the nvram hardware buttons on thinkpad exposed > as a hardware mixer device. This requires the nvram to be polled in > kernel space, and then examined to see if the volume and mute status has > changed. I

Re: [ibm-acpi-devel] nvram polling for hardware mixer

2007-05-29 Thread Henrique de Moraes Holschuh
On Tue, 29 May 2007, Matthew Garrett wrote: > On Mon, May 28, 2007 at 11:58:24PM +0100, Richard Hughes wrote: > > I've been hacking to make the nvram hardware buttons on thinkpad exposed > > as a hardware mixer device. This requires the nvram to be polled in > > kernel space, and then examined to s

Re: [ibm-acpi-devel] nvram polling for hardware mixer

2007-05-29 Thread Matthew Garrett
On Mon, May 28, 2007 at 11:58:24PM +0100, Richard Hughes wrote: > I've been hacking to make the nvram hardware buttons on thinkpad exposed > as a hardware mixer device. This requires the nvram to be polled in > kernel space, and then examined to see if the volume and mute status has > changed. I h

Re: [ibm-acpi-devel] nvram polling for hardware mixer

2007-05-29 Thread Richard Hughes
On Mon, 2007-05-28 at 20:28 -0300, Henrique de Moraes Holschuh wrote: > On Mon, 28 May 2007, Richard Hughes wrote: > > I've been hacking to make the nvram hardware buttons on thinkpad exposed > > as a hardware mixer device. This requires the nvram to be polled in > > kernel space, and then examine

Re: [ibm-acpi-devel] [PATCH] ACPI: thinkpad-acpi: allow hotkey to input event map to be modified

2007-05-29 Thread Henrique de Moraes Holschuh
On Tue, 29 May 2007, Dmitry Torokhov wrote: > On 5/29/07, Henrique de Moraes Holschuh <[EMAIL PROTECTED]> wrote: > > On Mon, 28 May 2007, Dmitry Torokhov wrote: > > > Documentation/input/input-programming.txt gives some pointers. > > > > It is outdated, > > Hm, I just recently updated it so it is

Re: [ibm-acpi-devel] [PATCH] ACPI: thinkpad-acpi: add thinkpad keys to input.h

2007-05-29 Thread Henrique de Moraes Holschuh
On Mon, 28 May 2007, Dmitry Torokhov wrote: > On Sunday 27 May 2007 08:15, Henrique de Moraes Holschuh wrote: > > On Sat, 26 May 2007, Dmitry Torokhov wrote: > > > I am unconvinced that we need new keycodes. Isn't there a better default > > > keycodes for these keys? You mentioned that fn+f5 contro

Re: [ibm-acpi-devel] [PATCH] ACPI: thinkpad-acpi: allow hotkey to input event map to be modified

2007-05-29 Thread Dmitry Torokhov
On 5/29/07, Henrique de Moraes Holschuh <[EMAIL PROTECTED]> wrote: > On Mon, 28 May 2007, Dmitry Torokhov wrote: > > Documentation/input/input-programming.txt gives some pointers. > > It is outdated, Hm, I just recently updated it so it is pretty fresh. > and incomplete. Here I agree. -- Dmitr

Re: [ibm-acpi-devel] [PATCH] ACPI: thinkpad-acpi: allow hotkey to input event map to be modified

2007-05-29 Thread Henrique de Moraes Holschuh
On Mon, 28 May 2007, Dmitry Torokhov wrote: > Documentation/input/input-programming.txt gives some pointers. It is outdated, and incomplete. > > On that topic, am I to send SYNC events between key-press and key-release > > events? > > Yes. The application is allowed to "accumulate" input events