Hi Richard, On Sunday 07 October 2007, Richard Atterer wrote: > On Fri, Oct 05, 2007 at 06:49:05PM +0200, Richard Atterer wrote: > > I gather that software-controlled focus should be possible, but looking > > at the driver and the output of "luvcview -l", there is no trace of any > > focus controls - am I getting something wrong? > > Ah, I have found out about this now: With SVN revision 130, direct support > for V4L2_CID_FOCUS_ABSOLUTE was removed from the driver, with a log message > of "Removed Logitech focus control (use the dynamic controls API instead)". > dynctrl.txt describes the details of the ioctl API. > > So far, I've not been successful in writing a small program to set the > focus - I don't really understand what the required values for "Extension > unit ID" and "Control selector" are. It would help to have another ioctl > option to enumerate the available controls. (Or use a different API > altogether: Create sysfs attributes for extended controls. ioctls are evil! > ;-)
A userspace utility to add vendor-specific controls and map them to V4L2 is (or at least should be) underway. The idea is to integrate it with udev and react to hotplug events. Once done, the V4L2 controls should be magically back. Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
