Sunday, October 01, 2006

This is a quick outline of how to get a Comprotec VideoMate TV/FM frame grabber working with linux.

Im in Australia and picked up this card at a computer market for $60.
and lspci returns the cards description as...

Multimedia controller: Philips Semiconductors SAA7134 Video Broadcast Decoder (rev 01)

The following steps may work with other saa7134 based chipsets

The first step is to compile the modules,

Make sure you have the 2 modules below compiled into your kernel,

modprobe saa7134 card=19 tuner=12 alsa=1
modprobe saa7134_alsa index=1,2,3,4

type in dmesg and see the results, mine were

saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt 0000:04:09.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 21
saa7134[0]: found at 0000:04:09.0, rev: 1, irq: 21, latency: 32, mmio: 0xfdcff000
saa7134[0]: subsystem: 185b:c200, board: Compro VideoMate TV [card=19,insmod option]
saa7134[0]: board init: gpio is 440000
tuner 0-0060: All bytes are equal. It is not a TEA5767
tuner 0-0060: chip found @ 0xc0 (saa7134[0])
tuner 0-0060: type set to 13 (Alps TSBC5)
tda9887 0-0043: chip found @ 0x86 (saa7134[0])
saa7134[0]: i2c eeprom 00: 5b 18 00 c2 ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff 04 ff 00 05 34 17 cb
saa7134[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: registered device video0 [v4l2]
saa7134[0]: registered device vbi0
saa7134 ALSA driver for DMA sound loaded
saa7134[0]/alsa: saa7134[0] at 0xfdcff000 irq 21 registered as card 1

Now if all goes well, youll get no errors.

To see your new mixing device from the frame grabber
type arecord -l

card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SAA7134 [SAA7134], device 0: SAA7134 PCM [SAA7134 PCM]
Subdevices: 0/1
Subdevice #0: subdevice #0

Now fire up Xawtv and select Television as input and PAL as TV Norm,
Selecting Australian frequency table. and you should be able to see channels ABC/7/9/10/sbs

The one problem I now had is no sound... had a lot of attempts to get sound working but the only way I can is to pipe sound from 1 card into the other, and run that at teh same time as xawtv or tvtime.

arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | aplay -

This works but is very annoying because the audio is a little out of sync with the display, So Id still like the frame grabbers audio out to work.

- a bit light on details but if you find yourself with this card, following these commands may help.

0 Comments:

Post a Comment

<< Home