Hi Richard, On Saturday 12 April 2008, Richard Atterer wrote: > The userspace side of dynamic controls can be really irritating. Wouldn't > it be possible to have a sysfs-based interface, so that when you know that > "Exposure, Auto Priority" has the ID 0x0000200e, you can set/get it with an > echo/cat command? > > IMHO, the kernel driver could even provide the mapping 0x0000200e => > "Exposure, Auto Priority" without any maintenance problems. Laurent, > pleeease! ;-)
This is not a dynamic control issue. New controls have recently been added to the V4L2 API. This resulted in a binary compatibility problem for application compiled against the uvcvideo.h and uvc_compat.h header files. Those application will unfortunately have to be recompiled if they reference controls by their ID. The sysfs interface is a good idea and something I might implement in the future. There have been discussions about how to implement that in a generic way at the videodev level. I'm not sure what you mean by a "mapping 0x0000200e => Exposure, Auto Priority". The driver can be queried to enumerate controls. For each of them it will return the control ID and name. This is part of the V4L2 API. Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
