Skip to content

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

Open
lynxhug wants to merge 2 commits intojoseluis:masterfrom
lynxhug:systemd-unit
Open

Add systemd service file to enable driver autostart with udev rule#83
lynxhug wants to merge 2 commits intojoseluis:masterfrom
lynxhug:systemd-unit

Conversation

@lynxhug
Copy link
Copy Markdown

@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