Penguin

Differences between version 6 and predecessor to the previous major change of Video4Linux.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 6 Last edited on Friday, September 23, 2005 4:09:37 pm by IanMcDonald Revert
Older page: version 4 Last edited on Friday, September 23, 2005 10:50:10 am by IanMcDonald Revert
@@ -1,7 +1,13 @@
-A framework for drivers of video cameras, TV tuners etc. The device [API] for userland processes is commonly called v4l or v4l2 (v4l being deprecated in theory). Drivers written for this framework are normally compiled into the LinuxKernel as [Module]s. The devices are enumerated by [UDev] and appear as <tt>/dev/video0</tt>, <tt>/dev/video1</tt> etc. 
+A framework for drivers of video cameras, TV tuners etc. The device [API] for userland processes is commonly called v4l or v4l2 (v4l being deprecated in theory). [DeviceDriver]s written for this framework are normally compiled into the LinuxKernel as [Module]s. The devices are enumerated by [UDev] and appear as <tt>/dev/video0</tt>, <tt>/dev/video1</tt> etc. 
  
 You must have the <tt>videodev</tt> [Module] loaded as well. 
  
-Some applications require a specific device name e.g. <tt>/dev/video</tt>. If this is the case then use mknod(1) to create a device entry or ln(1) to link one if it already exists . I suspect this could also be done with [UDev] as well but don't know much about that
+Some applications require a specific device name e.g. <tt>/dev/video</tt>, although this is probably not the desired behaviour and these apps will probably be modified in the future. If you are using an application that wants a <tt>/dev/video</tt> but your system only has a <tt>/dev/video0</tt> then you need to make a symbolic link.  
+The proper way to do this is with [UDev]. Create (or modify) a file called <tt>00_video4linux.rules</tt> in the <tt>/etc/udev/rules.d</tt> directory, with the following content:  
+<verbatim>  
+# make a symlink to the first radio device  
+KERNEL="video0", SYMLINK="video"  
+</verbatim>  
+  
  
 Also known as [V4L].