public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nico Schottelius <nico-linux-20149210@schottelius.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: nico-linux-20149210@schottelius.org
Subject: Support for automatic screen rotation on Lenovo Yogo 2 Pro
Date: Mon, 10 Feb 2014 08:35:13 +0100	[thread overview]
Message-ID: <20140210073513.GE2792@schottelius.org> (raw)

Good morning hackers,

The screen on the Lenovo Yoga 2 Pro can rotate up to 180 degrees and it would be awesome
if we could rotate it automatically under Linux. xrandr can already rotate it, what is missing 
is an event that we can trigger on. 

Is there any way to find out 
    a) if the screen is opened for more than 90 degrees?
    a) what the opening angle of the screen is?

I guess there must be support somewhere, as it is supposed to happen
automatically under windows. [1]

I am still facing the problem that there are no keycodes present for
some keys [0] - if you have a hint for this problem, I am wondering 
if anyone has a pointer on how to solve one of these issues?

Cheers,

Nico

[0] https://lkml.org/lkml/2014/1/28/251
[1] I have never tried windows on this device, but from the forums and
    marketing I assume it works trigger based on the opening angle.



-- 
PGP key: 7ED9 F7D3 6B10 81D7 0EC5  5C09 D7DC C8E4 3187 7DF0

                 reply	other threads:[~2014-02-10  8:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140210073513.GE2792@schottelius.org \
    --to=nico-linux-20149210@schottelius.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox