Screen should not rotate automatically on a laptop

Bug #1879876 reported by cktenn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IIO Sensor Proxy
Fix Released
Unknown
OEM Priority Project
Incomplete
Undecided
Kai-Chuan Hsieh
systemd
New
Undecided
Unassigned
iio-sensor-proxy (Ubuntu)
New
Undecided
Unassigned

Bug Description

There are recently more machines shipped with an accelerometer to bring about the automatic rotation feature on pad-like or 2in1 products. However, manufacturers sometimes share designs between platforms; a laptop may mount an accelerometer on its panel. The user experience on laptops with a fixed keyboard/touchpad that rotates automatically is somehow annoying, and the touchpad motion is confusing.

The SMBIOS specification defines chassis type in section 7.4.1. Softwares can determine to rotate automatically or not by checking this value, or at least not to rotate on a laptop(0x09) and notebook(0x0A).
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-05-05 (15 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
Package: gdm3 3.34.1-1ubuntu1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.6.0-1010.10-oem 5.6.8
Tags: focal
Uname: Linux 5.6.0-1010-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

cktenn (cktenn)
no longer affects: gdm
Changed in oem-priority:
assignee: nobody → Che Cheng (cktenn)
Revision history for this message
cktenn (cktenn) wrote : Dependencies.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
cktenn (cktenn) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
cktenn (cktenn) wrote : ProcEnviron.txt

apport information

tags: added: originate-from-1871572
Revision history for this message
cktenn (cktenn) wrote :

The legitimate chassis type to enable the rotation feature should be:
Tablet (0x1E)
Convertible (0x1F)
Detachable (0x20)

Revision history for this message
Sebastien Bacher (seb128) wrote :

the rotation is being handled by iio-sensor-proxy and if such heuristic needs to be added it should probably be there. Could you also open a report upstream on gitlab to see what's their input on a such change?

affects: gdm3 (Ubuntu) → iio-sensor-proxy (Ubuntu)
Rex Tsai (chihchun)
tags: added: oem-priority
Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote :

A upstream MP for disabling rotation based on #4.
https://github.com/systemd/systemd/pull/17084

Changed in oem-priority:
assignee: Che Cheng (cktenn) → Kai-Chuan Hsieh (kchsieh)
Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote :

Based on some device doesn't config chassis type correctly, the patch can only be like

https://github.com/systemd/systemd/pull/17281

Changed in oem-priority:
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in iio-sensor-proxy:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.