[mythtv-users] Still Problem with SAA7134

cal cal at graggrag.com
Sun Jul 20 10:40:20 UTC 2008


Guenther Sohler wrote:
[ ... ]
I have a few old saa7134 cards in service, and a bit of a soft
spot for them. Not sure if this will come across as a "Don't try
this at home, kids!" story, but I'll try to share what I do with
them.

> * How is the saa7134 module automatically loaded 
For loading the saa7134 module ,the basics would be:
{{{
options saa7134 oss=1 alsa=1 latency=96 gbuffers=32 ts_nr_packets=32 tsbufs=32 vbibufs=8
install saa7134 /sbin/modprobe --ignore-install saa7134; /sbin/modprobe saa7134-alsa;
}}}

In a box with three of them I actually use:
{{{
options saa7134 video_nr=1,2,3 radio_nr=1,2,3 vbi_nr=1,2,3 oss=1 alsa=1 latency=96 gbuffers=32 ts_nr_packets=32 tsbufs=32 vbibufs=8
options saa7134-alsa index=1,2,3
install saa7134 /sbin/modprobe --ignore-install saa7134; /sbin/modprobe saa7134-alsa;
}}}

[ ...]
> * when i finally start mythbackend and mythfrontend, the voice of tv sounds like donald duck.'
>  The voice is probably played at tvice the speed its supposed to be played

The best way by far is to use the ALSA input patch on ticket 3405,
 <http://svn.mythtv.org/trac/ticket/3405>, which is rightly deemed
not quite ready to be committed. It's quite servicable as it is,
though. Its shortcomings are mainly in error handling, and they're
rare, so that's not a tragedy. I use 3405-v2. 

In /etc/asound I have entries for the cards' ALSA inputs:
{{{
pcm.saa7134_1 {
  type hw
  card 1
  rate 32000
}
ctl.saa7134_1 {
  type hw
  card 1
}
pcm.saa7134_2 {
  type hw
  card 2
  rate 32000
}
ctl.saa7134_2 {
  type hw
  card 2
}
pcm.saa7134_3 {
  type hw
  card 3
  rate 32000
}
ctl.saa7134_3 {
  type hw
  card 3
}
}}}

In mythtv-setup, the audiodevice settings are ALSA:saa7134_1, ALSA:saa7134_2,
ALSA:saa7134_3, and it's whatever rating must be set to 32000.

If you can live with a patched system, it all works well.

cheers, Cal


More information about the mythtv-users mailing list