[HP Elitebook Folio 9470m] Screen rotates upside-down when laptop is not flat
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iio-sensor-proxy (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
HP Elitebook Folio 9470m. This system is not a tablet or convertible, and does not have a touchscreen.
If the laptop is sitting flat during boot, the display orientation is normal.
If the laptop is not sitting flat during boot, or if it is moved out of flat, the display rotates and the orientation it rotates to is inverted upside-down.
This happens at the login screen as well as after login.
This laptop should really never have the screen rotate in the first place, as it's not a tablet or convertible, but in the event that rotation is happening it shouldn't be upside-down.
I have locked the rotation in gnome shell and in the login screen using the rotation lock button in the respective system menus. It would be nice if there was a system-wide setting & this didn't need to be done on a per-user basis.
This gsettings command will also lock the gnome-shell rotation:
gsettings set org.gnome.
However the above key doesn't affect the login screen, which has its own separate rotation button in its own version of the system menu.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
$ apt-cache policy gdm3
gdm3:
Installed: 3.28.0-0ubuntu1
Candidate: 3.28.0-0ubuntu1
Version table:
*** 3.28.0-0ubuntu1 500
500 http://
100 /var/lib/
$ apt-cache policy gnome-shell
gnome-shell:
Installed: 3.28.1-0ubuntu2
Candidate: 3.28.1-0ubuntu2
Version table:
*** 3.28.1-0ubuntu2 500
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gdm3 3.28.0-0ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 28 09:17:35 2018
InstallationDate: Installed on 2018-04-27 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Beta amd64 (20180404)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Screen rotates upside-down when laptop is not flat + [HP Elitebook Folio 9470m] Screen rotates upside-down when laptop is not + flat |
Could you give the output of those commands? DEBUG=all /usr/sbin/ iio-sensor- proxy
$ G_MESSAGES_
$ udevadm info --export-db | grep iio