Re: [PATCH] Implement changing resolution on the fly for zr364xx driver

2009-07-22 Thread Lamarque Vieira Souza
Em Quarta-feira 22 Julho 2009, Antoine Jacquet escreveu: > Hi, > > Lamarque Vieira Souza wrote: > > I have made some changes to the patch: > > Since I already included your previous patch and sent a pull request to > Mauro, could you send a patch against my cu

Re: [PATCH] Implement changing resolution on the fly for zr364xx driver

2009-07-21 Thread Lamarque Vieira Souza
Hi, I have made some changes to the patch: . added code to print an error message when buffer is too small to hold frame data, that is better than just a hard crash. Tested using MAX_FRAME_SIZE = 5, lots of error messages appeared in /var/log/messages but no crash. . remove

Re: [PATCH] Implement changing resolution on the fly for zr364xx driver

2009-07-21 Thread Lamarque Vieira Souza
Em Terça-feira 21 Julho 2009, Antoine Jacquet escreveu: > Hi, Hi, > > This patch implements changing resolution in zr364xx_vidioc_s_fmt_vid_cap > > for zr364xx driver. This version is synced with v4l-dvb as of > > 20/Jul/2009. Tested with Creative PC-CAM 880. > > Nice, I successfully test

[PATCH] Implement changing resolution on the fly for zr364xx driver

2009-07-20 Thread Lamarque Vieira Souza
This patch implements changing resolution in zr364xx_vidioc_s_fmt_vid_cap for zr364xx driver. This version is synced with v4l-dvb as of 20/Jul/2009. Tested with Creative PC-CAM 880. OBS: I had to increase MAX_FRAME_SIZE to prevent a hard crash in my notebook (caps lock blinking) when t

Re: [PATCH] Implement V4L2_CAP_STREAMING for zr364xx driver

2009-07-16 Thread Lamarque Vieira Souza
Em Quinta-feira 16 Julho 2009, Mauro Carvalho Chehab escreveu: > Em Wed, 15 Jul 2009 20:54:55 -0300 > > Lamarque Vieira Souza escreveu: > > This patch implements V4L2_CAP_STREAMING for the zr364xx driver, by > > converting the driver to use videobuf. This version is synced w

Re: [PATCH] Implement V4L2_CAP_STREAMING for zr364xx driver

2009-07-16 Thread Lamarque Vieira Souza
400 > [ 523.477390] Call Trace: > [ 523.477390] [] ? notifier_call_chain+0x29/0x4c > [ 523.477390] [] ? cpu_idle+0x23/0x5b > [ 523.477390] [] ? start_kernel+0x2e8/0x2f4 > [ 523.477390] [] ? x86_64_start_kernel+0xe5/0xeb > > I can trigger it each time I read a frame, for exa

[PATCH] Implement V4L2_CAP_STREAMING for zr364xx driver

2009-07-15 Thread Lamarque Vieira Souza
This patch implements V4L2_CAP_STREAMING for the zr364xx driver, by converting the driver to use videobuf. This version is synced with v4l-dvb as of 15/Jul/2009. Tested with Creative PC-CAM 880. It basically: . implements V4L2_CAP_STREAMING using videobuf; . re-implements V4L2_CAP_READWRITE usi

Re: [PATCH] Implement V4L2_CAP_STREAMING for zr364xx driver

2009-07-11 Thread Lamarque Vieira Souza
patch let me know that will fix it. Em Thursday 02 July 2009, Lamarque Vieira Souza escreveu: > Hi all, > > I have noticed the patch mentioned in the subject was not included in > 2.6.30. Do you plan to add it to 2.6.31? > > Em Saturday 28 March 2009, Lamarque Vie

Re: [PATCH] Implement V4L2_CAP_STREAMING for zr364xx driver

2009-07-02 Thread Lamarque Vieira Souza
Hi all, I have noticed the patch mentioned in the subject was not included in 2.6.30. Do you plan to add it to 2.6.31? Em Saturday 28 March 2009, Lamarque Vieira Souza escreveu: > This patch implements V4L2_CAP_STREAMING for the zr364xx driver, by > converting the driver

Re: [PATCH] Implement V4L2_CAP_STREAMING for zr364xx driver

2009-03-28 Thread Lamarque Vieira Souza
Em Saturday 28 March 2009, Hans de Goede escreveu: > On 03/28/2009 11:11 AM, Lamarque Vieira Souza wrote: > > This patch implements V4L2_CAP_STREAMING for the zr364xx driver, by > > converting the driver to use videobuf. > > > > Tested with Creative PC-CA

[PATCH] Implement V4L2_CAP_STREAMING for zr364xx driver

2009-03-28 Thread Lamarque Vieira Souza
This patch implements V4L2_CAP_STREAMING for the zr364xx driver, by converting the driver to use videobuf. Tested with Creative PC-CAM 880. It basically: . implements V4L2_CAP_STREAMING using videobuf; . re-implements V4L2_CAP_READWRITE using videobuf; . copies cam->udev->product to the card fi

Re: Patch implementing V4L2_CAP_STREAMING for zr364xx driver

2009-03-27 Thread Lamarque Vieira Souza
Here is the patch with the modifications you asked. Em Friday 27 March 2009, Mauro Carvalho Chehab escreveu: > On Wed, 25 Mar 2009 20:25:10 -0300 > > Lamarque Vieira Souza wrote: > > Hi, > > > > I have implemented V4L2_CAP_STREAMING for the

Patch implementing V4L2_CAP_STREAMING for zr364xx driver

2009-03-25 Thread Lamarque Vieira Souza
Hi, I have implemented V4L2_CAP_STREAMING for the zr364xx driver (see the attached file). Could you review the code for me? My Creative PC-CAM 880 works, but I do not have any other webcam to test the code. Besides the streaming implementation the patch also does: . re-implemen