Re: [PATCH 0 of 4] ov534 patches

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


Antonio Ospite wrote:
> I need to read something more about UVC.

Me too.  This bridge chip supports it -- maybe we just need to tweak
the USB descriptors so that the existing UVC driver knows what to do?

> Ah, and from a quick test on PS3 it looks like the header is not added
> here, but I haven't had the chance to see what exactly happened.

I'm relying on power on defaults, but we can also enable the header
explicitly if that's more reliable.

-jim

--

ov534: explicitly initialize frame format

Set frame format registers 0x0a and 0x0b to explicit values
rather than relying on reset-time defaults

Signed-off-by: Jim Paris <jim@xxxxxxxx>

diff -r bc3e6d69f66b linux/drivers/media/video/gspca/ov534.c
--- a/linux/drivers/media/video/gspca/ov534.c	Tue Dec 09 16:06:08 2008 -0500
+++ b/linux/drivers/media/video/gspca/ov534.c	Tue Dec 09 16:20:30 2008 -0500
@@ -199,6 +199,10 @@
 	{ 0x1d, 0x02 }, /* frame size 0x025800 * 4 = 614400 */
 	{ 0x1d, 0x58 }, /* frame size */
 	{ 0x1d, 0x00 }, /* frame size */
+
+	{ 0x1c, 0x0a },
+	{ 0x1d, 0x08 }, /* turn on UVC header */
+	{ 0x1d, 0x0e }, /* .. */
 
 	{ 0x8d, 0x1c },
 	{ 0x8e, 0x80 },

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

[Linux Media]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Linux Kernel]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [SSH]     [DVB Maintainers]     [Linux USB]     [Yosemite Information]

Add to Google Powered by Linux