Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 3675  / 2 Years ago, tue, august 16, 2022, 4:28:50

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

More From » drivers

 Answers
3

This is not a solution but for me it ended the search for one:



I was satisfied when I found out how to rotate it manually


[#24531] Wednesday, August 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
teromato

Total Points: 139
Total Questions: 102
Total Answers: 100

Location: Liechtenstein
Member since Mon, May 15, 2023
1 Year ago
;