Messages in this thread | ![/](/images/icornerl.gif) | | From | root@mauve ... | Subject | Re: [RFC/PATCH] sysfs'ify video4linux | Date | Wed, 16 Jul 2003 15:10:22 +0100 (BST) |
| |
> > Greg KH wrote: > > >On Tue, Jul 15, 2003 at 04:31:19PM +0200, Gerd Knorr wrote: > > > > > >>Changes required/recommended in video4linux drivers: > >> > >> * some usb webcam drivers (usbvideo.ko, stv680.ko, se401.ko > >> and ov511.ko) use the video_proc_entry() to add additional > >> procfs files. These drivers must be converted to sysfs too > >> because video_proc_entry() doesn't exist any more. <snip> > >Is there any need for these drivers to export anything through sysfs now > >instead of /proc? > > > > Yes, at least with ov511. Some of the info that it puts in /proc is no > longer necessary. However, there are various bits of hardware info that > still need to get to userspace, for scripts that need to tell otherwise > identical (same VID/PID/revision) cameras apart when creating /dev nodes.
Also, there is some other information that scripts need. Exposure gives information about light levels, which can be used to compute the absolute brightness of a scene captured.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |