Re: [Linux-uvc-devel] Genius FaceCam 310

2010-11-24 Thread malefico
 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


[Linux-uvc-devel] Logitech C300 webcam problem

2010-11-24 Thread Victor Rodriguez
HI I have been working with the webcam Logitech Webcam C300 Device ID
046d:0805 for some days on Beagle board but I can not make it works

I have tested it on my Ubuntu 10.04 desktop and it works fine here is
the logfile when I plug it

Nov 24 09:42:08 victor-desktop kernel: [ 1914.457565] usb 1-4: USB
disconnect, address 3
Nov 24 09:42:12 victor-desktop kernel: [ 1918.936020] usb 4-1: new
full speed USB device using uhci_hcd and address 7
Nov 24 09:42:13 victor-desktop kernel: [ 1920.116027] usb 1-4: new
high speed USB device using ehci_hcd and address 7
Nov 24 09:42:14 victor-desktop kernel: [ 1920.415046] usb 1-4:
configuration #1 chosen from 1 choice
Nov 24 09:42:14 victor-desktop kernel: [ 1920.415683] uvcvideo: Found
UVC 1.00 device unnamed (046d:0805)
Nov 24 09:42:14 victor-desktop kernel: [ 1920.453579] input: UVC
Camera (046d:0805) as
/devices/pci:00/:00:1a.7/usb1/1-4/1-4:1.0/input/input7

Then i clone the repo from git

http://www.ideasonboard.org/uvc/

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

then i make

make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig

And then I go to

 * Multimedia support  ---
Video For Linux
Video capture adapters
 V4L USB devices

But there I can not find the module that I should enable for my webcam

On the other hand with another webcam

Microsoft Lifecam  VX-3000
The which is not on the list works fine because the log file on my
Ubuntu 10.04 desktop is

Nov 24 09:53:13 victor-desktop kernel: [ 2579.616292] gspca: disconnect complete
Nov 24 09:53:19 victor-desktop kernel: [ 2585.996025] usb 4-1: new
full speed USB device using uhci_hcd and address 9
Nov 24 09:53:19 victor-desktop kernel: [ 2586.154201] usb 4-1:
configuration #1 chosen from 1 choice
Nov 24 09:53:19 victor-desktop kernel: [ 2586.157516] gspca: probing 045e:00f5
Nov 24 09:53:19 victor-desktop kernel: [ 2586.162257] sonixj: Sonix chip id: 11
Nov 24 09:53:19 victor-desktop kernel: [ 2586.164157] gspca: probe ok

So I make the same that before

make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig


 * Multimedia support  ---
Video For Linux
Video capture adapters
 V4L USB devices
GSPCA based webcams
SONIX JPEG USB Camera Driver

And it works fine

On my Beagleboard the log file is

usb 1-2.4: new full speed USB device using ehci-omap and address 7
gspca: probing 045e:00f5
sonixj: Sonix chip id: 11
gspca: /dev/video0 created
gspca: probing 045e:00f5
gspca: intf != 0

And /dev/video0 is created

My qeustion is , Which is the correct module that I should enable for
my Logitech c300 webcam ?

Besides when I boot with the uImage from you kernel I just can see the
console , but not the DVI ir VGA screen of my FS , is there any other
module that I should enable in order to be able to what on any screen
my video ?

I am testing the video with mplayer

Thanks a lot for your help

Regards

Victor Rodriguez
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Regarding porting of UVC driver on 2.6.18 kernel

2010-11-24 Thread Laurent Pinchart
Hi Sumit,

On Tuesday 23 November 2010 15:52:12 sumit kumar wrote:
 Hi,
 
 I downloaded the UVC driver from
 http://www.ideasonboard.org/uvc/https://email.mindtree.com/owa/redir.aspx?
 C=ec9c6d820d124391b7bbedea82d2c7b5URL=http%3a%2f%2fwww.ideasonboard.org%2f
 uvc%2f and
 tried compiling it. But it gave so many compilation errors. Has anyone
 ported UVC driver to 2.6.18 kernel(Monta Vista Linux)? Any link or pointer
 will be very helpful.

2.6.18 is very old. It will probably be possible to backport the driver, but 
it won't be easy. I can't help you there.

-- 
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

2010-11-24 Thread Laurent Pinchart
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

2010-11-24 Thread malefico
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

2010-11-24 Thread Martin
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

2010-11-24 Thread Paulo Assis
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

2010-11-24 Thread malefico
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