I am running Ubuntu 24.04 on an HP envy x360 which is a convertible laptop: if you flip the screen backwards it can be used as a tablet. The issue is that since yesterday mine is stuck on "tablet mode", meaning that the keyboard and trackpad do not work. This is the intended behavior when the display is flipped, the issue is that it seems that it stays this way when I flip the display back to use it as a normal laptop.
I do not think I changed anything in the configuration, and the keyboard works in recovery mode. It stops working when I get to the login screen and after login. Connecting a USB keyboard and mouse they work as expected.
Below is some additional information, please let me know if I can add anything that might be useful to debug this problem.
Any help would be greatly appreciated!
things I tried and did not solve the issue
- booting newer and older kernels
- installing gnome extensions to rotate screen
- installing mate DE
- wiping gnome3 configuration
- reinstalling gnome shell
- connect external monitor
- enabling via xinput
- updating
note that for xinput enable 3 for example (see below) I get
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
possibly relevant output
xinput list
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)]
⎜ ↳ xwayland-pointer-gestures:16 id=8 [slave pointer (2)]
⎜ ↳ xwayland-touch:16 id=10 [slave pointer (2)]
⎜ ↳ xwayland-tablet stylus:16 id=11 [slave pointer (2)]
⎜ ↳ xwayland-tablet eraser:16 id=12 [slave pointer (2)]
⎜ ↳ xwayland-tablet cursor:16 id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:16 id=9 [slave keyboard (3)]
ls -l /dev/input/*/*{kbd,mouse}
lrwxrwxrwx 1 root root 10 Jan 21 10:29 /dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd -> ../event13
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-id/usb-YICHIP_Wireless_Device_b120300001-event-kbd -> ../event5
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-id/usb-YICHIP_Wireless_Device_b120300001-if01-event-mouse -> ../event8
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-id/usb-YICHIP_Wireless_Device_b120300001-if01-mouse -> ../mouse2
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-path/pci-0000:00:14.0-usb-0:1:1.0-event-kbd -> ../event5
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-path/pci-0000:00:14.0-usb-0:1:1.1-event-mouse -> ../event8
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-path/pci-0000:00:14.0-usb-0:1:1.1-mouse -> ../mouse2
lrwxrwxrwx 1 root root 10 Jan 21 10:29 /dev/input/by-path/pci-0000:00:14.0-usb-0:4:1.0-event-kbd -> ../event13
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-path/pci-0000:00:14.0-usbv2-0:1:1.0-event-kbd -> ../event5
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-path/pci-0000:00:14.0-usbv2-0:1:1.1-event-mouse -> ../event8
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-path/pci-0000:00:14.0-usbv2-0:1:1.1-mouse -> ../mouse2
lrwxrwxrwx 1 root root 10 Jan 21 10:29 /dev/input/by-path/pci-0000:00:14.0-usbv2-0:4:1.0-event-kbd -> ../event13
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-path/pci-0000:00:15.0-platform-i2c_designware.0-event-mouse -> ../event7
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-path/pci-0000:00:15.0-platform-i2c_designware.0-mouse -> ../mouse1
lrwxrwxrwx 1 root root 10 Jan 21 10:29 /dev/input/by-path/pci-0000:00:15.1-platform-i2c_designware.1-event-mouse -> ../event11
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-path/pci-0000:00:15.1-platform-i2c_designware.1-mouse -> ../mouse3
lrwxrwxrwx 1 root root 9 Jan 21 10:29 /dev/input/by-path/platform-i8042-serio-0-event-kbd -> ../event4
sudo libinput list-devices
...
Device: SYNA30B8:00 06CB:CE1A Touchpad
Kernel: /dev/input/event7
Group: 8
Seat: seat0, default
Size: 111x66mm
Capabilities: pointer gesture
Tap-to-click: disabled
Tap-and-drag: enabled
Tap drag lock: disabled
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
Calibration: n/a
Scroll methods: two-finger edge
Click methods: button-areas clickfinger
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles: flat *adaptive custom
Rotation: n/a
...
Device: Lid Switch
Kernel: /dev/input/event1
Group: 4
Seat: seat0, default
Capabilities: switch
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: n/a
Rotation: 0.0
...
Device: AT Translated Set 2 keyboard
Kernel: /dev/input/event4
Group: 12
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: n/a
Rotation: 0.0