tb2097 / wacom-gui

Python/PyQt Wacom GUI for KDE
GNU General Public License v3.0
133 stars 35 forks source link

User settings not loaded when a Bluetooth tablet is connected #39

Open jcpearson opened 4 years ago

jcpearson commented 4 years ago

When powering on a PTH-660 connected over Bluetooth to CentOS 7, saved wacom-gui user settings are not loaded

This is because the file /etc/udev/rules.d/99-wacom-gui.rules will only trigger wacom-gui.service for tablets connected over USB

I managed to get this to work by adding the following line to /etc/udev/rules.d/99-wacom-gui.rules:

ENV{PRODUCT}=="5/56a/*/*" TAG+="systemd", ENV{SYSTEMD_WANTS}+="wacom-gui.service"

I have no idea is this is the 'best' way to do this ... I used a bit of trial-n-error based on the syntax in /usr/lib/udev/rules.d/65-libwacom.rules - but it appears to work for me

tb2097 commented 4 years ago

I believe the issue is more related to how the tablet information is being parsed out and the changes made in libwacom (#38 ) as BT was working in previous versions, but I had not tested it in over a year since I can only usually get my hands on older non-BT tablets. I'll try to get one, update libwacom-data, and ensure this is working for the next release.

tb2097 commented 4 years ago

I've built an RPM to install libwacom-1.2 (latest) on EL7; the spec file is in the rpmbuild directory. I will do some testing to see if it is stable and in the meantime I will do testing with the updated data files to resolve the compatibility issues with the format change.