Hi Artem, Like I said in my previous post, Pan/Tilt are dynamic controls, and in more recent linux-uvc revisions they need admin privileges in order to be added to the driver controls. I don't know what system you are running but if you start guvcview as root at least once per session ( sudo for debian/Ubuntu ) all the controls should be available, unless those lines you removed are the ones related to the controls definition ( it would be nice if you could post me the compile errors with the original v4l2uvc.h so that I could fix it for future versions ;-) ) guvcview uses the exact same control id as libwebcam so if it works with libwebcam it should also work with guvcview. When you get the Pan Tilt controls working you can also use the cursor keys in the video window to control Pan Tilt instead of the buttons in the control window.
Best regards, Paulo 2008/8/27 Artem Makhutov <[EMAIL PROTECTED]>: > Hi, > > On Tue, Aug 26, 2008 at 05:10:36PM +0100, Paulo Assis wrote: >> Hi, >> >> Maybe you want to try libwebcam (command line): >> http://www.quickcamteam.net/software/libwebcam >> >> or guvcview http://developer.berlios.de/projects/guvcview/ >> >> Both of them provide Pan/Tilt functionality. >> >> LED control is only available in more recent cameras, I'm not sure about >> Sphere MP but in Sphere AF it works well. >> Since it is available as a dynamic control, in the latest driver >> revisions you will need admin privileges in order to add it to the driver, >> just start libwebcam or guvcview as root (sudo for Debian/Ubuntu) at >> least once, then you can just use a regular user and these controls will >> be available. >> Libwebcam also installs a udev script that should take care of dynamic >> controls without the need for the admin user app start. > > Thank you for the info. I have compiled libwebcam-svn and can control > the pan/tilt with uvcdynctrl. The LED-control also works well. > > To compile guvcview I had to remove some lines in v4l2uvc.h. > Now guvcview works too, but I don't see the Tilt/Pan controles there. > I have only a "Pan/Tilt (reset)" button. > > Any idea, how to get the controls working in guvcview? > > Thank you, Artem > _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
