Re: [RFC/PATCH] sysfs'ify video4linux

From: root@mauve.demon.co.uk
Date: Wed Jul 16 2003 - 09:10:22 EST


>
> 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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:24 EST