Hi.
System info: Fedora Workstation 43, kernel 6.18.12-200.fc43.x86_64, Wayland
Right now, when I use my 2-in-1 (Lenovo ThinkPad L380 Yoga), the stylus input does not rotate with the touchscreen. I can only use my stylus correctly in laptop mode, or in tablet mode, when the screen does not rotate.
Whenever the screen rotates, ie in tent mode, the stylus input is flipped and not supposed to be where it is. Touchscreen input by fingers is okay.
I am fairly sure this issue was introduced recently, in a month or two, as I recall using the laptop with the stylus correctly in tent mode.
My device appears to be supported by libwacom.
libwacom-list-local-devices:
devices:
- name: 'Wacom ISDv4 5157'
bus: 'usb'
vid: 0x056a
pid: 0x5157
nodes:
- /dev/input/event7: 'Wacom Pen and multitouch sensor Pen'
- /dev/input/event6: 'Wacom Pen and multitouch sensor Finger'
styli:
- id: 0x1
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x11
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x19
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x21
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x31
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x39
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x49
vid: 0x056a
name: 'Bamboo Ink'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x71
vid: 0x056a
name: 'Bamboo Ink'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x211
vid: 0x056a
name: 'Dell Active Pen - PN7320A'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x219
vid: 0x056a
name: 'Lenovo Digital Pen 2'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x221
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x231
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x271
vid: 0x056a
name: 'Bamboo Ink'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x421
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x431
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x621
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x631
vid: 0x056a
name: 'Dell Active Pen'
type: 'mobile'
axes: ['x', 'y' , 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x8051
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'tilt', 'pressure']
buttons: 0
is_eraser: 'true'
eraser_type: 'button'
- id: 0x805b
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'tilt', 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x806b
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'tilt', 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x807b
vid: 0x056a
name: 'Bamboo Ink Plus'
type: 'mobile'
axes: ['x', 'y' , 'tilt', 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x80a3
vid: 0x056a
name: 'Lenovo Slim Pen'
type: 'mobile'
axes: ['x', 'y' , 'tilt', 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x826b
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'tilt', 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x846b
vid: 0x056a
name: 'AES Pen'
type: 'mobile'
axes: ['x', 'y' , 'tilt', 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x865b
vid: 0x056a
name: 'Lenovo Active Pen 3 (2023)'
type: 'mobile'
axes: ['x', 'y' , 'tilt', 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
- id: 0x866b
vid: 0x056a
name: 'Lenovo Precision Pen 2 (2023)'
type: 'mobile'
axes: ['x', 'y' , 'tilt', 'pressure']
buttons: 1
is_eraser: 'true'
eraser_type: 'button'
and
$ sudo libwacom-show-stylus /dev/input/event7
[sudo] password for <username>:
Using stylus file(s): /usr/share/libwacom/lenovo.stylus, /usr/share/libwacom/wacom.stylus
Tool id 0x11 serial 0xb0ce946d in-proximity: False
^CTerminating
Suggested line for .tablet file:
Styli=0x56a:0x11
Also, oddly enough, the Graphics Tablets page in gnome-settings shows I have two styli, even though I have just one.
Can someone please help me out? Would be grateful.
