Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58528 - udev doesn't create a symlink to /dev/video0, causing many v4l applications to fail.
Summary: udev doesn't create a symlink to /dev/video0, causing many v4l applications t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 03:34 UTC by Diederik van der Boor
Modified: 2004-09-10 14:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diederik van der Boor 2004-07-27 03:34:29 UTC
The configuration of udev currently states that v4l devices appear in /dev/v4l/video#. I would love to have a symlink to /dev/video# by default, since many v4l applications only look at that place. (in fact, I already assumed the webcam driver didn't work)

Thanks in advice.

Reproducible: Always
Steps to Reproduce:
Comment 1 Rutger Hendriks 2004-07-27 08:19:05 UTC
Yes, this is very annoying, everytime I reload one driver, I have to recreate the device. I reload this driver often, because it's under heavy development.

Now I'm not sure whose fault it is. One could also argue that the driver(s) look at the wrong spot. Can someone shine a light on this issue? Because if it's a driver issue, we need to make bugreports there, not here...
Thanx
Comment 2 Rutger Hendriks 2004-07-27 08:20:29 UTC
sorry for the spam, forgot to add myself
Comment 3 Peter Jensen 2004-08-25 09:54:50 UTC
Very simple fix.  In /etc/udev/rules.d/50-udev.rules change this line:

KERNEL="video[0-9]*", NAME="v4l/video%n"

To this:

KERNEL="video[0-9]*", NAME="v4l/video%n", SYMLINK="video%n"

Works for me.
Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-09-10 14:02:56 UTC
Will be fixed in the next release of udev.