Hallo,
I've bought a Hauppauge WinTV USB2 here in Germany. The card I got is
different from the supported card with the same name. So I gathered
information about my card and tried to add the card to em28xx-cards.c
and em28xx.h, which didn't quite work.
The information about the card is attached (I can also send pictures and
.inf-files on request).
I got v4l-dvb via mercurial and added the card using this entry:
[EM2820_BOARD_HAUPPAUGE_WINTV_USB_2_PALBG] = {
.name = "Hauppauge WinTV USB 2 (PAL B/G)",
.is_em2800 = 0,
.vchannels = 2,
.norm = VIDEO_MODE_PAL,
.tuner_type = TUNER_TCL_2002MB,
.tda9887_conf = TDA9887_PRESENT,
.has_tuner = 1,
.decoder = EM28XX_SAA7113,
.input = {{
.type = EM28XX_VMUX_TELEVISION,
.vmux = SAA7115_COMPOSITE0,
.amux = 0,
},{
.type = EM28XX_VMUX_SVIDEO,
.vmux = SAA7115_SVIDEO3,
.amux = 1,
}},
},
I guessed most of the values. Is there a way to find out what all these
fields should be without trying every possible combination?
With this, the device is found by the driver (see dmesg attachment) but
does not work properly.
MPlayer crashes when testing
mplayer tv://1 -tv driver=v4l2:device=/dev/vbi0
and prints these errors
v4l2: ioctl query control failed: Invalid argument
and xawtv hangs and prints this when i push ^C
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0
[];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=unknown):
Interrupted system call
So... what can I do to find out what the problem is and what values to
put in em28xx-cards.c so I can get this card supported?
-- Jonathan Kleinehellefort