Re: [Linux-uvc-devel] HP dv6000 Webcam Ricoh
fungos kirjoitti: Hi, I tried to use uvcvideo but it just doesnt create /dev/video0, if anybody can help me to get this work. Maybe manually modprobe videodev helps? [EMAIL PROTECTED]:~$ lsmod | grep uvcvideo uvcvideo 53636 0 compat_ioctl32 2304 1 uvcvideo videodev 29568 2 uvcvideo,saa7146_vv v4l2_common18560 3 uvcvideo,saa7146_vv,videodev v4l1_compat15364 3 uvcvideo,saa7146_vv,videodev usbcore 139912 10 snd_usb_audio,snd_usb_lib,xpad,uvcvideo,hci_usb,usblp,usbhid,uhci_hcd,ehci_hcd [EMAIL PROTECTED]:~$ [EMAIL PROTECTED]:~$ dmesg | grep uvcvideo [ 69.318236] uvcvideo: Found UVC 1.00 device unnamed (046d:0990) [ 69.347428] usbcore: registered new interface driver uvcvideo [EMAIL PROTECTED]:~$ I use svn-version, not default for Ubuntu 7.10: http://wiki.ubuntu-fi.org/Webkamerat_%28uvcvideo-_ja_stk11xx-ajurit%29 http://wiki.ubuntu-fi.org/Logitech_QuickCam_Pro_9000 I have made howto (sorry for finnish) for module: http://wiki.ubuntu-fi.org/Webkamerat_uvcvideo Best Regards Asmo Koskinen. ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] Debugging UVC + Sanyo Xacti cameras
Hi Laurent and UVC developers, I'm starting to give a close look at luvcview failures when using Xacti cameras with UVC. I'm new to UVC so any help would be greatly appreciated. The problem was initially described by Lars Täuber with the Sanyo HD 1000: http://lists.berlios.de/pipermail/linux-uvc-devel/2007-September/002145.html To summarize: luvcview works on the first execute-quit sequence but fails if you try to execute luvcview again. I tried plugging Lars Täuber's code snippet into uvc_driver.c but that had no visible effect. I'm experiencing the same problem with a Xacti C6. I also have access to Xacti C4, HD 1000, and HD 2 cameras to test on other models. Device numbers: Xacti HD 1000: 0474:0238 Xacti C6: 0474:0241 Below are logs obtained with SnoopyPro-022 while starting AMCap video capture on Windows XP ( http://noeld.com/programs.asp?cat=video ) These logs track the following sequence: - Start Amcap - Capture 2 to 3 seconds of 320x240 video - Quit Amcap - Wait a few seconds - Start Amcap - Capture 2 to 3 seconds of 320x240 video - Quit Amcap Log from video device: Snoopy binary log: http://www.ailab.ch/~tnetter/USBLog12.usblog Text version: http://www.ailab.ch/~tnetter/log12.txt.gz Simultaneous log from composite device: Snoopy binary log: http://www.ailab.ch/~tnetter/USBLog13.usblog Text version: http://www.ailab.ch/~tnetter/log13.txt.gz Here's what happens in Ubuntu 7.10, linux 2.6.22-14-generic, uvcvideo-r104, luvcview-20070512 (tried both from SVN and from deb package). First attempt works: sudo ./luvcview luvcview version 0.2.1 Video driver: x11 A window manager is available video /dev/video0 Stop asked Clean Up done Quit Second attempt fails: sudo ./luvcview luvcview version 0.2.1 Video driver: x11 A window manager is available video /dev/video0 Unable to set format: 5. Init v4L2 failed !! exit fatal If I unplug and replug the camera into the USB port then luvcview works again for one more attempt. Any help / hints are welcome. -Thomas ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] Collision with ALSA device
Hi, whenever the webcam is connected while booting the system, the onboard sound card does not work. Is there any known workaround ? cu romal ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] Creative Webcam Live! Cam Notebook Ultra
Hi! I have bought a Creative Webcam Live! Cam Notebook Ultra and now i discovered that there is no linux drivers for it (maybe should have thought of that earlier!). This is the info I got: $ lsusb | grep Creative Bus 003 Device 006: ID 041e:405b Creative Technology, Ltd Any thing else i can provide you with? It would be great to have drivers for it! Thanks in advance Niklas Larsson ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] New Camera Feiya Technology 090c:b370
http://www.chinavasion.com/product_info.php/pName/driverless-webcam-stylish-bendable-design/ I've just got hold of three of these funky looking webcams, (the brass version not the silver they show on the web page) but unfortunately it doesn't just work. uvcvideo has a go but fails to initialise the device: usb 2-6: new high speed USB device using ehci_hcd and address 8 usb 2-6: configuration #1 chosen from 1 choice uvcvideo: Found UVC 1.00 device USB 2.0 PC Cam (090c:b370) nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_90c_b370_noserial'). nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device___noserial'). uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -110 (exp. 26). uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -110 (exp. 26). uvcvideo: Failed to initialize the device (-5). nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_90c_b370_noserial_if1'). nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_90c_b370_noserial_usbraw'). I'm using a stock Ubuntu 2.6.22 kernel so I wont have the latest uvcvideo but since I don't see this device id on your supported list I'm guessing that wont work either. Let me know if you need to me to do anything or need more information. lsusb output is attached. Alan. Bus 002 Device 008: ID 090c:b370 Feiya Technology Corp. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 Common Class bDeviceProtocol 1 Interface Association bMaxPacketSize064 idVendor 0x090c Feiya Technology Corp. idProduct 0xb370 bcdDevice1.00 iManufacturer 1 iProduct2 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 439 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Association: bLength 8 bDescriptorType11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 14 Video bFunctionSubClass 3 Video Interface Collection bFunctionProtocol 0 iFunction 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass14 Video bInterfaceSubClass 1 Video Control bInterfaceProtocol 0 iInterface 0 VideoControl Interface Descriptor: bLength13 bDescriptorType36 bDescriptorSubtype 1 (HEADER) bcdUVC 1.00 wTotalLength 77 dwClockFrequency 30.00MHz bInCollection 1 baInterfaceNr( 0) 1 VideoControl Interface Descriptor: bLength18 bDescriptorType36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 1 wTerminalType 0x0201 Camera Sensor bAssocTerminal 0 iTerminal 0 wObjectiveFocalLengthMin 0 wObjectiveFocalLengthMax 0 wOcularFocalLength0 bControlSize 3 bmControls 0x0004 Auto-Exposure Priority VideoControl Interface Descriptor: bLength26 bDescriptorType36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 2 guidExtensionCode {46394292-0cd1-4ae3-8783-3133f9eaaa3b} bNumControl 3 bNrPins 1 baSourceID( 0) 1 bControlSize1 bmControls( 0) 0xff iExtension 0 VideoControl Interface Descriptor: bLength11 bDescriptorType36 bDescriptorSubtype 5 (PROCESSING_UNIT) Warning: Descriptor too short bUnitID 3 bSourceID 2 wMaxMultiplier 0 bControlSize2 bmControls 0x043f Brightness Contrast Hue Saturation Sharpness Gamma Power Line Frequency iProcessing 0 bmVideoStandards 0x 9 None SECAM - 625/50 VideoControl Interface Descriptor: bLength 9 bDescriptorType36
Re: [Linux-uvc-devel] Newbie help with a Quickcam Communicate Deluxe
Hi Greg, On Tuesday 18 December 2007, Greg Dickie wrote: Hi, Sorry if this is a newbie question but I was a bit surprised at how hard it is to get a webcam working in linux (just like the old days with any hardware ;-). I just purchased the above-mentioned camera and went through a few different drivers trying to find one that would recognize this camera before finding uvcvideo. That seems to work but now when I run luvcview I get a black picture. Actually its just very dark as I discovered when I pointed it directly at a light. I tried cranking uo the brightness and the contrast but I cannot seem to get a picture out of it even in full light. Does anyone know what I'm doing wrong? When pushing brightness up, do you see any change in the image ? Do you get error messages in the kernel log ? You could also try your luck on the www.quickcamteam.net forums. Best regards, Laurent Pinchart ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] is there any device side code?
Hi Brian, On Sunday 16 December 2007, Brian Pin wrote: Hi, I am wondering is there any linux/open source device(gadget) driver for UVC now. Is it highly device dependent? Thomann Andreas posted a mail to the list on September 15th 2006 and seemed to imply he would start a UVC gadget driver. You should try to contact him. Another question, an UVC driver should open its sof interrupt, is it true? Because if it doesn't, it won't be able to handle isoc packets on time and could possiblly lose packets. I am asking this because I am on a very low cpu clock environment, my system can't handle sof interrupt that fast. So I am must turn off sof interrupt. Anyway, no matter host/device mode UVC always need to handle its sof interrupt right? UVC devices must report the SOF counter value, but I don't think they need to process SOF interrupts if the device has a hardware SOF counter. Best regards, Laurent Pinchart ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Auto gain/exposure settings not working?
Hi Martijn, On Tuesday 18 December 2007, Martijn Houtman wrote: Hello list, I am creating an application where I need a webcam to have a static exposure time per frame so it does no try to compensate the lighting situation and I can control the lighting myself. I am using the mjpeg-streamer application to grab images over HTTP, which works fine btw, very handy tool! I added a few lines in the input_uvc module so as to turn off auto-exposure, gain and whitebalance, but no combination of this seems to work. The following code: printf(Auto whitebalance: %d\n, v4l2SetControl(vd, V4L2_CID_WHITE_BALANCE_TEMPERATURE_AUTO, 0)); printf(Auto exposure: %d\n, v4l2SetControl(vd, V4L2_CID_EXPOSURE_AUTO, 0)); printf(Auto gain: %d\n, v4l2SetControl(vd, V4L2_CID_AUTOGAIN, 0)); results in: contol White Balance Temperature, Auto unsupported Auto whitebalance: -1 I don't know why this fails. Could you try modifying auto white balance only and check the kernel log for error messages ? You can set the trace level to 4 for additional control-related information. Auto exposure: 0 No problem there. Auto gain: -1 Auto gain is not supported by your camera, so this is expected. dmesg output: uvcvideo: Failed to query (1) UVC control 2 (unit 2) : -32 (exp. 2). Have you tried modifying the brightness ? control 2/unit 2 is the brightness control. uvc module revision 156, device id 046d:08ce, Am I missing something? Except the fact that auto gain is not supported by the device, you haven't missed anything obvious. Best regards, Laurent Pinchart ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] corrupted images with quickcam pro 5000
Hi Andieh, On Tuesday 18 December 2007, Andieh wrote: Hi there! i bought me a logitech quickcam 5000 months ago. i tried to get it to work with motion, but i have many messed up pictures. I had to reduce down the pictures to a very small resolution and have to restart motion every 10 minutes to get some good results. this worked for me since sommer this year. today i tried a complete update, motion and linux-uvc from svn. i hoped the problems dissapear. but i have them again. they now come rarly, but they are still there. here is a picture of it: http://www.informatik.uni-frankfurt.de/~fuertig/upload/bilder/2007121818041 3.jpg That's caused by a lost USB isochronous packet. The UVC streaming format doesn't make it possible to detect lost packets, so the image can't be padded. The rest of the image will be shifted. i searched a lot and found a little help on the quickcam team page, but the hints are dated from 2006. is this still a bug? When bandwidth is not involved, this kind of problem can be caused by bad USB cables, or noisy electrical environments. Making sure your USB cable doesn't run too close to power cables might help. Replacing the cable is obviously impossible with most webcams. here some other informations for you: motion, linux-uvc svn archlinux with kernel 2.6.23 usb 2.0 pci card lsusb: Bus 004 Device 002: ID 046d:08ce Logitech, Inc. QuickCam Pro 5000 Best regards, Laurent Pinchart ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Another question regarding OmniVision cam (05a9:2641) in Dell SP2008WFP Monitor
Hi Lawrence, On Wednesday 19 December 2007, Lawrence Leonard wrote: Thanks to Laurent Pinchart, I now know that the OmniVision 2641 device should work out of the box, and after rebooting it did come up automatically in Skype and Ekiga and I was able to get the microphone adjustments set so that sound and video both worked. However, after rebooting again at a later time (I dual boot Ubuntu and Windows XP) the device wasn't recognized and didn't work in Skype or Ekiga. Another reboot and the devices did work. This has me a little perplexed. In a boot when the camera DOES work, dmesg reports: uvcvideo: Found UVC 1.00 device Monitor Integrated Webcam (05a9:2641) uvcvideo: Failed to query (135) UVC control 1 (unit 0): -32 (exp. 26). usbcore: registered new interface driver uvcvideo In a boot when the camera DOES NOT work, dmesg reports: uvcvideo: Found UVC 1.00 device Monitor Integrated Webcam (05a9:2641) uvcvideo: Failed to query (135) UVC control 1 (unit 0): -32 (exp. 26). uvcvideo: Failed to query (129) UVC control 1 (unit 0): -32 (exp. 26). uvcvideo: Failed to initialize the device (-5). usbcore: registered new interface driver uvcvideo Is it correct to request help with these symptoms on this list, or is this something specific to the Ubuntu boot processes (upstart) that I should pursue downstream on an Ubuntu-specific list/forum? The problem is not Ubuntu-specific. I *think* it is unfortunately device-specific. The device failed to answer two requests. The first one (135) is a very common device bug that the driver works around. The second one seems to be another device bug that the driver can't work around :-/ Basically, the driver queries the device, and the device stalls (refuses to answer the request). As this doesn't happen everytime, I suspect the problem to be caused by a firmware bug in the device. It might be possible to implement a software workaround in the UVC driver by adding a small delay in one place or another, but I don't know of any definitive solution. The device passed manufacturer's testing because Windows and Linux schedule USB transactions differently, which results in slower timings in Windows. The bug just slipped uncaught. It might also be possible to tweak the EHCI controller driver to alter timings and make them more Windows-like. That would be a complex project, involving deep knowledge of the EHCI host controller. The documentation is out there though. Best regards, Laurent Pinchart ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] HP dv6000 Webcam Ricoh
Hi, On Thursday 20 December 2007, fungos wrote: Hi, I tried to use uvcvideo but it just doesnt create /dev/video0, if anybody can help me to get this work. Thank you. my dmesg when I load the module with trace=15: uvcvideo: Found UVC 1.00 device unnamed (05ca:1810) uvcvideo: Found a valid video chain (1 - 3). usbcore: registered new interface driver uvcvideo USB Video Class driver (v0.1.0) Looks quite normal to me. Has the driver created anything in /sys/class/video4linux ? If so the device is properly detected and registered, and you should check your udev rules. Best regards, Laurent Pinchart ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] New Camera Feiya Technology 090c:b370
Hi Alan, On Thursday 20 December 2007, Alan James wrote: http://www.chinavasion.com/product_info.php/pName/driverless-webcam-stylish -bendable-design/ I've just got hold of three of these funky looking webcams, (the brass version not the silver they show on the web page) but unfortunately it doesn't just work. uvcvideo has a go but fails to initialise the device: usb 2-6: new high speed USB device using ehci_hcd and address 8 usb 2-6: configuration #1 chosen from 1 choice uvcvideo: Found UVC 1.00 device USB 2.0 PC Cam (090c:b370) nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_90c_b370_noserial'). nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device___noserial'). uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -110 (exp. 26). uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -110 (exp. 26). I don't like that. Many devices are known to be buggy and fail to answer the first request properly. The second request should work though. uvcvideo: Failed to initialize the device (-5). nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_90c_b370_noserial_if1'). nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_90c_b370_noserial_usbraw'). I'm using a stock Ubuntu 2.6.22 kernel so I wont have the latest uvcvideo but since I don't see this device id on your supported list I'm guessing that wont work either. Let me know if you need to me to do anything or need more information. lsusb output is attached. The camera might have crashed when getting the first request. Please try the attached patch and let me know if it helps. The Failed to query (135) message should disappear complete. If it doesn't, you're still using the unpatched driver. Best regards, Laurent Pinchart Index: uvc_video.c === --- uvc_video.c (revision 157) +++ uvc_video.c (working copy) @@ -821,8 +821,7 @@ /* Some webcams don't suport GET_DEF request on the probe control. We * fall back to GET_CUR if GET_DEF fails. */ - if ((ret = uvc_get_video_ctrl(video, probe, 1, GET_DEF)) 0 - (ret = uvc_get_video_ctrl(video, probe, 1, GET_CUR)) 0) + if ((ret = uvc_get_video_ctrl(video, probe, 1, GET_CUR)) 0) return ret; /* Check if the default format descriptor exists. Use the first ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] patche on a quickcam fusion
Hi, I'm a 'proud' owner of a quickcam fusion... that is affected by THE bug unfortunatelly. I tried to change the USB port, I plugged the webcam into various USB hub, but it is not reliable. Also I saw that some patches exists, but how to apply them as I'm not very familiar with C programming ? I read this email http://lists.berlios.de/pipermail/linux-uvc-devel/2007-April/001645.html but the patche seems to be applied on revision 89. Is it still possible to apply the patches as described on the actual version ? If not what are the changes to do to be able to applie the patche. and finally is there any chances that this patche will be integrated into the UVC driver ? Thanks for your help Ludovic ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] New Camera Feiya Technology 090c:b370
The camera might have crashed when getting the first request. Please try the attached patch and let me know if it helps. The Failed to query (135) message should disappear complete. If it doesn't, you're still using the unpatched driver. Thanks for your help. The driver now loads without any problems, and a video device gets registered. Unfortunately the errors were only delayed until I tried to use it. This is kopete scanning the device: uvcvideo: Failed to query (135) UVC control 2 (unit 3) : -110 (exp. 2). uvcvideo: Failed to query (135) UVC control 3 (unit 3) : -110 (exp. 2). uvcvideo: Failed to query (135) UVC control 7 (unit 3) : -110 (exp. 2). uvcvideo: Failed to query (135) UVC control 6 (unit 3) : -110 (exp. 2). uvcvideo: Failed to query (135) UVC control 9 (unit 3) : -110 (exp. 2). uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26). uvcvideo: Failed to query (135) UVC control 2 (unit 3) : -110 (exp. 2). uvcvideo: Failed to query (135) UVC control 3 (unit 3) : -110 (exp. 2). uvcvideo: Failed to query (135) UVC control 7 (unit 3) : -110 (exp. 2). uvcvideo: Failed to query (135) UVC control 9 (unit 3) : -110 (exp. 2). uvcvideo: Failed to query (135) UVC control 6 (unit 3) : -110 (exp. 2). Alan. ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] New Camera Feiya Technology 090c:b370
It turns out that the GET_DEF wasn't causing the original error at all. The old Ubuntu version of uvcvideo must be doing something different. So I'm now running the unpatched code I grabbed from svn earlier today and I've got it kinda working. luvcview -f yuv works, and once I figured out that there was a channel 0, I got ekiga working too. The one program I wanted to use though, kopete, still sends errors to syslog and somehow crashes the camera too. I'll play more tomorrow. Alan. ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel