Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .