Re: [Linux-uvc-devel] Z-star camera problem
Am 11.11.2011 10:32, schrieb vignesh rajendran: Hi Again the same.No changes.I am getting green display in my touchscreen. I attached Dmesg with this mail There is no debug info in this dmesg if you enable debug it loogs like this: [19585.878562] uvcvideo: Queuing buffer 0. [19585.879289] uvcvideo: uvc_v4l2_poll [19585.942567] uvcvideo: Frame complete (EOF found). [19585.942582] uvcvideo: uvc_v4l2_poll [19585.942592] uvcvideo: uvc_v4l2_ioctl(VIDIOC_DQBUF) [19585.942598] uvcvideo: Dequeuing buffer 1 (4, 614400 bytes). [19585.942602] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QBUF) [19585.942605] uvcvideo: Queuing buffer 1. [19585.944600] uvcvideo: uvc_v4l2_poll [19586.010537] uvcvideo: Frame complete (EOF found). [19586.010560] uvcvideo: uvc_v4l2_poll [19586.010568] uvcvideo: uvc_v4l2_ioctl(VIDIOC_DQBUF) [19586.010574] uvcvideo: Dequeuing buffer 2 (4, 614400 bytes). [19586.010578] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QBUF) [19586.010581] uvcvideo: Queuing buffer 2. ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] libv4l2 error with 045e:00f8 cameras
Do your webcam has build in mic? Do you use this mic with skype? If yes. Can you please do fallowing test. Start your webcam with luvcview or guvcview and start the attached script. edid the script and replace device name to yours. my is alsa_input.usb-046d_0991_9671DCEE-02-U0x46d0x991.analog-mono you can find proper name with this command: pacmd list | grep alsa_input with this script we can try to reproduce skype behavior. Am 11.11.2011 18:26, schrieb Edwin Aponte: Finally, I could do the network test in the school. When the computer freezes completely some time after having loaded skype using: env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype\ and been using the web-cam in skype, I cannot ssh it neither ping it. Also, the camera works well with luvcview (I used luvcview to get the frames that I attached in my first post) Regards. On Wed, 2011-11-02 at 17:49 +0100, Laurent Pinchart wrote: Hi Edwin, On Saturday 22 October 2011 00:36:14 Edwin Aponte wrote: libv4l2 is giving having problems with a Microsoft LifeCam NX-6000 webcam (045e:00f8). I have to run skype as below to get the webcam working well for a moment, though an error is generated, until the system freezes completely after some minutes and even SysRq doesn't work. Those two problems are likely unrelated, and the second one is pretty bad. Is your machine connected to a network ? Can you still ping it after it freezes ? What about ssh ? env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype libv4l2: error converting / decoding frame data: v4l-convert: error parsing JPEG header: Not a JPG file ? Your camera seems to produce bad MJPEG frames. From the log you've attached it seems that the first frame is bigger than the next ones. This might be related. Could you try luvcview, which doesn't use libv4l ? Sometimes, I get the same error with the program webcam: -- ~ webcam reading config file: /home/edwinh/.webcamrc video4linux webcam v1.5 - (c) 1998-2002 Gerd Knorr grabber config: size 320x240 [none] input (null), norm (null), jpeg quality 75 rotate=0, top=0, left=0, bottom=240, right=320 libv4l2: error converting / decoding frame data: v4l-convert: error parsing JPEG header: Not a JPG file ? v4l2: read: Input/output error capturing image failed - and some times this other error: - ~ webcam reading config file: /home/edwinh/.webcamrc video4linux webcam v1.5 - (c) 1998-2002 Gerd Knorr grabber config: size 320x240 [none] input (null), norm (null), jpeg quality 75 rotate=0, top=0, left=0, bottom=240, right=320 libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits - I have attached some information based on this thread http://lists.berlios.de/pipermail/linux-uvc-devel/2008-November/004265.html that seems to be a similar case of my problem. I set the trace level to 255: # echo 255 /sys/module/uvcvideo/parameters/trace and I record a frame using: ~ luvcview -f mjpg -c and after that I saved the output of dmesg. Thanks. ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel #!/bin/bash while (echo 1); do for i in $(seq 1 65); do pacmd set-source-volume alsa_input.usb-046d_0991_9671DCEE-02-U0x46d0x991.analog-mono $(( $i * 1000 )); done sleep 1; done ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] libv4l2 error with 045e:00f8 cameras
Ok, i reread you mails and see now that it is really other issue. i try to summarize it: 1. It is regression, some old kernel works and new one not. 2. you get problems with jpeg stream 3. but skype do not use jpeg so it is brocken in raw stream 4. you can reproduce complete freeze only with skype if it is kernel regression, can you compile kernel from git source and do git-bisect? There are lots of resource in internet how to do it, but if you still need help, then ask. Am 13.11.2011 01:20, schrieb Edwin Aponte: My webcam has a build in mic but I don't think it is used because in the tab Sound Devices of Skype configuration, Microphone is set to PulseAudio server (local) and the default source is the internal mic: __ ~ pacmd list|grep alsa_input Default source name: alsa_input.pci-_00_1b.0.analog-stereo name:alsa_input.pci-_00_1b.0.analog-stereo name: alsa_input.usb-Microsoft_Microsoft___LifeCam_NX-6000-02-NX6000.analog-mono alsa_input.pci-_00_1b.0.analog-stereo/#1: Internal Audio Analog Stereo alsa_input.usb-Microsoft_Microsoft___LifeCam_NX-6000-02-NX6000.analog-mono/#2: LifeCam NX-6000 Analog Mono source: 1alsa_input.pci-_00_1b.0.analog-stereo __ Any way, I tested this script because I saw in PulseAudio Volume control that both mics were receiving signal, i.e. both were active. I got this output: ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Sweex WC061 HD Webcam Sliver
Am 14.11.2011 20:20, schrieb Michael Tandy: I did some more experiments with this webcam, and with a nasty hack got it working. Basically the problem seems to be the frame interval requested. If I replace line 175 of uvc_v4l2.c [1] with probe-dwFrameInterval = 250; the camera works fine in mjpeg mode. The frame interval behaves oddly in this camera, in that if you set the frame interval above a certain threshold the camera seems to ignore it and send frames at whatever rate it feels like, but if you set it below a certain threshold the camera exhibits the bug I've described above, sending back corrupted frames and error codes. Most likely a firmware bug, as I can't imagine anyone would design a camera to function that way. I assume we wouldn't be inclined to patch the kernel to deal with this one camera's weird behaviour? [1] http://lxr.free-electrons.com/source/drivers/media/video/uvc/uvc_v4l2.c?v=2.6.28#L175 Hi Laurent, i still think that checking the reason of error bit, make sense. In this case we check the reason of error bit. If we get permanent buffer underrun or overrun, we should switch to different framerate. Or notify user to do that. And probably add the error bit handler to the uvc status list on your page :) Regards, Alexey. ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] possible uvcvideo driver error with current 3.1 kernel
Am 15.11.2011 19:43, schrieb Pitt, Jason N: I have a bunch of usb cards that have moschip ehci controllers in them that have a silicon bug that causes the microframe counter to be updated before the frame counter here's the details of the patch: This patch (as1489) works around a hardware bug in MosChip EHCI controllers. Evidently when one of these controllers increments the frame-index register, it changes the three low-order bits (the microframe counter) before changing the higher order bits (the frame counter). If the register is read at just the wrong time, the value obtained is too low by 8. When the appropriate quirk flag is set, we work around this problem by reading the frame-index register a second time if the first value's three low-order bits are all 0. This gives the hardware a chance to finish updating the register, yielding the correct value. This prevents the main problem of the driver crashing but there is a lingering issue that I believe is due to the uvcvideo driver's handling of the patch. The video stream eventually seems to loose sync is the best way i can describe itI've posted a video of the problem on youtube here: http://www.youtube.com/watch?v=W-gAHa0zL7A There are 12 instances of guvcvideo running, 3 or 4 of the cameras have developed the issue after about 12 hours. When the glitch happens, the bottom portion of the image freezes and the flashing segments at the top are still updating but clearly something is messed up. Any thoughts? The problem in this case is to run uvcvideo trace for 12 hours :) can you try to run it again and enable trace for short time with correct image and with brocken image. you do not need reloading module to do that. Do fallowing: sudo echo 0x /sys/module/uvcvideo/parameters/trace sleep 10s sudo echo 0 /sys/module/uvcvideo/parameters/trace Regards, Alexey ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] [PATCH] uvcvideo: correct error message for debugfs stats file
Signed-off-by: Alexey Fisher bug-tr...@fisher-privat.net --- drivers/media/video/uvc/uvc_debugfs.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/uvc/uvc_debugfs.c b/drivers/media/video/uvc/uvc_debugfs.c index bdba016..1b0087b 100644 --- a/drivers/media/video/uvc/uvc_debugfs.c +++ b/drivers/media/video/uvc/uvc_debugfs.c @@ -97,8 +97,7 @@ int uvc_debugfs_init_stream(struct uvc_streaming *stream) dent = debugfs_create_file(stats, 0600, stream-debugfs_dir, stream, uvc_debugfs_stats_fops); if (IS_ERR_OR_NULL(dent)) { - uvc_printk(KERN_INFO, Unable to create debugfs %s directory.\n, - dir_name); + uvc_printk(KERN_INFO, Unable to create debugfs stats file.\n); uvc_debugfs_cleanup_stream(stream); return -ENODEV; } -- 1.7.5.4 ___ 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] uvcvideo: correct error message for debugfs stats file
Am 17.11.2011 11:11, schrieb Laurent Pinchart: Hi Alexey, Thanks for the patch. As your original patch hasn't been pushed to upstream yet, I've combined it with this patch. Great, thanks! i'm currently about to add the uvc report file debugfs. Any wishes? ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] JVC GR-D72 support
Please read FAQ http://www.ideasonboard.org/uvc/faq/ Regards, Alexey On 21.11.2011 04:17, Alan Aversa wrote: Hello, I would like to suggest that uvcvideo add JVC GR-D72 support. Thank you, Alan Aversa ___ 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] Send some bytes to device
Hi, i'm not sure, but it looks like all non-uvc controls are done in libwebcam and uvcdynctrl-data. For example this one is for logitech uvcdynctrl-data: /usr/share/uvcdynctrl/data/046d/logitech.xml On 21.11.2011 02:52, DIXLOR wrote: Good day All! How and where in your uvc driver code to be inserted, тo pass in the USB a few bytes? With libusb this string looks like: #define ON_LED \x00\x00\x01\xc2\x00\x00\x00 memcpy(buf, ON_LED, 0x7); usb_control_msg(devh, USB_TYPE_CLASS + USB_RECIP_INTERFACE, 1, 0x600, 0x400, buf, 0x7, 1000); The problem is that this code works only when the camera is turned on. --- In kernel code with looks like #define ON_LED \x00\x00\x01\xc2\x00\x00\x00 buff = kmalloc(0x7, GFP_KERNEL); memcpy(buff, ON_LED, 0x7); ret = usb_control_msg(udev, usb_sndctrlpipe(udev, 0x83), 0x21, 0x1, 0x600, 0x400, buff, 0x7, 1000); uvc_printk(KERN_ERR, retval = %d\n, ret); But where to insert this code? And it should be sent only after the start the video. ___ 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] JVC GR-D72 support
It is not UVC device. There is nothing we can do about it. On 21.11.2011 09:30, Alan Aversa wrote: Hello, I have followed the instructions at the link you gave and have attached the lsusb.log for my camera as well as the dmesg.log of running dvgrab -V. Thanks, Alan On 21/11/11 00:34, Alexey Fisher wrote: Please read FAQ http://www.ideasonboard.org/uvc/faq/ Regards, Alexey On 21.11.2011 04:17, Alan Aversa wrote: Hello, I would like to suggest that uvcvideo add JVC GR-D72 support. Thank you, Alan Aversa ___ 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 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] Problem with wireless webcam from Maplin
Hi, Please read this FAQ: http://www.ideasonboard.org/uvc/faq/ On 24.11.2011 10:49, Antonio Roberts wrote: I've tried camorama, cheese, guvcview and loading cameras through websites like tumblr and facebook. They recognise that a new device is there but I get no video output I've just tried luvcview with luvcview -d /dev/video2 and got this error: SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video2 Stream settings: Frame format: MJPG Unable to set format: Input/output error Init v4L2 failed !! exit fatal On 24 November 2011 09:28, Paulo Assis pj.as...@gmail.com wrote: Hi, Have you tried any other software besides cheese? (guvcview, luvcview,...) Regards, Paulo 2011/11/23 Antonio Roberts anto...@hellocatfood.com: I recently bought this wireless webcam; http://www.maplin.co.uk/2.4ghz-wireless-webcam-388087 . I'm having trouble getting it to work on Ubuntu 11.04. I ran lsusb and got the folowing information about the device: Bus 006 Device 003: ID 0416:a91a Winbond Electronics Corp. I did a Google serach for the device ID and the Linux UVC website (http://www.ideasonboard.org/uvc/ ) informs me that it matches the LogiLink Wireless Webcam (so Maplin probably just rebranded this!). What this website states is that this device should work, which it doesn't. The problem I'm facing is that I don't get any actual video being streamed or shown. The built in microphone works and, when running Cheese, when I press the camera button on the webcam itself the software recognises that the button is pressed. On that note, when running cheese from the terminal with this webcam attached I get the following error: libv4l2: error getting pixformat: Invalid argument libv4l2: error setting pixformat: Input/output error Any help is appreciated ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Philips SPZ2000/00
On 24.11.2011 22:40, Michele wrote: 22/11/2011 12:00 Hello! Hi, if you can, you should immediately send it back. It is really bad device. Unfortunately I cant't, having bought int in a store. Skype on linux use only RAW format, so if you will be lucky you will get 5 frame per second. For this price (amazon.de 20?) you can get better webcam. Now I've an idea of why was sold at 9.99 euro in a bin near the cash register. UVC device should just work (even on linux). If it is not working, it is most probably bad. It works on Windows 7, and actually works in Linux but is unstable. using xawtv -c /dev/video1 (note the nissing -noxv) makes the camera working ever as normal user. Trying to change the video parameters, say brightness or saturation makes the camera stop working with a device or resource busy error most of the time. I suppose there's a race condition that makes the application of the parameters failing. If I have time I'll make some tests during the weekend to find if there'a a workaround. Hi, please use luvcview or guvcview for testing. If you need root, then you should check you permission rights on /dev/video* or /dev/dri/card* . Check also FAQ on how to collect information for troubleshoting http://www.ideasonboard.org/uvc/faq/ Do the cam work stable if change video parameters on windows. Did you installed phillips driver on windows? Regards, Alexey ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Philips SPZ2000/00
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 27.11.2011 19:08, schrieb Michele: Il giorno 25/11/2011 alle ore 12:00, Alexey Fisher ha scritto: Hi, Hello, Thank for you patience. please use luvcview or guvcview for testing. If you need root, then you should check you permission rights on /dev/video* or /dev/dri/card* . I think root was a red herring due different setups of the environment. Do the cam work stable if change video parameters on windows. Did you installed phillips driver on windows? This is the driver used as a driver for the webcam. in the webcam box thre's no installation CD anyway. Driver Name usbvideo.sys Address0x95C13000 End Address 0x95C37000 Size 0x00024000 Load Count 1 Index 136 File Type Driver DescriptionUSB Video Class Driver Version 6.1.7601.17514 (win7sp1_rtm.101119-1850) Company Microsoft Corporation Product Name Microsoft® Windows® Operating System Modified Date 20/11/2010 22:29:03 Created Date 20/11/2010 22:29:03 Filename C:\Windows\System32\Drivers\usbvideo.sys File Attributes A Service Name usbvideo Service Display Name Dispositivo video USB (WDM) seems to me that is the stock USB driver of Seven. I've had non problems with MSN live, Skype or even DScaler (that sees the cam as Direct show). I've made some experiments using guvcview. I've asked to use a resolution of 172x144, then a resolution of 320x240 then again 172x144. The first time i can see the image correctly. The second time the program fails with a device or resource busy message The third time with the same resolution it fails with the same error To make guvcview work again, I've to disconnect and reconnect the webcam from the usb bus. This behaviour is reproducible as normal use or root. Attached to this messages there is a log of the kernel messages and the console output of guvcview. I hope these data could pinpoint the area where the problem could lie and also warn the potential buyers of the cam of the possible problems with this Philips branded webcam. Best Regards. Mike hmm... you used mjpeg compressed stream for testing. how i said before, skype on linux use only yuv-raw stream. With the debug message you send i can see following jpeg 172x144@30fps set 512 B/frame jpeg 320x240@30fps set 768 B/frame - in this case we get error -28 ENOSPC No space left on device. The bandwidth provided by this cam seems to be really wrong. My logitech set for bot jpeg 172x144@30fps and 320x240@30fps 192 B/frame. How about raw? do it request wrong bandwidth for raw to? Currently i do not know how to handle the freeze issue. So here is the list of problems by this cam: - - it is not USB 2.0, this is why we can request bigger resolution - - it cant handle resolution switch on the fly, and in case of URB error, we need to hard reset it. If we will try to reset the cam with uvcvideo we will kill audio stream (for cam with build in mic). This will make other people angry and add unexpected bug. - - it provide wrong bandwidth info. I still ask my self, how windows handle this? or is there some undocumented agreement between factories and microsoft? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7TYZQACgkQw8E0jNwoJm9XUgCgiwNK2VFdvfEJwxV/1fdTsCya 3BwAn2KwsLEhAiROhOmzPXs6I85lot7q =BhM4 -END PGP 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] Philips SPZ2000/00
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 27.11.2011 19:08, schrieb Michele: Il giorno 25/11/2011 alle ore 12:00, Alexey Fisher ha scritto: Hi, Hello, Thank for you patience. please use luvcview or guvcview for testing. If you need root, then you should check you permission rights on /dev/video* or /dev/dri/card* . I think root was a red herring due different setups of the environment. Do the cam work stable if change video parameters on windows. Did you installed phillips driver on windows? This is the driver used as a driver for the webcam. in the webcam box thre's no installation CD anyway. Driver Name usbvideo.sys Address0x95C13000 End Address 0x95C37000 Size 0x00024000 Load Count 1 Index 136 File Type Driver DescriptionUSB Video Class Driver Version 6.1.7601.17514 (win7sp1_rtm.101119-1850) Company Microsoft Corporation Product Name Microsoft® Windows® Operating System Modified Date 20/11/2010 22:29:03 Created Date 20/11/2010 22:29:03 Filename C:\Windows\System32\Drivers\usbvideo.sys File Attributes A Service Name usbvideo Service Display Name Dispositivo video USB (WDM) seems to me that is the stock USB driver of Seven. I've had non problems with MSN live, Skype or even DScaler (that sees the cam as Direct show). I've made some experiments using guvcview. I've asked to use a resolution of 172x144, then a resolution of 320x240 then again 172x144. The first time i can see the image correctly. The second time the program fails with a device or resource busy message The third time with the same resolution it fails with the same error To make guvcview work again, I've to disconnect and reconnect the webcam from the usb bus. This behaviour is reproducible as normal use or root. Attached to this messages there is a log of the kernel messages and the console output of guvcview. I hope these data could pinpoint the area where the problem could lie and also warn the potential buyers of the cam of the possible problems with this Philips branded webcam. Best Regards. Mike And please, use plaiin text for this maeling list, no HTML formated messages. - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7TYiUACgkQw8E0jNwoJm9iLACfep9Z0jIM1UqP24O//2Qt6j7D iBQAn0Wp6gZkVYRDYy+VfXyL67vEYFYF =7ast -END PGP 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] Problem with wireless webcam from Maplin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, it works like this: - - after you connected some usb device to the host - - it will be checked by usb-core driver - - every device has some class description. - - if your device say, it belong to: 14 - video class, uvcvideo will initiate it. - - if the device is not video class device, then there is no way to uvcvideo will know about it. (except you will force it, but there is no guaranty) On 28.11.2011 14:43, Antonio Roberts wrote: Thanks for that FAQ. I executed lsusb -d 046d:08cb -v | grep 14 Video and I get no output * However * , could this be because it is only reading the wireless dongle? There's no way for me to physically connect the wireless webcam to my computer On 24 November 2011 14:19, Alexey Fisher bug-tr...@fisher-privat.net wrote: Hi, Please read this FAQ: http://www.ideasonboard.org/uvc/faq/ On 24.11.2011 10:49, Antonio Roberts wrote: I've tried camorama, cheese, guvcview and loading cameras through websites like tumblr and facebook. They recognise that a new device is there but I get no video output I've just tried luvcview with luvcview -d /dev/video2 and got this error: SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video2 Stream settings: Frame format: MJPG Unable to set format: Input/output error Init v4L2 failed !! exit fatal On 24 November 2011 09:28, Paulo Assis pj.as...@gmail.com wrote: Hi, Have you tried any other software besides cheese? (guvcview, luvcview,...) Regards, Paulo 2011/11/23 Antonio Roberts anto...@hellocatfood.com: I recently bought this wireless webcam; http://www.maplin.co.uk/2.4ghz-wireless-webcam-388087 . I'm having trouble getting it to work on Ubuntu 11.04. I ran lsusb and got the folowing information about the device: Bus 006 Device 003: ID 0416:a91a Winbond Electronics Corp. I did a Google serach for the device ID and the Linux UVC website (http://www.ideasonboard.org/uvc/ ) informs me that it matches the LogiLink Wireless Webcam (so Maplin probably just rebranded this!). What this website states is that this device should work, which it doesn't. The problem I'm facing is that I don't get any actual video being streamed or shown. The built in microphone works and, when running Cheese, when I press the camera button on the webcam itself the software recognises that the button is pressed. On that note, when running cheese from the terminal with this webcam attached I get the following error: libv4l2: error getting pixformat: Invalid argument libv4l2: error setting pixformat: Input/output error Any help is appreciated ___ 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/ iEYEARECAAYFAk7TobwACgkQw8E0jNwoJm9MewCfSbCFQdf/OVUoIlmouE/DYbmI aO4An2R8yr1Zggr9Yjk2LU0O+5qN8GXn =kjT9 -END PGP 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] WebCam SC-13HDL10931N
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7WDboACgkQw8E0jNwoJm89iwCePs82ROS461vqwikZnmabo1YJ uxUAnAocSTOHO6j0gC+2Kyi6WlvTfOqH =mq5S -END PGP 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] WebCam SC-13HDL10931N
-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
Re: [Linux-uvc-devel] WebCam SC-13HDL10931N
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According your dmesg, this device request 3060 B/frame bandwidth for 640x480@30fps for jpeg stream. it is wrong even for uncompressed stream. Current uvcvideo do not support bandwidth correction for jpeg, but you can enable it for raw stream. Can you please test raw-yuv? Any way, short version: this webcam is buggy. if you wont to save the world, send it back. On 30.11.2011 15:24, Martin Bruse wrote: 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: For got to say: read FAQ for trouble shooting help. On 30.11.2011 12:04, Alexey Fisher wrote: - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7WRdUACgkQw8E0jNwoJm/EOACggni2H6DSxw2jeu3YqoZxZLTH uW0AoKY3etxdYdlVv32QOlQQe9p8ckg2 =UtZU -END PGP SIGNATURE- ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
[Linux-uvc-devel] [faq] test cases
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Laurent, here are new ideas for FAQ: - - I got a new webcam or laptop with build in cam, but it's not working, what should i do? UVC (usb video class) is same kind standard class like UMS (usb mass storage). One of good UMS examples is usb stick. If you will need to install driver to use usb stick it will make no sense and if it is not working on linux it is most probably broken. Same situation is with UVC webcams. *If it is not working with modern linux distribution or any modern linux kernel, then this device is most probably broken!* And if you still can, then give or send it back! - - With app XYZ my webcam is not working, is my cam or app is broken? there are different apps to test webcam: luvcview, guvcview, cheese, mplayer, vlc, skype. We prefer to test it with luvcview or guvcview. The cams can also support different formats, yuv, jpeg, ... in this case try different. PS: Please add reminder on first page: read FAQ before send email. - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7WSL0ACgkQw8E0jNwoJm/ZNwCgrTLnjUTb/qX2TEeDzkhAnwHb lgEAnA3dW/YZ2BIL9kSE46opEdupsY3I =HD8s -END PGP 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] Webcam stops other USB devices (ehci_hcd: HC died; cleaning up)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, becouse of this part i assume it is most likely controller driver issue: Dec 1 15:55:24 ossietzky kernel: [ 355.610354] ehci_hcd :00:12.2: force halt; handshake c9326424 4000 - - -110 Dec 1 15:55:24 ossietzky kernel: [ 355.610366] ehci_hcd :00:12.2: HC died; cleaning up there is nothing we can do about it. But before you go to maeling list of usb developers, try to do fallowing: - - check if it is regression, try older kernel. i do not know how about you distribution but for example here you will find some precompiled kernels: http://kernel.ubuntu.com/~kernel-ppa/mainline/ - - if it is regression should learn how to compile kernel by your self and do git bisect. So if you will be able to provide exact patch of regression, you bug will be fixed really soon. - - you need to know, devs are not magics, no body can make better diagnostic of your computer then you. - - and try to disable usb aoutosuspend, may be the problem is not really hard :) sudo sh -c echo -1 /sys/module/usbcore/parameters/autosuspend or may be this: sudo sh -c echo -1 /sys/module/usbcore/parameters/old_scheme_first if some thing of this will help, then you should inform usb devs. and after this i personally will love to know if it works and how you fixed it. On 01.12.2011 19:21, Michael Below wrote: Hi, today I decided to get a webcam and got the above mentioned error with two different uvc-supported models (Logitech C270, MS HD 5000). I have a HP dc5850 microtower, it has an AMD Phenom II with AMD780 chipset (Radeon 3100 integrated graphics). I am running Debian testing, kernel 3.1. Each time I plugged the Logitech C270 into the system, two other USB devices (Samsung Printer, DLink wireless) stopped working. I only got the other devices working again through a reboot, simple unloading/reloading of the modules wouldn't help. Most of the times also the USB mouse (MS Wireless 5000) would quit (the keyboard is PS/2). I installed the webcam successfully on Windows 7, but when booting into Linux the USB devices stopped working. I returned the Logitech and got a Microsoft HD-5000 webcam instead. I installed it in Windows 7 and rebooted to Linux. I was able to make a test call with Skype on Linux and see my test image there, but when I quit Skype the USB devices stopped working, and rebooting with the webcam attached didn't help, i had to reboot again without the webcam. There is a similar problem described here, but without a solution: http://lkml.org/lkml/2011/4/25/22 Looking at the logs I suspect this might be some kind of interaction between my wireless adapter (D-Link DWL-G122, Ralink RT73-based) and the webcams, maybe involving the EHCI platform? Is there somebody else I should tell about this? I am attaching parts of my kern.log. If you need more info, I am glad to give it... Cheers Michael - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7YirkACgkQw8E0jNwoJm+UkwCeKl6bYIr+GlF4rLe0qTalinzZ 3v0Anic1Kwgxalfjfo2ir66Vo9qTP8Ex =t/iR -END PGP 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] Webcam stops other USB devices (ehci_hcd: HC died; cleaning up)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02.12.2011 09:22, Alexey Fisher wrote: Hi, becouse of this part i assume it is most likely controller driver issue: Dec 1 15:55:24 ossietzky kernel: [ 355.610354] ehci_hcd :00:12.2: force halt; handshake c9326424 4000 - -110 Dec 1 15:55:24 ossietzky kernel: [ 355.610366] ehci_hcd :00:12.2: HC died; cleaning up there is nothing we can do about it. But before you go to maeling list of usb developers, try to do fallowing: - check if it is regression, try older kernel. i do not know how about you distribution but for example here you will find some precompiled kernels: http://kernel.ubuntu.com/~kernel-ppa/mainline/ - if it is regression should learn how to compile kernel by your self and do git bisect. So if you will be able to provide exact patch of regression, you bug will be fixed really soon. - you need to know, devs are not magics, no body can make better diagnostic of your computer then you. - and try to disable usb aoutosuspend, may be the problem is not really hard :) sudo sh -c echo -1 /sys/module/usbcore/parameters/autosuspend or may be this: sudo sh -c echo -1 /sys/module/usbcore/parameters/old_scheme_first correction: sudo sh -c echo Y /sys/module/usbcore/parameters/old_scheme_first - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7YivQACgkQw8E0jNwoJm9YQACfXXEh3SsYmP3UFJDwKt7upi58 B3cAn1axCOSoXBYe7zK2HADJSYCgIite =ZL7u -END PGP 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] Webcam stops other USB devices (ehci_hcd: HC died; cleaning up)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 02.12.2011 13:50, schrieb Michael Below: Hi, Am Freitag, den 02.12.2011, 09:22 +0100 schrieb Alexey Fisher: if some thing of this will help, then you should inform usb devs. and after this i personally will love to know if it works and how you fixed it. Thanks for the quick reply... I tried your suggestions: kernels down to 2.6.32 have similar problems (I couldn't test 2.6.26 because the gdm3 login window froze). The USB options don't help either. As an untechnical fix I tried using the front USB ports instead of the backside ones, this works! Yay! I guess it is another USB controller... Somehow the sound doesn't work when plugged into the front, it worked (for one test call, until all USB crashed) when I had it plugged into the back, any idea what that might be? In pavucontrol and alsamixer things look good... I will report this as a Debian bug, do you think it helps the greater good if i write to the kernel USB people as well? I don't think my HP is exotic hardware, and both cams seem to be quite popular, too... Cheers Michael if i'm correct, the sound issue coused by delay over usb. If you use the mic build in to webcam then: - - after video was started it added extra delay for usb audio controls - - skype ajust really instsivly recod volume so use this audio controls.. - - if audio driver feel like device not responsing or too late, then it will try to reset it. - - this will kill uvcvideo, and crash pulse as well. to work around, you can try nevest kernel v3.2. It use updated usb-audio driver with longer delay. - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7Y0CUACgkQw8E0jNwoJm9ucgCgpRdwEOYLVMX70l62I+MSr8eZ AjEAoJ8HCVvSbEHqqkyZ9U4gQyKTAmqy =xWHy -END PGP 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] 174f:1420 Syntek malfunctions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andres, try UVC_QUIRK_PROBE_DEF: sudo rmmod uvcvideo sudo modprobe uvcvideo quirks=0x100 if it still not work, please send also dmesg with working configuration. Do luvcvideo works? On 08.12.2011 15:04, Andres Cimmarusti wrote: Hi linux-uvc-developers, I have a LC2131 laptop (same as Zareason Strata Pro 13 and ASI SP13R). It comes with a Syntek UVC webcam built-in. It usually works fine, but certain applications fail to use it properly like jitsi / linphone / ekiga / gstreamer-properties / cheese I'm running Debian stable with a customized 3.0.12 kernel. Attached are the logs of the problems experienced. Basically everytime I want to use the webcam with jitsi, it fails. Furthermore it leaves the webcam in a bizarre state and cheese / gstreamer-propertoies fails to access it. Cheese usually segfaults with the message: libv4l2: error setting pixformat: Input/output error Jitsi logs show the following messages: 00:24:47.070 SEVERE: impl.neomedia.device.MediaDeviceImpl.createCaptureDevice().129 Failed to create CaptureDevice from CaptureDeviceInfo USB Camera Device (/dev/video0) : video4linux2:/dev/video0 AVFRAME, class net.java.sip.communicator.impl.neomedia.codec.video.AVFrame, pixFmt= 1 javax.media.NoDataSourceException: Error instantiating class: net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.video4linux2.DataSource : java.io.IOException: ioctl: request= VIDIOC_S_FMT, width= 640, height= 480, pixelformat= 1448695129 Hope this helps to debug this problem. Jitsi is not the only program that makes the webcam behave strangely. Ekiga and linphone screw it up too...or perhaps the driver needs tweaking? I haven't had trouble using the webcam with google video browser plugin though. Let me know if you need more info Thanks Andres ___ 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/ iEYEARECAAYFAk7gzRMACgkQw8E0jNwoJm8nZgCgoY5OVlXh8i78MHSbW+ULwUcI N5QAmwa1jvXQBqcBjc4z2BATkLJbAwKB =KtHf -END PGP 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] 174f:1420 Syntek malfunctions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Am 08.12.2011 20:52, schrieb Andres Cimmarusti: Hi, try UVC_QUIRK_PROBE_DEF: sudo rmmod uvcvideo sudo modprobe uvcvideo quirks=0x100 if it still not work, please send also dmesg with working configuration. Do luvcvideo works? Thanks for your reply. I tried what you suggested, but with no luck. Webcam is left in an unusable state after opening jitsi and trying to test video or establish a video call. I've also noticed that, upon a fresh reboot, the framerate is abhorrent. Using luvcview (I assumed that's what you meant by luvcvideo), I was only able to get 5 fps and then the program froze within 10 seconds of opening. Cheese doesn't freeze, but framerate is terrible, I tried recording a small video and it looked more like a collection of pictures every 2 seconds or so. I've attached the PRE-jitsi console output of luvcview and the POST-jitsi one. I'm curious about something. When I upgraded to kernel 3.0.12, this was the lkml announcement: https://lkml.org/lkml/2011/11/28/562 The commit that was reverted is this one: http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=317451c11fefcb0e05383f0a0080bb7f5445cfcf Could this still be affecting me here by any chance? It sounds plausibly. But in this case i would expect error -28 (no space), rather then -110 (time out). Any way, currently only you can test if it's true. If you use debian you can probably use precompiled ubuntu kernels: http://kernel.ubuntu.com/~kernel-ppa/mainline/ plese test nest and older kernels. If still no results, then try other quirks: #define UVC_QUIRK_STATUS_INTERVAL 0x0001 #define UVC_QUIRK_PROBE_MINMAX 0x0002 #define UVC_QUIRK_PROBE_EXTRAFIELDS 0x0004 #define UVC_QUIRK_BUILTIN_ISIGHT0x0008 #define UVC_QUIRK_STREAM_NO_FID 0x0010 #define UVC_QUIRK_IGNORE_SELECTOR_UNIT 0x0020 #define UVC_QUIRK_FIX_BANDWIDTH 0x0080 #define UVC_QUIRK_PROBE_DEF 0x0100 #define UVC_QUIRK_RESTRICT_FRAME_RATE 0x0200 then if no results, test if device works at all with some alternate OS :) - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7huKkACgkQw8E0jNwoJm9kuwCgk17XJVEcdZRn3cpCOjRGp4B/ xgMAn1ymggANBE71tmLDLwBG1wi6Ckqi =oODy -END PGP 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] [faq] test cases
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30.11.2011 16:16, Alexey Fisher wrote: Hi Laurent, here are new ideas for FAQ: - I got a new webcam or laptop with build in cam, but it's not working, what should i do? UVC (usb video class) is same kind standard class like UMS (usb mass storage). One of good UMS examples is usb stick. If you will need to install driver to use usb stick it will make no sense and if it is not working on linux it is most probably broken. Same situation is with UVC webcams. *If it is not working with modern linux distribution or any modern linux kernel, then this device is most probably broken!* And if you still can, then give or send it back! - With app XYZ my webcam is not working, is my cam or app is broken? there are different apps to test webcam: luvcview, guvcview, cheese, mplayer, vlc, skype. We prefer to test it with luvcview or guvcview. The cams can also support different formats, yuv, jpeg, ... in this case try different. PS: Please add reminder on first page: read FAQ before send email. Here are some new suggestions: + Checklist for troubleshooting: - - Check if it is a regression. uvcvideo driver is _not_ actively developed. If you have some regression it can be caused bu other part of kernel, for example v4l, usb-core or usb-ehci driver. _Test_latest_kernel_ may be your problem is already fixed. If not, test older kernel to find a regression. If it is a regression and you can compile kernel, then use git-bisect to find exact patch cousin trouble. Contact developers of this patch and send a copy of your mail to uvc-devel list, just to let us know about existing problem. May be it will help some one else too. - - Check if your cam actually working. We had some cases where webcam was broken. Check if it works with Windows Vist or 7 (or 8), and it use uvcvideo.sys driver. - - Check if can make this cam work with some of known workarounds. linux$ grep QUIRK drivers/media/video/uvc/uvcvideo.h #define UVC_QUIRK_STATUS_INTERVAL 0x0001 #define UVC_QUIRK_PROBE_MINMAX 0x0002 #define UVC_QUIRK_PROBE_EXTRAFIELDS 0x0004 #define UVC_QUIRK_BUILTIN_ISIGHT0x0008 #define UVC_QUIRK_STREAM_NO_FID 0x0010 #define UVC_QUIRK_IGNORE_SELECTOR_UNIT 0x0020 #define UVC_QUIRK_FIX_BANDWIDTH 0x0080 #define UVC_QUIRK_PROBE_DEF 0x0100 #define UVC_QUIRK_RESTRICT_FRAME_RATE 0x0200 to use for example UVC_QUIRK_PROBE_DEF: sudo rmmod uvcvideo sudo modprobe uvcvideo quriks=0x100 - - any other suggestions? - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7h4rYACgkQw8E0jNwoJm+dOgCfTHTINzAx3AItMJXq6S1EgBz6 iMQAn2EeoDB0yjAeIENSU+5cqelCu9Po =wXBQ -END PGP 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] 174f:1420 Syntek malfunctions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 12.12.2011 05:51, schrieb Andres Cimmarusti: Hi again It sounds plausibly. But in this case i would expect error -28 (no space), rather then -110 (time out). Any way, currently only you can test if it's true. If you use debian you can probably use precompiled ubuntu kernels: http://kernel.ubuntu.com/~kernel-ppa/mainline/ I tested the latest 3 stable kernels: 2.6.39.4, 3.0.13 and 3.1.5 with no luck. I actually cannot use a kernel lower than 3.0.x (permanently) because it has no support for my realtek wireless card. If still no results, then try other quirks: #define UVC_QUIRK_STATUS_INTERVAL 0x0001 #define UVC_QUIRK_PROBE_MINMAX 0x0002 #define UVC_QUIRK_PROBE_EXTRAFIELDS 0x0004 #define UVC_QUIRK_BUILTIN_ISIGHT0x0008 #define UVC_QUIRK_STREAM_NO_FID 0x0010 #define UVC_QUIRK_IGNORE_SELECTOR_UNIT 0x0020 #define UVC_QUIRK_FIX_BANDWIDTH 0x0080 #define UVC_QUIRK_PROBE_DEF 0x0100 #define UVC_QUIRK_RESTRICT_FRAME_RATE 0x0200 Tried all the quirks one by one and nothing. The PROBE_DEF 0x100 quirk is the only one that doesn't complain in dmesg. The others always showed this: [ 5626.340681] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround. then if no results, test if device works at all with some alternate OS :) Well, unfortunately this isn't an option for me. I could try, but I'm not sure what that would accomplish, except getting the thing to work properly. If this would help in bringing support for the linux kernel then I would consider it. If device do not fill uvc standards, there is nothing we can do. This is the reason you should check alternate os, to see if there M$ one more time define wort standard in other way. One example: would you complain to kernel devs if FireWire plug do not fit to USB interface? The same is about UVC. If it is almost UVC webcam, then we can almost support it. Lastly I just want to share a few more of diagnostics I've tried: 1. Attached is the output from the CLI utility 'v4l2-compliance --device=/dev/video0'. It shows a failure in one of the tests: test VIDIOC_S_PRIORITY: FAIL (-1) 2. Also attached is the log of the utility guvcview when I try to use with the webcam. It almost always fails...however it worked once without a problem... how does this make any sense? how is it possible that it works sporadically? Jitsi, ekiga and linphone fail right away, but cheese and luvcview also works sporadically... 3. The webcam works flawlessly with the google talk plugin in conjunction with Firefox 8.0. I know that this plugin uses the 32-bit version of libv4l. While the other applications I've been trying are native 64-bit. Thoughts? comments? google talk plugin do mostly same requests like luvcvideo do. Can you please test if your cam works only with one specific format? On my system GTalk use yuv 640x480@30fps. To imitate it use: luvcview -f yuv -i 30 -s 640x480 I doubt it has some thing todo with 64/32-bit. Can you please test if increasing UVC_CTRL_CONTROL_TIMEOUT will help. You will need to edit: linux/drivers/media/video/uvc/uvcvideo.h and recompile kernel. If not, i have no more ideas. May be Laurent will have. - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7lvIAACgkQw8E0jNwoJm/fpgCfajRsxpAcDL2cHLlUDxtxMrb9 /qIAn0150abP/nsfwAFSZOKKzBhsEUhs =mdab -END PGP 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] I want to get the usb video class driver at a sure SVN version, how could I do?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Some how, what you write make for me no sense, i fear my knowledge is too limited. any way.. the steps to download are described here: http://www.ideasonboard.org/uvc/ i repast it: git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git uvcvideo cd uvcvideo git remote add uvcvideo git://linuxtv.org/pinchartl/uvcvideo.git git remote update git checkout -b uvcvideo-master uvcvideo/uvcvideo-next if you need to jump to some version, use git reset --hard v2.6.29 or what ever version you need. i think uvcvideo repository migrated to git before i was born :) Am 15.12.2011 11:28, schrieb 马令申: from the https://lists.berlios.de/pipermail/linux-uvc-devel; I got following text: [Linux-uvc-devel] svn 200 on 2.6.10 kernel Darren Longhorn darren.longhorn at redembedded.com Tue Apr 22 16:10:18 CEST 2008 Previous message: [Linux-uvc-devel] svn 200 on 2.6.10 kernel ... I just want to get the svn 200 uvc code. How can I do? 2011/12/14, 马令申 malings...@gmail.com: I allways use the svn tools, and not famliar with git or hg. the version of the kernel i used is 2.6.18.xx, montavista linux of davinci dm36x platform. I just want to checkout a sure version UVC to suit for this kernel. any one could give some advice? thx ___ 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/ iEYEARECAAYFAk7qSN8ACgkQw8E0jNwoJm/FqQCdFZt5t87C0AP+zIy31/Tl2Qvq HIQAn0c1YQfSAMX/X3wsfsE1CmArtSJZ =HaRb -END PGP 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] problem with audio/video Microsoft Lifecam studio Hd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 16.12.2011 19:28, schrieb Andrea Greggio: Hi, i'va patched the kernel 3.0.0.14 ubuntu with the path attached to this post http://lists.berlios.de/pipermail/linux-uvc-devel/2011-April/006467.html I'have do: sudo rmmod uvcvideo sudo modprobe uvcvideo quirks=0x440 jpeg_comp=1 trace=0x but the flash windows are black. In syslog i obtain the error: Dec 16 19:19:46 ClientPadova kernel: [ 585.446770] uvcvideo: Queuing buffer 0. Dec 16 19:19:46 ClientPadova kernel: [ 585.446802] uvcvideo: Biggest used buffer: 460800/460800. Format: YUV 4:2:2 (YUYV) 640x360@30. Dec 16 19:19:46 ClientPadova kernel: [ 585.446859] uvcvideo: uvc_v4l2_poll Dec 16 19:19:46 ClientPadova kernel: [ 585.568863] uvcvideo: uvc_v4l2_poll Dec 16 19:19:46 ClientPadova kernel: [ 585.568884] uvcvideo: uvc_v4l2_ioctl(VIDIOC_DQBUF) Dec 16 19:19:46 ClientPadova kernel: [ 585.568897] uvcvideo: [E] Empty buffer queue. Dec 16 19:19:46 ClientPadova kernel: [ 585.568903] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QBUF) Dec 16 19:19:46 ClientPadova kernel: [ 585.568911] uvcvideo: Queuing buffer 0. Dec 16 19:19:46 ClientPadova kernel: [ 585.589395] uvcvideo: uvc_v4l2_release Dec 16 19:19:47 ClientPadova kernel: [ 586.702329] uvcvideo: uvc_v4l2_open Dec 16 19:19:47 ClientPadova kernel: [ 586.702375] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QUERYCAP) Dec 16 19:19:47 ClientPadova kernel: [ 586.702396] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FMT) Dec 16 19:19:47 ClientPadova kernel: [ 586.702405] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FMT) Dec 16 19:19:47 ClientPadova kernel: [ 586.702413] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FMT) Dec 16 19:19:47 ClientPadova kernel: [ 586.702420] uvcvideo: uvc_v4l2_ioctl(VIDIOC_ENUM_FMT) Dec 16 19:19:47 ClientPadova kernel: [ 586.702427] uvcvideo: uvc_v4l2_ioctl(VIDIOC_G_FMT) Dec 16 19:19:47 ClientPadova kernel: [ 586.702435] uvcvideo: uvc_v4l2_ioctl(VIDIOC_S_FMT) Dec 16 19:19:47 ClientPadova kernel: [ 586.702445] uvcvideo: Trying format 0x56595559 (YUYV): 640x360. Dec 16 19:19:47 ClientPadova kernel: [ 586.702451] uvcvideo: Using default frame interval 3.3 us (30.0 fps). Dec 16 19:19:47 ClientPadova kernel: [ 586.702460] uvcvideo: uvc_set_video_ctrl: PROBE; bmHint: 1; bFormatIndex: 1; bFrameIndex: 5; dwFrameInterval: 33; wKeyFrameRate: 0; wCompQuality: 0; wCompWindowSize: 0; wDelay: 0; dwMaxVideoFrameSize 0; dwMaxPayloadTransferSize: 0 Dec 16 19:19:47 ClientPadova kernel: [ 587.012105] 4:3:1: cannot get freq at ep 0x82 Dec 16 19:19:47 ClientPadova kernel: [ 587.012238] uvcvideo: Failed to set UVC probe control : -32 (exp. 26). Dec 16 19:19:47 ClientPadova kernel: [ 587.012258] uvcvideo: uvc_v4l2_release Dec 16 19:22:18 ClientPadova kernel: [ 738.008048] uvcvideo: Suspending interface 1 Dec 16 19:22:18 ClientPadova kernel: [ 738.008055] uvcvideo: Suspending interface 0 Is path correct or ther's another patch to apply? are my command correct or ther's an error? this patch affect only JPEG stream. in your log i see only YUV. try quirks=0x80 instead. - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7rnigACgkQw8E0jNwoJm8vwgCcDSNrKggz0Gdz5BtJvWl/vQGd tU4An3zdUvQc12tX58NV7k6CSGNCxrZQ =PI2p -END PGP 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] Acer HD Crystal Eye webcam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 18.12.2011 13:53, schrieb Buchmann Lucien: Hello together, I've got the Acer Aspire 5930 and my problem is that my webcam doesn't work anymore. I've seen that the cam is a supported device (064e:a117), so I decided to write to you. Two years ago, under ubuntu 8.10, the webcam just worked, but in later versions of ubuntu (ubuntu 9.04, 9.10, 10.04, 10.10), I didn't get a /dev/video0 device. I'd really appreciate any hints. Regards, Lucien hi, if it is regression, only person who can find the patch caused this, is you. Ubuntu 8.10 used kernel version 2.6.27-7-generic, or some thing like this. You can find some older precompiled kernels here: http://kernel.ubuntu.com/~kernel-ppa/mainline/ please test it. If you will find that this regression happened between v2.6.27 and v2.6.28 it will be easier to find exact patch by using git bisect. - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7t9+0ACgkQw8E0jNwoJm9sCACgwJ/nosoJXg3EfgAf8oaCCp6K /YEAniYTZlIMgvXa7yfQAO6hSTRVcQWE =q7uE -END PGP 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] [patch] add report file to debugfs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 18.12.2011 20:37, schrieb Laurent Pinchart: Hi Alexey, Thanks for the patch, and sorry for the late reply. On Monday 21 November 2011 15:51:47 Alexey Fisher wrote: Hi Laurent, here is my version of bug_report file for debugfs. It include usb.id, dmi.system.product (for upsidedown report). And stream specific information. I think it is good size for initial patch. I near future i would like to add control call count and control error rate to stats. And probably firs urb error number to report file. I think it will be enough to provide needed info for troubleshooting. I got a couple of comments regarding both the purpose of the patch and its implementation. I'd like to discuss the purpose first. My understanding is that this new debugfs entry is meant to help diagnosing and debugging issues. This is a nice thing, but most of the debugging information (such as the USB VID:PID and the DMI information) can already be obtained using lsusb and dmidecode. Duplicating in debugfs information that is already available through other means isn't something I'm very fond of. Sure, dmidecode needs to be run as root, but if the user can't figure that out I don't think getting him to moutn debugfs will be a great success either :-) Ok, i agree. The i suggest to add two updates for FAQ. 1) sudo echo 0x /sys/module/uvcvideo/parameters/trace and sudo echo 0 /sys/module/uvcvideo/parameters/trace should be probably corrected to: sudo sh -c echo 0x /sys/module/uvcvideo/parameters/trace sudo sh -c echo 0 /sys/module/uvcvideo/parameters/trace at least on ubuntu it is imposable to execute the previous version. 2) add in case of upside down webcam. sudo dmidecode -t system -t baseboard after some more time in this list i got some reasonable amount of skepticism. so i can agree to remove many of my previous suggestions :D Here i my current thoughts: - - Looks like bandwidth keeps to be a major problem. Last month there was cases with: lowspeed cam; high speed on low speed bus(?); advanced cases with more then one cam using jpeg compression (usually buggy cams)... i also noticed that people (including me) wont to know video format currently used by cam. So probably packet size, and frame format should be included in to debugfs report. - - other problem i noticed is: looks like uvcvideo collides some time with snd-usb-audio. For example if audio use lots of ctrl messages and get time out because of video stream, it resets usb device and kill both audio and video. Other example from one of last mails: = uvcvideo: uvc_set_video_ctrl: PROBE; bmHint: 1; bFormatIndex: 1; bFrameIndex: 8; dwFrameInterval: 33; wKeyFrameRate: 0; wCompQuality: 0; wCompWindowSize: 0; wDelay: 0; dwMaxVideoFrameSize 0; dwMaxPayloadTransferSize: 0 5:3:1: cannot get freq at ep 0x82 uvcvideo: Failed to set UVC probe control : -32 (exp. 26). = if i interpret it correctly: video and audio send ctrl at same time and fail. -32 mean wrong pipe. am i correct? stand alone each works fine. for this case i have no idea for debugfs report. probably dmesg is the best way to do it. - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7ucGMACgkQw8E0jNwoJm/SGgCcCeorwiDQCaWQ+x4gV1S3wfS2 XjsAoKwFbcuHaggi3dL2wdlAcwrQ647m =3sIb -END PGP 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] Webcam/mic device 046d:082b Logitec c170
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 18.12.2011 22:51, schrieb Πιστιόλης Κώστας: Hello to the team, I have just bought a new webcam with microphone Logitec c170 with IDs 046d:082b which is not in the list of the page www.ideasonboard.org/uvc/#devices It seems that both the camera and the microphone work, as I've managed to use them with pidgin. Is there any other test that you want me to run in order to confirm that it works ok in all aspects? (like checking resolution(s) with some v4l program, or checking suspending, etc.) Do you want me to send you any usb dumps/logs or anything? Con Hi, thank you for the report. there is no need of more test. Most never logitech cams just work. - -- Regards, Alexey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7u/LYACgkQw8E0jNwoJm+EDACfdErVIJGrvkYKAM3rGdm2JRER ALcAnjLyUFJoERyc5IPQ2fGS5XNjkAuy =/Alo -END PGP 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] What should I do if I want to add new control through the uvcdynctrl
Hi, it will be better to start with UVC documentation. You can download it here: http://www.usb.org/developers/devclass_docs/USB_Video_Class_1_1_090711.zip You will also find all answers in this doc. On 31.12.2011 07:46, stream hu wrote: Hi, all: I'm a newer of Linux developer, and I'm interesting in the UVC EU because I want to add my personal control for the camera(for example, zoom in/out, which the camera supports). what I have done is as follow: (1) Get the GUID of the device; (2) Modify the usr/share/uvcdynctrl/data/ 046d/logitech.xml, and replace the GUID with the new GUID, VID, PID; (3) And I load the XML dynamically with the command uvcdynctrl But it returns the error that: Unable to add control with GUID... So I'm wondering that is there any examples about how to add new control for the device? If no, what's the meaning of tag selector, index,size, where is the value comes from? control id=logitech_video_raw_bpp entityUVC_GUID_LOGITECH_VIDEO_PIPE/entity selectorXU_RAW_DATA_BITS_PER_PIXEL/selector index7/index size1/size If there is an example about how to add the new control, I will very appreciate for that!! Thanks for your attention! -- Regards, Oleksij ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel