Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Admin message
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
I am trying to get the Huion Kamvas 27 Pro to work correctly in Kubuntu 24.10 Wayland. The tablet is recognized and everything is working fine except some of the Buttons on the Pens. The Issue seems to be the same as for the Kamvas 19 Pro described here #36 (closed) where only the lowest button is recognized (labeled there as Button 2). From what I understand, that problem was fixed with !59 (merged).
Would it be possible to implement the same fix for the 27 Pro as it is basically the same tablet and styluses? Otherwise, if the Issue should already be fixed for my tablet, maybe someone could help me figure out what I have to do to make it work. Thanks in advance!
Looks like we may need some extra information that isn't yet available in this issue.
Please attach (do not paste) the output of hid-recorder
for this device (run sudo hid-recorder without argument and it will let you pick the device).
This should show the data the kernel receives from the device and may provide a hint on what's going on here.
In the recording I pressed tip, first button, second button, eraser on the 2-button pen and then tip, first button, second button, third button, eraser on the 3-button pen.
rdesc length matches the kamvas 19 Pro PRE_2405024 firmware (328 bytes)
rdesc offset 30: we get a double Eraser usage because only 5 usages are defined for a report count of 6. that bit is never set in the recording so this is a cosmetic issue only I guess (unless the kernel takes the last eraser usage?).
The full output of the pen ignoring x/y/tilt/pressure changes:
So this looks like: tip switch and barrel switch (first button) appear correct, the second button has the same Secondary Tip Switch issue as the Kamvas 19 and the third button is doing the usual eraser in/out dance:
IOW InRange 0, then InRange 1 + Invert 1, then Eraser 1 on tip down (I assume) - this is as expected.
I can't see the third button in here but it may fall into the padding so the easiest way to find out is to just try the Kamvas 19 fixed for this device -> !189 (merged) :)
The fix seems to work. I can see the second and third button reacting in the tablet settings. I just can't see the third button doing anything (does it have a standard binding?). Rebinding any button does not do anything.
That said, I am happy with the second button working. Thank you a lot!
here only the lowest button is recognized (labeled there as Button 2).
Picking up on this one: it is usual for the vast majority of styli these days to have two buttons - the lower one as stylus button and the upper one changes the tool into an eraser by simulating a proximity out/flip/proximity in event. That's part of the MS specs. If that is how the stylus behaves that's technically correct and doesn't need fixing.
The upper button does not do anything. It does not change the tool to eraser as flipping the pen does. Same goes for the third button on the thicker stylus.