Re: [Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-24 Thread Laurent Pinchart
On Tuesday 24 March 2009 09:26:17 lesc...@esiee.fr wrote: > [SOLVED] > > Paulo, > > You were damn right It was a question of USB port. I tried again on an > USB 2.0 port, here is my new results: > > > { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' } > { discrete: width = 160, height =

Re: [Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-24 Thread lescopc
[SOLVED] Paulo, You were damn right It was a question of USB port. I tried again on an USB 2.0 port, here is my new results: { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' } { discrete: width = 160, height = 120 } Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10,

Re: [Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-20 Thread lescopc
Paulo, For the moment, you are right ;) My webcam is connected to an USB 1.1 port. My computer is an old fashion one, only has USB 1.1 ports. Right now, I am configuring another one which has USB 2.0 ports. I will give you some feedback as soon as I can. Hope you are totally right and that it is t

Re: [Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-19 Thread Paulo Assis
Cédric, I think I failed to see the obvious. Make sure your camera is connected to a USB2 hub. Logitech cameras (and maybe all uvc devices) cut down available resolutions when pluged to a slower USB1 pipe. Best regards, Paulo 2009/3/19 > Paulo, > > > Here what I have from "luvcview -L": > >

Re: [Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-19 Thread Paulo Assis
Cédric, According to logitech: http://www.quickcamteam.net/devices/logitech_uvc_frame_format_matrix.xls your camera should support up to 1600x1...@5fps in yuv mode. However it's only reporting up to 176x144, this is very strange. I've seen some posts( http://www.hbrobotics.org/wiki/index.php5/Be

Re: [Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-19 Thread lescopc
On Thu, March 19, 2009 14:30, Laurent Pinchart wrote: > Hi Cédric, > > > On Thursday 19 March 2009 09:27:07 lesc...@esiee.fr wrote: > >> Hi, >> >> >> This is my problem, I don't have any errors. V4L2 API says that when >> you ask for a Width and Heigth, the driver will give you the max ones >> belo

Re: [Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-19 Thread lescopc
Hi Paulo, I inserted you code into mine. I set: formatIn = V4L2_PIX_FMT_YUYV width = 640 height = 480 fps = 30 The result is: "Requested Format unavailable: get width 176 height 144" Like I usually got :( Thank you for trying to help me anyway, Cédric Lescop On Thu, March 19, 2009 10:25, P

Re: [Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-19 Thread Laurent Pinchart
Hi Cédric, On Thursday 19 March 2009 09:27:07 lesc...@esiee.fr wrote: > Hi, > > This is my problem, I don't have any errors. V4L2 API says that when you > ask for a Width and Heigth, the driver will give you the max ones below > the values you asked for. Meaning if you ask for 817x616, it will set

Re: [Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-19 Thread Paulo Assis
Cédric Hi, Could you pleaser try the following function, you will have to make the necessary adaptations to your code. int set_format(int fd, int formatIn, int width, int height, int fps) { struct v4l2_format fmt; struct v4l2_streamparm streamparm; int ret=0; // set format

Re: [Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-19 Thread lescopc
Hi, This is my problem, I don't have any errors. V4L2 API says that when you ask for a Width and Heigth, the driver will give you the max ones below the values you asked for. Meaning if you ask for 817x616, it will set 800x600 without returning any errors. My DMESG (no pb, I have got my "/dev/vi

Re: [Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-18 Thread Laurent Pinchart
Hi, On Monday 16 March 2009 14:43:35 lesc...@esiee.fr wrote: > Hello everyone, > > I'm using this webcam to do some streaming and image analysis. > When using Logitech's driver under MS Window, it works fine. I've access > to all resolutions with the RGB24 format. The camera doesn't support the R

[Linux-uvc-devel] Logitech Quickcam Notebook Pro for Business

2009-03-16 Thread lescopc
Hello everyone, I'm using this webcam to do some streaming and image analysis. When using Logitech's driver under MS Window, it works fine. I've access to all resolutions with the RGB24 format. The problem is when running under Linux. I'm using uvcvideo driver via V4L2 but I can't make it work p