On Sat, 2010-09-11 at 15:49 +0200, Hans Verkuil wrote: > I'm working on the V4L2 DocBook spec and when reading through the "Device Naming" > subsection of the "Opening and Closing Devices" section in the first chapter I > realized that it is really out of date. The text is in this file: > > Documentation/DocBook/v4l/common.xml > > With udev pretty much everything in that section is useless (and probably confusing > for first-time readers). > > I propose that we replace it with something short like this: > > ----------------------------------------------------- > Device Naming > > V4L2 drivers create one or more device nodes with major number 81 and a minor number > between 0 and 255. Three types of devices can be created: > > /dev/videoX Used for video capture/output/overlay. PCM audio capture MPEG index (metadata) > /dev/radioX Used for radio and RDS tuning/modulating. > /dev/vbiX Used for VBI capture and output. > ----------------------------------------------------- > > Is there anything else that should be in here? You may want to mention, without fully specifying, that V4L2 drivers can present ALSA device nodes as well. I don't think the V4L2 drivers have a really uniform convention for their "card" name exported to ALSA nor the ALSA mixer control names. To document the Media Controller, the document will eventually have to mention ALSA, framebuffer, LED, etc. APIs anyway. > BTW, I'm working on editing the 'Related Devices', 'Multiple Opens' and > 'Shared Data Streams' as well. > > Regards, > > Hans Regards, Andy -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html