linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Reporting screen/laptop orientation data to userspace
@ 2011-05-29  7:49 Alberto Mardegan
  2011-06-02 22:19 ` Pavel Machek
  2011-06-03 15:55 ` Bastien Nocera
  0 siblings, 2 replies; 10+ messages in thread
From: Alberto Mardegan @ 2011-05-29  7:49 UTC (permalink / raw)
  To: linux-kernel; +Cc: Javier S. Pedro, linux-input

Hi all,
  the WMI interfaces in some Lenovo Ideapad laptops provide notification
callbacks when the laptop orientation changes, reporting 4 different
values defining the new orientation.

I'd like to extend the ideapad-laptop driver with this information; but
how should it be reported to userspace? I initially thought of the input
subsystem, but I cannot find any suitable event codes; then I would
probably export it as a device under /sys, or are there better options?

Are there other devices which provide coarse orientation data to
userspace, which I might want to use as a reference?
I guess that at least some display screens have this feature.

TIA,
  Alberto

-- 
http://blog.mardy.it <- geek in un lingua international!

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-06-20 14:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-29  7:49 Reporting screen/laptop orientation data to userspace Alberto Mardegan
2011-06-02 22:19 ` Pavel Machek
2011-06-03 15:55 ` Bastien Nocera
2011-06-04 17:13   ` Mohamed Ikbel Boulabiar
2011-06-06 17:53     ` Bastien Nocera
2011-06-06  6:53   ` Alberto Mardegan
2011-06-06  8:42     ` Jonathan Cameron
2011-06-06 17:50     ` Bastien Nocera
2011-06-06 18:41       ` Alan Cox
2011-06-20 14:53         ` Bastien Nocera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).