[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help using scripts when USB devices plug-in



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!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]