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

Re: Help using scripts when USB devices plug-in



Thanks Mikkel, I'll try soon.

Regards

Mikkel L. Ellertson escribió:
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

--
   Samuel Díaz García
    Director Gerente
ArcosCom Wireless, S.L.L.

CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz

http://www.arcoscom.com

mailto:samueldg arcoscom com
msn: samueldg arcoscom com

Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax:   956 70 34 83


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