Hello,
I am using a fresh install of Fedora Workstation 44 on a Lenovo IdeaPad Duet 3, a 2-in-1 laptop.
When I attach the keyboard to the laptop (going from tablet mode to desktop mode), the screen always goes in portrait mode (with the bottom of the screen on the right).
This occurs whether automatic rotation is enabled or not.
This did not occur with Fedora Workstation 42.
As this is also a tablet, the default position for the accelerometer may be portrait mode. But during installation and first login, it always stayed in landscape mode.
Here is the journalctl output when unplugging and reattaching the keyboard.
Click to show
avril 29 23:13:58 Dalna kernel: usb 1-5: USB disconnect, device number 10
avril 29 23:14:01 Dalna gnome-shell[3467]: Object MetaInputDeviceNative (0x7f48284c7a30), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x55c2d6bfab10 ==
#0 55c2d6ccb490 i resource:///org/gnome/shell/ui/keyboard.js:1093 (28401c92240 @ 56)
#1 55c2d6ccb3e8 i resource:///org/gnome/shell/ui/keyboard.js:1099 (28401c92290 @ 99)
#2 55c2d6ccb358 i resource:///org/gnome/shell/ui/init.js:20 (206d33685a60 @ 48)
avril 29 23:14:10 Dalna kernel: usb 1-5: new full-speed USB device number 11 using xhci_hcd
avril 29 23:14:12 Dalna org.mozilla.firefox.desktop[6253]: [Parent 6253, Main Thread] WARNING: Couldn't map window 0x7f4b5d59b720 as subsurface because its parent is not mapped.: 'glib warning', file /builddir/build/BUILD/firefox-150.0-build/firefox-150.0/toolkit/xre/nsSigHandlers.cpp:201
avril 29 23:14:12 Dalna org.mozilla.firefox[6253]: Couldn't map window 0x7f4b5d59b720 as subsurface because its parent is not mapped.
avril 29 23:14:15 Dalna kernel: usb 1-5: New USB device found, idVendor=17ef, idProduct=60fa, bcdDevice= 0.08
avril 29 23:14:15 Dalna kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
avril 29 23:14:15 Dalna kernel: usb 1-5: Product: Duet 3 USB Composite Device
avril 29 23:14:15 Dalna kernel: usb 1-5: Manufacturer: HAILUCK CO.,LTD
avril 29 23:14:15 Dalna kernel: input: HAILUCK CO.,LTD Duet 3 USB Composite Device as /devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.0/0003:17EF:60FA.000E/input/input52
avril 29 23:14:15 Dalna kernel: hid-generic 0003:17EF:60FA.000E: input,hidraw1: USB HID v1.11 Keyboard [HAILUCK CO.,LTD Duet 3 USB Composite Device] on usb-0000:00:15.0-5/input0
avril 29 23:14:15 Dalna kernel: input: HAILUCK CO.,LTD Duet 3 USB Composite Device Consumer Control as /devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.1/0003:17EF:60FA.000F/input/input53
avril 29 23:14:15 Dalna kernel: input: HAILUCK CO.,LTD Duet 3 USB Composite Device Mouse as /devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.1/0003:17EF:60FA.000F/input/input54
avril 29 23:14:15 Dalna mtp-probe[18176]: checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:15.0/usb1/1-5"
avril 29 23:14:16 Dalna systemd-logind[1651]: Watching system buttons on /dev/input/event8 (HAILUCK CO.,LTD Duet 3 USB Composite Device Consumer Control)
avril 29 23:14:16 Dalna kernel: input: HAILUCK CO.,LTD Duet 3 USB Composite Device Touchpad as /devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.1/0003:17EF:60FA.000F/input/input55
avril 29 23:14:15 Dalna mtp-probe[18176]: bus: 1, device: 11 was not an MTP device
avril 29 23:14:16 Dalna systemd-logind[1651]: Watching system buttons on /dev/input/event7 (HAILUCK CO.,LTD Duet 3 USB Composite Device)
avril 29 23:14:16 Dalna kernel: input: HAILUCK CO.,LTD Duet 3 USB Composite Device Wireless Radio Control as /devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.1/0003:17EF:60FA.000F/input/input56
avril 29 23:14:16 Dalna kernel: hid-multitouch 0003:17EF:60FA.000F: input,hiddev96,hidraw2: USB HID v1.11 Mouse [HAILUCK CO.,LTD Duet 3 USB Composite Device] on usb-0000:00:15.0-5/input1
avril 29 23:14:16 Dalna mtp-probe[18199]: checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:15.0/usb1/1-5"
avril 29 23:14:16 Dalna mtp-probe[18199]: bus: 1, device: 11 was not an MTP device
Here is the output of monitor-sensor when plugged in and in landscape mode.
Click to show
Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has accelerometer (orientation: right-up, tilt: tilted-up)
=== No ambient light sensor
=== No proximity sensor
=== No compass
And the output of gdctl show
Before unplugging the keyboard
Monitors:
└──Monitor DSI-1 (Affichage intégré)
├──Vendor: unknown
├──Product: unknown
├──Serial: unknown
├──Current mode
│ └──1920x1200@59.907
└──Preferences
└──Backlight:
├──active ⇒ True
├──min ⇒ 6
├──max ⇒ 640
└──value ⇒ 283
Logical monitors:
└──Logical monitor #1
├──Position: (0, 0)
├──Scale: 1.5
├──Transform: normal
├──Primary: yes
└──Monitors: (1)
└──DSI-1 (Affichage intégré)
After attaching the keyboard
Monitors:
└──Monitor DSI-1 (Affichage intégré)
├──Vendor: unknown
├──Product: unknown
├──Serial: unknown
├──Current mode
│ └──1920x1200@59.907
└──Preferences
└──Backlight:
├──active ⇒ True
├──min ⇒ 6
├──max ⇒ 640
└──value ⇒ 283
Logical monitors:
└──Logical monitor #1
├──Position: (0, 0)
├──Scale: 1.5
├──Transform: 90
├──Primary: yes
└──Monitors: (1)
└──DSI-1 (Affichage intégré)
Edit: more information regarding system
Click to show
System Details Report
Report details
- Date generated: 2026-04-30 21:43:49
Hardware Information:
- Hardware Model: Lenovo IdeaPad Duet 3 10IGL5
- Memory: 8.0 GiB
- Processor: Intel® Pentium® Silver N5030 × 4
- Graphics: Intel® UHD Graphics 605 (GLK 3)
- Disk Capacity: 125.1 GB
Software Information:
- Firmware Version: EQCN35WW
- OS Name: Fedora Linux 44 (Workstation Edition)
- OS Build: (null)
- OS Type: 64-bit
- GNOME Version: 50
- Windowing System: Wayland
- Kernel Version: Linux 6.19.14-300.fc44.x86_64
Is there a way to prevent this unwanted behavior? Whether by preventing it from finding a screen rotation when plugging the keyboard, of setting the landscape to be the default, perhaps?
Any solution would be fine for me, as long as the automatic screen rotation can still be enabled in tablet mode.