kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #69995
[Bug 1326885] Re: desktop start rotated
I won't report again with latest kernel because (from my experience) I
do not expect it to be solved (or that it solved because of people
reporting bugs), but I still provide the following information to save
the time for those who wish to find a workaround - I do not know a
workaround, but I know the following would not work:
The following methods would not prevent the desktop to rotate automatically after login:
- delete /lib/udev/accelerometer
- comment out the only line in /lib/udev/rules.d/61-accelerometer.rules
Since the rotate-after-login does not alter input matrix, which is still
horizental, touch-screen will be useless right after login, until you
rotate the screen back (with xrandr -o randr). If, instead of preventing
auto-rotate-after-login, you wish to rotate input matrix as well to make
the machine at least usable, the following command would not work:
$ xinput set-prop 9 --type=float "Coordinate Transformation Matrix" 0 -1
1 1 0 0 0 0 1
The effect of that command is zero: input matrix remain the same
(horizental) while the screen is auto-rotated to vertical.
If you wish to study the issue, a starting point is the accelerometer device, which can be found in
/proc/bus/input/devices
Find out the event device (in my case event4) then you can find out which driver drives it by:
$ cat /sys/devices/platform/asus_laptop/input/input4/device/driver
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1326885
Title:
desktop start rotated
Status in “linux” package in Ubuntu:
Incomplete
Bug description:
Running Ubuntu 14.04 on bModo12 (same hardware as WeTab). Right after
login the screen rotates to rightwards (no matter what direction the
screen is actually at). I had to run this everytime:
$ xrandr -o normal
Note this is not gravity sensor at work. If gravity sensor is at work,
and turned screen leftwards or rightwards, 'xrandr -o normal' will not
have any effect.
Expected behaviour: the desktop rotation should be decided by gravity sensor, or, without its input, defaults to normal. If it is intended that even without gravity sensor input the desktop should rotate anyway (because it consider itself running on a tablet) then it should do so since login screen, not to change orientation right after login.
---
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2014-04-28 (38 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
Package: linux (not installed)
Tags: trusty
Uname: Linux 3.15.0-031500rc5-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1326885/+subscriptions
References