Re: [Linux-uvc-devel] Genius FaceCam 310
Hi Martin, On Wednesday 24 November 2010 19:24:44 Martin wrote: 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?) See Paulo's answer in this mail thread. 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? It's controlled by the hardware. When connected to a system with USB 1.1 controller, USB 2.0 devices fall back to full-speed and low-speed modes only. Systems with a USB 2.0 controller include a companion USB 1.1 controller to support USB 1.1 devices. USB 2.0 devices using high-speed transfer are automatically connected to the USB 2.0 controller, and all other devices (USB 1.1 or USB 2.0 using full-speed or low- speed modes) are connected to the companion controller. I'm not sure if that behaviour can be controlled by software. -- 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] Genius FaceCam 310
Hi, 2010/11/25 malef...@malefico3d.org: YESSS !!! Thank you Paulo, I tried that and I could get image in guvcview :D I guess I have to add this to /etc/modprobe.d/somewhere_in_slackware but I guess I shouldn't have too much trouble with that. Now I wonder if there is a way to use higher resolutions or is it a limitation of usb or driver or you_name_it ? All I can use right now is 176x144. when trying to go higher (320x240) I get the previous errors saying there is no space left in device. I guess you have some other usb device(s) on the same controller that request a lot of bandwidth, this limits the value requested by uvc. You could try connecting to a different controller if available or disconnecting some of your other devices. Best Regards, Paulo Anyway, thanks again ! Claudio Claudio hi, 2010/11/24 malef...@malefico3d.org: Hi Laurent, http://www.pasteall.org/17101 is the output of lsusb -v, line 176 starts blurb about webcam. Have you tried the FIX_BANDWIDTH quirk ? No, where is that ? kernel source ? just do: rmmod uvcvideo modprobe uvcvideo quirks=128 This will make the driver calculate the needed usb bandwidth for your camera, some devices just request the maximum value and this may cause problems if other devices are connected to the same controller. If I'm not mistaken this will only work for uncompressed streams (yuv). Regards, Paulo Thanks for the feedback ! Claudio Hi Claudio, On Wednesday 24 November 2010 14:40:47 malef...@malefico3d.org wrote: This is a bit strange, do you have more than one video device ? What do you have now as /dev/video0 ? No, this happened after I configured ALSA so the audio capture device integrated in the camera, will be taken as the second soundcard (I already have one that I prefer to be the default soundcard). I'm not saying it is related but after doing this, the camera started to be /dev/video1. Nothing really changed anyway, webcam kept on same way. Is there any way to detect and fix the bandwidth problem ? check this thread: http://www.mail-archive.com/linux-usb-us...@lists.sourceforge.net/msg1483 8.html Thanks I will look into it. I presume I have to rebuild the kernel in order to get those bandwidth load reports I see in this thread, right ? The other thing is once I detected the problem is the bandwidth, what should I do ? Have you tried the FIX_BANDWIDTH quirk ? how do I add a second USB controller to my computer ? I wonder if ANYONE here has tried this camera and make it work... Could you please send me the USB descriptors for your camera (lsusb -v) ? -- 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 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] Genius FaceCam 310
This is a bit strange, do you have more than one video device ? What do you have now as /dev/video0 ? No, this happened after I configured ALSA so the audio capture device integrated in the camera, will be taken as the second soundcard (I already have one that I prefer to be the default soundcard). I'm not saying it is related but after doing this, the camera started to be /dev/video1. Nothing really changed anyway, webcam kept on same way. Is there any way to detect and fix the bandwidth problem ? check this thread: http://www.mail-archive.com/linux-usb-us...@lists.sourceforge.net/msg14838.html Thanks I will look into it. I presume I have to rebuild the kernel in order to get those bandwidth load reports I see in this thread, right ? The other thing is once I detected the problem is the bandwidth, what should I do ? how do I add a second USB controller to my computer ? I wonder if ANYONE here has tried this camera and make it work... Best regards Claudio. ___ 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
Hi Claudio, On Wednesday 24 November 2010 14:40:47 malef...@malefico3d.org wrote: This is a bit strange, do you have more than one video device ? What do you have now as /dev/video0 ? No, this happened after I configured ALSA so the audio capture device integrated in the camera, will be taken as the second soundcard (I already have one that I prefer to be the default soundcard). I'm not saying it is related but after doing this, the camera started to be /dev/video1. Nothing really changed anyway, webcam kept on same way. Is there any way to detect and fix the bandwidth problem ? check this thread: http://www.mail-archive.com/linux-usb-us...@lists.sourceforge.net/msg1483 8.html Thanks I will look into it. I presume I have to rebuild the kernel in order to get those bandwidth load reports I see in this thread, right ? The other thing is once I detected the problem is the bandwidth, what should I do ? Have you tried the FIX_BANDWIDTH quirk ? how do I add a second USB controller to my computer ? I wonder if ANYONE here has tried this camera and make it work... Could you please send me the USB descriptors for your camera (lsusb -v) ? -- 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] Genius FaceCam 310
Hi Laurent, http://www.pasteall.org/17101 is the output of lsusb -v, line 176 starts blurb about webcam. Have you tried the FIX_BANDWIDTH quirk ? No, where is that ? kernel source ? Thanks for the feedback ! Claudio Hi Claudio, On Wednesday 24 November 2010 14:40:47 malef...@malefico3d.org wrote: This is a bit strange, do you have more than one video device ? What do you have now as /dev/video0 ? No, this happened after I configured ALSA so the audio capture device integrated in the camera, will be taken as the second soundcard (I already have one that I prefer to be the default soundcard). I'm not saying it is related but after doing this, the camera started to be /dev/video1. Nothing really changed anyway, webcam kept on same way. Is there any way to detect and fix the bandwidth problem ? check this thread: http://www.mail-archive.com/linux-usb-us...@lists.sourceforge.net/msg1483 8.html Thanks I will look into it. I presume I have to rebuild the kernel in order to get those bandwidth load reports I see in this thread, right ? The other thing is once I detected the problem is the bandwidth, what should I do ? Have you tried the FIX_BANDWIDTH quirk ? how do I add a second USB controller to my computer ? I wonder if ANYONE here has tried this camera and make it work... Could you please send me the USB descriptors for your camera (lsusb -v) ? -- 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] 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] Genius FaceCam 310
Claudio hi, 2010/11/24 malef...@malefico3d.org: Hi Laurent, http://www.pasteall.org/17101 is the output of lsusb -v, line 176 starts blurb about webcam. Have you tried the FIX_BANDWIDTH quirk ? No, where is that ? kernel source ? just do: rmmod uvcvideo modprobe uvcvideo quirks=128 This will make the driver calculate the needed usb bandwidth for your camera, some devices just request the maximum value and this may cause problems if other devices are connected to the same controller. If I'm not mistaken this will only work for uncompressed streams (yuv). Regards, Paulo Thanks for the feedback ! Claudio Hi Claudio, On Wednesday 24 November 2010 14:40:47 malef...@malefico3d.org wrote: This is a bit strange, do you have more than one video device ? What do you have now as /dev/video0 ? No, this happened after I configured ALSA so the audio capture device integrated in the camera, will be taken as the second soundcard (I already have one that I prefer to be the default soundcard). I'm not saying it is related but after doing this, the camera started to be /dev/video1. Nothing really changed anyway, webcam kept on same way. Is there any way to detect and fix the bandwidth problem ? check this thread: http://www.mail-archive.com/linux-usb-us...@lists.sourceforge.net/msg1483 8.html Thanks I will look into it. I presume I have to rebuild the kernel in order to get those bandwidth load reports I see in this thread, right ? The other thing is once I detected the problem is the bandwidth, what should I do ? Have you tried the FIX_BANDWIDTH quirk ? how do I add a second USB controller to my computer ? I wonder if ANYONE here has tried this camera and make it work... Could you please send me the USB descriptors for your camera (lsusb -v) ? -- 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 mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Genius FaceCam 310
YESSS !!! Thank you Paulo, I tried that and I could get image in guvcview :D I guess I have to add this to /etc/modprobe.d/somewhere_in_slackware but I guess I shouldn't have too much trouble with that. Now I wonder if there is a way to use higher resolutions or is it a limitation of usb or driver or you_name_it ? All I can use right now is 176x144. when trying to go higher (320x240) I get the previous errors saying there is no space left in device. Anyway, thanks again ! Claudio Claudio hi, 2010/11/24 malef...@malefico3d.org: Hi Laurent, http://www.pasteall.org/17101 is the output of lsusb -v, line 176 starts blurb about webcam. Have you tried the FIX_BANDWIDTH quirk ? No, where is that ? kernel source ? just do: rmmod uvcvideo modprobe uvcvideo quirks=128 This will make the driver calculate the needed usb bandwidth for your camera, some devices just request the maximum value and this may cause problems if other devices are connected to the same controller. If I'm not mistaken this will only work for uncompressed streams (yuv). Regards, Paulo Thanks for the feedback ! Claudio Hi Claudio, On Wednesday 24 November 2010 14:40:47 malef...@malefico3d.org wrote: This is a bit strange, do you have more than one video device ? What do you have now as /dev/video0 ? No, this happened after I configured ALSA so the audio capture device integrated in the camera, will be taken as the second soundcard (I already have one that I prefer to be the default soundcard). I'm not saying it is related but after doing this, the camera started to be /dev/video1. Nothing really changed anyway, webcam kept on same way. Is there any way to detect and fix the bandwidth problem ? check this thread: http://www.mail-archive.com/linux-usb-us...@lists.sourceforge.net/msg1483 8.html Thanks I will look into it. I presume I have to rebuild the kernel in order to get those bandwidth load reports I see in this thread, right ? The other thing is once I detected the problem is the bandwidth, what should I do ? Have you tried the FIX_BANDWIDTH quirk ? how do I add a second USB controller to my computer ? I wonder if ANYONE here has tried this camera and make it work... Could you please send me the USB descriptors for your camera (lsusb -v) ? -- 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 mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Genius FaceCam 310
Have you tried any other app besides vlc ? luvcview, guvcview, cheese, ...? Regards, Paulo 2010/11/23 malef...@malefico3d.org: Hi, I bought a cheap Genius FaceCam 310 usb webcam, which is promoted as being supported in Linux Kernel 2.21 (so it says in the box !) I'm testing in under Slackware 13.1, and the camera is recognized by kernel dmesg: usb 1-1.1: Product: FaceCam 310 uvcvideo: Found UVC 1.00 device FaceCam 310 (0458:7070) input: FaceCam 310 as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input7 However no application I tried seems to get it to work. When trying to capture video from VLC I got: [0x1054040] v4l2 access error: cannot set input (Device or resource busy) libv4l2: error attempting to open more then 16 video devices libv4l2: error attempting to open more then 16 video devices [0x1054040] v4l2 access error: cannot set input (Device or resource busy) lsmod gives: r...@lorien:/home/malefico# lsmod | grep video uvcvideo 60908 2 videodev 37815 3 uvcvideo v4l1_compat 15120 2 uvcvideo,videodev v4l2_compat_ioctl32 11488 1 videodev i2c_core 18679 3 videodev,nvidia,i2c_i801 Any hints as to what to try ? Is this a known bug ? I have search the threads in the list looking for this specific model with no luck. I'll appreciate any help. Thanks in advance Claudio Andaur. ___ 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