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

Add systemd service file to enable driver autostart with udev rule #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lynxhug
Copy link

@lynxhug lynxhug commented Jun 20, 2020

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.

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