[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DE1FA7F.3050308@users.sourceforge.net>
Date: Sun, 29 May 2011 10:49:19 +0300
From: Alberto Mardegan <mardy@...rs.sourceforge.net>
To: linux-kernel@...r.kernel.org
CC: "Javier S. Pedro" <maemo@...ispedro.com>,
linux-input@...r.kernel.org
Subject: Reporting screen/laptop orientation data to userspace
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!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists