Open sjjh opened 9 years ago
I recognised that after rotating the laptop once certain keyboard combinations as CTRL + ALT + T to open a terminal or Fn + F1, Fn + F2, Fn + F3, Fn + F4 to control volume/mic or Fn +F5, Fn + F6 to control display brightness don't work any more. Fn + F8 to toggle WiFi still works though, as well as Fn + Space for the keyboard lightning. Any idea on how to debug it? If I run the python script directly in the console I don' get any (error) output.
Try run the xrandr orientation rotation directly through console with xrandr -o right
then bring it back with xrandr -o normal
. It is possible this is a Unity specific issue.
I experienced a strange behaviour...
First of all I made sure that the systemd service is not running by stopping it. The key combo Fn + F2 is working. After issuing xrandr -o right
the screen turns right and then immediately back to normal again. The key combo Fn + F2 is not working anymore.
If I run xrandr -o right
a second time the screen stay right rotated and I can bring it back to normal with xrandr -o normal
.
I have no idea what happens here...
caught another error log: http://muenster.de/~simonh/_usr_lib_unity-settings-daemon_unity-settings-daemon.1000.crash.2 Not sure how to debug it and not sure who is creating problems for whom here, does the rotate script fail because there is a bug in X on this hardware, or does X get problems because the rotate script breaks something....?
The rotate script simply reads the value out of the accelerometer in /sys/bus/iio/devices/iio:device*/
where * may be different on any computer and runs xrandr -o <orientation>
accordingly to those numbers.
I believe this is not an issue with X, or the script, but rather the unity-settings-daemon not playing well with xrandr for some reason. You probably are best taking this crash to them and they may be able to help you.
I'll keep this as an open issue on Unity at this stage.
I opened a bug report at ubuntu: https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1462590
HW: Thinkpad Yoga 12 SW: Vanilla Ubuntu 15.04 See apport report at http://muenster.de/~simonh/_usr_lib_unity-settings-daemon_unity-settings-daemon.1000.crash
Is there anything I can debug, if yes -- how?