On 04.02.2010 15:40, Ed wrote: > Ed wrote: >> угу, как раз собирался написать - работает, проблема была в первом >> правиле. >> условия BUS=="usb" и BUS!="usb" истинны одновременно, можно написать >> BUS=="usb", BUS!="usb", RUN+=.... >> и оно отработает ;) > > в man udev ничего про BUS не сказано, похоже неизвестные условия > считаются всегда истинными. === cut === udev 098 ======== Bugfixes.
Renaming of some key names (the old names still work): BUS -> SUBSYSTEMS, ID -> KERNELS, SYSFS -> ATTRS, DRIVER -> DRIVERS. (The behavior of the key DRIVER will change soon in one of the next releases, to match only the event device, please switch to DRIVERS instead. If DRIVER is used, it will behave like DRIVERS, but an error is logged. With the new key names, we have a more consistent and simpler scheme. We can match the properties of the event device only, with: KERNEL, SUBSYSTEM, ATTR, DRIVER. Or include all the parent devices in the match, with: KERNELS, SUBSYSTEMS, ATTRS, DRIVERS. ID, BUS, SYSFS, DRIVER are no longer mentioned in the man page and should be switched in the rule files === cut === Поглядел в RTFS, вроде оно всё ещё должно still work, начиная с 14x - должно работать, но показывать warning. Почему на самом деле не работает - х.з. > в некоторых debian'овских rules встречается проверка BUS (в том числе и > BUS!="usb"), напишу багрепорт. -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org