AVerMedia AVerTV GO 007 FM

From LinuxTVWiki
Revision as of 23:10, 3 February 2007 by Kocio (Talk)

Jump to: navigation, search

Quick start

With the current kernels Avermedia AVerTV GO 007 FM works "out of the box", no more source patching is needed. Everything that's really needed to prepare the card to work is to type in two lines:

modprobe saa7134-oss
sox -c 2 -sw -r 32000 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp

Closer look

Using configuration tool DrakConf (drakxtv) in Mandriva Linux resulted in new line in /etc/modprobe.conf :

options saa7134 card=57 tuner=54 gbuffers=4

It seems that tuner value should be "61" instead, but it turned out this option did nothing wrong. Also commenting out this whole line has no visible effect, so I assume it may be skipped.

Command modprobe saa7134 does the job with a trace in /var/log/messages as follows:

Feb 24 20:40:53 auriga kernel: saa7130/34: v4l2 driver version 0.2.14 loaded
Feb 24 20:40:53 auriga kernel: ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 17
Feb 24 20:40:53 auriga kernel: saa7133[0]: found at 0000:00:05.0, rev: 208, irq: 17, latency: 32, mmio: 0xdffff800
Feb 24 20:40:53 auriga kernel: saa7133[0]: subsystem: 1461:f31f, board: Avermedia AVerTV GO 007 FM [card=57,insmod option]
Feb 24 20:40:53 auriga kernel: saa7133[0]: board init: gpio is 803c5
Feb 24 20:40:53 auriga kernel: input: saa7134 IR (Avermedia AVerTV GO as /class/input/input7
Feb 24 20:40:53 auriga kernel: tuner 0-004b: chip found @ 0x96 (saa7133[0])
Feb 24 20:40:54 auriga kernel: tuner 0-004b: setting tuner address to 61
Feb 24 20:40:54 auriga kernel: tuner 0-004b: tuner: type set to tda8290+75
Feb 24 20:40:54 auriga kernel: saa7133[0]: i2c eeprom 00: 61 14 1f f3 ff ff ff ff ff ff ff ff ff ff ff ff
Feb 24 20:40:54 auriga kernel: saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 24 20:40:54 auriga kernel: saa7133[0]: i2c eeprom 20: ff d2 fe ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 24 20:40:54 auriga kernel: saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 24 20:40:54 auriga kernel: saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 24 20:40:54 auriga kernel: saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 24 20:40:54 auriga kernel: saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 24 20:40:54 auriga kernel: saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 24 20:40:55 auriga kernel: saa7133[0]: registered device video0 [v4l2]
Feb 24 20:40:55 auriga kernel: saa7133[0]: registered device vbi0
Feb 24 20:40:55 auriga kernel: saa7133[0]: registered device radio0

There's no sound yet, so the next command is modprobe saa7134-oss, and the result is:

Feb 24 20:41:44 auriga kernel: saa7134 OSS driver for DMA sound loaded
Feb 24 20:41:44 auriga kernel: saa7133[0]: registered device dsp1
Feb 24 20:41:44 auriga kernel: saa7133[0]: registered device mixer1

There's also a saa7134-alsa module, but in my case it was useless, because the sound quality was much worse; modprobe saa7134-alsa gives the following output:

Feb 24 20:05:44 auriga kernel: saa7134 ALSA driver for DMA sound loaded
Feb 24 20:05:44 auriga kernel: saa7133[0]/alsa: saa7133[0] at 0xdffff800 irq 17 registered as card -1

It may work better some day, but for now I had to stick to saa7134-oss module. In a matter of fact modprobe saa7134 may be totally skipped, because while probing for saa7134-oss or saa7134-alsa the main module will be automatically loaded in the background.

The hardware is now perfectly ready, but although you can watch TV, the sound is still not there. As found in AVerMedia Cardbus E500 instructions I did the simple trick, which dumps the sound from TV card (/dev/dsp1) to the real sound card (/dev/dsp):

sox -c 2 -sw -r 32000 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp

See also saa7134-alsa.

Now everything is in place and I can do basic things - watch and listen TV channels.

MythTV and AC '97 Issues (SBLive)

With the equivalent Bona/Mentor TV-PCI card connected via the line input of a Creative Labs Sound Blaster Live! Platinum sound card, I had some issues getting MythTV to capture the audio. The tvtime application worked flawlessly without any of these procedures. I couldn't get the audio working for MythTV with the saa7134-alsa module and the sox workarounds.

On every boot-up, the card must be unmuted and the automute turned off. Some people had the same problems in similar reports for the Avermedia card. Consider putting the following on a boot-up script.

v4lctl setattr automute off
v4lctl setattr mute off

For the Sound Blaster Live card, the AC '97 volume playback control (through a card mixer, such as alsamixer) is to be completely put to 0 (zero), or else you hear the audio being played back twice (loopback). The AC '97 volume capture control should be put as high as possible. This information can be found in the Linux kernel documentation in the Documentation/sound/alsa/SB-Live-mixer.txt file.

I also had issues with the audio captured with MythTV because I was hear crackling noises constantly. The reason was how loaded the system was, so I reduced the capture resolution and quality, as put audio at 32kHz.

Discussion on MythTVtalk

Other Equivalent Cards

* Bona / Mentor TV-PCI