Open mod20388 opened 1 year ago
Can you tell us the Linux distro and its kernel/X versions you use?
Arch Linux, latest versions (at the moment these are Linux 6.5.4 & X 21.1.8).
That should work...
I do see hid-generic grabs the device first. The root cause could still be in the kernel. To be certain, can you update your kernel wacom driver by following steps at: https://github.com/linuxwacom/input-wacom/wiki/Installing-input-wacom-from-source?
Welp, it seems to work with v1.1.0 (installed from here). So I guess this is one of the "newer tablets".
Correction: It is now working when rebooting, but it still does not work on a cold boot.
@mod20388 Can you build and install input-wacom 1.2.0 to see if it fixes your issue? On some systems, mainly arm-based, there is a race condition that hid-generic driver may grab the tablet when system starts kernel upstream patch. That fix has been backported to input-wacom 1.2.0.
I got back from holidays recently and apparently it did work for some days. Then I uninstalled input-wacom 1.2.0 to make sure that was really the solution, and well it did stop working. But then I wanted to install it again and now I am getting compile errors (complaints about "strlcpy" even though I do have libbsd installed). I will get back to you and close this when I can install it again and can confirm it works consistently.
You are probably running a kernel 6.6 or later. Please build the kernel driver from the git repo: https://github.com/linuxwacom/input-wacom/wiki/For-Developers%3A-input-wacom-development-process, which has a workaround for the issue.
OK, I managed to get it built (i.e., 1.2.0 + the relevant build patch from git). However, the problem remains. Out of 7 boots I got 4 where the tablet was not functional on startup. The driver was loaded in both cases.
Wacom CTL-672 is not functional on login. It is only responsive after
rmmod wacom && modprobe wacom
(possibly a couple times).Relevant lines in Xorg.0.log appear, so the tablet is recognized during boot but nevertheless not functional:
Also in dmesg: