linuxwacom / libwacom

libwacom is a tablet description library
Other
336 stars 173 forks source link

Create wacom-hid-52c6.tablet #795

Closed chrostino closed 1 month ago

chrostino commented 1 month ago

since the sysinfo.sh script was unable to generate the .tablet file I wrote this manually following instructions and copying from files of similar devices, although I am unsure if the ModelName= field needs to be filled (I left it blank since I couldn't find that information) and don't know if the line Styli=@isdv4-aes is even necessary. Some of the files of other devices I looked at had it, some didn't. Also I believed there was a problem in the file I discussed in #794, but closed the issue since I it is fixed by #793

whot commented 1 month ago

ModelName can be left blank, and for the Styli line: run tools/show-stylus.py and see what that says. If it doesn't see any stylus IDs you can leave it out, otherwise what you have will be fine.

chrostino commented 1 month ago

ModelName can be left blank, and for the Styli line: run tools/show-stylus.py and see what that says. If it doesn't see any stylus IDs you can leave it out, otherwise what you have will be fine.

it shows the two stylus I have, the lenovo digital pen 2 and the lenovo precision pen 2 (2023), both of which still need to be merged in their pull requests (that I have added to my /etc/libwacom/wacom.stylus Also after terminating in the terminal it shows this

Unknown stylus id 0x0. New entry needed
Suggested line for .tablet file:
Styli=isdv4-aes

should I just put Styli=@isdv4-aes?

whot commented 1 month ago

squashed and merged, thanks. Now that there's multiple commits I could even fix the commit message :)

isdv4-aes is fine, thanks