Cameron Maxwell wrote:
I have a hauppauge wintv-usb B/G(0x0573, 0x4D21). I've been working recently on getting this to work with the usbvision driver. The major problem seems to be with the saa7113 output settings.
I've had similar problems with an OV511 / SAA7111A device. The SAA7111A register settings in the existing Linux driver weren't correct for my particular device. In particular:
o HSYNC start and end register (06h and 07h) settings were completely wrong, which IIRC gave results similar to the image you attached o Output control register 10h, bit 3 (VREF pulse position and length) and bit 4 (Fine position of HS) had to be changed o Output control register 11h, bit 4 (Inverse composite blank) had to be set to 0 o The OV511 had to be set to latch on the negative edge of the pixel clock, rather than positive.
I'm not sure how much of that applies to NT1004 / SAA7113, but hopefully that gives you some things to try.
You also might want to try USB-Snoopy <http://home.jps.net/~koma/> to see how the Windows driver programs the registers. If that fails, you can hack the NT1004 driver to dump the reg values after using the device under Windows (they should remain intact as long as the device doesn't get reset).
-- Mark McClelland mark@xxxxxxxxxxxxxxxx