-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Star Lite V] Wacom tablet not detected #176
Comments
There isn't any Wacom hardware in the StarLite - what are you wanting to configure? |
Do also have the same issue for a hour or two, after that and some reboots Fedora/debian do enable the touchscreen. Dont know why it doing so. |
That's not related - see #175 |
I was hoping to configure pen buttons there. |
As far as I know, there isn't a graphical way to change them, but it can be done with xinput |
It think Gnome refers to any touchsscreen as "Wacom tablet". On the Microsoft Surface Pro the touchscreen is listed as Wacom tablet as well though it isn't one. Ther you can configure the Pen buttons. Would love to see this working on the StarLite as well. |
This was my understanding as well. I found some reference to it on the arch linux page about it however the commands seem to be for x11 to add a device manually I am not sure what the process for wayland would be and if it would work with this pen. But having it report to gnome settings would be nice, its really painful to use inkscape with the pen because so much functionality relies on right clicking. |
https://github.com/linuxwacom/libwacom having a look at this repo it might be possible to make a .tablet description to add this pen as a supported device. Otherwise purchasing one of the devices listed here and using that stylus with the starlite instead of the provided one. |
Thanks for that hint, I got it working now. Might need some tweaks, but you can configure the buttons! This is what I did: Create the directory /etc/libwacom [Device] [Features] recreate libwacom database using "libwacom-update-db /etc/libwacom/". After that, the device shows up in Gnome system settings (pen settings appear once you touched the display with it). |
I was working on this at the same time as you and I got so close but I messed up the ids ;-;.
this is what I had, anyways great job seems like your change works. ~~I don't think you need to put in /etc/wacom (I think thats the old way?) I put mine in /usr/share/libwacom with the rest of the files and it worked. ~~ (I was wrong) Also it would probably be better to use the version of the tablet in the name incase starlabs release more in the future with changes to the touch screen. I am also not 100% sure if this change would work for the 2k model of the starlites as they could have a different touch screen id? To be on the safeside here is what my starlabs-starlite-v-3k.touch file looks like:
If anyone has the 2k model of starlite and can test this works that would be appreciated. Steps to test:
Copy this into file
update DB:
Save and open wacom settings in gnome (or any de that supports libwacom, eg. kde) |
@thmichel I currently can only config one button on the pen wbu? |
Agreed, putting the version in is a good idea. Regarding file location: I'm using Fedora Silverblue where the root filesystem is read only so you can't put the file into /usr/share/libwacom directly. According to the libwacom documentation you should use /etc/libwacom from version 1.10 onwards; only older versions should use /usr/share/libwacom. |
oh I had it backwards then... my bad, updated my comment to reflect that. As for the buttons are you able to configure both @thmichel? |
I can see both buttons; not sure if that was because I played around with a Bamboo pen. Rebooted the device and used the Starlabs pen only, still can configure both buttons. |
hmm let me just reboot my tablet then |
its working now, I think it might be because I did old method before, not sure tho. |
@thmichel do you want me to start a draft pr on upstream (un-draft when 2k users have tested) or make one yourself? |
If you could do it would be great, haven't done it before so wouldn't know how to do it anyways :-) |
neither have I! what could possibly go wrong |
Nice.
|
that is what is being used? anyways I already made a pr and a descriptor, I am assuming you might have some 2k starlites on hand would there be any hardware difference to cause issue with this pr? |
@Sean-StarLabs If you have any changes ping me in the pr, ill include them asap and once the 2k is tested ill un-draft. |
No, that's not an HID, that's an I2C identifier. |
Ah misunderstood the wording, if you can provide what the hid would look like I can give it a test |
I was mainly going off the surface example they had which used i2c |
Probably |
Happy to leave it to anyone more qualified than me :-) I just did this as first hack to get it working, probably height and width should be added as well. Looking at the tablet files from libwacom they all use either usb or i2c for DeviceMatch, so assumed that would be the way to go. |
do you think any changes are needed for 2k starlite or should it work? |
I think it needs testing thoroughly, as unstitching incorrect quirks for various distros is a painful process. |
thats fair, ill leave it in draft for now. the hid change you suggested didn't actually work, I thought it did but there was a caching issue, removing the cache and updating the db it didnt work. I have reverted my pr to i2c for testing. I think the way its done seems standard for libwacom but if you have suggestions add them to the pr review. |
I cant think of much in the way of distro quirks for this besides de's that dont support libwacom. the whole process is pretty abstracted I dont see why this wouldn't work across distros. If I get some time I might give it a test it should be easy enough to load ventoy with all your oem images and see if it has any issues. |
It wouldn't, because you don't have one of the firmware changes that it would require.
That wouldn't yield anything helpful.
There's no need to argue, but stability will always trump features. Even if we find no issues with your exact PR, what's the point in sending one upstream now, only for it to need changing in 3 weeks or so? |
Ok I misunderstood that it was already pushed.
I was kinda just going to do this anyways lol
Not meaning to argue, only expression. Ill keep an eye on the firmware update for this change and I can unrevert the commit. I'd be happy to transfer the pr to you if you would prefer, I am not sure best way to do that, either make a new pr or I add you to the repo? There is also the wacom-hid-descriptors issue but I am not sure if anything more needs adding to that. |
Ive done some further testing and its really bizarre, second button is reporting but bindings for it dont work. The first button does work and I have been able to bind that. For context first button is the one furthest from the tip of the pen. Extra: I noticed that the cursor flickers when pen button 2 is pressed so I am not sure where the cause of this issue is and if its related to this or something else somewhere in the stack. |
it seems like there is some janky behaviour elsewhere in the stack I just tested with my wacom intuos it has the same weird issue. I am going to grab a new pen soon ill be curious if this behavior also happens with that. |
This doesn't seem to be StarLite specific. I got the same result when testing with a Microsoft Surface book. "libinput debug-events" does not show the press of the second button either. tested with a Bamboo pen and the StarLabs pen. |
interesting, I am wondering if it has something to possibly do with eraser function? Since I have found that the device works with both buttons in krita. With the one I cant bind set to eraser, and the binded one the correct binding. |
Could be. I guess the problem is that non-wacom tablets always use the generic pen definitions as they don't deliver a pen id (at least that's what the documentation says). Maybe one of the buttons is automatically mapped to the eraser. |
For some reason with Manjaro I needed to do things a bit different. Here is the config file (note file extension and pipe instead of colon in device id) /etc/libwacom/starlabs-starlite-v.tablet
sudo libwacom-update-db --buildsystem-mode > /etc/udev/hwdb.d/66-libwacom.hwdb |
So despite following the lead of @thmichel and @ZekeZDev at about #176 (comment) above I am still getting No Tablet Detected in settings after a reboot. When I ran My liteV has come with Ubuntu 24.04 - if you have got earlier ones maybe you have 22.04 and that is different? 22.04 default install excludes a lot of useful stuff that was standard in 22.04, maybe there is something else missing? How do I find out whether I have 2k or 3k screen - I ordered on the pre-order back in September and mails subsequently said all those orders would have 3k screens. My display resolution is shown as 2880x1920 and firmware version is 24.06 |
On Ubuntu 24.04 libwacom is not installed by default so before following the guidance above you need to Also note the extension name for the file you create in It takes a while to recognise the 'wacom tablet' after rebooting and I've had a few system errors since when using Settings app and as noted above the button 2 (bottom of the bar) doesn't map to anything. |
oh yeah my bad I meant tablet but typed touch I have fixed that. I am surprised that ubuntu doesnt ship libwacom since its a soft dependency of gnome settings, regardless that's good to know and glad you have it working now, I am really confused still what causes the button 2 mapping issue but ill look into it more later. as for it not working straight away thats weird, maybe something to do with having to install it but on fedora 40 I just did db update and it worked straight away. |
Fixed with linuxwacom/libwacom@6229e9e |
In Gnome settings (on silverblue 40), wacom tablet tab is visible, yet opening it says that wacom tablet is not detected and won't allow to configure anything there. Pen works fine in gimp and other drawing software, it's just that I cannot configure anything at os level.
The text was updated successfully, but these errors were encountered: