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

2016-04-18 Thread Pali Rohár
On Friday 18 March 2016 18:57:33 Andrei Borzenkov wrote: > 14.03.2016 14:45, Pali Rohár пишет: > > On Monday 14 March 2016 12:34:31 Gabriele Mazzotta wrote: > >> 2016-03-12 0:49 GMT+01:00 Gabriele Mazzotta : > >>> Some BIOSes unconditionally send an ACPI notification to RBTN when the > >>> system i

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

2016-03-18 Thread Andrei Borzenkov
14.03.2016 14:45, Pali Rohár пишет: > On Monday 14 March 2016 12:34:31 Gabriele Mazzotta wrote: >> 2016-03-12 0:49 GMT+01:00 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 >>> eve

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

2016-03-14 Thread Andrei Borzenkov
On Mon, Mar 14, 2016 at 2:45 PM, Pali Rohár wrote: > On Monday 14 March 2016 12:34:31 Gabriele Mazzotta wrote: >> 2016-03-12 0:49 GMT+01:00 Gabriele Mazzotta : >> > Some BIOSes unconditionally send an ACPI notification to RBTN when the >> > system is resuming from suspend. This makes dell-rbtn sen

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

2016-03-14 Thread Pali Rohár
On Monday 14 March 2016 12:34:31 Gabriele Mazzotta wrote: > 2016-03-12 0:49 GMT+01:00 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 wa

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

2016-03-14 Thread Gabriele Mazzotta
2016-03-12 0:49 GMT+01:00 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 receiv

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

2016-03-14 Thread Alex Hung
I tried this patch on a Latitude with ACPI Device with DELLABCE and this patch fixes the problem. Tested-by: Alex Hung On Sat, Mar 12, 2016 at 7:49 AM, Gabriele Mazzotta wrote: > Some BIOSes unconditionally send an ACPI notification to RBTN when the > system is resuming from suspend. This makes

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

2016-03-11 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: https://bugzi