Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1677588
| From | Pali Rohár <pali.rohar@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Spurious touchpad events with closed LID |
| Date | 2017-06-29 12:30 +0200 |
| Message-ID | <tXERY-6nj-3@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <tXtWy-1by-9@gated-at.bofh.it> <tXCdt-4I6-47@gated-at.bofh.it> <tXEyB-6he-7@gated-at.bofh.it> <tXEIh-6kk-3@gated-at.bofh.it> <tXEIh-6kk-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thursday 29 June 2017 12:15:00 Pavel Machek wrote: > On Thu 2017-06-29 12:11:12, Pali Rohár wrote: > > On Thursday 29 June 2017 12:08:37 Pavel Machek wrote: > > > Hi! > > > > > > On Thu 2017-06-29 09:31:02, Pali Rohár wrote: > > > > On Thursday 29 June 2017 00:44:27 Bastien Nocera wrote: > > > > > On Wed, 2017-06-28 at 22:15 +0200, Pavel Machek wrote: > > > > > > > > > > > <snip> > > > > > > While policy normally belongs to userspace, I'd argue this is > > > > > > workaround for a hardware bug, and in-kernel solution would be > > > > > > acceptable. > > > > > > > > > > > > Anyway, disable attribute would be nice first step. > > > > > > > > > > It's already fixed for those of us on recent distributions. The > > > > > "ID_INPUT_TOUCHPAD_INTEGRATION=internal" touchpads will be disabled > > > > > when the lid is closed, when libinput is used to process the events. > > > > > > > > But this does not fix other usage of /dev/input/* and also does not fix > > > > pressing spurious keys in linux virtual tty (ctrl+alt+f1). So it is not > > > > a fix. > > > > > > > > Also important question is: How you detect which input device is > > > > "internal", non-removable part of notebook and which one is external? > > > > > > > > You can have external USB touchpad, and also you can have external PS/2 > > > > keyboard connected to docking station (which was e.g. my situation). > > > > > > > > Also there are PS/2 to active USB converters, to make whole situation > > > > complicated. > > > > > > > > And moreover some internal notebook keyboards are connected via USB and > > > > some touchpads via i2c/smbus. > > > > > > > > I think this detection is not easy or at least I have no idea how to do > > > > properly. Existence of PS/2 keyboard does not mean it is internal and > > > > existence of USB keyboard does not mean it is external. > > > > > > > > Maybe ACPI/DSDT provides some information? (No idea, just asking) > > > > > > I'm not sure it is complex. You simply add DMI blacklist of the bad > > > systems, with IDs of bad devices. > > > > My original request is to disable internal keyboard, touchpad and > > trackpoint on notebook when it is docked and LID is closed. > > > > It has nothing to do with DMI blacklist or so. > > Well, you have a buggy notebook. On non-buggy ones, touchpad will not > generate events when closed. > > That's where the DMI blacklist comes to mind. Such blacklist would be huge. Lot of notebooks working in this way. > (Of course, disable attribute would still be nice for other cases.) Yes. -- Pali Rohár pali.rohar@gmail.com
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Spurious touchpad events with closed LID Pali Rohár <pali.rohar@gmail.com> - 2017-06-26 19:00 +0200
Re: Spurious touchpad events with closed LID Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-06-26 19:10 +0200
Re: Spurious touchpad events with closed LID Pali Rohár <pali.rohar@gmail.com> - 2017-06-26 21:20 +0200
Re: Spurious touchpad events with closed LID Pavel Machek <pavel@ucw.cz> - 2017-06-28 22:20 +0200
Re: Spurious touchpad events with closed LID Bastien Nocera <hadess@hadess.net> - 2017-06-29 00:50 +0200
Re: Spurious touchpad events with closed LID Pali Rohár <pali.rohar@gmail.com> - 2017-06-29 09:40 +0200
Re: Spurious touchpad events with closed LID Pavel Machek <pavel@ucw.cz> - 2017-06-29 12:10 +0200
Re: Spurious touchpad events with closed LID Pali Rohár <pali.rohar@gmail.com> - 2017-06-29 12:20 +0200
Re: Spurious touchpad events with closed LID Pavel Machek <pavel@ucw.cz> - 2017-06-29 12:20 +0200
Re: Spurious touchpad events with closed LID Pali Rohár <pali.rohar@gmail.com> - 2017-06-29 12:30 +0200
Re: Spurious touchpad events with closed LID Bastien Nocera <hadess@hadess.net> - 2017-06-29 12:40 +0200
csiph-web