main: Huion tablets not working in ublue images, while Fedora's images work
Hi! Huion tablets are not working on ublue images:
Bazzite KDE: Not working Bazzite Gnome: tablet shows up but pen doesn’t work, so I’d consider it now working Aurora: Not working Kinoite Ublue: Not working (rebased from fedora kinoite, where it was working previously)
While on non ublue images (tested Fedora Workstation Gnome non atomic, Fedora KDE non atomic, Fedora Kinoite) it works out of the box. All tests on wayland, just plain default out of the box.
There are a couple of things that are puzzling. First we thought this had to do with a not up to date libwacom package, currently bazzite uses 2.11.0, while latest is 2.12.2, and changelog shows some work on Huion tablets, but this was not it, as I downgraded my working arch installation package to 2.11 and it kept working.
Another thing worth mentioning is how KDE shows the Drawing tablet interface. When the tablet is unplugged, but “it’s going to work” when plugged, it shows this interface:
Meanwhile, when it’s unplugged but “it’s not going to work” when plugged, it shows this:
You can find our discussion over here https://discord.com/channels/1072614816579063828/1268470456441110568 tagging @HikariKnight as they have followed the discussion and is aware of the issue.
Possible culprit could be something to do with libinput and its interactions with libwacom/libwacom-data. For example, libinput list-devices doesn’t list the tablet in the affected images.
Please also note that this seems to be happening on some tablets (me and another user reported the issue with huion), but Hikari’s wacom works fine out of the box.
I’d say those are all our findings. Let me know if you can think of anything else I can test/help with. Cheers!
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 3
- Comments: 21 (6 by maintainers)
My Huion now works on vanilla Bluefin out-of-the box. Also, udev rules’ removal did not affect OpenTabletDriver. By disabling kernel module
hid_uclogic(stops working) and installing flatpak version of OTD, the tablet works as well. I cannot reproduce this anymore, suggesting to resolve the issue.Not sure if my experience would be directly useful, but I thought I’d share some notes here since I have affected hardware, even if the underlying causes might be different for me:
/dev/hidraw*(even though, after following OTD’s troubleshooting instructions, all those devices show up with +rw perms for owner & group & other). I tried replacing the rpm-ostree package with the Flatpak, but both had the same problem. I eventually gave up on trying to make OTD work again, and instead decided to try to make KDE Plasma’s tablet support work.wacomanduclogickernel modules were loaded and not blacklisted; 2) adding a.tabletfile in/usr/share/libwacombased on https://github.com/linuxwacom/libwacom/blob/master/data/huion-kamvas-13.tablet , since the version of that file provided by libwacom in F40 is older and not comprehensive enough to detect my tablet; and then 3) adding a udev rule in/etc/udev/rules.dto override the OTD-related udev rules (at/usr/lib/udev/rules.d/71-opentabletdriver-ublue.rules, which normally setsLIBINPUT_IGNORE_DEVICEto1) to instead setLIBINPUT_IGNORE_DEVICEto0so that libinput would stop ignoring my model of tablet. I am sure that step 3 was necessary; I’m not sure if step 1 was necessary, but I tried it first in order to completely undo the things needed for OpenTabletDriver which I suspected might interfere with KDE Plasma’s tablet support; and I’m not sure if step 2 was necessary, but making my tablet show up inlibwacom-list-local-deviceswas at least useful for troubleshooting.The reason its set up with the OTD driver rules is because originally the kde and gnome settings did not support the tablet (there is still many they do not support) Hence the need for OTD.
the change needed to the udev rules (for tablets that no longer need OTD) however can be PRed into the repository, not quite sure which one. im sure @KyleGospo would know which as i couldnt find it at first glance with a search before going to work.
@safonas Ideally we would be using the opentabletdriver flatpak as it will let us avoid having to rely on a distrobox for this. sadly not all tablets are supported by default by the kernel modules hence why a userspace driver like opentabletdriver is necessary for a lot of them.
@Potajito can you check if the flatpak version of opentabletdriver works with the tablet in question.
PS: sorry for it taking so long for me to get to this issue, been recovering from my hospitalization up until now.
Can confirm, just rebased to Bazzite from Kinoite and on first looks like the Kamvas 13 works out of the box with KDE Plasma tablet settings! That’s so cool! Thanks all for the work!
I think this got resolved in https://github.com/ublue-os/config/pull/355, will test on weekend