Re: [PATCH] ACPI: don't send netlink events for those that go into input layer

2007-08-24 Thread Henrique de Moraes Holschuh
On Thu, 23 Aug 2007, Len Brown wrote: On Thursday 23 August 2007 17:22, Henrique de Moraes Holschuh wrote: This calls for (good!) changes in thinkpad-acpi and some issues I had with exactly the same problem. Len, to which tree is that change targeted? I will have to target some

Re: [PATCH] ACPI: don't send netlink events for those that go into input layer

2007-08-23 Thread Len Brown
I like it, Rui. I think that upon this patch, we can start to deprecate acpi_bus_generate_event, as every user of it is now handled by the input layer or netlink. applied. thanks, -Len On Wednesday 22 August 2007 13:24, Zhang Rui wrote: As a replacement of /prco/acpi/event, all ACPI events

Re: [PATCH] ACPI: don't send netlink events for those that go into input layer

2007-08-23 Thread Henrique de Moraes Holschuh
Hi Len! On Thu, 23 Aug 2007, Len Brown wrote: I like it, Rui. I think that upon this patch, we can start to deprecate acpi_bus_generate_event, as every user of it is now handled by the input layer or netlink. applied. This calls for (good!) changes in thinkpad-acpi and some issues I

Re: [PATCH] ACPI: don't send netlink events for those that go into input layer

2007-08-23 Thread Len Brown
On Thursday 23 August 2007 17:22, Henrique de Moraes Holschuh wrote: Hi Len! On Thu, 23 Aug 2007, Len Brown wrote: I like it, Rui. I think that upon this patch, we can start to deprecate acpi_bus_generate_event, as every user of it is now handled by the input layer or netlink.

[PATCH] ACPI: don't send netlink events for those that go into input layer

2007-08-22 Thread Zhang Rui
As a replacement of /prco/acpi/event, all ACPI events are exported to user space either via netlink or via input layer. Events that go into input layer should not be sent to netlink at the same time. This patch introduces a new interface acpi_bus_generate_netlink_event which is called by devices