-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
My tablet is a Gaomon 1060pro and it works with the stylus and its buttons
System:
Archlinux
Kernel 6.11.5-arch1
Libinput 1.26.2
GNOME Wayland 47.1
sudo libinput list-devices still lists the problematic device entry:
Device: GAOMON Gaomon Tablet_1060Pro
Kernel: /dev/input/event21
Group: 5
Seat: seat0, default
Size: 164x164mm
Capabilities: tablet
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: disabled
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: none
Rotation: n/a
The entry that works:
Device: GAOMON Gaomon Tablet_1060Pro Pen
Kernel: /dev/input/event7
Group: 5
Seat: seat0, default
Size: 254x159mm
Capabilities: tablet
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: disabled
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: none
Rotation: n/a
This causes mutter to complain about multiple tablets:
Thg 10 30 18:00:47 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:00:57 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:00:57 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:00:57 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:00:57 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:27 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:27 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:28 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:28 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:28 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:28 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:33 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:33 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:33 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:33 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:36 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:36 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:36 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:36 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:36 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:36 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:36 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:36 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:36 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:36 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:37 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:37 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:39 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:39 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:39 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:39 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:39 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:39 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:40 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:40 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:41 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:41 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:43 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
Thg 10 30 18:01:43 kpc gnome-shell[1889]: (../mutter-dynamic-buffering/src/wayland/meta-wayland-tablet-seat.c:520):meta_wayland_tablet_seat_lookup_paired_tablet: runtime check failed: (!devices->next)
I managed to stop mutter from complaining by creating an udev rule to blacklist the problematic device:
ACTION!="remove", KERNEL=="event[0-9]*", ENV{ID_VENDOR_ID}=="256c", ENV{ID_MODEL_ID}=="0064", ATTRS{name}=="GAOMON Gaomon Tablet_1060Pro", ENV{LIBINPUT_IGNORE_DEVICE}="1"
But I think this is a hack. I'm not sure if there's a better solution for this but if there is, that will be great
Here's a full list of devices
event18 - GAOMON Gaomon Tablet_1060Pro Touch Strip: libinput bug: missing tablet capabilities: pen btn-stylus resolution. Ignoring this device.
event19 - GAOMON Gaomon Tablet_1060Pro Dial: libinput bug: missing tablet capabilities: pen btn-stylus resolution. Ignoring this device.
Device: Power Button
Kernel: /dev/input/event2
Group: 1
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
Device: Video Bus
Kernel: /dev/input/event4
Group: 2
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
Device: Video Bus
Kernel: /dev/input/event3
Group: 2
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
Device: Power Button
Kernel: /dev/input/event1
Group: 3
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
Device: Lid Switch
Kernel: /dev/input/event0
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: GAOMON Gaomon Tablet_1060Pro Pen
Kernel: /dev/input/event7
Group: 5
Seat: seat0, default
Size: 254x159mm
Capabilities: tablet
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: disabled
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: none
Rotation: n/a
Device: GAOMON Gaomon Tablet_1060Pro Pad
Kernel: /dev/input/event17
Group: 5
Seat: seat0, default
Capabilities: tablet-pad
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: disabled
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: n/a
Pad:
Rings: 0
Strips: 0
Buttons: 12
Mode groups: 1 (1 modes)
Device: GAOMON Gaomon Tablet_1060Pro Group Buttons
Kernel: /dev/input/event20
Group: 5
Seat: seat0, default
Capabilities: tablet-pad
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: disabled
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: n/a
Pad:
Rings: 0
Strips: 0
Buttons: 12
Mode groups: 1 (1 modes)
Device: GAOMON Gaomon Tablet_1060Pro
Kernel: /dev/input/event21
Group: 5
Seat: seat0, default
Size: 164x164mm
Capabilities: tablet
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: disabled
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: none
Rotation: n/a
Device: USB OPTICAL MOUSE
Kernel: /dev/input/event6
Group: 6
Seat: seat0, default
Capabilities: pointer
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
Calibration: n/a
Scroll methods: button
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: flat *adaptive custom
Rotation: 0.0
Device: ELAN0751:00 04F3:31C2 Mouse
Kernel: /dev/input/event10
Group: 7
Seat: seat0, default
Capabilities: pointer
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: n/a
Calibration: n/a
Scroll methods: *button
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: flat *adaptive custom
Rotation: n/a
Device: ELAN0751:00 04F3:31C2 Touchpad
Kernel: /dev/input/event11
Group: 7
Seat: seat0, default
Size: 123x77mm
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: AT Translated Set 2 keyboard
Kernel: /dev/input/event5
Group: 8
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
Device: HP WMI hotkeys
Kernel: /dev/input/event9
Group: 9
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
Metadata
Metadata
Assignees
Labels
No labels