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! ;-) Cheers, Richard -- __ _ |_) /| Richard Atterer | GnuPG key: 888354F7 | \/¯| http://atterer.net | 08A9 7B7D 3D13 3EF2 3D25 D157 79E6 F6DC 8883 54F7 ¯ '` ¯ _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
