Re: gspca_ov534: Changing framerates, different behaviour in 2.6.36

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 22 Nov 2010 13:11:11 +0100
Antonio Ospite <ospite@xxxxxxxxxxxxxxxxx> wrote:

> > > since 2.6.36 + the regression fix in [1] (please apply it):
> > >  3a. dmesg shows the message: ov534: frame_rate: xx
> > >  3b. guvcviews gives some errors and the preview image halts:
> > >        VIDIOC_QBUF - Unable to queue buffer: Invalid argument
> > >        Could not grab image (select timeout):
> > >                   Resource temporarily unavailable
> > 
> > Reverting f7059eaa285c0460569ffd26c43ae07e3f03cd6c brings the old
> > behaviour back. So something there is not happy with changing frame
> > rate on the fly.
> 
> Jean-FranÃois, I'll try to take a deeper look this week, but please
> tell me if you have any guess about what can cause this issue.

Hi Antonio,

I implemented dynamic frame rate change in ov519 for the ov530-ov7670
webcam I have, and it works well.

In the ms-win file ov534.inf (for webcam 05a9:0531), I found sequences
to stop and restart streaming:

HKR,%CamSet%, BlockStream, 1, e0,08,ff
HKR,%CamSet%, StartStream, 1, e0,00,ff

In the ov534 driver, these are:

	ov534_reg_write(gspca_dev, 0xe0, 0x08);
	ov534_reg_write(gspca_dev, 0xe0, 0x00);

So, you may try to block streaming when changing the frame rate (some
delay may also help..).

Best regards.

-- 
Ken ar c'hentaÃ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux