[BRLTTY] A variant of Autostart/Udev/udev.rules without generic entries?
Dave Mielke
dave at mielke.cc
Tue Aug 25 20:20:33 EDT 2015
[quoted lines by Samuel Thibault on 2015/08/26 at 01:59 +0200]
>During DebConf we have discussed with Mario about what we want for best
>accessibility of Debian systems. We plan to have brltty installed
>everywhere, but not running, ready for auto-start whenever one plugs
>a braille device. We however have to take care of not auto-starting
>brltty when a generic usb-to-serial adaptor (0403:6001) is plugged,
>since that'd disturb the work of people playing with such adaptors for
>other things.
>
>So perhaps we could simply add a variant of udev.rules with the generic
>entries commented?
There's a script in the top-level directory named updusbdevs. If you run it
with its -nogeneric option then it'll update the various files without
including the generic devices. Also, you can tell it which files to update. So
you could do something like this:
cd /path/to/brltty
cp Autostart/Udev/udev.rules /tmp/udev.rules
./updusbdevs -quiet -nogeneric udev:/tmp/udev.rules
--
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