Help using scripts when USB devices plug-in

Mikkel L. Ellertson mikkel at infinity-ltd.com
Sun Jul 30 20:48:21 UTC 2006


In /etc/udev/rules.d, create a file called 10-local.rules if there
isn't one already. Then create a rule:

KERNEL=="ttyACM*", NAME="%k", MODE="0666", OPTIONS="last_rule"

This will override the line from 50-udev.rules:

KERNEL=="tty[A-Z]*",            NAME="%k", GROUP="uucp", MODE="0660"

In the case of /dev/vedio0, it should already be set correctly by
console.perms. The lines that take care of this are:

<v4l>=/dev/video* /dev/radio* /dev/winradio* /dev/vtx* /dev/vbi* \
      /dev/video/*

and

<console>  0600 <v4l>        0600 root

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the fedora-list mailing list