Hello i added driver autostart for tablet with uclogic driver on detevtion event via systemd and udev.
To enable it you need to copy udev rule to /etc/udev/rules.d, service to /etc/systemd/system, your config file to /etc/huion folders respectively. Change user and edit path to script in service file or better place it in that path. # udevadm control --reload-rules; systemctl enable huion-tablet-driver; systemctl start huion-tablet-driver and you are done.
Also there is minor change to py script to search configuration in /etc/huion/config.ini location if none present in working dir.
Hello i added driver autostart for tablet with uclogic driver on detevtion event via systemd and udev.
To enable it you need to copy udev rule to /etc/udev/rules.d, service to /etc/systemd/system, your config file to /etc/huion folders respectively. Change user and edit path to script in service file or better place it in that path.
# udevadm control --reload-rules; systemctl enable huion-tablet-driver; systemctl start huion-tablet-driver
and you are done.Also there is minor change to py script to search configuration in /etc/huion/config.ini location if none present in working dir.