Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to rename certain video devices using udev. Here's a rule (broken down for readability):

ACTION=="add", SUBSYSTEM=="usb", ATTR{busnum}=="1",
ATTR{devpath}=="2", ATTR{idVendor}=="05e1", NAME="video97"

It works. /dev/video97 is created But the original /dev/video1 node is STILL there.

The even worse, when I try to view the /dev/video97 node in guvcview it doesn't work, while the original node DOES work.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

I don't think it is actually allowed to rename kernel device names; in fact, recent udev shows a warning about such rules.

Try using SYMLINK+="video97" instead.

share|improve this answer
    
That's correct. Also: I wasn't actually naming the video device, but the usb key itself. The usb device had some "virtual" devices –  skerit Oct 11 '12 at 22:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.