Re: [PATCH] Add sysfs interface for touchpad state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm sorry for top-posting, but something wrong with email quoting. I'm
using here gmail, it might not recognize message properly.

So, please fix the subject line to have a prefix, in your case
"platform/x86: ideapad-laptop: ...".
Add to the commit message what you explained me and put a link to that comment.
And resend new version with all maintainers included (there is a
script scripts/get_maintainer.pl to help with the list of
maintainers).

On Wed, 2017-02-01 at 22:53 +0200, Andy Shevchenko wrote:
> > If you have time, please see:
> > https://bugs.launchpad.net/bugs/1366421
> >
> > It has pretty much all the details on what and why we need something in
> > sysfs.
>
> It's a lo-o-ong discussion from which I, might be wrongly, assumed
> that there couple of problems: a) you don't know initial state, b)
> something preventing use of event.
>

Yes.

> Keyboard and touchpad are disabled by hw, so, only what OS needs is a
> notification.
>

Yes.

> Can you point me exactly to the message that explains _why_ it's
> impossible to use standard eventX mechanism for that?
>

Comment #43 has the summary of what we've tried.
https://bugs.launchpad.net/onboard/+bug/1366421/comments/43

Some of the drivers do SW_TABLET_MODE, but ideapad does not.
Some of the drivers do sysfs, but ideapad does not.

For ideapad, under Xorg, it generates hotkey events.
And the hotkey event are going to work under Xorg only. What about Wayland/Mir ?
We also aren't sure, if the keycodes that it sends, are uniform across all Yoga
variants.




-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux