Re: [Linux-uvc-devel] Controls on Logitech QuickCam Pro 9000
Michael, Dynamic controls need to be added to the driver first, and you will require admin rights for that. You can see examples of this on libwebcam: http://www.quickcamteam.net/software/libwebcam and guvcview: http://guvcview.berlios.de you will need to run them as root (sudo) once in order to add dynamic controls, like focus control. Also newer models of the pro 9000 (2008 model) use gspca driver and are not uvc compatible. Best regards. Paulo On Mon, Nov 10, 2008 at 12:14 AM, Michael [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Sun, Nov 9, 2008 at 11:28 PM, Laurent Pinchart [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Michael, On Thursday 06 November 2008, Michael wrote: Hey I'm trying to use video4linux2 to control a Logitech QuickCam Pro 9000. The camera supports UVC and I can get the image just fine. However, I'm having issues with the controls. Luvcview reports the following controls: V4L2_CID_BASE (predefined controls): index:9963776name:Brightness type:1 min:0 max:255 step:1 def:128 now:128 index:9963777name:Contrast type:1 min:0 max:255 step:1 def:32now:32 index:9963778name:Saturation type:1 min:0 max:255 step:1 def:32now:32 index:9963788name:White Balance Temperature, Auto type:2 min:0 max:1 step:1 def:1 now:1 index:9963795name:Gain type:1 min:0 max:255 step:1 def:0 now:0 There are no driver specific controls. The problem is that there are some missing. There should also be Auto Exposure on/off, manual exposure, autofocus on/off and manual focus. The strange thing is that luvcview will let me turn off auto exposure (strangely by pressing the on button), and will also let me set the exposure manually. I would like to know if there is a way to access these controls using video4linux? Yes there is. luvcview uses an old control enumeration method that results in controls being missed. It should instead use the V4L2_CTRL_FLAG_NEXT_CTRL flag as explained in the V4L2 specification. Regardless of enumeration issues, controls can be accessed through VIDIOC_G_CTRL and VIDIOC_S_CTRL. Best regards, Laurent Pinchart Hi Laurent Thanks for that. After looking through the code, I am enumerating the controls in the same way luvcview does. I was just following a code example from the V4L2 api documentation (perhaps I was looking at an old version of the docs). Anyway I'll have a look at the V4L2_CTRL_FLAG_NEXT_CTRL tomorrow. Cheers Michael Hi I've modified how my code enumerates the controls for the camera. Auto/manual exposure controls are now appearing, but manual focus is not. A quick Google only finds mailing list posts from about a year ago dealing with focus issues: - If I want to change the focus manually, than I have to do it by my own in a userspace program, as mentioned in some previous posts. Right. Is the a code snippet available? Not yet but soon :-) A userspace tool to handle vendor-specific controls is on the way. It will be announced on the mailing list. Best regards, Laurent Pinchart I would like to know if this is still the case? Am I able to set the focus of the camera using Video4Linux2? Thanks Michael ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Controls on Logitech QuickCam Pro 9000
Michael, I had a better look and it seems that 3 generation (2008 model) pro 9000 cameras are still uvc compliant, but unfortunately suffer from several firmware/hardware bugs, that make them almost unusable under linux. http://www.quickcamteam.net/hcl/linux/logitech_device_list_v2.pdf Sorry, :-P The good news is that this issues are solved in 4 generation cameras, to be released around December. Best regards, Paulo ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Controls on Logitech QuickCam Pro 9000
Laurent Pinchart escreveu: On Friday 14 November 2008, Paulo Assis wrote: Michael, Dynamic controls need to be added to the driver first, and you will require admin rights for that. You can see examples of this on libwebcam: http://www.quickcamteam.net/software/libwebcam and guvcview: http://guvcview.berlios.de you will need to run them as root (sudo) once in order to add dynamic controls, like focus control. I'd like to add that libwebcam comes with a userspace application (uvcdynctrl) to should be udev and/or hal pluggable. At least for Ubuntu some modifications on the udev script and rules are required, see Trevor Post: http://forums.quickcamteam.net/showthread.php?tid=392 (And even with these changes I still can't get cold plug to work, only hot plug) Also newer models of the pro 9000 (2008 model) use gspca driver and are not uvc compatible. Are you sure about that ? Best regards, Laurent Pinchart Yes, I was wrong about this (see previous post), I knew there were problems with 3 generation cameras, and for some reason I had the impression that they weren't uvc compliant, but apparently the problems are caused by faulty firmware (the ASIC is different from the 2007 model), also some functionality like Raw Bayer was lost in these new models. Best Regards, Paulo ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] [linux-uvc] Still Image
Hello 2008/11/12 Laurent Pinchart [EMAIL PROTECTED]: Hi, On Tuesday 11 November 2008, [EMAIL PROTECTED] wrote: Dear Laurent and other developers of linux-uvc: I was talking with my mentor. We are interesting in: · Still Image capture: method 2 and method 3, but we don't know which camera can use method 3. Here's a non exhaustive list of webcams that support (or at least claim to support) still capture method 2. 0402:5606 ALi Corp. 0408:030c Quanta Computer, Inc. 046d:0994 Logitech, Inc. 046d:09a1 Logitech, Inc. 046d:09b2 Logitech, Inc. 0471:0332 Philips 04f2:b016 Chicony Electronics Co., Ltd 05ac:8502 Apple Computer, Inc. 064e:a110 Suyin Corp. 0ac8:332d Z-Star Microelectronics Corp. 0ac8:3343 Z-Star Microelectronics Corp. 0ad2:933d Service Quality Technology Co., Ltd 0c45:62e0 Microdia 0c45:63e0 Microdia 145f:013e Unknown 145f:013f 174f:5931 Syntek 174f:5a31 174f:8a33 1871:0306 1c4f:3000 1cac:a332 1cac:b288 5986:0104 Bison 5986:0200 5986:0202 Bison 5986:0240 Bison 5986:0300 5986:0303 Bison I don't know of any camera supporting still image capture method 3. I want to know what is method 0. I think that it's when webcam hasn't any button = no interruption point. Is it true? I will use this list for buy a good webcam for do this work. How can I be the developer of Still Image methods? The most interesting for me is the method 2. · Clock: I can see an example in documentation of UVC 1.1 (Class and FAQ) with clock reference, but it's only a unique (and duplicated) example with stream payload. See section 2.4.3.4 in the UVC 1.1 specification. I'll read this section in this weekend. · UVC stub: My mentor is thinking about have a software UVC (like mac80211 for wifi devices) that show you usb trams. It can be interesting for learning and for debugging. I'm not sure to understand. Could you please elaborate ? My mentor is interesting in get a software USB device for get the information of USB trams (USB controller - USB device). Like mac80211 Test Driver ( http://kernelnewbies.org/KernelProjects/Mac80211TestDriver ) but for UVC. Best regards, Laurent Pinchart Good bye Palmax ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] Acer Crystal Eye WebCam (064e:a101 Suyin Corp.): Now it works, now it doesn't
I have a crystal eye webcam (064e:a101 Suyin Corp.) with my Acer Aspire 5920 webcam. I'm experiencing the problem mentioned in this thread: https://lists.berlios.de/pipermail/linux-uvc-devel/2008-June/003568.html (first time it doesn't work, but turns on the light, second time it works, then it doesn't, then it works...) Applying that patch to my ubuntu's 8.10 kernel (2.6.27) made the webcam work everytime, at least with luvcview. (I still get some freezes with 'cheese', though). But there is no mention on the thread if that patch is going to be integrated with the trunk, or if it is harmful. So, this mail is to ask, what's the status of that patch? It seems to work for me. Or, how can I help with the testing at least? (we have three acer laptops of the same model, with 'crystal eye' webcams. Only one is having this problem). ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] MJPEG capture on QC 9000
People: I need to record video from a Logitech 9000 to a file. Can you recommend some software that does this? I'd like to record MJPEG format. I have 2 projects that need this. One would benefit from recording sound as well. The other would benefit from being able to record from 2 or 3 cameras at the same time (without sound). Thanks. ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel