I have a Lenovo Yoga 2 Pro and would like to get the gyroscope running.
But how should I start accessing it and including it in my system?
(Here I made a dump of lspci -vvv
and lsmod
on my Lenovo Yoga 2)
I would like to automatically rotate the screen when I rotate the laptop.
I already have successfully created a script, that manually rotates the screen with the
keyboard shortcut Ctrl+Alt+F5 (see https://askubuntu.com/a/485632/34298)
Maybe there is a way to adapt this script? https://gist.github.com/emiller/6488449
I also tried to add the autorotate PPA from Karol Krizka and install it:
echo "deb http://ppa.launchpad.net/kkrizka/thinkpad-x61t/ubuntu lucid main" | sudo tee /etc/apt/sources.list.d/kkrizka-auto-rotate.list
#Update apt-get’s package list:
sudo apt-get update
#Install the script and necessary packages:
sudo apt-get install wacom-tools python-xrandr autorotate
But It seems like there is a dependency problem:
The following packages have unmet dependencies:
autorotate : Depends: python-central (>= 0.6.11) but it is not installable
python-xrandr : Depends: python-central (>= 0.6.11) but it is not installable