Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1275454

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

From Pali Rohár <pali.rohar@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] dell-rbtn: Ignore ACPI notifications if device is suspended
Date 2015-11-23 15:50 +0100
Message-ID <qy0Bj-35s-13@gated-at.bofh.it> (permalink)
References <qxhbb-6pV-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Saturday 21 November 2015 15:16:15 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 the notifications received while the device is suspended.
> 
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=106031
> Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>

Andrei Borzenkov (CCed) tested this patch and patch does not fix bug.
Probably there is race condition and ACPI event is sent *after* function
rbtn_resume is called.

-- 
Pali Rohár
pali.rohar@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] dell-rbtn: Ignore ACPI notifications if device is suspended Gabriele Mazzotta <gabriele.mzt@gmail.com> - 2015-11-21 15:20 +0100
  Re: [PATCH] dell-rbtn: Ignore ACPI notifications if device is suspended Pali Rohár <pali.rohar@gmail.com> - 2015-11-21 20:20 +0100
  Re: [PATCH] dell-rbtn: Ignore ACPI notifications if device is  suspended Pali Rohár <pali.rohar@gmail.com> - 2015-11-23 15:50 +0100
    Re: [PATCH] dell-rbtn: Ignore ACPI notifications if device is  suspended Darren Hart <dvhart@infradead.org> - 2015-11-23 20:30 +0100

csiph-web