Differences between version 8 and predecessor to the previous major change of Video4Linux.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 8 | Last edited on Saturday, September 24, 2005 11:09:33 am | by AristotlePagaltzis | Revert |
Older page: | version 4 | Last edited on Friday, September 23, 2005 10:50:10 am | by IanMcDonald | Revert |
@@ -1,7 +1,10 @@
-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). Also known
as [V4L
].
-You must have the <tt>videodev</tt> [Module] loaded as well.
+DeviceDriver~s written for this framework are normally compiled into the LinuxKernel as [Module]s.
You must have the <tt>videodev</tt> [Module] loaded as well. The devices are enumerated by [UDev] and appear as <tt>/dev/video0</tt>, <tt>/dev/video1</tt> etc
.
-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 either make
a symbolic
link or set up
[UDev] appropriately
. For the latter, create/modify the file <tt>/etc/udev/rules.d/00_video4linux.rules</tt> and make sure it contains the following:''''
-Also known as [V4L].
+ <verbatim>
+ # make a symlink to the first video device
+ KERNEL="video0", SYMLINK="video"
+ </verbatim>