* From: Scott Ferguson > KERNEL=="controlC3", ATTRS{idProduct}=="0008", ATTRS{id}=="Device", > ATTRS{product}=="C-Media USB Audio Device ", SYMLINK+="USBspeakers" > GROUP=="sound"
Here ATTRS{idProduct} and ATTRS{product} are in the same node and you just said "one value per parent device". <*)))-{ > It might help if you posted the full path of the udev rule in case that > (it's name and location) is a problem. Turns out that this works. peter@dalton:~$ tail --lines=4 /etc/udev/rules.d/10-local.rules # The USB audio adapter connected to the speakers. #KERNEL=="controlC3", SUBSYSTEMS=="sound", SUBSYSTEMS=="usb", \ KERNEL=="controlC3", \ ATTRS{idProduct}=="0008", SYMLINK+="USBspeakers", GROUP="sound" It fails when 'SUBSYSTEMS=="sound", SUBSYSTEMS=="usb"' is included, whereas I expected the matching to be a little more efficient. > I thought the man page was the best guide, ... "If multiple keys that match a parent device are specified in a single rule, all these keys must match at one and the same parent device." So according to the manual, multiple keys on one device are OK. But definitely room for improvement on this topic of matching. > http://www.reactivated.net/writing_udev_rules.html It explains about matching multiple keys on one device? In any case, one solution is enough and simpler is better. Thanks for the help, ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Tel +1 360 639 0202 http://carnot.yi.org/ **** New address Bcc: peter at easthope. ca **** -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/E1WALWU-00028N-Ve@dalton.invalid