[BRLTTY] udev with systemd

Dave Mielke dave at mielke.cc
Mon Jan 11 16:29:13 EST 2016


[quoted lines by Mike Gorse on 2016/01/08 at 13:26 -0500]

>The After= line doesn't appear to be necessary; if I remove it, then
>systemd still unloads brltty when I disconnect my device, but it is
>still possible to start brltty manually via systemd without a USB
>device connected. Revised patch attached.

Thanks. I've finally gotten around to looking at this one. I have a couple of 
questions:

>--- a/Autostart/Systemd/brltty.service.in
>+++ b/Autostart/Systemd/brltty.service.in
>+BindsTo=dev-braille.device
... 
>--- a/Autostart/Udev/udev.rules
>+++ b/Autostart/Udev/udev.rules
>+SYMLINK+="braille"

Am I correct that the symlink creates /dev/braille? If so, why is the BindsTo 
to dev-braille? Is dev- a magic prefix that means /dev?

Are you able to test this with two USB braille devices? I'm interested to know 
if each one starts its own brltty, and if disconnecting each one stops the 
correct brltty.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: Dave at Mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.org/


More information about the BRLTTY mailing list