[Linux-uvc-devel] WebCam SC-13HDL10931N
Hello list! I just bought Samsung 900X3A-B01SE (also known as a Samsung Series 9 with Intel i5 sold in Sweden), and it has a webcam called WebCam SC-13HDL10931N that is recognized by uvcvideo. However, when I try to use luvcview I get luvcview 0.2.6 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: Frame format: MJPG Unable to set format: Input/output error Init v4L2 failed !! exit fatal When I tried to do echo 2 /sys/module/uvcvideo/parameters/quirks and then luvcview again I got: luvcview 0.2.6 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: Frame format: MJPG Frame size: 640x480 Frame rate: 30 fps libv4l2: error turning on stream: No space left on device Unable to start capture: No space left on device Error grabbing Cleanup done. Exiting ... Which seemed a bit odd. Just to make sure, I tried to test the video in skype at that point, and got the same black screen I got before this entire experiment. BUT when I after that tried luvcview again, I got the first message again (Unable to set format: Input/output error). Any idea how I could proceed with this? Any hope that I can avoid implementing this damn camera myself and still get it to work? Anyone wanting to help me implement this for a bounty? :D regards, //Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] WebCam SC-13HDL10931N
Ah, stupid of me not to check the FAQ first :O Attached is the end of the dmesg log I created after unloading uvcvideo, loading uvcvideo, turning on the debug messages and running luvcview with the no space left on device result. //Martin On Wed, Nov 30, 2011 at 12:09 PM, Alexey Fisher bug-tr...@fisher-privat.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For got to say: read FAQ for trouble shooting help. On 30.11.2011 12:04, Alexey Fisher wrote: I got one compaq laptop with build in webcam, this webcam has same symptoms like yours. And it not works with windows. Can you confirm, that it is working with windows? and with what driver? In case of my cam, widnows noticed that it works in usb low speed mode (USB 1.1), and it is not good. You got also libv4l2: error turning on stream: No space left on device this mean it works in low speed. So, test it under windows; check the driver; if not working, send it back! On 30.11.2011 09:43, Martin Bruse wrote: Hello list! I just bought Samsung 900X3A-B01SE (also known as a Samsung Series 9 with Intel i5 sold in Sweden), and it has a webcam called WebCam SC-13HDL10931N that is recognized by uvcvideo. However, when I try to use luvcview I get luvcview 0.2.6 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: Frame format: MJPG Unable to set format: Input/output error Init v4L2 failed !! exit fatal When I tried to do echo 2 /sys/module/uvcvideo/parameters/quirks and then luvcview again I got: luvcview 0.2.6 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: Frame format: MJPG Frame size: 640x480 Frame rate: 30 fps libv4l2: error turning on stream: No space left on device Unable to start capture: No space left on device Error grabbing Cleanup done. Exiting ... Which seemed a bit odd. Just to make sure, I tried to test the video in skype at that point, and got the same black screen I got before this entire experiment. BUT when I after that tried luvcview again, I got the first message again (Unable to set format: Input/output error). Any idea how I could proceed with this? Any hope that I can avoid implementing this damn camera myself and still get it to work? Anyone wanting to help me implement this for a bounty? :D regards, //Martin ___ 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 - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7WDwEACgkQw8E0jNwoJm8dLQCgt7PQK64jTsobctVe/59Ouyq2 JLMAoKrXkLVqSW3+R1plYjyafILnosmr =vb1s -END PGP SIGNATURE- ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel [10155.818113] usbcore: deregistering interface driver uvcvideo [10161.872717] uvcvideo: Found UVC 1.00 device WebCam SC-13HDL10931N (2232:1009) [10161.893232] input: WebCam SC-13HDL10931N as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input13 [10161.893468] usbcore: registered new interface driver uvcvideo [10161.893473] USB Video Class driver (1.1.1) [10169.150056] uvcvideo: uvc_v4l2_open [10169.195428] uvcvideo: Resuming interface 0 [10169.195435] uvcvideo: Resuming interface 1 [10169.200840] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QUERYCAP) [10169.200852] uvcvideo: uvc_v4l2_ioctl(VIDIOC_G_FMT) [10169.200858] uvcvideo: uvc_v4l2_ioctl(VIDIOC_G_PARM) [10169.200879] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FMT) [10169.200885] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200890] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200897] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200901] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200906] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200910] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200914] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200919] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200923] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200928] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FMT) [10169.200932] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200937] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200941] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200946] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200950] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FRAMESIZES) [10169.200954] uvcvideo: uvc_v4l2_ioctl
Re: [Linux-uvc-devel] Logitech C910 reliability
OK, After the camera dies, I get ERROR opening V4L interface: Cannot send after transport endpoint shutdown Init v4L2 failed !! exit fatal i: init_VideoIn failed when trying to use it and dmesg shows ehci_hcd :00:10.3: force halt; handshake f7c26014 4000 - -110 So I assume there is something there that the kernel doesn't like with the usb bus and shuts things down. Is there is any other info which might help that I can try to get? Also, any way to reset the usb bus? On Tue, 2011-02-08 at 12:01 +1000, Ben Martin wrote: Hi, I recently updated from a generic uvc 640x480 camera to a Logitech C910 (up to 1080p) camera. I learnt early on that the C910 likes to chomp up the USB2.0 bandwidth so trying two cameras on the same bus is a mistake, even at lower resolutions. The main problem I am having with the camera is that after a while it fails to work. I am using mjpg-streamer-r63 to bounce the mjpeg stream over the network. I restart mjpg_streamer every 5 seconds in a loop if it exits and subsequent attempts at restarting fail to initialize the uvc video source. Depending on kernel version I get 1, 2, or 7 days before this happens. (2.6.33 = 2 day, 2.6.34 = 1 week, 2.6.34 = 1 day, in particular 2.6.38 =~ 1 day). Is there a recommended way to reset the usb bus / uvc driver? I've tried a bunch of things in proc and sys but at the moment a system reboot is the only way I have found to bring back video. Perhaps a good candidate for the below if the usb controller is the cause? http://www.ideasonboard.org/uvc/faq/ Please let me know what information might be most useful in finding this bug. ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel signature.asc Description: This is a digitally signed message part ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] Logitech C910 reliability
Hi, I recently updated from a generic uvc 640x480 camera to a Logitech C910 (up to 1080p) camera. I learnt early on that the C910 likes to chomp up the USB2.0 bandwidth so trying two cameras on the same bus is a mistake, even at lower resolutions. The main problem I am having with the camera is that after a while it fails to work. I am using mjpg-streamer-r63 to bounce the mjpeg stream over the network. I restart mjpg_streamer every 5 seconds in a loop if it exits and subsequent attempts at restarting fail to initialize the uvc video source. Depending on kernel version I get 1, 2, or 7 days before this happens. (2.6.33 = 2 day, 2.6.34 = 1 week, 2.6.34 = 1 day, in particular 2.6.38 =~ 1 day). Is there a recommended way to reset the usb bus / uvc driver? I've tried a bunch of things in proc and sys but at the moment a system reboot is the only way I have found to bring back video. Perhaps a good candidate for the below if the usb controller is the cause? http://www.ideasonboard.org/uvc/faq/ Please let me know what information might be most useful in finding this bug. signature.asc Description: This is a digitally signed message part ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Genius FaceCam 310
On 24/11/10 17:01, Laurent Pinchart wrote: On Wednesday 24 November 2010 14:40:47 malef...@malefico3d.org wrote: The other thing is once I detected the problem is the bandwidth, what should I do ? Have you tried the FIX_BANDWIDTH quirk ? OK... Got to ask... What does the FIX_BANDWIDTH quirk do? (And how?) Also... What controls whether a webcam uses USB 1.1 or USB 2? Is that controlled by the USB hardware? Or could a kernel driver set a USB 2 connected device to run at USB 1.1 speed? Regards, Martin ___ 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] I'm building a still-image patch
On 23/10/10 11:05, Palmax Maverick wrote: Dear linux-uvc developers and users, I'm at the middle of my still image patch :-) When I have a one that works, I will send you this patch. Count me as interested to try some testing if you wish. Is this something new? Or developing further the patch posted a little while ago? Good luck, Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Logitech HD Pro Webcam C910 (046d:0821) uvc / linux compatible ?
On 19/10/10 22:45, Josu Lazkano wrote: Hello Lee, I am thinking on buy this webcam for a LAN videoconference with 1080p. Do you try to have 1080p video on Linux??? Also take a look at the Sweex HD webcam: WC060 Series HD Webcam idVendor=177f, idProduct=0060 Works well and supports 1600 x 1200 at about 5fps (provided there is nothing else on the USB root hub!). Best image clarity I've seen so far in that price range. Only thing to note is that the supplied USB lead must be plugged directly into a powered hub. If you try an USB extension lead on it, the image quality is reduced. Takes 128mA max. Good luck, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] [PATCH] Still image support (very broken and hackish)
On 22/09/10 23:52, Laurent Pinchart wrote: Hi Florian, On Friday 17 September 2010 07:57:24 Florian Echtler wrote: On Thu, 2010-09-16 at 16:44 +0200, Laurent Pinchart wrote: I'm aware that this is a really ugly hack right now, but maybe it provides a starting point for those of you with more insight into how the driver works. I'd be glad for some hints as to how to proceed! The patch looks good to me, except of course that it's a hack :-) Good to hear :-) The real question we need to answer is how to expose the still image capture function to userspace. Should a new video node be created for still image capture ? The new video node could be linked to the existing one using the media controller API. Or should we use multiple open on a single video node ? In that case, how would we select video/still image capture ? Good point - I'd say that a second device node, e.g. /dev/stillX would be the best solution. Otherwise, you'd have to rewrite every piece of video software to include the new ioctl (or something like that). With a separate dev node, it _should_ just work (TM) I think this should be discussed on the linux-media mailing list. We're creating a still image capture API (or at least an interpretation of the V4L API on how to capture still images), developers of other drivers could be interested. How did the discussion go? Is there any interest to go along with this? (I'm bound to be wanting to play with this at Christmas... ;-) ) ((...And some 3D analysis software... :-) )) Regards, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] [PATCH] Still image support (very broken and hackish)
On 16/09/10 15:44, Laurent Pinchart wrote: Hi Florian, Thanks for the patch. On Thursday 09 September 2010 11:30:41 Florian Echtler wrote: Hello everybody, since the topic of still image support has come up time and again, I've decided to give it a shot. After reading the UVC spec, it seems that [...] The patch looks good to me, except of course that it's a hack :-) The real question we need to answer is how to expose the still image capture function to userspace. Should a new video node be created for still image capture ? The new video node could be linked to the existing one using the media controller API. Or should we use multiple open on a single video node ? In that case, how would we select video/still image capture ? Good questions... How many user applications support 'multiple open' and 'channel selection'? Perhaps creating a new video node is the more user friendly way to go?... With a snapshot image repeatedly given until a new snapshot image is acquired? I'm really open to suggestions here. We also need to remember that capturing a still image with method 2 (unlike method 3) will stop the live video stream for a brief time. Is that acceptable ? For my example usage, I'm deliberately wanting the live video stream to be *not* active at all. For the case where there is a live video stream that must be stopped temporarily, then perhaps the last video image could be repeated until the stream can be automatically reactivated again? Also, with the last settings maintained? Hence, such a transition will be transparent to the user application. Regards, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Running multiple webcams on the same hub
Thanks for the comments and explanation. On 13/09/10 00:11, Laurent Pinchart wrote: Hi Martin, On Friday 27 August 2010 16:14:52 Martin wrote: The problem: [...] The webcam sends a frame at high speed and then waits a (relatively) long time before sending the next frame. *A possible solution* ? Instead, could the UVC driver 'simulate' a reduced framerate by instead using the STILL_IMAGE_FRAME mode of the webcam and grab for itself a set number of images per second? Or even only when polled by a read from the user application? Still image capture isn't supported yet. The reason is that most webcams just ask the driver to take the next picture in the video stream to emulate still image capture. Very few cameras support out-of-band still image capture, and I don't own any that support that. As most cameras just ask the driver to capture the next frame in an active video stream this won't solve your problem anyway. That's quite a shame... And very wasteful of bandwidth. I guess we need slightly more expensive webcams that buffer an image into local ram before forwarding it on at whatever USB rate might be available. No go on that one I guess... Further details: I'm trying to use two webcams simultaneously: iManufacturer 1 Sweex iProduct2 WC060 Series HD Webcam Please post the whole USB descriptors (lsusb -v) I've attached lsusb -v -d 177f:0060. [...] Can I tweak the UVC driver to preferentially choose the slower frame rate available? You can select a frame rate explictly with VIDIOC_S_PARM. Aside: The MJPG format doesn't seem to work, nor are any compression settings visible... Maybe your webcam doesn't support MJPG. Given a few hints or a patch, I can hack the kernel module to test :-) This is running on Gentoo, kernel 2.6.34 using the in-kernel uvc module. Any comment/ideas welcomed. If you don't need to capture frames simultaneously, you can just start the video stream, capture a frame, stop the video stream, and repeat the sequence on the second webcam. If you need higher frame rates, search the mailing list archives for discussions about bandwidth (dwMaxPayloadTransferSize is a keyword). You can also have a look at the Multiple camera framerate. mail thread started by Dennis Muhlestein. Thanks for the pointers. I've had mixed results with (bash): while true do ffmpeg -v 5 -y -r 5 -vframes 2 -s xga -f video4linux2 -i /dev/video0 -sameq -f image2 foo0-%03d.jpg sleep 5 ffmpeg -v 5 -y -r 5 -vframes 2 -s xga -f video4linux2 -i /dev/video1 -sameq -f image2 foo1-%03d.jpg sleep 5 date -R done That sometimes works fine, and then can randomly freeze at the point where ffmpeg is to capture a frame. Usually, the freeze-up scenario is that /dev/video0 is captured fine and then ffmpeg freezes on /dev/video1. The -r 5 may well not be needed. -vframes 1 also works for if you just want one frame, although I've found the first frame can be overexposed compared to the following frames. Not sure if -sameq is doing anything. Trying -bitexact always caused an error for the options. The sleep 5 appears to help to allow operation for longer (a minute or so) before ffmpeg freezing. Running ffmpeg manually, one webcam at a time usually works fine. Using -r 30 -s vga for the default framerate and 640x480 always works... So... Is there some timing race or other untidiness whereby ffmpeg jams or the video stream otherwise doesn't start? I've only got one PCI slot... Are there any PCI cards with multiple separate USB hubs?! (I suspect not...) Regards, Martin Bus 002 Device 003: ID 177f:0060 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize064 idVendor 0x177f idProduct 0x0060 bcdDevice1.00 iManufacturer 1 Sweex iProduct2 WC060 Series HD Webcam iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 1125 bNumInterfaces 4 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 128mA Interface Association: bLength 8 bDescriptorType11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 14 Video bFunctionSubClass 3 Video Interface Collection bFunctionProtocol 0 iFunction 2 WC060 Series HD Webcam Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0
Re: [Linux-uvc-devel] Running multiple webcams on the same hub
OK, so the current linux UVC driver doesn't support still image capture. What is needed to implement that? Is it just a case of programming in the data structures, or is there a lot more needed for decoding/converting a captured image and interfacing? Will a new /dev device need creating dedicated to still image capture?... How much interest is there for that? (Presumably there will be some so as to utilise HD webcams to their full resolution...) Regards, Martin On 30/08/10 12:30, Martin wrote: On 27/08/10 15:14, Martin wrote: The problem: From reading around this list and elsewhere, it appears that you simply cannot run more than one webcam video stream per USB root hub. When enabled for video streaming, the webcam reserves the full isochronous bandwidth needed to stream data at the selected resolution and framerate, regardless... [...] *A possible solution* ? Instead, could the UVC driver 'simulate' a reduced framerate by instead using the STILL_IMAGE_FRAME mode of the webcam and grab for itself a set number of images per second? Or even only when polled by a read from the user application? On *nix, everything is a file... Could the uvc driver accept reading of /dev/videoX by the command cp so that still image data is copied, formatted for a jpg or png? Could the quirks setting be abused to set the image grab rate? Or some other neater method? That still looks to be the best solution. The webcam is supposed to support still image capture, but how do I do that?! Is there a nice little snippet of C code that I can compile to grab a still image to a jpg or png? [...] Further details: I'm trying to use two webcams simultaneously: iManufacturer 1 Sweex iProduct2 WC060 Series HD Webcam On separate hubs, they work fine. On the same hub, the second one to start shows the error: Error starting stream VIDIOC_STREAMON: No space left on device. I've only got the one root hub on the system I want to use for the two webcams! Their descriptors show: bFrameIntervalType 2 dwFrameInterval( 0) 200 dwFrameInterval( 1) 400 Can I tweak the UVC driver to preferentially choose the slower frame rate available? Aside: The MJPG format doesn't seem to work, nor are any compression settings visible... Given a few hints or a patch, I can hack the kernel module to test :-) This is running on Gentoo, kernel 2.6.34 using the in-kernel uvc module. Any comment/ideas welcomed. Regards, Martin From lsusb -v (excerpt): VideoStreaming Interface Descriptor: bLength34 bDescriptorType36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 9 bmCapabilities 0x00 Still image unsupported wWidth 1600 wHeight 1200 dwMinBitRate 768000 dwMaxBitRate196608000 dwMaxVideoFrameBufferSize 384 dwDefaultFrameInterval200 bFrameIntervalType 2 dwFrameInterval( 0) 200 dwFrameInterval( 1) 400 VideoStreaming Interface Descriptor: bLength42 bDescriptorType36 bDescriptorSubtype 3 (STILL_IMAGE_FRAME) bEndpointAddress0 bNumImageSizePatterns 9 wWidth( 0)640 wHeight( 0) 480 wWidth( 1)352 wHeight( 1) 288 wWidth( 2)320 wHeight( 2) 240 wWidth( 3)176 wHeight( 3) 144 wWidth( 4)160 wHeight( 4) 120 wWidth( 5)800 wHeight( 5) 600 wWidth( 6) 1280 wHeight( 6) 960 wWidth( 7) 1280 wHeight( 7) 1024 wWidth( 8) 1600 wHeight( 8) 1200 bNumCompressionPatterns 9 ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] How to access a STILL_IMAGE_FRAME of a webcam
OK, I'm stumped... I've been hacking around with various bits and pieces and applications and it seems to be simply no go to try to get to a webcam still image. The most hopeful with xsane just crashes... Various code examples merely use xawtv, or ffmpeg to then capture occasional frames from a continuous video stream from the webcam... So how do you acquire a singular STILL_IMAGE_FRAME from a webcam? Any help or pointers welcomed, Thanks, Martin iManufacturer 1 Sweex iProduct2 WC060 Series HD Webcam From lsusb -v (excerpt): VideoStreaming Interface Descriptor: bLength42 bDescriptorType36 bDescriptorSubtype 3 (STILL_IMAGE_FRAME) bEndpointAddress0 bNumImageSizePatterns 9 wWidth( 0)640 wHeight( 0) 480 wWidth( 1)352 wHeight( 1) 288 wWidth( 2)320 wHeight( 2) 240 wWidth( 3)176 wHeight( 3) 144 wWidth( 4)160 wHeight( 4) 120 wWidth( 5)800 wHeight( 5) 600 wWidth( 6) 1280 wHeight( 6) 960 wWidth( 7) 1280 wHeight( 7) 1024 wWidth( 8) 1600 wHeight( 8) 1200 bNumCompressionPatterns 9 ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Running multiple webcams on the same hub
On 27/08/10 15:14, Martin wrote: The problem: From reading around this list and elsewhere, it appears that you simply cannot run more than one webcam video stream per USB root hub. When enabled for video streaming, the webcam reserves the full isochronous bandwidth needed to stream data at the selected resolution and framerate, regardless... Kindly, a direct reply suggested: ...the only way I've managed to get multiple cameras working was by using the mjpeg format. I've got this way working 3 cameras at 10fps 640x480 resolution on same root usb hub - and it looked like I might be able to get a fourth one. I would suggest you start by checking the specs for your cameras - if they are supposed to support mjpeg. Don't know how you are trying to get them working on mjpeg, but I used the command: ffmpeg -vcodec mjpeg -f video4linux2 -r 10 -s 640x480 -i /dev/video0 ouputfile.ext The '-vcodec mjpeg' has to go in front of the '-i' option in order to request the stream in mjpeg format from the camera - after the '-i' it will merely convert the stream to mjpeg. Tried that and a few variations... Although the mjpeg streaming is accepted, there is no output. I've had the same non-result with other applications I've tried for getting a mjpeg stream from the WV060 webcam and the uvcvideo driver. *A possible solution* ? Instead, could the UVC driver 'simulate' a reduced framerate by instead using the STILL_IMAGE_FRAME mode of the webcam and grab for itself a set number of images per second? Or even only when polled by a read from the user application? On *nix, everything is a file... Could the uvc driver accept reading of /dev/videoX by the command cp so that still image data is copied, formatted for a jpg or png? Could the quirks setting be abused to set the image grab rate? Or some other neater method? That still looks to be the best solution. The webcam is supposed to support still image capture, but how do I do that?! Is there a nice little snippet of C code that I can compile to grab a still image to a jpg or png? A gruesome work-around that does work is to use old USB 1.1 hubs to force the WC060 to a lower data rate. You can then have many webcams connected to your system! However... The WC060 reduces the maximum resolution to 640x480 rather than reduce the framerate. Quite a waste for the 1600x1200 that it supports; The USB 1.1 hubs must be plugged directly into the USB 2.0 root hub for a USB 1.1 root hub to be allocated (or for the UVC driver to work?); Use lsusb -t and lsusb -v to see what is happening. The USB 1.1 hubs that I picked up for very cheap correctly announce themselves as USB 1.1 but have a product name of USB hub 2.0. Very Marketing-esq nasty! eg: Bus 003 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 8 idVendor 0x05e3 Genesys Logic, Inc. idProduct 0x0606 USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub bcdDevice7.02 iManufacturer 1 ALCOR iProduct2 USB Hub 2.0 Note: Full speed = USB 1.1 and High speed = USB 2.0 ... Hence, despite the confusing 2.0 in the descriptors, it is actually USB 1.1. Is the UVC driver still being developed? Are there features support yet to be added? Or is all this a problem of the user-side application software? Regards, Martin Further details: I'm trying to use two webcams simultaneously: iManufacturer 1 Sweex iProduct2 WC060 Series HD Webcam On separate hubs, they work fine. On the same hub, the second one to start shows the error: Error starting stream VIDIOC_STREAMON: No space left on device. I've only got the one root hub on the system I want to use for the two webcams! Their descriptors show: bFrameIntervalType 2 dwFrameInterval( 0) 200 dwFrameInterval( 1) 400 Can I tweak the UVC driver to preferentially choose the slower frame rate available? Aside: The MJPG format doesn't seem to work, nor are any compression settings visible... Given a few hints or a patch, I can hack the kernel module to test :-) This is running on Gentoo, kernel 2.6.34 using the in-kernel uvc module. Any comment/ideas welcomed. Regards, Martin From lsusb -v (excerpt): VideoStreaming Interface Descriptor: bLength34 bDescriptorType36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 9 bmCapabilities 0x00 Still image unsupported wWidth
[Linux-uvc-devel] Looking for upside down uvc cams
I hope you can solve this problem of my camera. # dmidecode 2.9 SMBIOS 2.5 present. 39 structures occupying 1736 bytes. Table at 0x000E6880. Handle 0x, DMI type 0, 24 bytes BIOS Information Vendor: American Megatrends Inc. Version: 209 Release Date: 11/10/2009 Address: 0xF Runtime Size: 64 kB ROM Size: 1024 kB Characteristics: ISA is supported PCI is supported PNP is supported BIOS is upgradeable BIOS shadowing is allowed ESCD support is available Boot from CD is supported Selectable boot is supported EDD is supported 5.25/1.2 MB floppy services are supported (int 13h) 3.5/720 KB floppy services are supported (int 13h) 3.5/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Printer services are supported (int 17h) CGA/mono video services are supported (int 10h) ACPI is supported USB legacy is supported Smart battery is supported BIOS boot specification is supported Targeted content distribution is supported BIOS Revision: 10.0 Firmware Revision: 152.152 Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: ASUSTeK Computer Inc. Product Name: K61IC Version: 1.0 Serial Number: 102864381185 UUID: 8056457C-AFDC-DE81-23C3-E0CB4E24C76F Wake-up Type: Power Switch SKU Number: To Be Filled By O.E.M. Family: To Be Filled By O.E.M. Handle 0x0002, DMI type 2, 15 bytes Base Board Information Manufacturer: ASUSTeK Computer Inc. Product Name: K61IC Version: 1.0 Serial Number: BSN12345678901234567 Asset Tag: ATN12345678901234567 Features: Board is a hosting board Board requires at least one daughter board Board is replaceable Location In Chassis: MIDDLE Chassis Handle: 0x0003 Type: Motherboard Contained Object Handles: 0 Handle 0x0003, DMI type 3, 21 bytes Chassis Information Manufacturer: ASUSTeK Computer Inc. Type: Notebook Lock: Not Present Version: Serial Number: Asset Tag: Boot-up State: Safe Power Supply State: Safe Thermal State: Safe Security Status: None OEM Information: 0x Height: Unspecified Number Of Power Cords: 1 Contained Elements: 0 Handle 0x0004, DMI type 4, 40 bytes Processor Information Socket Designation: Socket 478 Type: Central Processor Family: OUT OF SPEC Manufacturer: Intel ID: 7A 06 01 00 FF FB EB BF Version: Intel(R) Core(TM)2 Duo CPU P7450 @ 2.13GHz Voltage: 1.0 V External Clock: 266 MHz Max Speed: 2133 MHz Current Speed: 2133 MHz Status: Populated, Enabled Upgrade: Socket 423 L1 Cache Handle: 0x0005 L2 Cache Handle: 0x0006 L3 Cache Handle: Not Provided Serial Number: PSN12345678901234567 Asset Tag: PATN1234567890123456 Part Number: PPN12345678901234567 Core Count: 2 Core Enabled: 2 Thread Count: 2 Characteristics: 64-bit capable Handle 0x0005, DMI type 7, 19 bytes Cache Information Socket Designation: L1-Cache Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 64 KB Maximum Size: 64 KB Supported SRAM Types: Other Installed SRAM Type: Other Speed: Unknown Error Correction Type: Parity System Type: Data Associativity: 8-way Set-associative Handle 0x0006, DMI type 7, 19 bytes Cache Information Socket Designation: L2-Cache Configuration: Enabled, Not Socketed, Level 2 Operational Mode: Write Back Location: Internal Installed Size: 3072 KB Maximum Size: 3072 KB Supported SRAM Types: Other Installed SRAM Type: Other Speed: Unknown Error Correction Type: Single-bit ECC System Type: Unified Associativity: Other Handle 0x0007, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J3401 Internal Connector Type: None External Reference Designator: LAN External Connector Type: RJ-45 Port Type: Network Port Handle 0x0008, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J4501 Internal Connector Type: None External Reference Designator: VGA External Connector Type: DB-15 female Port Type: Video Port Handle 0x0009, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J5201 Internal Connector Type: None External Reference Designator: USB1 External Connector Type: Access Bus (USB) Port Type: USB Handle 0x000A, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J5201 Internal Connector Type: None External Reference Designator: USB2 External Connector Type: Access Bus (USB) Port Type: USB Handle 0x000B, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J4800 Internal Connector Type: None External Reference Designator: HDMI External Connector Type: Other Port Type: Other Handle 0x000C, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J5101
Re: [Linux-uvc-devel] Reflecta RubyScan (ID 115b:3100 Salix Technology Co., Ltd.)
- Original Message From: Karl Grill kgr...@chello.at To: Martin Knoblauch kn...@knobisoft.de Cc: linux-uvc-devel list linux-uvc-devel@lists.berlios.de Sent: Fri, October 9, 2009 8:20:15 AM Subject: Re: [Linux-uvc-devel] Reflecta RubyScan (ID 115b:3100 Salix Technology Co., Ltd.) This is interesting - my version of this machine reports an image size of 2048x1536 (and refuses to work at any other resolution with Yeah, I saw your posting from August 19th. When/where did you buy your box? Maybe a difference in firmware? Could you send me your lsusb -v output as a text file? Would like to do a side by side diff with mine. uvccapture behaves the same here. Insists on the 1984x1328 resolution. The aspect ratio of your device is 4:3. Pretty far away from the expected 3:2 for a 36x24 mm slide. On the other side, the aspect ration of my device is 1.494, which is close, but odd. uvccapture). The settings of the otheros driver (see attachment) seem to indicate that this works with a native resolution of 1984x1328, too, so probably the 1800 dpi hardware resolution that is claimed on the box shouldn't be taken too seriously. Please see the respective file from my other os installation. CropSize1 still indicates a sensor size of 1984x1328, but different from yours. Both crop areas at least have the expected aspect ratio. My version of MediaImpression is 1.2.27.515. The comment about the advertised resolution might be right. Especially as they talk about optical resolution - whatever that means. ?xml version=1.0 encoding=UTF-8 ? - Profile - ImageFormate Type Extention=JPG Support=1 / Type Extention=BMP Support=0 / Type Extention=PNG Support=0 / Type Extention=PCX Support=0 / Type Extention=TIF Support=1 / Type Extention=TGA Support=0 / /ImageFormate CropSize1 XValue=1950 YValue=1300 / CropSize2 XValue=918 YValue=702 / CropOffset XValue=0 YValue=0 / AutoEnhance Support=1 / AutoColorBalance Support=1 / SalixPID Value=3100 / SalixVID Value=115B / SalixDeviceName Value=USB Scanner / SlideWhiteBalance135 Value=3000 / NegativeWhiteBalance135 Value=5000 / BWNegativeWhiteBalance135 Value=6000 / NegativeWhiteBalance110 Value=4000 / BWNegativeWhiteBalance110 Value=4000 / /Profile Cheers Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Reflecta RubyScan (ID 115b:3100 Salix Technology Co., Ltd.)
- Original Message From: Laurent Pinchart laurent.pinch...@ideasonboard.com To: linux-uvc-devel@lists.berlios.de Cc: Martin Knoblauch spamt...@knobisoft.de Sent: Fri, October 9, 2009 12:59:58 AM Subject: Re: [Linux-uvc-devel] Reflecta RubyScan (ID 115b:3100 Salix Technology Co., Ltd.) Hi Martin, On Wednesday 07 October 2009 20:24:22 Martin Knoblauch wrote: Hi, I have recently accquired a Reflecta RubyScan slide scanner. Works fine on the other OS. Does 1800 dpi, 2556x1704 pixels. Under Linux the results are not so good. sane does not like it at all. uvccapture-0.5 only works partially. It gives a lot of ioctl errors and it works only with 1984x1328 pixels, which is 1400 dpi. From the attached lsusb output (thanks for the information btw) the scanner only supports 1984x1328. Could it be using software interpolation on the other OS ? Hi Laurent, you might be right and the sensor my actually be limited to 1984x1328. On the other hand there already was a prior report of this device that shows 2048x1536. Kind of strange. Maybe you are right about the software interpolation. The advertisement is not very clear here. [r...@l6g0223j uvccapture-0.5]# ./uvccapture -v -v -x2556 -y1704 Using videodevice: /dev/video0 Saving images to: snap.jpg Image size: 2556x1704 Taking snapshot every 0 seconds Taking images using mmap format asked unavailable get width 1984 height 1328 Resetting camera settings ioctl querycontrol error 22 ioctl querycontrol error 22 ioctl querycontrol error 22 Camera brightness level is 0 ioctl querycontrol error 22 Camera contrast level is -1 ioctl querycontrol error 22 Camera saturation level is -1 ioctl querycontrol error 22 Camera gain level is -1 Grabbing frame Saving image to: snap.jpg uvccapture tries to read (and possibly modify) the contrast, saturation and gain parameters. The scanner doesn't support those, so the ioctl fails. If you want more information about what the application does you could set the trace parameter when loading the uvcvideo driver. trace is a bitmask and the bit values are defined in uvcvideo.h. 15 is a good value to get verbose messages during initialisation and control/format-related calls from userspace without flooding the log with capture-related messages. Any advice to get this to work correctly? I am running CentOs-5.3 (Linux 2.6.18-164.el5) with current uvcvideo drivers. Please CC me, as I am only reading the digest version of the mailing list. On hotplug, dmesg shows: usb 1-4: new high speed USB device using ehci_hcd and address 19 usb 1-4: configuration #1 chosen from 1 choice uvcvideo: Found UVC 1.00 device USB Scanner. (115b:3100) input: USB Scanner. as /class/input/input14 Do you experience any problem beside the smaller resolution and the ioctl error messages ? I get some artifacts, that might be related to the resolution. Cheers Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] Reflecta RubyScan (ID 115b:3100 Salix Technology Co., Ltd.)
iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes5 Transfer TypeIsochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber1 bAlternateSetting 3 bNumEndpoints 1 bInterfaceClass14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes5 Transfer TypeIsochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber1 bAlternateSetting 4 bNumEndpoints 1 bInterfaceClass14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes5 Transfer TypeIsochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0b00 2x 768 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber1 bAlternateSetting 5 bNumEndpoints 1 bInterfaceClass14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes5 Transfer TypeIsochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0c00 2x 1024 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber1 bAlternateSetting 6 bNumEndpoints 1 bInterfaceClass14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes5 Transfer TypeIsochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x1380 3x 896 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber1 bAlternateSetting 7 bNumEndpoints 1 bInterfaceClass14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes5 Transfer TypeIsochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x1400 3x 1024 bytes bInterval 1 Device Qualifier (for other device speed): bLength10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize064 bNumConfigurations 1 Device Status: 0x (Bus Powered) [r...@l6g0223j ~]# -- Martin Knoblauch email: k n o b i AT knobisoft DOT de www: http://www.knobisoft.de ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Device ID of my UVC WebCam
Hi Laurent, On Monday 16 February 2009, Laurent Pinchart wrote: Hi Martin On Monday 16 February 2009 08:40:36 Martin Koller wrote: Hi, In my Acer Aspire 7730ZG-343G32Mn Notebook, the webcam delivers the following lsusb -v output: Bus 004 Device 002: ID 064e:a103 Suyin Corp. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize064 idVendor 0x064e Suyin Corp. idProduct 0xa103 bcdDevice1.00 iManufacturer 2 SuYin iProduct1 Acer Crystal Eye webcam iSerial 3 CN0314-SN30-OV03-VA-R02.03.02 Please add it to the Supported devices list. Should I assume you've tested the camera and it works ? Sorry for being not clear. Yes, the camera works. I've tested it with luvcview. (I use openSuse 11.1, kernel 2.6.27.7-9-pae) Could you please provide the complete output of lsusb -v -d 064e:a103 Attached. -- Best regards/Schöne Grüße Martin() ascii ribbon campaign - against html mail /\- against microsoft attachments Bus 004 Device 002: ID 064e:a103 Suyin Corp. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize064 idVendor 0x064e Suyin Corp. idProduct 0xa103 bcdDevice1.00 iManufacturer 2 SuYin iProduct1 Acer Crystal Eye webcam iSerial 3 CN0314-SN30-OV03-VA-R02.03.02 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 544 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 5 Acer Crystal Eye webcam Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass14 Video bInterfaceSubClass 1 Video Control bInterfaceProtocol 0 iInterface 5 Acer Crystal Eye webcam VideoControl Interface Descriptor: bLength13 bDescriptorType36 bDescriptorSubtype 1 (HEADER) bcdUVC 1.00 wTotalLength 104 dwClockFrequency 15.00MHz bInCollection 1 baInterfaceNr( 0) 1 VideoControl Interface Descriptor: bLength 9 bDescriptorType36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 2 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bSourceID 5 iTerminal 0 VideoControl Interface Descriptor: bLength26 bDescriptorType36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 4 guidExtensionCode {7033f028-1163-2e4a-ba2c-6890eb334016} bNumControl 8 bNrPins 1 baSourceID( 0) 3 bControlSize1 bmControls( 0) 0x0f iExtension 0 VideoControl Interface Descriptor: bLength26 bDescriptorType36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 5 guidExtensionCode {3fae1228-d7bc-114e-a357-6f1edef7d61d} bNumControl 8 bNrPins 1 baSourceID( 0) 4 bControlSize1 bmControls( 0) 0xff iExtension 0 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
[Linux-uvc-devel] Device ID of my UVC WebCam
Hi, In my Acer Aspire 7730ZG-343G32Mn Notebook, the webcam delivers the following lsusb -v output: Bus 004 Device 002: ID 064e:a103 Suyin Corp. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize064 idVendor 0x064e Suyin Corp. idProduct 0xa103 bcdDevice1.00 iManufacturer 2 SuYin iProduct1 Acer Crystal Eye webcam iSerial 3 CN0314-SN30-OV03-VA-R02.03.02 Please add it to the Supported devices list. (I use openSuse 11.1, kernel 2.6.27.7-9-pae) Thanks. -- Best regards/Schöne Grüße Martin Koller () ascii ribbon campaign - against html mail /\- against microsoft attachments ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] unsuscribe
BEGIN:VCARD VERSION:3.0 N:MARTIN;Pierre;;; FN:MARTIN Pierre EMAIL;type=INTERNET;type=HOME;type=pref:[EMAIL PROTECTED] EMAIL;type=INTERNET;type=WORK:[EMAIL PROTECTED] TEL;type=HOME;type=pref:+33 5 53 56 90 83 TEL;type=HOME:+33 9 52 68 90 83 TEL;type=CELL:+33 6 30 14 52 15 item1.ADR;type=HOME;type=pref:;;17 rue de Verdun;Nontron;;24300;France item1.X-ABADR:fr BDAY;value=date:1982-02-18 X-AIM;type=WORK;type=pref:[EMAIL PROTECTED] X-MSN;type=HOME;type=pref:[EMAIL PROTECTED] PHOTO;BASE64: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAICAgICAQICAgICAgIDAwYEAwMDAwcFBQQGCAcICAgH CAgJCg0LCQkMCggICw8LDA0ODg4OCQsQEQ8OEQ0ODg7/2wBDAQICAgMDAwYEBAYOCQgJDg4ODg4O Dg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg7/wAARCAAwADADASIA AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3 ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA AwEBAQEBAQEBAQECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3 uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDYS5Hh vxqNP1We4k0+WQtpVzJIcEDkxuf7yjOP7y4PUGtwXaWmoXZs55hbyfvBDzgggZKEYOM546dam1Ww ttc0640vUoZIrZ2y0oXEkTDlJFOCAynkHp69wfHX1TW/DviOPRtauAt9bDzbOZDiK7gyQJFB5AyM EfwsD1BBP+f+HofW72fvJarv5r9fv9PymcnH0O78Svd6ratbJczW2rWj+dpl00x8tX242PgHMbD5 TjkYBHIrxKfxe2qagf7UvW0Y6Uj/AGv7U2DbT527CD3AB47575r1K61mHUbQ3dqUEp+/GeUye4xy D9OK4TQP7L1XxpfeKNR0qGTU7m52Wt1Py8IRQm5QPlDZBG7GcDrXuZXFUaMnUh8O3dN9NejV35b2 d2c83za3HaRrvi28SH7LeLpujSFdmqapE0RuFPUxQZ3H/efav1rtNAtdPtr6OdprqfUj8r6jdHfK RnJUgYCrnsoA9c93a/4XaXRJJoZWuEuAWkZ2JIcDggjp9SK8t0DxXqmneKF0jV4o2eN1CtJ8pxng 5Xr+FbRj9cpSlQsrbpaP/g+ey8jNe69T6ljuYrqS4Sa5jkaI/vNwIG7sRjtgg9K5jxP4Z07xP4R/ s68la2u4HM2n6nBlpLKXpvAwAykcMh4YehwRzEt/NfTCB5YY2EhZV2YLHPTPrz0rdFpbxaTHJcSS ySqQwVGJ9uQM/pXzKw0sPUU4ys76W/r+tmd/teboeItrs2irq2ia7BFp/iTT4N8kaH91co3CTxH+ KJ/zByDyKZbSy6Rp+lW+N4ON7ydGJ5P05Pf2rZ+KqaJqv/CIWMlhby62mqbbSYN86oy/OpyeV4yQ eMgGsvWvD+rw6OWlhaO6hIkWJW5VR3UmvtcPOjOlTlJcrne6flpdeX5ba2ucFey0R7Taau7aF9mi ikkkZdzIEyqjHc9BXlHjnQ2m0O38T2u97eOZUm2jb5Z3cgD0x+NWrP4gadpXhi2fV9Qgs2gdZFaZ tm5eMqAep5PSr/8AaFzr9q9poGi6ndaTe3Pni51AC1gG4YJzJhmH0U5zXlYTC18JXVTlsr6t7NdV d2+RTakhtnqj6V4obQ9eER1CXL6ZfLxBforfej5yGGcMh5BPGQQT0ct439kXHkmSSbOQAwOePTrn 8qZqOl2viLQrjSdcsEutOebztjSMJIXB4lhccxyDsykeh4yK8Z1ybxH8NGM2vm+8QeBpG2Q+Ikh/ fWmT8qXiAcHsJF+RuPunitMPhYY2fLHSp/L/ADf4fP8Au/8AgN9lpyNrQpvZX3iz4yYfX9U0I6TD uE8Fqksm6TjaBJlckc59q3dR0JdLvA+seJPH3iaNk25uNRS3iZen3YY0I/764qh4Kie80O+18+YR qF4XTrlFX5Vz79eK9a1TTZ9V+HsaNDuuVHytsPzHtn6jivWx2LlQrxp7RXu7JNd9bX3v1MnJ2sjD 8H6X4WjllGgaBpVjfvlhcvGZHlPGD5km5wfoa6ixZ9Yuv7J1Yz2t1E5GC2VlU9gRzmvGfDVxqGke OYLWeWa1g3llRoSzg57dq9l1G9tk1aC9u7e5uIGcB32hAp9SAMn8wK8vM8NUhiN3LmV09W/ve4qb vqz/2Q== X-ABUID:54EA62E1-196A-47E1-A561-C67A7DED60B4\:ABPerson END:VCARD smime.p7s Description: S/MIME cryptographic signature ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Concurent accesses to multiple devices.
Hello Laurent, and thank you very much for taking time for our issue. We already noticed this issue: at first the total time of the shooting is around 40 seconds. Then, it is 18 seconds :) The problem is, that for the 3D modeling, we really need the best resolution available for the webcam... Any other idea (Another cam with high res, hardware tweaking, or such thing...)? Thanks! Pierre. On 9 juil. 08, at 18:48, Laurent Pinchart wrote: Hi Pierre, On Wednesday 09 July 2008, MARTIN Pierre wrote: Hello list people :) i have been posting about some issues i had a couple of monthes ago. The company i'm working for was in the need of a system with 5 webcams, able to shoot simultaneously objects from 5 different POVs. The generated pictures are then used for 3D modeling. Big problem, the object is a horse, so the total time of shooting has to be around 10 seconds, not more, because holding a horse still for more than 10 seconds require super powers, which we don't have (Or are too expensive, i dont know) :) So we bought 5 quickcam 9000 pro, since the required resolution to have a find 3D mesh is 1600x1200. Actually, all the webcams are wired to a single USB hub, and a little application i have coded handles a very simple queue when the user presses the shoot button. The application simply calls the uvccapture command, waits for it to finish, stores the result, and starts uvccapture on the next camera (/ dev/video0 / 1 / 2 / 3 / 4) and so on. The task takes around 18 seconds it's a bit too much. So i was wondering... Why not to use two USB hubs to wire the cameras, 3 cameras on the first hub, two on the second, so the application will be able to shoot two cams at the same time, then again, then the one remaining? So today i coded this workflow on my application, /dev/video0 to / dev/ video2 on the first hub, /dev/video3 and /dev/video4 on the other. The goal was to shoot video0 / video 3 at the same time, then video1 / video4 at the same time, then /dev/video3. And i was very surprised to see that the system doesn't allows me simultaneous requests to the driver. Is there any solution to that? Logitech cameras don't support MJPEG compression for 1600x1200. Streaming such a high resolution in YUV requires a high bandwidth, and USB 2.0 doesn't provide enough bandwidth to stream from two 1600x1200 cameras at the same time. Logitech webcams are quite slow to initialise the first time you use them, but might be faster the second time your run your application if you don't disconnect the cameras. Could you please try that and let me know if it helps ? Best regards, Laurent Pinchart BEGIN:VCARD VERSION:3.0 N:MARTIN;Pierre;;; FN:MARTIN Pierre EMAIL;type=INTERNET;type=HOME;type=pref:[EMAIL PROTECTED] EMAIL;type=INTERNET;type=WORK:[EMAIL PROTECTED] TEL;type=HOME;type=pref:+33 5 53 56 90 83 TEL;type=HOME:+33 9 52 68 90 83 TEL;type=CELL:+33 6 30 14 52 15 item1.ADR;type=HOME;type=pref:;;17 rue de Verdun;Nontron;;24300;France item1.X-ABADR:fr BDAY;value=date:1982-02-18 X-AIM;type=WORK;type=pref:[EMAIL PROTECTED] X-MSN;type=HOME;type=pref:[EMAIL PROTECTED] PHOTO;BASE64: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAICAgICAQICAgICAgIDAwYEAwMDAwcFBQQGCAcICAgH CAgJCg0LCQkMCggICw8LDA0ODg4OCQsQEQ8OEQ0ODg7/2wBDAQICAgMDAwYEBAYOCQgJDg4ODg4O Dg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg7/wAARCAAwADADASIA AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3 ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA AwEBAQEBAQEBAQECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3 uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDYS5Hh vxqNP1We4k0+WQtpVzJIcEDkxuf7yjOP7y4PUGtwXaWmoXZs55hbyfvBDzgggZKEYOM546dam1Ww ttc0640vUoZIrZ2y0oXEkTDlJFOCAynkHp69wfHX1TW/DviOPRtauAt9bDzbOZDiK7gyQJFB5AyM EfwsD1BBP+f+HofW72fvJarv5r9fv9PymcnH0O78Svd6ratbJczW2rWj+dpl00x8tX242PgHMbD5 TjkYBHIrxKfxe2qagf7UvW0Y6Uj/AGv7U2DbT527CD3AB47575r1K61mHUbQ3dqUEp+/GeUye4xy D9OK4TQP7L1XxpfeKNR0qGTU7m52Wt1Py8IRQm5QPlDZBG7GcDrXuZXFUaMnUh8O3dN9NejV35b2 d2c83za3HaRrvi28SH7LeLpujSFdmqapE0RuFPUxQZ3H/efav1rtNAtdPtr6OdprqfUj8r6jdHfK RnJUgYCrnsoA9c93a/4XaXRJJoZWuEuAWkZ2JIcDggjp9SK8t0DxXqmneKF0jV4o2eN1CtJ8pxng 5Xr+FbRj9cpSlQsrbpaP/g+ey8jNe69T6ljuYrqS4Sa5jkaI/vNwIG7sRjtgg9K5jxP4Z07xP4R/ s68la2u4HM2n6nBlpLKXpvAwAykcMh4YehwRzEt/NfTCB5YY2EhZV2YLHPTPrz0rdFpbxaTHJcSS ySqQwVGJ9uQM/pXzKw0sPUU4ys76W/r+tmd/teboeItrs2irq2ia7BFp/iTT4N8kaH91co3CTxH+ KJ/zByDyKZbSy6Rp+lW+N4ON7ydGJ5P05Pf2rZ+KqaJqv/CIWMlhby62mqbbSYN86oy/OpyeV4yQ eMgGsvWvD+rw6OWlhaO6hIkWJW5VR3UmvtcPOjOlTlJcrne6flpdeX5ba2ucFey0R7Taau7aF9mi
Re: [Linux-uvc-devel] labtec webcam for notebooks
- Original Message - From: Serge A. Suchkov [EMAIL PROTECTED] To: linux-uvc-devel@lists.berlios.de Subject: Re: [Linux-uvc-devel] labtec webcam for notebooks Date: Tue, 4 Mar 2008 02:18:10 +0300 it uses the same bridge/chip as the logitech quickcam IM (Zc0302 / Hdcs2020) says http://mxhaard.free.fr/spca5xx.html AFAIK in QC IM used Tas5130c sensor, but your webcam should work with gspcav1/2 in all cases. yes, it works on my desktop with gspcav1 but on my openwrt device i have some troubles. that's why i thought about trying uvc... bad luck. thanxbye...masc. -- ___ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com Powered by Outblaze ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] Logitech Quickcam for Notebooks (Device id / lsusb: 046d:08dd)
Hi list members On the website you are asking to report not working cameras: I have a: - Logitech Quickcam for Notebooks (Device id / lsusb: 046d:08dd) Either that one is not working or you may be able to advice how to make it working. Many thanks Martin Petruzzi ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] Little questions about uvcvideos... And possible solutions to my problem.
Hello people, First of all, happy new year to everyone reading this, since i'm new here :) i have discovered the linux uvc project for a few days now, i have been looking for a good quality, supported webcam under linux, and i have to admit, the documentation lacks a lot... So here is what i want to achieve: We need a software which takes a snap of 5 connected webcams (The snapshots will then be used to make an accurate 3D mesh of the shooted object). My first attempt was on Labtec webcam pro, which were working pretty well under linux with gpsa. i have made a little application with C++ / Qt 4.3, which just calls vgrabbj on /dev/video* in a process. After the process ends, the pictures were retrieved and displayed... The problem with this solution, was the resolution... 640x480 was not enough, the people told me that they need at least 1024x768. So i have searched the internet, posted on forums, no one answered me... So i bought several QuickCam 9000. Now, i'm trying to make them work the same way... And surprise: they can't work with my previous application, because vgrabbj can't handle the format in /dev/video*... So i have looked at luvcview, and v4l also (i dont really understand what v4l has to do with everything here, i have never played with that). The result is, that i'm having several issues with both of them. So my question is simple... Is there any program, shell script, magic carot command which i can use to get a SIMPLE single shot on this device? i'm on this project for a week now, i thought it would take a few hours to make... But the lack of doc / people on the net made me take a serious delay on the thing, so this request is kind of urgent... Thanks a lot for your time, i hope that my request is clear. If not, feel free to tell me that my english is really bad, and you need some explaination about this or that :D PS: Below is an email sent to the maintainer of luvcview, it is more precise about what i need to achieve... The email is in french. Kind regards, Pierre. Bonjour, Je m'appelle Pierre, et j'ai trouvé votre site en faisant des recherches à propos de ma problématique... J'ai actuellement un projet en cours, et j'aimerais vous demander un petit coup de main (Ceci n'est pas une requête de support, si la partie descriptive vous embête, passez directement à la fin). Voilà l'idée: Je dois créer un petit soft (Je fais le dev sous macosx avec comme target linux) permettant de commander 5 webcams simultanément (donc branchées sur la même machine). J'ai déja quelque chose de fonctionnel, basé sur du QT et des appels à vgrabbj... Cela fonctionne parfaitement avec des webcams labtec, mais il se trouve que les personnes me demandant cette application ont besoin d'obtenir des clichés de 1024x768 au minimum... J'ai donc été chercher des Quickcam Pro 9000, webcam qui m'a semblé être une des seules disponibles et compatible linux, avec comme résolution du xga. Une fois les drivers UVC compilés et installés, j'essaye mon appli, et là je me rend compte que vgrabbj n'a pas l'air de comprendre ce qu'il voit dans /dev/video0... Aucune erreur, mais une image verte en sortie. Je m'orriente alors vers des recherches sur internet (Le sujet n'est vraiment pas assez documenté pour le grand public je trouve) et là je tombe donc sur votre application, luvcview. LUVCView fonctionne environ une fois sur 3 quand je la lance à partir d'un xterm (sous XFCE). Les autres fois j'obtiens ceci: luvcview version 0.2.1 Xlib: connection to :0.0 refused by server Xlib: XDM authorization key matches an existing client! Couldn't initialize SDL: Couldn't open X11 display Quand l'application fonctionne, elle fonctionne bien, sauf au premier lancement où la palette semble brulée. Si je liste les modes possibles, j'obtiens: /dev/video0 does not support read i/o { pixelformat = 'MJPG', description = 'MJPEG' } { discrete: width = 160, height = 120 } Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, { discrete: width = 176, height = 144 } Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, { discrete: width = 320, height = 240 } Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, { discrete: width = 352, height = 288 } Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, { discrete: width = 640, height = 480 } Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, { discrete: width = 800, height = 600 } Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, { discrete: width = 960, height = 720 } Time interval between frame: 1/15, 1/10, 1/5, { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' } { discrete: width = 160, height = 120 } Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, { discrete: width = 176, height = 144 } Time interval between frame: 1/30, 1/25, 1/20,
Re: [Linux-uvc-devel] Little questions about uvcvideos... And possible solutions to my problem.
Hello List, Thomas: i have just finished to compile the mjpg_streamer package, and i have started a testing session. it seems to perfectly work, and most important: FIT WHAT I NEED :D i will use curl or directly Qt to download the pictures. But there is a little problem, i hope someone knows the what or the why: The pictures shown are totally wrong on colors. i believe the palette is not correctly set, all seem red, dark areas are almost pure blue... Anyway thanks a lot for all these directions, i am very happy with this solution, and i discovered this tool which i will probably use for other purposes later. Kind regards, Pierre. P.S.: i really believe that the main digests of this mailing list should be formated with eye candy and placed in a well known website (understand: well known for end users without any technical knowledge at all), it took me days to find the list and the archive! On 28 janv. 08, at 13:59, Tom St wrote: Perhaps you also just want to use the plugin as it is. It would just be necessary to write the right interface, but all you need is already in the shared object input_uvc.so. Its job is to take snapshots and store those pictures in a global buffer. Images are already/converted-to in JPEG-format. ___ 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] Little questions about uvcvideos... And possible solutions to my problem.
Ok my misstake (Maybe?): After unplugging and replugging the webcams, both pictures are GOOD :) Thanks for this cool tool, i'll give feedback if i encounter issue for my personnal use. Pierre. On 28 janv. 08, at 14:24, Tom St wrote: Hi Pierre, But there is a little problem, i hope someone knows the what or the why: The pictures shown are totally wrong on colors. i believe the palette is not correctly set, all seem red, dark areas are almost pure blue... Can you verify this erroneous behaviour also with a browser like firefox? Have you activated YUYV mode? This would capture YUYV images from the webcam and convert it using libjpeg. Surely this will increase your CPU usage a lot. Perhaps you need to check out the current snapshot from subversion-repository, because i discovered issues with the buffer sizes a few days ago. Regards, Tom ___ 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] Little questions about uvcvideos... And possible solutions to my problem.
Hello Tom, Here is the output of my listening MJPG Streamer: ./myStart.sh MJPG Streamer Version.: 2.0 i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 1600 x 1200 i: Frames Per Second.: 1 i: Format: YUV i: JPEG Quality..: 100 o: www-folder-path...: disabled o: HTTP TCP port.: 8080 o: username:password.: disabled o: commands..: enabled The mode is YUYV unless the -y switch doesnt work, but according to the console output, i think it's good. You give me the advice to use the svn snap, but this is already what i have done... Revision was 54, am i good with this one? The picture in firefox is wrong too. Also i have tried the output_file plugin, and set up with the --folder thing after looking at the sources to know the parametters to use. But this output plugin gives a segmentation fault. Also a fast question: in the sources, i see a resolution table which only goes to 1280 x 1024 (Which is SUFFICENT for me, no problem). Does it mean that the 1600 x 1200 is software-side interpolated? What if i add UXGA 1600 1200 in the table? :) For now, i would be more than happy if the HTTP output plugin can give me real colors. Any clue for this please? Thanks a lot for your support, for now you're the only person who provided me with a fast solution... So i place my hope in your knowledge now :D Pierre. On 28 janv. 08, at 14:24, Tom St wrote: Hi Pierre, But there is a little problem, i hope someone knows the what or the why: The pictures shown are totally wrong on colors. i believe the palette is not correctly set, all seem red, dark areas are almost pure blue... Can you verify this erroneous behaviour also with a browser like firefox? Have you activated YUYV mode? This would capture YUYV images from the webcam and convert it using libjpeg. Surely this will increase your CPU usage a lot. Perhaps you need to check out the current snapshot from subversion-repository, because i discovered issues with the buffer sizes a few days ago. Regards, Tom ___ 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] Little questions about uvcvideos... And possible solutions to my problem.
Ooops... #2 After starting two instances of the program, it appears that it works for the 2nd webcam (on port 8081)... So the ugly colors are only on the 1st cam... What can be causing this? Pierre. On 28 janv. 08, at 14:42, Pierre MARTIN wrote: Hello Tom, Here is the output of my listening MJPG Streamer: ./myStart.sh MJPG Streamer Version.: 2.0 i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 1600 x 1200 i: Frames Per Second.: 1 i: Format: YUV i: JPEG Quality..: 100 o: www-folder-path...: disabled o: HTTP TCP port.: 8080 o: username:password.: disabled o: commands..: enabled The mode is YUYV unless the -y switch doesnt work, but according to the console output, i think it's good. You give me the advice to use the svn snap, but this is already what i have done... Revision was 54, am i good with this one? The picture in firefox is wrong too. Also i have tried the output_file plugin, and set up with the -- folder thing after looking at the sources to know the parametters to use. But this output plugin gives a segmentation fault. Also a fast question: in the sources, i see a resolution table which only goes to 1280 x 1024 (Which is SUFFICENT for me, no problem). Does it mean that the 1600 x 1200 is software-side interpolated? What if i add UXGA 1600 1200 in the table? :) For now, i would be more than happy if the HTTP output plugin can give me real colors. Any clue for this please? Thanks a lot for your support, for now you're the only person who provided me with a fast solution... So i place my hope in your knowledge now :D Pierre. On 28 janv. 08, at 14:24, Tom St wrote: Hi Pierre, But there is a little problem, i hope someone knows the what or the why: The pictures shown are totally wrong on colors. i believe the palette is not correctly set, all seem red, dark areas are almost pure blue... Can you verify this erroneous behaviour also with a browser like firefox? Have you activated YUYV mode? This would capture YUYV images from the webcam and convert it using libjpeg. Surely this will increase your CPU usage a lot. Perhaps you need to check out the current snapshot from subversion-repository, because i discovered issues with the buffer sizes a few days ago. Regards, Tom ___ 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
[Linux-uvc-devel] ekiga fails to open camera on second run
Hi, I have a Logitech Quickcam Pro for Notebooks (046d:0991) which works with ekiga (3.0 svn) the first time I run it, but on subsequent runs ekiga fails to open the camera and gives an error 'Your driver doesn't seem to support any of the colour formats supported by Ekiga.' If I unplug and reinsert the camera ekiga works again for one more run. These are the messages when the camera is inserted: usb 1-6: new high speed USB device using ehci_hcd and address 3 usb 1-6: configuration #1 chosen from 1 choice Linux video capture interface: v2.00 uvcvideo: Found UVC 1.00 device unnamed (046d:0991) usbcore: registered new interface driver uvcvideo USB Video Class driver (v0.1.0) These errors appear when ekiga loads and the camera works: uvcvideo: Failed to query (135) UVC control 2 (unit 2) : -110 (exp. 2). uvcvideo: Failed to query (135) UVC control 7 (unit 2) : -110 (exp. 2). uvcvideo: Failed to query (135) UVC control 3 (unit 2) : -110 (exp. 2). These errors appear when it doesn't work: uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26). uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -32 (exp. 26). uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -32 (exp. 26). uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -32 (exp. 26). I've asked over in the ekiga list http://mail.gnome.org/archives/ekiga-devel-list/2007-December/msg00029.html and they think it is a linux-uvc bug. I'm using r148 of linux-uvc and kernel-2.6.23.8-63.fc. I've also attached a debug log from ekiga when it didn't work. Cheers, Martin. fails.log.gz Description: GNU Zip compressed data ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] ekiga hang cancelling druid
When I run ekiga, open the configuration druid and then cancel it, most times ekiga locks up. I'm using r5776 and the backtrace is below. Cheers, Martin. Program received signal SIGINT, Interrupt. [Switching to Thread 46912516974944 (LWP 15824)] 0x00376160a8f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 (gdb) thread apply all bt Thread 23 (Thread 1107339600 (LWP 15869)): #0 0x0037606cddf2 in select () from /lib64/libc.so.6 #1 0x2ac4aec5 in PSocket::Select (read=value optimized out, write=value optimized out, except=value optimized out, [EMAIL PROTECTED]) at socket.cxx:319 #2 0x2ac5ec94 in PSocket::Select ([EMAIL PROTECTED], [EMAIL PROTECTED]) at ../common/sockets.cxx:1031 #3 0x2ac66077 in PMonitoredSockets::ReadFromSocket (this=0xd49450, [EMAIL PROTECTED], buf=0xf3d770, len=2000, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at ../../ptclib/psockbun.cxx:564 #4 0x2ac6638d in PSingleMonitoredSocket::ReadFromBundle ( this=0xd49450, buf=0xf3d770, len=2000, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at ../../ptclib/psockbun.cxx:1084 #5 0x2b391d33 in OpalListenerUDP::Accept (this=0xcfd7d0, [EMAIL PROTECTED]) at /usr/src/debug/opal-3.1.0/src/opal/transports.cxx:757 #6 0x2b396e2c in OpalListener::ListenForConnections (this=0xcfd7d0, [EMAIL PROTECTED]) at /usr/src/debug/opal-3.1.0/src/opal/transports.cxx:416 #7 0x2ac55ba3 in PThread::PX_ThreadStart (arg=value optimized out) at tlibthrd.cxx:804 ---Type return to continue, or q return to quit--- #8 0x003761606407 in start_thread () from /lib64/libpthread.so.0 #9 0x0037606d4b0d in clone () from /lib64/libc.so.6 Current language: auto; currently c Thread 22 (Thread 1085827408 (LWP 15868)): #0 0x0037606cddf2 in select () from /lib64/libc.so.6 #1 0x2ac59374 in PThread::PXBlockOnIO (this=0xcfdd10, handle=43, type=2, [EMAIL PROTECTED]) at tlibthrd.cxx:896 #2 0x2ac4cf0a in PChannel::PXSetIOBlock (this=0xcfd8a8, type=PChannel::PXAcceptBlock, [EMAIL PROTECTED]) at channel.cxx:119 #3 0x2ac48e6e in PSocket::os_accept (this=0xcf1470, [EMAIL PROTECTED], addr=0x40b85da0, size=0x40b85d9c) at socket.cxx:197 #4 0x2ac60860 in PTCPSocket::Accept (this=0xcf1470, [EMAIL PROTECTED]) at ../common/sockets.cxx:2231 #5 0x2b394ee1 in OpalListenerTCP::Accept (this=0xcfd850, timeout=value optimized out) at /usr/src/debug/opal-3.1.0/src/opal/transports.cxx:661 #6 0x2b396e2c in OpalListener::ListenForConnections (this=0xcfd850, [EMAIL PROTECTED]) at /usr/src/debug/opal-3.1.0/src/opal/transports.cxx:416 #7 0x2ac55ba3 in PThread::PX_ThreadStart (arg=value optimized out) at tlibthrd.cxx:804 #8 0x003761606407 in start_thread () from /lib64/libpthread.so.0 #9 0x0037606d4b0d in clone () from /lib64/libc.so.6 ---Type return to continue, or q return to quit--- Thread 16 (Thread 1107605840 (LWP 15858)): #0 0x0037606cddf2 in select () from /lib64/libc.so.6 #1 0x2ac56049 in PThread::Sleep ([EMAIL PROTECTED]) at tlibthrd.cxx:672 #2 0x004c58f9 in GMAccountsEndpoint::Main (this=0xd4ae00) at endpoints/accountshandler.cpp:163 #3 0x2ac55ba3 in PThread::PX_ThreadStart (arg=value optimized out) at tlibthrd.cxx:804 #4 0x003761606407 in start_thread () from /lib64/libpthread.so.0 #5 0x0037606d4b0d in clone () from /lib64/libc.so.6 Thread 14 (Thread 1107073360 (LWP 15856)): #0 0x00376160ab7d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x2ac55041 in PSyncPoint::Wait (this=0x2af0fa88, [EMAIL PROTECTED]) at tlibthrd.cxx:1434 #2 0x2ac66a7d in PInterfaceMonitor::UpdateThreadMain ( this=0x2af0fa00) at ../../ptclib/psockbun.cxx:236 #3 0x2ac55ba3 in PThread::PX_ThreadStart (arg=value optimized out) at tlibthrd.cxx:804 #4 0x003761606407 in start_thread () from /lib64/libpthread.so.0 #5 0x0037606d4b0d in clone () from /lib64/libc.so.6 Current language: auto; currently asm ---Type return to continue, or q return to quit--- Thread 12 (Thread 1074538832 (LWP 15854)): #0 0x00376160cef4 in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x003761608915 in _L_lock_102 () from /lib64/libpthread.so.0 #2 0x003761608390 in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x004ad84c in gnomemeeting_threads_enter () at gui/misc.cpp:65 #4 0x004b7731 in PVideoInputDevice_Picture::GetFrameDataNoDelay ( this=0xce2000, frame=0x2aaab571f010 '� repeats 200 times..., i=value optimized out) at devices/fakevideoinput.cpp:270 #5 0x004b7673 in PVideoInputDevice_Picture::GetFrameData ( this=0xce2000, a=0x2aaab571f010 '� repeats 200 times..., i=0x400c1f5c) at devices
[Linux-uvc-devel] New QuickCam Team website for video developers
Dear all, The Logitech video team is proud to present the new QuickCam Team website, a resource targeted at webcam developers for all platforms as well as power users of Logitech video hardware on popular operating systems and hardware platforms. This new website contains documentation and links related to developing webcam software and using Logitech webcams on platforms like Linux, Solaris as well as others, answers to frequently asked questions, and a forum platform to discuss related topics. You can find it at the following address: http://www.quickcamteam.net/ Contributions and comments are welcome. If you think that a particular section is missing or if you have something you would like to contribute, please drop us a note in the forum. Note that the QuickCam Team website is not meant to be a replacement for the official customer support. However, you are welcome to post developer or Linux questions that may be out of the scope of ordinary customer support. Please also take a minute to read the introduction page (http://www.quickcamteam.net/about/) before visiting. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Which cameras really work with linux-uvc?
On Fri, 28 Sep 2007 15:49:35 +0800, Michel Xhaard [EMAIL PROTECTED] wrote: Martin, Can you change spca5xx on quickcamteam.net by gspca. spca5xx is now deprecated and did not work for a lot of Logitech webcams Bests regards Sure, I'll update it. But can you clarify a few things for me? On your compatibility list (http://mxhaard.free.fr/spca5xx.html) there are a few cameras that have spca5xx, others have gspcav1 or gspca v4l1/v4l2. 1. What's the difference between gspcav1 and gspca v4l1/v4l2? 2. What is the status of the spca5xx driver? Is it obsolete and 100% replaced by gspca? Or are there certain devices for which people have to keep using spca5xx because gspca doesn't support them yet? I'd like to explain those things on quickcamteam.net when I do the update. Thanks! Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Control the status LED?
Jörg, Laurent, On Thu, 27 Sep 2007 04:45:20 +0800, Laurent Pinchart [EMAIL PROTECTED] wrote: does the uvcvideo module export some controls that can be set via the sysfs filesystem? I'm looking for a way to toggle the status LED on and off. Or is this directly controlled my the hardware? My cam is the Logitech QuickCam Sphere MP. The LED is directly controlled by the hardware. There is no way to turn it on or off from the computer. What Laurent said is partially true, the LED is by default controlled by the hardware. However, there is a way of influencing the behavior of the LED. There is an extension unit control that allows to set the LED to states like On, Off, Blinking, and Auto. The latter one is just the default. I'll try to write up the necessary information in a quick spec and then post it. I may take me a few days though before I'll get around to do it, so if you're in a hurry feel free to drop me a quick e-mail and I can give you some raw information. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Which cameras really work with linux-uvc?
On Tue, 25 Sep 2007 04:26:28 +0800, Laurent Pinchart [EMAIL PROTECTED] wrote: Hi Tom, On Monday 24 September 2007, Tom St wrote: Hello Listmembers, Hello Laurent, What about the idea to add another column to the list of supported devices, which shows some kind of ranking like: * works for most users (++), * some issues (+), * no issues reported (+++)? Would also be an idea to have such a list in the wiki and include hints for workarounds like initialize audio modules first, then load video modules for certain webcams. What do you think? The boundary between works for most users and some issues is difficult to define. I added a Status column to the supported devices list. The device is either supported (green check mark) or supported with some issues the user should be aware of (warning sign with footnote links). Please let me know what you think of this new supported devices list. Good list! A few small comments: 1. The camera with VID/PID 046C/09B0 is based on the Sonix SN9C21x chip and isn't affected by the bugs. I think it deserves a green checkmark. :-) 2. Your list is missing some Logitech cameras. You may want to sync it with this one: http://www.quickcamteam.net/hcl/linux/logitech-webcams 3. There's some information on the mentioned Logitech hardware bug here: http://www.quickcamteam.net/documentation/faq/logitech-webcam-linux-usb-incompatibilities Would you mind adding the link to footnote 1 in your device compatibility list? Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] invalid module format uvc
Am Thu, 2 Aug 2007 22:31:30 schrieb Laurent Pinchart: On Thursday 02 August 2007, helico unitemoyenne wrote: i am not sure that the problem is with mandriva. I am not sure, too... I'm pretty sure I'm not adding 'custom' to '2.6.17-10mdv'. You should try to investigate with your kernel sources where this comes from. It seems to definitely be a build issue. I'm sure, this is true, also. Well, the Makefile uses `uname -r` as the kernel version. This should be the current running one. Just to be sure do some... $ cd /lib/modules/2.6.17-10mdv/build $ make menuconfig Please tell us, what is in General Setup --- Local version - append to kernel release? Is there some custom around? If not, what is `uname -r` in your case? Hope to have given some useful hints... Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Fwd: Orbicam - 046d:09b0 Logitech, Inc
Last time I checked Camorama was a V4L1-only application. Have you tried with luvcview? If you do, remember to use the -f yuv switch as your camera does not support the MJPEG format, which is luvcview's default. I tested your Orbicam with both, the main trunk and the dynctrls branch, and both of them work fine. No crash, even when trying to launch Camorama. Cheers, Martin On Mon, 07 May 2007 06:30:05 +0800, Domijor [EMAIL PROTECTED] wrote: Always I remove the old driver. # rm /lib/modules/2.6.18-4-686/usb/media/uvcvideo.ko Now show: # rmmod uvcvideo Show dmesg: usbcore: deregistering driver uvcvideo # modprobe uvcvideo trace=255 # dmesg | tail uvcvideo: Adding mapping Brightness to control ----0101/2. uvcvideo: Adding mapping Contrast to control ----0101/3. uvcvideo: Adding mapping Hue to control ----0101/6. uvcvideo: Adding mapping Saturation to control ----0101/7. uvcvideo: Adding mapping Sharpness to control ----0101/8. uvcvideo: Adding mapping Gamma to control ----0101/9. uvcvideo: Adding mapping Backlight Compensation to control ----0101/1. uvcvideo: Adding mapping Gain to control ----0101/4. uvcvideo: Adding mapping Power Line Frequency to control ----0101/5. uvcvideo: Adding mapping Hue, Auto to control ----0101/16. uvcvideo: Adding mapping Pan (relative) to control 63610682-5070-49ab-b8cc-b3855e8d2256/1. uvcvideo: Adding mapping Tilt (relative) to control 63610682-5070-49ab-b8cc-b3855e8d2256/1. uvcvideo: Adding mapping Pan/Tilt (reset) to control 63610682-5070-49ab-b8cc-b3855e8d2256/2. uvcvideo: Adding mapping Exposure, Auto to control ----0001/2. uvcvideo: Adding mapping Exposure (Absolute) to control ----0001/4. uvcvideo: Adding mapping White Balance Temperature, Auto to control ----0101/11. uvcvideo: Adding mapping White Balance Temperature to control ----0101/10. uvcvideo: Probing generic UVC device 4 uvcvideo: Found format Uncompressed. uvcvideo: - 640x480 (15.0 fps) uvcvideo: - 352x288 (30.0 fps) uvcvideo: - 320x240 (30.0 fps) uvcvideo: - 176x144 (30.0 fps) uvcvideo: - 160x120 ( 30.0 fps) uvcvideo: - 1280x960 (8.0 fps) uvcvideo: - 1280x1024 (8.0 fps) uvcvideo: Found a Status endpoint (addr 83). uvcvideo: Found UVC 1.00 device unnamed (046d:09b0) uvcvideo: Added control ----0101/2 to device 4 entity 3 uvcvideo: Added control ----0101/3 to device 4 entity 3 uvcvideo: Added control ----0101/7 to device 4 entity 3 uvcvideo: Added control ----0101/8 to device 4 entity 3 uvcvideo: Added control ----0101/9 to device 4 entity 3 uvcvideo: Added control ----0101/1 to device 4 entity 3 uvcvideo: Added control ----0101/4 to device 4 entity 3 uvcvideo: Added control ----0101/5 to device 4 entity 3 uvcvideo: Added control ----0001/2 to device 4 entity 1 uvcvideo: Added control ----0001/4 to device 4 entity 1 uvcvideo: Added control ----0101/11 to device 4 entity 3 uvcvideo: Added control ----0101/10 to device 4 entity 3 uvcvideo: Scanning UVC chain: OT 2 - Unit 3 (- 4 13 12 10) - IT 1 uvcvideo: Found a valid video chain (1 - 2). uvcvideo: UVC device initialized. usbcore: registered new driver uvcvideo USB Video Class driver (v0.1.0) # lsmod | grep uvcvideo uvcvideo 37156 0 compat_ioctl32 1472 1 uvcvideo videodev 21120 1 uvcvideo v4l1_compat12036 2 uvcvideo,videodev v4l2_common20448 2 uvcvideo,videodev usbcore 112644 5 uvcvideo,usbhid,ehci_hcd,uhci_hcd # ll /dev/vid* crw-rw 1 root video 81, 0 2007-05-06 22:46 /dev/video0 # chmod a+r /dev/video0 # ll /dev/vid* crw-rw-r-- 1 root video 81, 0 2007-05-06 22:46 /dev/video0 $ camorama Windows error: Could not connect to video device (/dev/video0). Please check connection # dmesg | tail uvcvideo: uvc_v4l2_open uvcvideo: uvc_v4l2_ioctl v4l1 ioctl VIDIOCGCAP, dir=r- (0x803c7601) v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600) v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) v4l2 ioctl VIDIOC_ENUM_FMT, dir=rw (0xc0405602) v4l2 ioctl VIDIOC_TRY_FMT, dir=rw (0xc0cc5640) uvcvideo: Trying format 0x56595559 (YUYV): 1x1. uvcvideo: Using default frame
Re: [Linux-uvc-devel] (no subject)
On Tue, 27 Mar 2007 23:09:37 +0800, [EMAIL PROTECTED] wrote: is it possible to set some capture properties with modprobe while loading the driver ? Capture image size and framerate would be interesting for webcams. (quickcam pro 5k is able to capture at about 1200x900 which is not allways desired, especially in the field of real time object recognition) The capturing takes about 41% of cpu power on an athlon 64 bit 3700+ processor which is quite a bit. How do you get this high resolution? The camera only has a VGA sensor. I'm assuming you're using the Windows driver, which might allow for software upscaling. If so, did you measure the CPU usage on Windows or Linux? Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] How to reset Quickcam Fusion if it locks up (USB timing bug in hardware)?
On Fri, 06 Apr 2007 06:28:09 +0800, Ian Latter [EMAIL PROTECTED] wrote: Can I add one thought to the root cause; I haven't seen this problem and I'm stuck on USB 1.1. Since the problem is believed to have been traced back to a timing issue - is it possible that this is a USB 2.0 issue (as in, those seeing the problem are using USB 2.0, and could make the problem go away if they connected the same device to a hub, on the same PC, that forced the interface/speed down to USB 1.1)? Yes, it's pretty much confirmed to be a USB 2.0 only issue. Running the camera on a USB 1.1 port or unloading the ehci_hcd driver before plugging it is a feasible workaround, i.e. if you can do without some of the higher YUYV resolutions that require USB 2.0 throughput. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] LQC Pro 5000 picture quality settings
On Tue, 27 Mar 2007 20:31:36 +0800, Ian Latter [EMAIL PROTECTED] wrote: I hadn't heard of Bayer mode before. Seems the PWC project has support for Bayer decoding in pwc-dec23.c; http://iphitus.loudas.com/beyond/2.6.17/2.6.17-beyond3/patches/pwc-2.6.18-backport-fixed.patch Bayer mode is an image encoding standard that's not currently supported by the UVC specification, which is one of the reasons why it probably won't make its way into the UVC driver. Another one is that V4L2 drivers are not supposed to decode the image data. There was a lot of discussion on that topic in the past and the bottom line is that even though there's no unified V4L2 library that could take care of this, drivers are not supposed to do it. This leaves it up to the app to do any sort of decoding. That being said, the UVC driver doesn't really care about the video data that it relays to the app. In the case of some Logitech cameras you can switch them to Bayer mode and then do the decoding in user space. I posted a quick how-to on this topic a while ago, you should be able to find it in the archives. .. and makes mention of this special case; /* special case: VGA @ 5 fps and snapshot is raw bayer mode */ I take it this is the single image capture mode that UVC doesn't support yet? Still image capture is indeed not supported yet. It shouldn't be too difficult to implement but the main question to resolve is: How do you get the still image to the app? V4L2 has no support for this today, so you'd have to come up with another interface. My favorite is dd if=/dev/video0 of=mypic.jpg but nobody's had time to implement that so far. :-) Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] UVC Non-module patch
On Tue, 06 Mar 2007 18:59:52 -0800, Ian Latter [EMAIL PROTECTED] wrote: We will do much better than that. The plan is to get the Linux UVC driver integrated in the mainline kernel. This isn't a straightforward process, as I need to have a few V4L2 controls standardised first. Thanks Laurent -- in the mean time tho .. Gnu style tarballs (uvc-version.tar.gz) would be handy. I agree, with all the people who keep having problems to download the driver it couldn't hurt. :-) Thanks, now that I've been through the workings of the luvcview code, I'm feeling pretty confident. Last night I produced a basic library based on the luvcview v4l2 code .. it looks promising. If I get my camera running, I'll give you the USB id's, because it shows up as unknown. The device showing up as unknown is not a problem, it just means that you have a generic UVC device that doesn't need any special treatment (unlike the few Logitech ones that are hardcoded). Unfortunately the driver usually has no way of reading a descriptive name from the device. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Quick Cam Pro 5000 046d:08ce don't run on Ubuntu Feisty Fawn
it works now! And I'm a little ashamed of why it didn't before: svn diff -r HEAD Index: Makefile === --- Makefile(Revision 89) +++ Makefile(Arbeitskopie) @@ -1,6 +1,6 @@ KERNEL_VERSION := `uname -r` KERNEL_DIR := /lib/modules/$(KERNEL_VERSION)/build -INSTALL_MOD_DIR:= usb/media +INSTALL_MOD_DIR:= kernel/ubuntu/media/usbvideo PWD:= $(shell pwd) adding the trace messages showed me, that I wasn't using the downloaded module at all, but the module provided by ubuntu. If you don't mind I'll drop a bugreport at https://launchpad.net/ telling em that the uvcvideo module they provide is outdated. Martin Laurent Pinchart schrieb: On Tuesday 20 February 2007 22:05, Martin Funk wrote: Hi Thomas, verry same output of v4l-video here, just the bus_info differs. It also makes no difference if the given uvc_ids is added to the code or not. Here's what bothers me in your kernel log: [ 284.165685] uvcvideo: uvc_v4l2_ioctl [ 284.165691] v4l2 ioctl VIDIOC_STREAMON, dir=-w (0x40045612) [ 284.165967] uvcvideo: uvc_v4l2_ioctl [ 284.165970] v4l2 ioctl VIDIOC_DQBUF, dir=rw (0xc0585611) [ 284.166061] uvcvideo: Dequeuing buffer 0. [ 284.171785] uvcvideo: Dropping packet (out of sync). [ 284.171788] uvcvideo: Dropping packet (out of sync). [ 284.171790] uvcvideo: Dropping packet (out of sync). [ 284.171791] uvcvideo: Dropping packet (out of sync). Right after started streaming, the application tries to dequeue the first buffer using VIDIOC_DQBUF. The ioctl checks the first buffer in the queue (which is buffer 0) and blocks until the buffer is filled with image data. It seems from what you reported that this never happens. The driver keeps printing out-of-sync messages, and that shouldn't happen. An out-of-sync message can happen from times to times, but definitely not at the very beginning. Could you hack uvc_video.c to print more information in the out of sync message, such as the buffer number (buff-buf.index) and state (buff-buf.index) ? 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] Quick Cam Pro 5000 046d:08ce don't run on Ubuntu Feisty Fawn
Hi, sorry for reheating my question, but I'm still in search of the component to blame, that the cam is not working. I understand that the Linux distro I'm using is in alpha state so problems have to be expected. It's a Ubuntu Feisty Fawn on a amd64 dual core and uname -a tells me: Linux fnk64-desktop 2.6.20-8-generic #2 SMP Tue Feb 13 01:14:41 UTC 2007 x86_64 GNU/Linux Maybe someone can give me a hint on where to tweak the logging to get more information. I'm not much of a c-programmer and far off understanding the architecture of the uvcvideo module, but I should be able to add another uvc_trace here or there. Kölle Alaaf, Martin Funk Martin Funk schrieb: I dug a little deeper into this. Before I this I didn't know how to set the trace level for a kernel module, but now I think I do. At least this sudo modprobe uvcvideo trace=0x made the module very talkative: The first messages seem to belong to the startup phase of the driver. At [284.099774] i started luvcview Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790239] uvcvideo: Probing generic UVC device 4.4 Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790251] uvcvideo: Found format MJPEG. Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790253] uvcvideo: - 160x120 (30.0 fps) Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790256] uvcvideo: - 176x144 (30.0 fps) Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790258] uvcvideo: - 320x240 (15.0 fps) Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790261] uvcvideo: - 352x288 (15.0 fps) Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790263] uvcvideo: - 640x480 (15.0 fps) Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790265] uvcvideo: Found format Uncompressed. Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790267] uvcvideo: - 160x120 (30.0 fps) Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790269] uvcvideo: - 176x144 (30.0 fps) Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790272] uvcvideo: - 320x240 (15.0 fps) Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790274] uvcvideo: - 352x288 (15.0 fps) Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790276] uvcvideo: - 640x480 (15.0 fps) Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790283] uvcvideo: Found a Status endpoint (addr 87). Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790286] uvcvideo: Found UVC 1.00 device unnamed (046d:08ce) Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790288] uvcvideo: Scanning UVC chain: OT 5 - Unit 4 - Unit 3 - Unit 2 - IT 1 Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790293] uvcvideo: Found a valid video chain (1 - 5). Feb 14 23:54:48 fnk64-desktop kernel: [ 244.799665] uvcvideo: UVC device initialized. Feb 14 23:54:48 fnk64-desktop kernel: [ 244.799725] usbcore: registered new interface driver uvcvideo Feb 14 23:54:48 fnk64-desktop kernel: [ 244.799797] USB Video Class driver (v0.1.0-c) Feb 14 23:54:48 fnk64-desktop NetworkManager: debug info^I[1171493688.045799] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_video4linux'). Feb 14 23:55:14 fnk64-desktop kernel: [ 255.904563] usbcore: deregistering interface driver uvcvideo Feb 14 23:55:14 fnk64-desktop NetworkManager: debug info^I[1171493714.727154] nm_hal_device_removed (): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_video4linux'). Feb 14 23:55:33 fnk64-desktop kernel: [ 263.893769] Linux video capture interface: v2.00 Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895334] uvcvideo: Probing generic UVC device 4.4 Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895347] uvcvideo: Found format MJPEG. Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895349] uvcvideo: - 160x120 (30.0 fps) Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895352] uvcvideo: - 176x144 (30.0 fps) Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895354] uvcvideo: - 320x240 (15.0 fps) Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895357] uvcvideo: - 352x288 (15.0 fps) Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895359] uvcvideo: - 640x480 (15.0 fps) Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895361] uvcvideo: Found format Uncompressed. Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895363] uvcvideo: - 160x120 (30.0 fps) Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895365] uvcvideo: - 176x144 (30.0 fps) Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895368] uvcvideo: - 320x240 (15.0 fps) Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895370] uvcvideo: - 352x288 (15.0 fps) Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895372] uvcvideo: - 640x480 (15.0 fps) Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895381] uvcvideo: Found a Status endpoint (addr 87). Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895384] uvcvideo: Found UVC 1.00 device unnamed (046d:08ce) Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895387] uvcvideo: Scanning UVC chain: OT 5 - Unit 4 - Unit 3 - Unit 2 - IT 1 Feb 14 23:55:33 fnk64
Re: [Linux-uvc-devel] Quick Cam Pro 5000 046d:08ce don't run on Ubuntu Feisty Fawn
Hi Thomas, verry same output of v4l-video here, just the bus_info differs. It also makes no difference if the given uvc_ids is added to the code or not. Martin Thomas Schlesinger schrieb: Original-Nachricht Datum: Tue, 20 Feb 2007 09:56:15 +0100 Von: Martin Funk [EMAIL PROTECTED] An: linux-uvc-devel@lists.berlios.de CC: Betreff: Re: [Linux-uvc-devel] Quick Cam Pro 5000 046d:08ce don\'t run on Ubuntu Feisty Fawn Hi, sorry for reheating my question, but I'm still in search of the component to blame, that the cam is not working. I understand that the Linux distro I'm using is in alpha state so problems have to be expected. Hi, I've bought this Webcam yesterday, too, in trust of http://linux-uvc.berlios.de/#devices. I want to add the output of v4l-video here, hoping it helps somehow ;-) I've modified the usb_driver.c of uvc, like mentioned in another posting: static struct usb_device_id uvc_ids[] = { { .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_INFO, .idVendor = 0x046d, .idProduct = 0x08ce, .bInterfaceClass = USB_CLASS_VENDOR_SPEC, .bInterfaceSubClass = 1, .bInterfaceProtocol = 0 }, [..] This is the output of v4l-info: [EMAIL PROTECTED]:~$ v4l-info ### v4l2 device info [/dev/video0] ### general info VIDIOC_QUERYCAP driver : uvcvideo card: USB Video Class device bus_info: :00:1d.7 version : 0.1.0 capabilities: 0x401 [VIDEO_CAPTURE,STREAMING] standards inputs VIDIOC_ENUMINPUT(0) index : 0 name: Camera type: CAMERA audioset: 0 tuner : 0 std : 0x0 [] status : 0x0 [] video capture VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE) index : 0 type: VIDEO_CAPTURE flags : 1 description : MJPEG pixelformat : 0x47504a4d [MJPG] VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE) index : 1 type: VIDEO_CAPTURE flags : 0 description : Uncompressed pixelformat : 0x56595559 [YUYV] VIDIOC_G_FMT(VIDEO_CAPTURE) type: VIDEO_CAPTURE fmt.pix.width : 160 fmt.pix.height : 120 fmt.pix.pixelformat : 0x47504a4d [MJPG] fmt.pix.field : NONE fmt.pix.bytesperline: 0 fmt.pix.sizeimage : 38400 fmt.pix.colorspace : SRGB fmt.pix.priv: 0 controls VIDIOC_QUERYCTRL(BASE+0) id : 9963776 type: INTEGER name: Brightness minimum : 0 maximum : 255 step: 1 default_value : 127 flags : 0 VIDIOC_QUERYCTRL(BASE+1) id : 9963777 type: INTEGER name: Contrast minimum : 0 maximum : 255 step: 1 default_value : 32 flags : 0 VIDIOC_QUERYCTRL(BASE+2) id : 9963778 type: INTEGER name: Saturation minimum : 0 maximum : 255 step: 1 default_value : 32 flags : 0 VIDIOC_QUERYCTRL(PRIVATE_BASE+0) id : 134217728 type: INTEGER name: Backlight Compensation minimum : 0 maximum : 2 step: 1 default_value : 1 flags : 0 VIDIOC_QUERYCTRL(PRIVATE_BASE+1) id : 134217729 type: MENU name: Power Line Frequency minimum : 0 maximum : 2 step: 1 default_value : 2 flags : 0 VIDIOC_QUERYCTRL(PRIVATE_BASE+2) id : 134217730 type: INTEGER name: Sharpness
Re: [Linux-uvc-devel] Quick Cam Pro 5000 046d:08ce don't run on Ubuntu Feisty Fawn
Hi Laurent, luvcview response with this on the shell: luvcview version 0.2.0 Video driver: x11 A window manager is available video /dev/video0 a new window with the title LUVCview(c)Laurent Pinchart Michel Xhaard is opened. The green light on the cam is turned on. There are no messages in any log file, but: No pictures to be seen nowhere :-( luvcview seems to see the device though, since: luvcview -L luvcview version 0.2.0 Video driver: x11 A window manager is available video /dev/video0 /dev/video0 does not support read i/o { pixelformat = 'MJPG', description = 'MJPEG' } { pixelformat = 'YUYV', description = 'Uncompressed' } Also uvcvideo seems to see something of the device, since a push on the cam button leads to this entry: Feb 14 10:41:52 fnk64-desktop kernel: [ 1505.024051] uvcvideo: Button event (1). Feb 14 10:41:52 fnk64-desktop kernel: [ 1505.123872] uvcvideo: Button event (0). in the syslog. The XWindow can't be closed either. luvcvideo responses with Stop asked but doesn't close the window. To close the window I do a kill -9 on luvcvideo. By the way Ekiga can't drive the video either, but it can drive the cam's microphone. Anything else, I can do to assist? Martin Laurent Pinchart schrieb: Hi Martin, I just got myself a QuickCam Pro 5000 046d:08ce it runs using Windows, but using Linux I have problems When I plug in the cam ist is recognized by lsusb: Bus 002 Device 019: ID 046d:08ce Logitech, Inc. [...] Linux video capture interface: v2.00 uvcvideo: Found UVC 1.00 device unnamed (046d:08ce) This line is good news, it means the driver recognised your webcam and initialised it successfully. usbcore: registered new interface driver uvcvideo USB Video Class driver (v0.1.0-c) and a crw-rw 1 root video 81, 0 2007-02-13 17:43 /dev/video0 is created. That's good too. Unfortunately when I start xawtv The little green lamp is turned on but I see this on the shell xawtv is not known to work the the Linux UVC driver. Could you try luvcview and see if you're more successful ? Best regards, Laurent Pinchart ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] Quick Cam Pro 5000 046d:08ce don't run on Ubuntu Feisty Fawn
Hi, I just got myself a QuickCam Pro 5000 046d:08ce it runs using Windows, but using Linux I have problems When I plug in the cam ist is recognized by lsusb: Bus 002 Device 019: ID 046d:08ce Logitech, Inc. I got URL: svn://svn.berlios.de/linux-uvc/linux-uvc/trunk in Revision: 88 I made the little: make all sudo make install I think I also made sudo modprobe uvcvideo anyway when I plug the cam out/in i find this in the syslog Feb 13 17:43:06 fnk64-desktop kernel: [ 5558.432070] usb 2-4.4: new high speed USB device using ehci_hcd and address 23 Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.425407] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1'). Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.494433] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_alsa_capture_0'). Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.572748] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_oss_pcm_0'). Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.705243] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_oss_pcm_0_0'). Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.722874] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_oss_mixer__1'). Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.730878] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_if3'). Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.732857] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_if2'). Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.734673] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_if2_alsa_control__1'). Feb 13 17:43:06 fnk64-desktop kernel: [ 5558.526977] usb 2-4.4: configuration #1 chosen from 1 choice Feb 13 17:43:06 fnk64-desktop kernel: [ 5558.680078] Linux video capture interface: v2.00 Feb 13 17:43:06 fnk64-desktop kernel: [ 5558.681719] uvcvideo: Found UVC 1.00 device unnamed (046d:08ce) Feb 13 17:43:06 fnk64-desktop kernel: [ 5558.710975] usbcore: registered new interface driver uvcvideo Feb 13 17:43:06 fnk64-desktop kernel: [ 5558.710981] USB Video Class driver (v0.1.0-c) Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.852581] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_if1'). Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.899166] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_if0'). Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.927331] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_video4linux'). Feb 13 17:43:06 fnk64-desktop NetworkManager: debug info^I[1171384986.927850] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_usbraw'). and a crw-rw 1 root video 81, 0 2007-02-13 17:43 /dev/video0 is created. Unfortunately when I start xawtv The little green lamp is turned on but I see this on the shell This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.20-8-generic) /dev/video0 [v4l2]: no overlay support v4l-conf had some trouble, trying to continue anyway Warning: Cannot convert string -*-ledfixed-medium-r-*--39-*-*-*-c-*-*-* to type FontStruct ioctl: VIDIOC_G_STD(std=0x7fff55eeb4a4 [PAL_G,PAL_D,PAL_K,PAL_Nc,NTSC_M,NTSC_M_JP,?,SECAM_D,SECAM_G,SECAM_H,SECAM_K1,SECAM_L,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument Xlib: extension GLX missing on display :0.0. ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument v4l2: oops: select timeout and this in the kern.log Feb 13 17:48:56 fnk64-desktop kernel: [ 5734.284810] uvcvideo: Failed to query (130) UVC control 1 (unit 0) : -32 (exp: 26). Feb 13 17:48:56 fnk64-desktop kernel: [ 5734.288033] uvcvideo: Failed to query (1) UVC control 2 (unit 0) : -32 (exp: 26). I don't have no good questions on the problem no more by the way: uname -a Linux fnk64-desktop 2.6.20-8-generic #2 SMP Tue Feb 13 01:14:41 UTC 2007 x86_64 GNU/Linux Tell me where to be more specific to help to solve this. Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de
Re: [Linux-uvc-devel] (no subject)
On Thu, 08 Feb 2007 14:19:18 -0800, Laurent Pinchart [EMAIL PROTECTED] wrote: Hi David, I bought a Logitech Quickcam Pro 5000 today and tried to use it with ekiga. Sometimes it works and other times I get this error at the beginning or in the middle of a session: Your driver doesn't seem to support any of the color formats supported by Ekiga. Please check your kernel driver documentation in order to determine which Palette is supported. I have to unplug the camera and plug it in again to get it to work again. The log shows this: It seems you are experiencing the dreadful Logitech hardware bug :-( I don't think you can do much here. Martin, can you confirm ? It does indeed look like it. Ekiga has always been very good at triggering it ... uvcvideo: UVC device initialized. usbcore: registered new interface driver uvcvideo USB Video Class driver (v0.1.0) uvcvideo: Trying format 0x56595559 (YUYV): 720x480. uvcvideo: Using default frame interval 3.3 us (30.0 fps). uvcvideo: Trying format 0x56595559 (YUYV): 1x480. uvcvideo: Using default frame interval 3.3 us (30.0 fps). uvcvideo: Control 0x00980903 not found. uvcvideo: Control 0x00980903 not found. uvcvideo: Control 0x00980909 not found. uvcvideo: Failed to resubmit video URB (-1). uvcvideo: Failed to resubmit video URB (-1). uvcvideo: Failed to resubmit video URB (-1). uvcvideo: Failed to resubmit video URB (-1). uvcvideo: Failed to resubmit video URB (-1). uvcvideo: Failed to resubmit video URB (-1). uvcvideo: Failed to resubmit video URB (-1). This puzzles me as well. Those errors are probably not fatal to the problem you are experiencing, but they still should not happen. Agreed. I've seen these before, they were always harmless, but I never really found the connection to the other problem. I think I saw them happen independently, but I'm not sure anymore ... Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] green screen
Does your Proscope work with any other applications like luvcview? If so, there might be a bug in the Ekiga decoder, in which case you should take your request to the Ekiga developers. Cheers, Martin On Sat, 27 Jan 2007 10:48:16 -0800, Gene Imes [EMAIL PROTECTED] wrote: My Bodelin ProScopeHR renders a green screen in Ekiga. I can see video. A screenshot is here: http://ozob.net/luvc/ekiga-screen-shot.jpg Thanks for any help, ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Jumbled images from Logitech Quickcam 5000
Hi Lee, I don't see your point, the landscape and the colors in your pictures look perfectly fine. ;-) On a more serious note, I haven't seen anything similar myself. Could you check your camera with luvcview to see if the pictures are also jumbled up? If yes, I would be very surprised. If not, can you try if you can get Motion to use the YUV format instead of MJPEG (which it seems to be using now)? You may also want to capture some raw frames with luvcview (check the -h option) to analyze them--or have the Motion people analyze them. The driver really does nothing to the image data, so image corruption is rarely the driver's fault. Let us know if you find something ... Cheers, Martin On Mon, 29 Jan 2007 07:28:38 -0800, Lee Wild [EMAIL PROTECTED] wrote: Hi I'm running a Logitech Quickcam Pro 5000 webcam from a machine installed with Fedora Core 6. I built the linux-uvc drivers, and am running Motion webcam software. It's been a long road to get everything to build correctly and get this far, however My problem is that the majority of images being output are jumbled up, a bit like some sliding-block puzzle, here are a couple of examples: http://ukselfbuild.com/webcam/2007/January/29/cam2/2007-01-29-15-00-00-snapshot.jpg http://ukselfbuild.com/webcam/2007/January/29/cam2/2007-01-29-08-00-00-snapshot.jpg I first asked for support from the people behind Motion, but they are thinking the issue is to do with the linux-uvc driver. Does anyone have any ideas what might be causing this, and how I might get around it ? Many thanks Lee ___ 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
[Linux-uvc-devel] Sony Vaio VGN-SZ3VWP/X built-in laptop webcam
Hi Daniel, Unfortunately, this camera isn't a UVC webcam either. Below are instructions how you can find out ... Unless you know what kind of chipset the camera uses you might have a hard time finding a driver. Maybe you can tell from the Windows driver? Cheers, Martin Use the lsusb tool and look for video class interfaces like this: (In this example, the VID is 046d and the PID is 08cb.) lsusb -d 046d:08cb -v | grep 14 Video If your device is a UVC device, you should see a number of lines that look like this: bFunctionClass 14 Video bInterfaceClass14 Video bInterfaceClass14 Video bInterfaceClass14 Video In this case the Linux UVC driver should recognize your camera when you plug it in. If there are no such lines, your device is not a UVC device. -Original Message- From: Daniel Storm [mailto:[EMAIL PROTECTED] Sent: Monday, January 29, 2007 9:54 AM To: [EMAIL PROTECTED] Subject: [Linux-uvc-devel] HP Pavillon dv6000 built-in laptop webcam Hi Martin, Apologies for the direct mail, rather than to the uvc-devel list (I'm not a member right now). Here's another Ricoh built in webcam from a Sony Vaio PCG-6N1M (or VGN-SZ3VWP/X if you prefer). It's a different model to the one you listed in your post. I don't know whether this card is already supported by the uvc driver, the source didn't build or mention Ricoh, so I hope this mail isn't a waste of your time. Please feel free to pass my details to anyone constructing a letter to Ricoh requesting technical details (as long as my email isn't published). Dan # lsusb -v -s 005:003 Bus 005 Device 003: ID 05ca:1830 Ricoh Co., Ltd Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x05ca Ricoh Co., Ltd idProduct 0x1830 bcdDevice1.00 iManufacturer 0 iProduct0 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 78 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 6 Imaging bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes3 Transfer TypeInterrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x86 EP 6 IN bmAttributes1 Transfer TypeIsochronous Synch Type None Usage Type Data wMaxPacketSize 0x 1x 0 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 1 bNumEndpoints 2 bInterfaceClass 6 Imaging bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes3 Transfer TypeInterrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x86 EP 6 IN bmAttributes1 Transfer TypeIsochronous Synch Type None Usage Type Data wMaxPacketSize 0x0c00 2x 0 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 2 bNumEndpoints 2 bInterfaceClass 6 Imaging bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface
Re: [Linux-uvc-devel] Automatic Gain Control
Hi Michel, On Thu, 11 Jan 2007 00:07:46 -0800, Michel Xhaard [EMAIL PROTECTED] wrote: The zero step size for the absolute exposure time is obviously wrong. I don't currently have my USB analyzer to check what's going on there. I found the problem in the driver. There is a bug in the uvc_get_le_value function, which leads to wrong values when reading 32-bit wide controls. I have a patch and I'll submit it to Laurent. The control now looks as follows: Exposure (Absolute) ID : 17, Type: Dword, Flags : { CAN_READ, CAN_WRITE, IS_CUSTOM }, Values : [ 1 .. 1, step size: 1 ], Default : 166 Also, I get errors when I try to read these controls. This seems to be why the controls don't work in luvcview. Another bug in the control definition in the UVC driver. Certain controls were accidentally marked as write-only, which explains the error. It's part of the patch that I mentioned, it should be fixed soon in the repository. Yes luvcview used the step value. We'll post a message to the list as soon as the patch is committed. It would be great if you could retest it ... Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] -Werror fixes for uvcvideo
On Thu, 01 Feb 2007 12:12:00 -0800, Luigi Rizzo [EMAIL PROTECTED] wrote: one reason of concern is a note about future support that i misread in http://gcc.gnu.org/onlinedocs/gcc/Unnamed-Fields.html: ... For example, this structure: ... It is ambiguous which a is being referred to with `foo.a'. Such constructs are not supported and must be avoided. In the future, such constructs may be detected and treated as compilation errors. maybe the note on treating these as errors in the future refers only to ambiguous constructs and not to all unnamed unions. Yes, indeed. In our case there is no ambiguity. The whole struct becomes much easier to read if the unions are anonymous. the other reason for concern is ease of porting to other systems -- things like pragmas and attributes are easy to remap with a one time #define, but unnamed extensions are a pain to handle because you have to modify all references to the fields in the source. and of course - there is the issue of code safety, because 1)this feature can cause ambiguous constructs, and 2) it doesn't suggest the programmer that multiple items are sharing the same memory location. The union name at least gives you some hints, especially if you call it 'u' ... I somewhat agree with the portability part. However, these Linux system structures (they're part of V4L2 and, therefore, the official Linux kernel) are not designed to be portable. And given the wide availability of gcc I think you'd have a hard time finding a platform to port V4L2 to that doesn't support these constructs. If you want, you can raise the discussion on the V4L2 mailing list. When we proposed the changes we were really just trying to fit in to what was already there. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Automatic Gain Control
Hi all, On Mon, 08 Jan 2007 12:08:38 -0800, Laurent Pinchart [EMAIL PROTECTED] wrote: The thing is that I am trying to disable the camera auto gain. Martin, by the way, is it necessary to put the webcam in bayer mode to disable the auto-exposure ? Or would the auto-exposure mode control do the job alone ? I think what you're doing by enabling raw Bayer mode shoots way over the top of what you want. Have you checked out this one here? https://lists.berlios.de/pipermail/linux-uvc-devel/2006-December/001099.html This disables auto gain/exposure mode and should be what you're looking for. That's right. The Quickcam Ultra Vision might have slightly different controls. I have no such model here, so I can't test the patch. Maybe Martin could have a look. This control is the same for the Ultra Vision as for the other controls. IIRC we're talking about a standard UVC control here anyway. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Automatic Gain Control
Jose, On Tue, 09 Jan 2007 06:53:29 -0800, Jose Luis Landabaso [EMAIL PROTECTED] wrote: I have arrived to a point in which I'm very confused. I have learnt that you can only turn off the color processing when the camera is not capturing. True. So, I stop the capture program, and then run bayer. If I disable color processing I cannot run my capture program again since. I always get: select timeout VIDIOC_DQBUF error 11, Resource temporarily unavailable When I turn again the video processing on then the program works fine again. Any ideas? I'm assuming you're not using any of the native resolutions for which raw mode works. Quoting from the FAQ entry: For 1.3 MP cameras raw mode may only work in the camera's native resolutions, which are 960x720 or 1280x960. If color processing is disabled and streaming is started in a not supported resolution, the camera sends no data and the application may appear to hang. This would certainly explain the timeout. What camera are you using and at which resolution? Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Automatic Gain Control
Michel, On Mon, 08 Jan 2007 12:30:05 -0800, Michel Xhaard [EMAIL PROTECTED] wrote: I just upload a new revision of luvcview with pan/tilt fix, a lot of improvements. Cool! :-) Seem strange that we cannot change the exposure in manuel mode ? There should be a control to set the absolute exposure time ... Is there a way to set/reset the autowhite balance too ? a lot of robotic project need these features ... and one for white balance temperature. I'll double check tomorrow on my Linux machine but those are standard UVC controls that our cameras support. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] QuickCam Fusion lockup
Brian, On Tue, 09 Jan 2007 15:46:37 -0800, Brian [EMAIL PROTECTED] wrote: Disappointing, can firmware be uploaded to webcams? No, sorry, the only way to update the firmware is a soldering iron. :-| My webcam appears to be working fine, I have tested it by leaving it running for extended periods. The only thing that 'seems' to trigger the problem is if I stop and start it several times. The problem never occurs during simple streaming, it is triggered only by control requests. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] QuickCam Fusion lockup
Given that a good chunk of cameras people are using are sometimes not functional, i think it would be good to put something on the website about this. I own two webcams that exhibit these problems regularly, and have been messing with various versions of the reset patch, trying to get better behavior. (Discussed here: http://www.mail-archive.com/linux-uvc-devel@lists.berlios.de/msg00322.html ) What is the opinion on putting some version of this hack in trunk? (even if temporarily) Evgeny mentioned about a month ago that he was about to publish a new patch that should improve the behavior on most machines. I don't know the state of that. Any updates, Evgeny? :-) Basically, we were waiting for that, but the plan is indeed to either integrate such a hack into the trunk or, at least, put it up for download. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Automatic Gain Control
Hey, Actually, it couldn't be much simpler. I think what you're looking for is the Exposure, Auto control, which looks something like this: Auto-exposure mode ID : 15, Type: Choice, Flags : { CAN_READ, CAN_WRITE }, Values : { 'Manual'[1], 'Aperture priority'[8] }, Default : 8 Setting the control to 1 disables auto-gain and setting it back to 8 reenables it. If you look at the UVC specification you'll see the meaning of the different bits, but 1 and 8 are the only values supported by the Logitech cameras. Cheers, Martin On Wed, 06 Dec 2006 11:12:15 +0100, andrea giachetti [EMAIL PROTECTED] wrote: Hi Is there a way tro disable the automtic gain control of Logitech QuickCam Fusion webcams using linux-uvc? Thanks in advance andrea giachetti ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] max fps that can be achieved using logitech fusion webcam
Streaming VGA at 30 fps definitely works. The problem is that many applications can't or don't set the frame rate correctly when they start the stream. So what happens is that the driver just takes a default frame rate, which is not necessarily the highest possible. GStreamer's v4l2src plugin can set the frame rate, so you may want to try something like: gst-launch v4l2src ... ! xvimagesink and give the correct arguments to v4l2src. You should be able to capture video into a file at 30 fps using a more sophisticated pipeline. Cheers, Martin On Wed, 20 Dec 2006 19:28:57 +0100, Francisco Vera [EMAIL PROTECTED] wrote: I need to know what is the max fps for the logitech fusion. In the past days I have read almost all the messages fron the last two months from this list, the discussion on the thread Trouble recording from two webcams was illuminating, and the table from http://www.mail-archive.com/linux-uvc-devel%40lists.berlios.de/msg00306.html from logitech, it is clear that 30 fps can be achieved in mjpeg and yuv modes, real tests with other logitech cameras report 15 fps at 640x480 and 10 fps at 960x720. When I installed the fusion on my windows xp using the software bundled with this camera, one can record video at a resolution of 640x480, but when playing this video on linux one can see that the video is only at 15 fps. Yesterday I got the uvcvideo driver from cvs (split branch) and installed in my debian sid pc. Luvcview works at 640x480 15 fps in mjpeg mode and 1024x576 10 fps in yuv mode. I can record video using: ffmpeg -an -r 50 -y -vd /dev/video0 -sameq -t 4 -s 1024x576 test.avi and ffmpeg say: - [video4linux2 @ 0xb7ef0610][4]Capabilities: 401 Input #0, video4linux2, from '': Duration: N/A, bitrate: N/A Stream #0.0: Video: rawvideo, yuv422, 1024x576, 471859 kb/s, 50.00 fps(r) Output #0, avi, to 'test.avi': Stream #0.0: Video: mpeg4, yuv420p, 1024x576, q=2-31, 200 kb/s, 50.00 fps(c) -- But this video has duplicate frames (5) so in reality it is only 10 fps, trying other frame rates also produce duplicated frames and 10 fps effective. I can also view video with mplayer using (in a window or full window): ffmpeg -an -vd /dev/video0 -s 1024x576 -r 10 -b 5000 -y -vcodec mpeg4 -f avi - | /usr/bin/mplayer - If someone find how to record video un mjpeg mode with ffmpeg, please post to this list. installing: apt-get install libpt-plugins-V4L2 allows ekiga to works, but it is inestable. installing v4l2ucp-1.2 allows to change some parameters for the camera I have looked into the code but appears like the code automatically detect the best frame rate for the camera?. Does someone knows if it is possible to capture 30 fps with these cameras in 640x480? I need this information urgent because if it is possible, in these days I will buy 3 more of these cams. if not I will have to go to plan B, and buy a non expensive digital cameras (not a webcam) that can grab video at 640x480 and 30 fps. I really appreciate the work from the people involved in this driver, Regards, Francisco ___ 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] Integrated HP dv6000 laptop webcam
Hi Federico, It seems the HP dv6000 comes with different webcam modules and we're trying to find out a little more about it. Would you mind posting the output of: lsusb -d 0c45:62c0 -v (Or whatever VID/PID your webcam has ...) That would really help us a lot! Thanks, Martin On Tue, 28 Nov 2006 16:58:46 +0100, Federico Quagliata [EMAIL PROTECTED] wrote: So far I managed to get it working only in Ekiga. Kopete shows a green screen, and both xawtv and mplayer complain about ioctl invalid arguments errors. Here's mplayer (green screen too) output: $ mplayer tv:// -tv driver=v4l2 MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team (...) Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski [EMAIL PROTECTED] comment: first try, more to come ;-) v4l2: ioctl get standard failed: Invalid argument Selected device: USB 2.0 Camera Capabilites: video capture streaming supported norms: inputs: 0 = Camera; Current input: 0 Current format: YUYV v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl enum norm failed: Invalid argument Error: Cannot set norm! Selected input hasn't got a tuner! v4l2: ioctl set mute failed: Invalid argument FPS not specified in the header or invalid, use the -fps option. No stream found. v4l2: ioctl set mute failed: Invalid argument v4l2: 0 frames successfully processed, 0 frames dropped. Exiting... (End of file) Output from dmesg: uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0) usbcore: registered new driver uvcvideo uvcvideo: Failed to query (1) UVC control 2 (unit 3) : -32. uvcvideo: Failed to query (1) UVC control 6 (unit 3) : -32. uvcvideo: Failed to query (1) UVC control 2 (unit 3) : -32. uvcvideo: Failed to query (1) UVC control 6 (unit 3) : -32. (and so on...) Greetings, Federico ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Automatic Gain Control
The only way I can think of is to completely disable the color processing. This gives you access to the raw Bayer data, therefore disabling any (!) sort of automatic adjustments. If that sounds like something you want to try, let me know and I'll post some doc on how to do that. Also, I'll ask around a bit and see if there are any other ways ... Cheers, Martin On Thu, 07 Dec 2006 09:21:11 +0100, Andrea Giachetti [EMAIL PROTECTED] wrote: Hi Thanks for the quick answer. I bought two webcams for a gesture tracking system, but, using thresholding and color segmentation I'd lile to disable the automatic adjustments. isn't there any way? regards andrea ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Automatic Gain Control
Hi Evgeny, Is this possible for Logitech QuickCam 5000? Accesing raw data is really important for me. Yes, it should work with all current Logitech UVC cameras. I've attached a few instructions and files that should help you. Sorry for the poor layout, I just extracted it from the Wiki I'm currently preparing. A nicer version will be publicly available soon ... Cheers, Martin quickcam-raw.tar.gz Description: GNU Zip compressed data ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] unstable pictures with logitech pro 5000
Hi Simon, I did a little testing with linphone. I downloaded 1.5.1 and enabled HAVE_LINUX_VIDEODEV2_H by hand. Is that supposed to be this way? (In the future, please specify the version you work with.) After I got it running I had very different runs: 1. Sometimes it worked fine, the video seemed okay, no errors, etc. I still got a lot of errors, though. See trace 1 (taken with --verbose) below. 2. Usually when I ran it without --verbose it crashed when I enabled video with Xlib: unexpected async reply (sequence 0x3a12)! (different numbers each time). It crashed more often than not but for the times it didn't, the traces looked like trace 2 below. 3. One time I was able to reproduce the screwed up pictures you mentioned. IIRC --verbose was disabled. My ideas: I would first try to analyze where the VIDIOC_QBUF failed: Invalid argument comes from. Something's really wrong there. Also, the Xlib errors you get, the different behavior with --verbose enabled/disabled, as well as the screwed up picture might hint at some synchronization issues in your program. I've seen those in the past when I wrote webcam software. It's unlikely that the errors you see are actually the camera's fault. The EOF in empty packet. are harmless and if you use a newer driver version, they shouldn't appear anymore (except in debug mode, but as I mentioned, that's harmless). If you really think the MJPEG stream is broken, try to use the YUV mode instead and see what it gives you. If your picture has green areas or spots, the data gets corrupted somewhere. Cheers, Martin *** Trace 1 ** ortp-message-v4l_start: open, fd=28 ortp-message-v4lv2: MJPEG choosen ortp-message-ms_filter_link: MSV4l:0x81dad40,0--MSMJpegDec:0x81f91f0,0 ortp-message-ms_filter_link: MSMJpegDec:0x81f91f0,0--MSSdlOut:0x81e46b0,0 ortp-message-v4l_thread starting ortp-warning-VIDIOC_QBUF failed: Invalid argument ortp-warning-VIDIOC_QBUF failed: Invalid argument ortp-warning-VIDIOC_QBUF failed: Invalid argument [mjpeg @ 0xb6c9d9a8]only 8 bits/component accepted ortp-warning-ms_AVdecoder_process: error -1. ortp-warning-VIDIOC_QBUF failed: Invalid argument ortp-warning-VIDIOC_QBUF failed: Invalid argument ortp-message-Using yuv overlay. ortp-message-YUV overlay using hardware acceleration. ortp-warning-We are late of 73 miliseconds. [mjpeg @ 0xb6c9d9a8]only 8 bits/component accepted ortp-warning-ms_AVdecoder_process: error -1. ortp-warning-VIDIOC_QBUF failed: Invalid argument ortp-warning-VIDIOC_QBUF failed: Invalid argument [mjpeg @ 0xb6c9d9a8]mjpeg: unsupported coding type (cf) [mjpeg @ 0xb6c9d9a8]invalid id 255 ortp-warning-ms_AVdecoder_process: error -1. ortp-warning-VIDIOC_QBUF failed: Invalid argument ortp-warning-VIDIOC_QBUF failed: Invalid argument [mjpeg @ 0xb6c9d9a8]only 8 bits/component accepted ortp-warning-ms_AVdecoder_process: error -1. ortp-warning-VIDIOC_QBUF failed: Invalid argument ortp-warning-VIDIOC_QBUF failed: Invalid argument *** Trace 2 ** [mjpeg @ 0xb6cc49a8]invalid id 255 [mjpeg @ 0xb6cc49a8]only 8 bits/component accepted [mjpeg @ 0xb6cc49a8]invalid id 255 [mjpeg @ 0xb6cc49a8]only 8 bits/component accepted [mjpeg @ 0xb6cc49a8]invalid id 255 [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]mjpeg: unsupported coding type (c8) [mjpeg @ 0xb6cc49a8]huffman table decode error [mjpeg @ 0xb6cc49a8]invalid id 255 [mjpeg @ 0xb6cc49a8]only 8 bits/component accepted [mjpeg @ 0xb6cc49a8]invalid id 255 [mjpeg @ 0xb6cc49a8]only 8 bits/component accepted [mjpeg @ 0xb6cc49a8]invalid id 255 [mjpeg @ 0xb6cc49a8]only 8 bits/component accepted [mjpeg @ 0xb6cc49a8]invalid id 255 [mjpeg @ 0xb6cc49a8]only 8 bits/component accepted On Thu, 07 Dec 2006 14:31:16 +0100, Simon Morlat [EMAIL PROTECTED] wrote: Hello, I've bought a Logitech Quickcam Pro 5000 (Bus 004 Device 003: ID 046d:08c5 Logitech, Inc.), and I've got some problems with it and the uvc driver. I use linphone (a sip video phone I'm the maintainer). The picture is grabbed using mmap v4lv2 standart method with MJPEG format, then passed to ffmpeg to decode it as YUV420P and then displayed. Sometimes (quite often), it works well. Sometimes, despite pictures display correctly, ffmpeg complains
Re: [Linux-uvc-devel] Automatic Gain Control
No, there isn't. But if you tell us a little more about the requirement behind it, we might be able to suggest something else. :-) Cheers, Martin On Wed, 06 Dec 2006 11:12:15 +0100, andrea giachetti [EMAIL PROTECTED] wrote: Hi Is there a way tro disable the automtic gain control of Logitech QuickCam Fusion webcams using linux-uvc? Thanks in advance andrea giachetti ___ 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] Logitech Orbit Mp Stability problems, is a recent camera stable ?
When I plug the camera I get : [17204020.156000] 13:3:1: cannot set freq 0 to ep 0x86 [17204021.156000] 13:3:2: cannot set freq 0 to ep 0x86 [17204022.168000] 13:3:3: cannot get freq at ep 0x86 These three lines come from the USB audio driver and have nothing to do with uvcvideo, so no need to worry. But if I try with luvcview it works properly,,, the problem is that after starting stopping the camera a few times (10-20 times,,,) I get : [17204111.756000] uvcvideo: Failed to query (130) UVC control 1 (unit 0) : -32. [17204114.36] uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -32. [17204115.508000] uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110. messages like these :( , and the camera stops working I've found http://developer.berlios.de/bugs/?func=detailbugbug_id=7605group_id=5681 That seems to be similar,, it states hardware problems... but I'm not sure it's the case here since if I remove the driver and reload it,, it will work again.. It's indeed a hardware problem. If you're browsing through the mailing list archive you'll find quite a few threads about that problem. We're still looking for a good workaround for the UVC driver. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Trouble recording from two webcams
Hey Vidar, I just did a little testing with two cameras, a QuickCam for Notebooks Pro (2006 model) and a QuickCam Orbit MP/Sphere MP (2006 model). Using two instances of luvcview the following combinations work (only tested at the default resolutions): MJPEG: All combinations up to 2 x 640x480 (15 fps). 2 x 960x720 (theoretically 15 fps but my old laptop didn't manage to decode more than about 2 x 10 fps). YUY2: All combinations up to 2 x 640x480 (15 fps). 960x720 (10 fps) + 640x480 (15 fps). 1280x960 (7.5 fps) + 640x480 (15 fps). The following failed with error -28: YUY2: 2 x 960x720 (10 fps). 1280x960 (7.5 fps) + 640x480 (15 fps). 1280x960 (7.5 fps) + 960x720 (10 fps). That should give you some indication of what you should be able to achieve with ffmpeg in terms of resolutions. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Trouble recording from two webcams
Ok, another interesting test with the same cameras. This time I used luvcview for one camera and another program for the second that allows me to select the frame rate. 1st camera: YUY2 960x720 @ 10 fps 2nd camera: YUY2 640x480 @ 15 fps works but fails with error -28 at = 20 fps. So you see that the bandwidth does indeed depend on the frame rate. Also quite interesting 1st camera: YUY2 960x720 @ 10 fps 2nd camera: YUY2 960x720 @ 5 fps Streaming starts but the picture of the second camera is completely messed up (the upper half is okay but the lower half is green and flickering) because packets are lost. I'll post more information as soon as I know where exactly the packets get lost but it might be a while ... Cheers, Martin On Wed, 15 Nov 2006 11:13:54 +0100, Martin Rubli [EMAIL PROTECTED] wrote: Hey Vidar, I just did a little testing with two cameras, a QuickCam for Notebooks Pro (2006 model) and a QuickCam Orbit MP/Sphere MP (2006 model). Using two instances of luvcview the following combinations work (only tested at the default resolutions): MJPEG: All combinations up to 2 x 640x480 (15 fps). 2 x 960x720 (theoretically 15 fps but my old laptop didn't manage to decode more than about 2 x 10 fps). YUY2: All combinations up to 2 x 640x480 (15 fps). 960x720 (10 fps) + 640x480 (15 fps). 1280x960 (7.5 fps) + 640x480 (15 fps). The following failed with error -28: YUY2: 2 x 960x720 (10 fps). 1280x960 (7.5 fps) + 640x480 (15 fps). 1280x960 (7.5 fps) + 960x720 (10 fps). That should give you some indication of what you should be able to achieve with ffmpeg in terms of resolutions. Cheers, Martin ___ 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] Experimental patch for USB problem with Logitech webcams
Hey Vidar, Could you try changing the line that reads if(ret = 0 || ret != -EPIPE) to if(ret = 0 || (ret != -EPIPE ret != -ETIMEDOUT)) to see if the camera recovers from error -110 (ETIMEDOUT) in the same way as it does from -32 (EPIPE)? I don't know much about store return policies but from my past experience some shops are pretty nice about that. Especially if you pretend to be an unexperienced user and tell them that the camera just doesn't work. ;-) Anyway, we're obviously trying our best to come up with something that will save you from returning your camera. Cheers, Martin On Wed, 08 Nov 2006 20:06:08 +0100, Vidar Normann [EMAIL PROTECTED] wrote: On 11/7/06, Martin Rubli [EMAIL PROTECTED] wrote: Hi all, Attached is a rather ugly patch that has proven to make the Logitech UVC cameras work fine for some people. It works around the USB errors by retrying control requests up to three times. We would like to get as much feedback as possible, so if you try it out, please let us know whether or not it works for you. I'm using the patch and on one camera it is able to record 20+ times before I start seeing this error in dmesg: uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26). As this is for a surveillance system I need these cameras to work all the time, and I probably won't be allowed to return them to the store since I've used them - My only hope is that Logitech fixes this or that you uvc-developers have a functional workaround. :) Is there anything I should post or do to help you (and myself) out? Regards, Vidar ___ 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] Experimental patch for USB problem with Logitech webcams
Hey George, I am also a victim of this issue... FWIW i found the patch worked fine last time I tried it (i have since updated from SVN, and as I run motion which just opens the camera and keeps it open, the bug doesnt hit me that often, so I havent bothered to reapply. However, if my nfs drive goes down, motion crashes, and it needs to be re-opened, and sometimes I therefore have the problem, hence my interest.). Just to make sure I understand you right: For you, the bug appeared both during opening and capturing but the retry patch fixed the capturing problem? My question is - even though this is a (nescesary) ugly workaround, will it ever be merged into the 'offical' driver? Absolutely. We still want to find the nicest possible workaround, but _something_ will be integrated in the official driver. im guessing the 'offical' windows driver must have something similar in it to overcome the hardware bug... has anyone tried sniffing a windows session on the USB to see if does anything like these resets? That's the thing. On Windows, the hardware bug simply isn't triggered. The timing of the USB packets is slightly different on Linux and Windows and apparently that's enough to trigger the problem. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Experimental patch for USB problem with Logitech webcams
On Fri, 10 Nov 2006 17:05:59 +0100, Evgeny [EMAIL PROTECTED] wrote: Other errors that were reported to occur are EOVERFLOW and EPROTO but those are pretty rare and therefore more difficult to test. Martin, is there good reason why not to resend USB control message in case of EOVERFLOW, EPROTO or any other error? Only because I wasn't able to test it; they don't happen on my machine. If you get these errors and can test if retrying helps, please let us know the results ... Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Experimental patch for USB problem with Logitech webcams
On Sat, 11 Nov 2006 00:06:17 +0100, Nick Wiltshire [EMAIL PROTECTED] wrote: On Friday 10 November 2006 06:04, Martin Rubli wrote: That's the thing. On Windows, the hardware bug simply isn't triggered. The timing of the USB packets is slightly different on Linux and Windows and apparently that's enough to trigger the problem. Is this something that should be addressed in the USB subsystem? Is either the Linux or Windows way right or wrong, or just different? Just different, unfortunately. The error is clearly in the hardware and there isn't much the USB subsystem can do about it since the EHCI driver just programs the controller and the actual timing depends on the controller. At which point the difference springs into existence is something I haven't understood yet and nobody was able to tell me. We were talking to the Linux USB stack developers a few weeks ago but there was no conclusion about this particular problem. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Non-Logitech UVC cameras.
On Fri, 10 Nov 2006 21:27:31 +0100, Laurent Pinchart [EMAIL PROTECTED] wrote: are there any non-Logitech UVC cameras, which do not experience control request problems? None that I know of. On the good side, newer Logitech webcams will (Martin might be able to confirm) either implement a workaround in the firmware, or use a different chipset with no hardware bug (or at least not that particular bug :-)). I can't confirm anything at this point but the next generation of Logitech cameras are extremly unlikely to contain the same bug for the very reasons that Laurent mentioned. Obviously, now that we know about the problem, we will keep an eye on the bug for future cameras. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Logitech Orb won't pan/tilt in 704x576 resolution
Hi, As a certain other company would put it: This behavior is by design. ;-) If you try the same thing on Windows, you will see that the pan/tilt buttons are disabled for resolutions higher than VGA. It's a limitation of the hardware. Cheers, Martin On Thu, 02 Nov 2006 15:41:44 +0100, Noble Pepper [EMAIL PROTECTED] wrote: Hello again. I just installed a USB2.0 interface in my desktop box so I am playing with the higher resolutions available with the Orb. In 320x240 and 640x480 resolutions, the pan/tilt operates fine in both luvcview and motion. When I go to 704x576 I get errors and the camera doesn't move In luvcview I get: ioctl pan updown control error Set Pan up error ioctl tiltupdown control error Set Tilt up error In motion I get: [0] Failed to move camera!: Input/output error [0] httpd - Read from client: Input/output error Since both apps have similar problems I am assuming this is a driver or hardware problem. Is this a known issue? Are you interested in pursuing this? I am going to try to get more detailed info but any tips would help at this point. ___ 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] Changing and Jumbled picture from uvcvideo driver using Logitech 046d:08c2 USB Webcam
Hi Larry, 3. But all the video producing applications I've tried so far, produce a jumbled picture such as this 7 kB sample viewable at http://foxgulch.com/Miscellaneous/snap.jpg If you look closely, you can see parts of my face, but not in the sequence my Mother intended. {;-) Does this happen in JPEG and YUV mode? You can test this with the help of the -f option when launching luvcview. What about different resolutions? It would be great if you could post some more samples. I've never seen anything like this, although it reminds me of some pictures where the Y, U, and V channels were screwed up. (But that couldn't possibly occur in JPEG mode.) 4. That above jpg was produced with uvccapture. Under luvcview20060920, I can control the pan/tilt etc of the 046d:08C2 logitech orbit/sphere usb web camera. However the fps number shown at the top constantly varies and the picture is repeatedly similarly jumbled. Again, rather strange behavior. Does your camera work on Windows, just to be sure? Cheers, Martin ___ 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 dv2000 laptop
On Wed, 25 Oct 2006 21:07:17 +0200, Laurent Pinchart [EMAIL PROTECTED] wrote: Your webcam might not have sound support. uvcvideo is a video-only driver anyway, I don't know much about USB audio support. You could try asking the snd-usb-audio developers, but if the driver doesn't recognize the webcam, it probably doesn't have sound support. Indeed. Webcams built into laptops are very unlikely to have audio support because laptops already have mic and speakers. I would check out some of the Linux compatibility websites to see if you can get the built-in audio to work on Linux. http://www.linux-laptop.net/ http://tuxmobil.org/ (I'm sure there are others ...) Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Maximum framerate with multiple USB 2 cameras?
Hi, Therefore I'm thinking about using USB2 webcams, such as the Logitech Fusion or Pro 5000, to increase the overall framerate I can archive with this driver. The question now is, which framerate could I expect from 5 UVC USB2 cameras connected to a single laptop? Or is there a principal problem of using that amount of cameras at the same time? I don't have the equipment to do this test with me at the moment but to give you something to work with: - The UVC overhead is minimal. - There is obviously some USB overhead but it should be rather small compared to the video stream. - In YUV mode, the size of one frame is 1.5*height*width. - In MJPEG mode, the size is somewhat unpredictable but obviously tends to be much smaller. You can test this using the -c option of luvcview. This should give you an idea of the amount of data you have. Whether your PC can handle it, is a whole other story. :-) On https://lists.berlios.de/pipermail/linux-uvc-devel/2006-March/000365.html, David Moore noticed: Hi, I'm interested in connecting more than one camera at once, specifically, a pair of Logitech Quickcam Pro 5000s. I only have one at the moment, but when I run it at full uncompressed resolution (640x480x30fps YUV), it chooses an ISO endpoint with a packet size of 3060 bytes. This is more than half of the available ISO bandwidth. (cat /proc/bus/usb/devices claims it's 60%) I'm not sure if this is indeed a problem because, IIRC, Linux does not enforce isoc bandwidth constraints unless explicitly told to do so (experimental kernel compile-time option). So, if your camera did not use the entire 60%, it should still be available for other cameras. Is there a compression method supported by the cameras (for example MJPEG), that would lead to higher compression, thus allowing a higher total framerate? Yes, MJPEG is supported by all Logitech UVC cameras. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] uvcview, QC fusion and FC5
Hey Richard, I'm running 2.6.17-1.257_FC5 and have compiled uvcvideo from source. It seems to have installed OK as uvccapture can happily grab still images. I can't get anything else working though. If you can capture images at all, that's already a good sign. It means the driver works and the problem is (probably) elsewhere. :-) 'xawtv -hwscan' - sees the device OK This is xawtv-3.95, running on Linux/i686 (2.6.17-1.2157_FC5) looking for available devices /dev/video0: OK [ -device /dev/video0 ] type : v4l2 name : DViCO FusionHDTV DVB-T Plus flags: overlay capture tuner /dev/video1: OK [ -device /dev/video1 ] type : v4l2 name : DViCO FusionHDTV DVB-T Plus flags: overlay capture tuner /dev/video2: OK [ -device /dev/video2 ] type : v4l2 name : USB Video Class device flags: capture Another good sign, although xawtv is known not to work correctly with UVC webcams. 'luvcview -d/dev/video2' uvcview version 0.1.7 Video driver: x11 A window manager is available video /dev/video0 Unable to set format: 22. Init v4L2 failed !! exit fatal Look closely: video /dev/video0 Yes, luvcview is really picky about parsing the command line arguments. You must have a space after -d, then it should work. I have also tried ekiga which also detects the webcam but give me 'Failed to open device' messages. I am running as root and have granted rwx permissions to all for /dev/video2 just to be sure that wasn't the problem. Ekiga 2.0.2 is the first version to work correctly with UVC webcams AFAIK. Which version are you using? Does anyone have any advice on what I should try now? A few things come to mind: Don't give up, report bugs where appropriate, and help us improve webcam support on Linux. :-) 'cat /var/log/messages' Oct 1 11:02:19 mythbox syslogd 1.4.1: restart. Oct 1 11:19:14 mythbox kernel: usb 1-3: new high speed USB device using ehci_hcd and address 4 Oct 1 11:19:14 mythbox kernel: usb 1-3: configuration #1 chosen from 1 choice Oct 1 11:19:14 mythbox kernel: uvcvideo: Found UVC 1.00 device unnamed (046d:08c1) Oct 1 11:19:15 mythbox kernel: 4:3:1: cannot set freq 0 to ep 0x86 Oct 1 11:19:16 mythbox kernel: 4:3:2: cannot set freq 0 to ep 0x86 Oct 1 11:19:17 mythbox kernel: 4:3:3: cannot get freq at ep 0x86 Oct 1 11:19:33 mythbox kernel: uvcvideo: Failed to query (132) UVC control 4 (unit 2) : -32. Oct 1 11:21:42 mythbox gconfd (mythtv-5036): starting (version 2.14.0), pid 5036 user 'mythtv' Oct 1 11:21:42 mythbox gconfd (mythtv-5036): Resolved address xml:readonly:/etc/gconf/gconf.xml.mandatory to a read-only configuration source at position 0 Oct 1 11:21:42 mythbox gconfd (mythtv-5036): Resolved address xml:readwrite:/home/mythtv/.gconf to a writable configuration source at position 1 Oct 1 11:21:42 mythbox gconfd (mythtv-5036): Resolved address xml:readonly:/etc/gconf/gconf.xml.defaults to a read-only configuration source at position 2 Oct 1 11:32:01 mythbox kernel: uvcvideo: Failed to query (135) UVC control 2 (unit 2) : -110. Oct 1 11:32:01 mythbox kernel: uvcvideo: Failed to query (130) UVC control 2 (unit 2) : -75. Oct 1 11:32:02 mythbox kernel: uvcvideo: Failed to query (135) UVC control 2 (unit 2) : -110. Oct 1 11:32:02 mythbox kernel: uvcvideo: Failed to query (130) UVC control 2 (unit 2) : -75. Oct 1 11:32:02 mythbox kernel: uvcvideo: Failed to query (131) UVC control 2 (unit 2) : -32. Oct 1 11:32:03 mythbox kernel: uvcvideo: Failed to query (135) UVC control 2 (unit 2) : -110. Yes, these are bad. If you see those you might need to retry whatever caused the error or replug the camera. It's caused by a bug in the Fusion firmware that occurs one some USB controllers. We're currently testing a quick workaround and are still analyzing the problem so that future cameras won't have the same problems. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] troubles with qc fusion
Hi Parag and others, Thanks for your answer. To use uvcvideo kernel module you need following modules to be present in kernel before. In my case see lsmod | grep uvc uvcvideo 32132 0 v4l1_compat 12164 1 uvcvideo v4l2_common14208 1 uvcvideo videodev 92161 uvcvideo I manually insert them and they are there. # modprobe videodev # lsmod less videodev videodev 20992 0 v4l1_compat11524 1 videodev v4l2_common20608 1 videodev When I then insert the uvcvideo kernel mod I still get the same errors however. # modprobe uvcvideo FATAL: Error inserting uvcvideo (/lib/modules/2.6.17-1.2174_FC5/usb/media/uvcvideo.ko): Unknown symbol in module, or unknown parameter (see dmesg) Dmesg output: uvcvideo: disagrees about version of symbol video_devdata uvcvideo: Unknown symbol video_devdata uvcvideo: disagrees about version of symbol video_unregister_device uvcvideo: Unknown symbol video_unregister_device uvcvideo: disagrees about version of symbol video_device_alloc uvcvideo: Unknown symbol video_device_alloc uvcvideo: disagrees about version of symbol video_register_device uvcvideo: Unknown symbol video_register_device uvcvideo: disagrees about version of symbol video_device_release uvcvideo: Unknown symbol video_device_release I am not a programmer (just an enthousiast who would like to be able to debug and help more) but could this be an incompatibility between the Fedora v4l{12} or videodev kernel module and uvcvideo? I did a FC5 installation about a month ago and as far as i know I only installed 'safe' packages. After getting the above errors I just deinstalled the ATrpm v4l packages and compiled v4l-dvb from source. I still get the same errors however... Also a thanks and cheers to the developers for all their work. My brother advised me to get a qc fusion because of the good image and video quality. On my laptop the uvcvideo driver is working great with uvcview and ekiga. Just hope I can get this one solved for my desktop box as well... Regards, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Quickcam Go 046d:092f
On Mon, 11 Sep 2006 14:59:00 -0700, Laurent Pinchart [EMAIL PROTECTED] wrote: Hi, I have a Logitech webcam: Quickcam Go Device ID: 046d:092f I can't wake it up under Linux (Suse10.0) Do you have any idea which driver will OK? Try the spca5xx and pwc drivers, one of them might work. It should work with the spca5xx driver, although I haven't tested it myself. If you get it to work, please drop Michel Xhaard an e-mail so he can add it to the list at: http://mxhaard.free.fr/spca5xx.html Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Still no luck with Logitech QuickCam Notebook Pro
On Thu, 24 Aug 2006 06:34:17 -0700, Lars Schimmer [EMAIL PROTECTED] wrote: I was gone for some weeks in holiday. But I see there is no new version for luvcview or the kernel driver in debian. The picture is still black :-/ It's definitely not luvcview's fault because it's known to work with the Notebook Pro in general. As far as the driver goes, I can't help you if you're using the Debian driver because I'm simply not up-to-date as far as the package goes. I know it was broken at least for a while. So you should use the driver from the Berlios SVN repository and post uvcvideo's syslog output if you still have problems. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] webcam viewer application
On Sun, 30 Jul 2006 20:32:13 -0700, Parag N(पराग़) [EMAIL PROTECTED] wrote: I used this new version and on Quickcam Pro 5000 it gave 2 frame formats { pixelformat = 'MJPG', description = 'MJPEG' } { pixelformat = 'YUYV', description = 'Uncompressed' } So this mean webcam supports only 2 frame formats mjpg,yuyv. right? Exactly. :-) Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de http://bat.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] webcam viewer application
On Fri, 28 Jul 2006 06:26:34 -0700, Parag N(पराग़) [EMAIL PROTECTED] wrote: Hi, I would like to add video recording to luvcviewer. Is there anyone who would like to give me some guidelines for doing that? I do have the following querys 1)Is it possible to write a unique webcam viewer application that will support webcam's from spca5xx, pwc, luvcvideo drivers? If not, what are those limitations? Sort of. :-) The problem is that some drivers (like the current spca5xx) are still V4L(1) drivers, so your application would have to support V4L and V4L2. Since V4L is now officially deprecated in favor of V4L2, most drivers should be ported. As a matter of fact, Michel Xhaard is working on a V4L2 rewrite of his driver. 2)Is there any tools that probe what type the camera is without, actually having to go through its hardware specs? I mean whether my webcam supports JPEG/rgb32/yuv etc. types? Sure: http://linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html There's even frame format enumeration (for resolution and frame rate), which is supported by the UVC driver. The patch should be merged into V4L2 anytime soon. http://linuxtv.org/v4lwiki/index.php/Discussion_of_API_enhancements 3) How can i identify, given a webcam that it supports only v4l driver application /v4l2 also? See above ... 4) Is there some way by which i can redirect video output to 2 different webcam applications? e.g. if i have gqcam/luvcvideo/spcaview and i am seeing live video from it and at same time if i used streamer/mplayer to record a video at command line or integrate that command line tool inside GUI application, it doesn't allow streamer/mplayer to get access of webcam, then what are possible ways to have video recording feature in any GUI application? V4L2 does not support multiple opening of video streams, so you seem to be out of luck there. However, if you're using a multimedia framework like GStreamer you should be able to at least clone the stream and redirect it towards different sinks. Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de http://bat.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Quickcam Fusion with debian not working...
On Fri, 28 Jul 2006 04:18:13 -0700, Marcel van Beurden [EMAIL PROTECTED] wrote: Marcel van Beurden wrote: I installed some SDL packages and now it builds fine. But running it doesn't seem to do much: # ./luvcview uvcview verion 0.1.6 -- DirectFB v0.9.24 - (c) 2000-2002 convergence integrated media GmbH (c) 2002-2004 convergence GmbH --- (*) DirectFB/Core: Single Application Core. (2006-06-14 07:02) (*) Direct/Memcpy: Using MMXEXT optimized memcpy() (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed -- No such file or directory (!) DirectFB/FBDev: Error opening framebuffer device! (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable. (!) DirectFB/Core: Could not initialize 'system' core! -- Initialization error! Couldn't initialize SDL: DirectFBCreate: Initialization error! I'm running on: Linux debian 2.6.16-2-686 #1 Sat Jul 15 21:59:21 UTC 2006 i686 GNU/Linux Am I missing something here? I've never seen similar errors on my systems when using luvcview. This one doesn't even look like a uvcvideo or V4L2 problem on the input side but it looks like SDL is having problems initializing the output window. That still wouldn't explain the failure with headless programs, though. So can you execute echo 64 /sys/module/uvcvideo/parameters/trace to increase uvcvideo's debug output level and post the syslog output you get after plugging in your camera and trying to run the capture programs? Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de http://bat.berlios.de/mailman/listinfo/linux-uvc-devel