-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update huion-kamvas-24-gs2401.tablet #743
Conversation
data/huion-kamvas-24-gs2401.tablet
Outdated
DeviceMatch=usb|256c|006e||HUION_M206;usb|256c|006d||HUION_M206;usb|256c|006f||HUION_M206;usb|256c|0064||HUION_M206; | ||
Width=9 # autogenerated value, please fix | ||
Height=6 # autogenerated value, please fix | ||
DeviceMatch=usb|256c|006d; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This we can't do - you're now matching on every single device with the 006d PID and potentially (well, definitely) breaking all other devices with the same PID. This needs to have the firmware specifier in it so it only matches on the kamvas 24.
DeviceMatch=usb|256c|006d||HUION_M206
alternatively/in addition if the device has a unique device name we can use that here too, see e.g. data/huion-h640p.tablet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So shoud it be like this ?
DeviceMatch=usb|256c|006d|HUION Huion Tablet_GS2401 Tablet Monitor Pen;
?
I assume we don't need Pad because there are no buttons on Kamvas 24 display tablet.
Kamvas 24 has built in monitor, looking at huion-kamvas-13.tablet file should this be also included ?
usb|256c|006d|Tablet Monitor;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DeviceMatch=usb|256c|0006d||HUION_M206;usb|256c|006d|HUION Huion Tablet_GS2401 Tablet Monitor Pen;
This way we have both the firmware match and the name match (the latter may prove to be less reliable although this one at least has the model number in the name).
I doubt the tablet monitor
device doesn't need an entry - maybe the Tablet Monitor Pen
if it sends events? Looking at the kamvas 13 file I'm not sure this is really needed tbt.
LibWacom says that Touch Strip and Dial is a tablet event, but `libinput list-devices` ignores them. So I only added those entries that libinput recognizes : `Pen`, `Stylus`, `Pad` and `Huion Tablet_GS2401` Through `libinput record` : `Stylus` and `Pad` events, don't bring any signals should they be excluded ?
merged, thanks |
This vid:pid is also being used by Huion Kamvas 13
data/huion-kamvas-pro-13.tablet