Skip to content
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

HID: uclogic: Expose firmware name #681

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

JoseExposito
Copy link
Collaborator

Some vendors reuse the same product ID for different tablets, making it difficult for userspace to figure out which table is connected. While matching the device name has been used in the past by userspace to workaround this limitation, some devices have shown that this is not always a valid approach [1].

However, if userspace could access the firmware version name, it would be possible to know which tablet is actually connected by matching it against a list of known firmware names [2].

This patch exposes the firmware version name in the hid->uniq field.

Link: linuxwacom/libwacom#609 [1]
Link: linuxwacom/libwacom#610 [2]


Already merged upstream: https://lore.kernel.org/linux-input/[email protected]/T/

Some vendors reuse the same product ID for different tablets, making it
difficult for userspace to figure out which table is connected.
While matching the device name has been used in the past by userspace to
workaround this limitation, some devices have shown that this is not
always a valid approach [1].

However, if userspace could access the firmware version name, it would
be possible to know which tablet is actually connected by matching it
against a list of known firmware names [2].

This patch exposes the firmware version name in the hid->uniq field.

Link: linuxwacom/libwacom#609  [1]
Link: linuxwacom/libwacom#610  [2]
Signed-off-by: José Expósito <[email protected]>
@JoseExposito JoseExposito merged commit 3a5d2ad into DIGImend:master Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant