Re: [PATCH v4] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-05-25 Thread Darren Hart
On Wed, May 25, 2016 at 10:47:03PM +0200, Gabriele Mazzotta wrote: > On 25/05/2016 22:36, Pali Rohár wrote: > > On Wednesday 25 May 2016 22:28:47 Darren Hart wrote: > >> On Tue, May 24, 2016 at 10:53:08PM +0200, Gabriele Mazzotta wrote: > >>> Some BIOSes unconditionally send an ACPI notification

Re: [PATCH v4] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-05-25 Thread Darren Hart
On Wed, May 25, 2016 at 10:47:03PM +0200, Gabriele Mazzotta wrote: > On 25/05/2016 22:36, Pali Rohár wrote: > > On Wednesday 25 May 2016 22:28:47 Darren Hart wrote: > >> On Tue, May 24, 2016 at 10:53:08PM +0200, Gabriele Mazzotta wrote: > >>> Some BIOSes unconditionally send an ACPI notification

Re: [PATCH v4] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-05-25 Thread Gabriele Mazzotta
On 25/05/2016 22:36, Pali Rohár wrote: > On Wednesday 25 May 2016 22:28:47 Darren Hart wrote: >> On Tue, May 24, 2016 at 10:53:08PM +0200, Gabriele Mazzotta wrote: >>> Some BIOSes unconditionally send an ACPI notification to RBTN when >>> the system is resuming from suspend. This makes dell-rbtn

Re: [PATCH v4] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-05-25 Thread Gabriele Mazzotta
On 25/05/2016 22:36, Pali Rohár wrote: > On Wednesday 25 May 2016 22:28:47 Darren Hart wrote: >> On Tue, May 24, 2016 at 10:53:08PM +0200, Gabriele Mazzotta wrote: >>> Some BIOSes unconditionally send an ACPI notification to RBTN when >>> the system is resuming from suspend. This makes dell-rbtn

Re: [PATCH v4] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-05-25 Thread Pali Rohár
On Wednesday 25 May 2016 22:28:47 Darren Hart wrote: > On Tue, May 24, 2016 at 10:53:08PM +0200, Gabriele Mazzotta wrote: > > Some BIOSes unconditionally send an ACPI notification to RBTN when > > the system is resuming from suspend. This makes dell-rbtn send an > > input event to userspace as if

Re: [PATCH v4] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-05-25 Thread Pali Rohár
On Wednesday 25 May 2016 22:28:47 Darren Hart wrote: > On Tue, May 24, 2016 at 10:53:08PM +0200, Gabriele Mazzotta wrote: > > Some BIOSes unconditionally send an ACPI notification to RBTN when > > the system is resuming from suspend. This makes dell-rbtn send an > > input event to userspace as if

Re: [PATCH v4] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-05-25 Thread Darren Hart
On Tue, May 24, 2016 at 10:53:08PM +0200, Gabriele Mazzotta wrote: > Some BIOSes unconditionally send an ACPI notification to RBTN when the > system is resuming from suspend. This makes dell-rbtn send an input > event to userspace as if a function key was pressed. Prevent this by > ignoring all

Re: [PATCH v4] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-05-25 Thread Darren Hart
On Tue, May 24, 2016 at 10:53:08PM +0200, Gabriele Mazzotta wrote: > Some BIOSes unconditionally send an ACPI notification to RBTN when the > system is resuming from suspend. This makes dell-rbtn send an input > event to userspace as if a function key was pressed. Prevent this by > ignoring all

[PATCH v4] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-05-24 Thread Gabriele Mazzotta
Some BIOSes unconditionally send an ACPI notification to RBTN when the system is resuming from suspend. This makes dell-rbtn send an input event to userspace as if a function key was pressed. Prevent this by ignoring all the notifications received while the device is suspended. Link:

[PATCH v4] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-05-24 Thread Gabriele Mazzotta
Some BIOSes unconditionally send an ACPI notification to RBTN when the system is resuming from suspend. This makes dell-rbtn send an input event to userspace as if a function key was pressed. Prevent this by ignoring all the notifications received while the device is suspended. Link: