linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.57k stars 744 forks source link

No automatic screen rotation on Lenovo Yoga 12 S1 #12468

Open aaal opened 4 weeks ago

aaal commented 4 weeks ago

Distribution

LMDE 6 Faye

Package version

6.2.9

Graphics hardware in use

Intel Corporation HD Graphics 5500

Frequency

Always

Bug description

My laptop has a tablet + stylus mode (Lenovo Thinkpad S1 Yoga 12). The orientation changes used to work, but they are no more effect on the screen settings. I don't know wheter this is a bug, or a simple hardware sensor failure. I failed to do manual reading, trying to get some value of sensors : root@lenovo:~# systemctl restart iio-sensor-proxy.service root@lenovo:~# systemctl status iio-sensor-proxy.service ○ iio-sensor-proxy.service - IIO Sensor Proxy service Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static) Active: inactive (dead)

oct. 25 15:03:21 lenovo systemd[1]: Starting iio-sensor-proxy.service - IIO Sensor Proxy service... oct. 25 15:03:21 lenovo systemd[1]: Started iio-sensor-proxy.service - IIO Sensor Proxy service. oct. 25 15:03:21 lenovo systemd[1]: iio-sensor-proxy.service: Deactivated successfully. oct. 25 15:03:39 lenovo systemd[1]: Starting iio-sensor-proxy.service - IIO Sensor Proxy service... oct. 25 15:03:39 lenovo systemd[1]: Started iio-sensor-proxy.service - IIO Sensor Proxy service. oct. 25 15:03:39 lenovo systemd[1]: iio-sensor-proxy.service: Deactivated successfully.

By the way, when I force rotation by hand, the touchpad orientation is not changed, but this is a minor issue...

I don't know what additional information I coud provide, but I willingly add those that would be asked...


System: Kernel: 6.1.0-22-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.38 wm: muffin vt: 7 dm: LightDM v: 1.26.0 Distro: LMDE 6 Faye base: Debian 12.1 bookworm Machine: Type: Laptop System: LENOVO product: 20DKS1MA00 v: ThinkPad S1 Yoga 12 serial: Chassis: type: 10 serial: Mobo: LENOVO model: 20DKS1MA00 v: SDK0E50510 WIN serial: UEFI: LENOVO v: JEET85WW (1.34 ) date: 10/11/2018 Battery: ID-1: BAT0 charge: 13.3 Wh (35.8%) condition: 37.1/47.1 Wh (78.9%) volts: 15.9 min: 14.8 model: SMP 45N1707 type: Li-poly serial: status: charging CPU: Info: dual core model: Intel Core i5-5300U bits: 64 type: MT MCP smt: enabled arch: Broadwell rev: 4 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB Speed (MHz): avg: 2276 high: 2295 min/max: 500/2900 cores: 1: 2295 2: 2295 3: 2223 4: 2294 bogomips: 18357 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: Intel HD Graphics 5500 vendor: Lenovo driver: i915 v: kernel arch: Gen-8 ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:1616 class-ID: 0300 Device-2: Sunplus Innovation Integrated Camera type: USB driver: uvcvideo bus-ID: 1-6:5 chip-ID: 1bcf:2c79 class-ID: 0e02 Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93") Monitor-1: eDP-1 model: Samsung 0x3147 res: 1920x1080 hz: 60 dpi: 177 size: 276x155mm (10.87x6.1") diag: 317mm (12.5") modes: 1920x1080 API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 5500 (BDW GT2) direct-render: Yes Audio: Device-1: Intel Broadwell-U Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:160c class-ID: 0403 Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0 class-ID: 0403 API: ALSA v: k6.1.0-22-amd64 status: kernel-api Server-1: JACK v: 1.9.21 status: off Server-2: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin Network: Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:095b class-ID: 0280 IF: wlp4s0 state: up mac: Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-4:2 chip-ID: 8087:0a2a class-ID: e001 Report: hciconfig ID: hci0 rfk-id: 6 state: up address: bt-v: 2.1 lmp-v: 4.2 sub-v: 1000 hci-v: 4.2 rev: 1000 Drives: Local Storage: total: 1.37 TiB used: 138.61 GiB (9.9%) ID-1: /dev/sda model: N300 2242-1TB size: 953.87 GiB speed: 6.0 Gb/s type: SSD serial: rev: 731 scheme: GPT ID-2: /dev/sdb model: Solid size: 447.13 GiB speed: 6.0 Gb/s type: SSD serial: rev: 4A0 Partition: ID-1: / size: 929.49 GiB used: 136.74 GiB (14.7%) fs: ext4 dev: /dev/sda3 ID-2: /boot/efi size: 285.4 MiB used: 5.8 MiB (2.0%) fs: vfat dev: /dev/sda1 Swap: ID-1: swap-1 type: partition size: 8.2 GiB used: 1.86 GiB (22.7%) priority: -2 dev: /dev/sda2 USB: Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 11 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 Device-1: 1-4:2 info: Intel Bluetooth wireless interface type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0a2a class-ID: e001 Device-2: 1-5:13 info: Synaptics Synaptics Touch Digitizer V04 type: HID driver: hid-multitouch,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 400mA chip-ID: 06cb:7244 class-ID: 0300 Device-3: 1-6:5 info: Sunplus Innovation Integrated Camera type: Video driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 1bcf:2c79 class-ID: 0e02 Device-4: 1-8:6 info: Wacom TPCEC type: Mouse driver: usbhid,wacom interfaces: 1 rev: 2.0 speed: 12 Mb/s chip-ID: 056a:00ec class-ID: 0301 Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 Sensors: System Temperatures: cpu: 49.0 C pch: 46.0 C mobo: 1.0 C Fan Speeds (RPM): cpu: 257 fan-2: 257 Repos: Packages: 3812 pm: dpkg pkgs: 3805 pm: flatpak pkgs: 7 No active apt repos in: /etc/apt/sources.list Active apt repos in: /etc/apt/sources.list.d/celestia.list 1: deb https: //celestiaproject.space/debian/ bookworm main No active apt repos in: /etc/apt/sources.list.d/geogebra.list Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 1: deb http: //packages.linuxmint.com faye main upstream import backport 2: deb https: //deb.debian.org/debian bookworm main contrib non-free non-free-firmware 3: deb https: //deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware 4: deb http: //security.debian.org bookworm-security main contrib non-free non-free-firmware 5: deb https: //deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list 1: deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https: //updates.signal.org/desktop/apt xenial main Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https: //linux.teamviewer.com/deb stable main Info: Processes: 269 Uptime: 1d 22h 56m wakeups: 6 Memory: 7.64 GiB used: 6.59 GiB (86.2%) Init: systemd v: 252 target: graphical (5) default: graphical Compilers: gcc: 12.2.0 alt: 12 Client: Cinnamon v: 6.2.9 inxi: 3.3.26

Steps to reproduce

Just rotate the laptop, nothing happens on screen.

Expected behavior

The screen orientation should change, from landscape to portrait and conversely.

Additional information

No response