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

testing, udev не обрабатывает правило



Всем Привет!

Проблема такая, есть правило udev, лежит в /etc/udev/tvcard.rules, далее идет 
ссылка в /etc/udev/rules.d/010_local.rules. Содержимое файла *.rules:

KERNEL=="event*",SYSFS{vendor}=="0x1331",SYMLINK="irremote"

Т.е. я хочу чтобы в /dev была ссылка irremote на устройство /dev/input/event3, 
но она почему-то не создается. Может кто подскажет в чем тут дело ?

Самое интересное что раньше подобная конфигурация работала, вот.

PS: Вот что говорит мне udevinfo:

$ udevinfo -a -p `udevinfo -q path -n /dev/input/event3`

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/class/input/input3/event3':
    KERNEL=="event3"
    SUBSYSTEM=="input"
    SYSFS{dev}=="13:67"

  looking at device '/class/input/input3':
    ID=="input3"
    BUS=="input"
    DRIVER==""
    SYSFS{uniq}==""
    SYSFS{phys}=="pci-0000:05:07.0/ir0"
    SYSFS{name}=="saa7134 IR _Avermedia AVerTV St"

  looking at device '/devices/pci0000:00/0000:00:09.0/0000:05:07.0':
    ID=="0000:05:07.0"
    BUS=="pci"
    DRIVER=="saa7134"
    SYSFS{modalias}=="pci:v00001131d00007134sv00001461sd00009715bc04sc80i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="217"
    SYSFS{class}=="0x048000"
    SYSFS{subsystem_device}=="0x9715"
    SYSFS{subsystem_vendor}=="0x1461"
    SYSFS{device}=="0x7134"
    SYSFS{vendor}=="0x1131"

  looking at device '/devices/pci0000:00/0000:00:09.0':
    ID=="0000:00:09.0"
    BUS=="pci"
    DRIVER==""
    SYSFS{modalias}=="pci:v000010DEd0000005Csv00000000sd00000000bc06sc04i01"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="0"
    SYSFS{class}=="0x060401"
    SYSFS{subsystem_device}=="0x0000"
    SYSFS{subsystem_vendor}=="0x0000"
    SYSFS{device}=="0x005c"
    SYSFS{vendor}=="0x10de"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""

-- 
If you think of MS-DOS as mono, and Windows as stereo,
  then Linux is Dolby Digital and all the music is free...



Reply to: