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! ;-) On Sat, Apr 12, 2008 at 02:41:25AM +0200, Julian Oliver wrote: > i have a Quickcam Pro 9000 [...] > i would like to use it so that i can turn off autoexposure when the > gallery assistants reboot the machine as luvcview is not an option for > them. no module params seem to be exposed either, at least from modinfo's > perspective. Try with an older version of the kernel driver, the current one breaks uvcdynctrl. Unfortunately, I don't know which one my partially working kernel module was built from... Various uvcdynctrl commands fail, but what I could still change yesterday was this: uvcdynctrl-0.2 -s 'Exposure, Auto Priority' 0 (Today, it doesn't work. Grrr.) After that, e.g. mplayer and gstreamer could set the fps: mplayer -tv driver=v4l2:width=640:height=480:device=/dev/video0:fps=30:outfmt=yuy2 tv:// gst-launch v4l2src ! video/x-raw-yuv, width=640, height=480, framerate=\(fraction\)30/1 ! autovideosink 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
