Sound from TV card and saa7134-alsa - Mandriva

This is a discussion on Sound from TV card and saa7134-alsa - Mandriva ; The analog tuner card, TV-PCIRC is giving me conniptions for sound. The audio out on the back of the card matches the channel it is tuned to. And sound works in general on the mobo, I can do something like: ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Sound from TV card and saa7134-alsa

  1. Sound from TV card and saa7134-alsa

    The analog tuner card, TV-PCIRC is giving me conniptions for sound.
    The audio out
    on the back of the card matches the channel it is tuned to. And sound
    works in general
    on the mobo, I can do something like:

    aplay soundfile.wav

    and it comes out on the green jack, as expected. But I can't seem to
    get sound out of
    the card with saa7134-alsa.

    For instance:


    modprobe saa7134 card=42 tuner=11
    modprobe saa7134_alsa index=5
    arecord -l
    **** List of CAPTURE Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: ALC883 Analog [ALC883 Analog]
    Subdevices: 2/2
    Subdevice #0: subdevice #0
    Subdevice #1: subdevice #1
    card 0: SB [HDA ATI SB], device 2: ALC883 Analog [ALC883 Analog]
    Subdevices: 2/2
    Subdevice #0: subdevice #0
    Subdevice #1: subdevice #1
    card 5: SAA7134 [SAA7134], device 0: SAA7134 PCM [SAA7134 PCM]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    but neither of these get sound out of the green jack:

    arecord -D hw:0,5 -r 32000 -C 2 -f S16_LE | aplay -
    arecord -D hw:5,0 -r 32000 -C 2 -f S16_LE | aplay -

    Similar commands in mplayer bring up a soundless display.

    It is possible to get the sound from the TV card into the system by
    physically connecting
    audio-out to the microphone in. When I do that the channel's sound
    comes out the green
    jack (very loudly). Still, I'd like to get the saa7134-alsa stuff
    working. In some ways it seems
    that the sound card is set up to use microphone in and ignore saa7134-
    alsa. I did see one post
    that the sound card might be muted, and to try

    v4lctl -c /dev/video0 volume mute off

    So loaded xawtv and xawtv-control, and tried it, and nothing. Here's
    an mplayer attempt:

    mplayer -tv driver=v4l2:width=640:height=480utfmt=i420:\
    normid=4:input=1:chanlist=us-bcast:channel=7:alsa:adevice=hw.0,5:\
    amode=1:audiorate=32000:forceaudio:volume=100 -vc rawi420 -vo xv tv://
    ....
    Selected video codec: [rawi420] vfm: raw (RAW I420)
    ================================================== ========================
    Audio: no sound
    Starting playback...
    ....



    Can anybody see what I'm doing wrong???


    Thanks,

    David Mathog


  2. Re: Sound from TV card and saa7134-alsa

    More info:

    % lsmod | grep saa7134
    saa7134_alsa 11712 0
    saa7134 118380 1 saa7134_alsa
    video_buf 20452 3 video_buf_dvb,saa7134_alsa,saa7134
    compat_ioctl32 1920 1 saa7134
    ir_kbd_i2c 7504 1 saa7134
    ir_common 30468 2 saa7134,ir_kbd_i2c
    videodev 27296 1 saa7134
    v4l2_common 16064 3 saa7134,tuner,videodev
    v4l1_compat 14308 2 saa7134,videodev
    snd_pcm 69636 3 saa7134_alsa,snd_pcm_oss,snd_hda_intel
    snd 45092 10
    saa7134_alsa,snd_seq_oss,snd_seq,snd_seq_device,sn d_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_ timer,snd_hwdep
    i2c_core 20224 12
    dvb_pll,tda826x,mt352,tda10086,nxt200x,isl6421,tda 1004x,tda827x,saa7134,tuner,ir_kbd_i2c,i2c_piix4

    % uname -a
    Linux mediahog 2.6.22.18-desktop-1mdv #1 SMP Mon Feb 11 13:53:50 EST
    2008 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ GNU/Linux

    % dmesg | tail
    saa7134 ALSA driver for DMA sound loaded
    saa7130[0]/alsa: saa7130[0] at 0xfdbff000 irq 21 registered as card 5

    % rpm -qa | grep fglrx
    x11-driver-video-fglrx-8.471-1mdv2008.0
    dkms-fglrx-8.471-1mdv2008.0
    fglrx-control-center-8.471-1mdv2008.0
    fglrx-devel-8.471-1mdv2008.0

    Motherboard is ECS AMD790GM-M2
    32bit Mandriva.

    Thanks,

    David Mathog


  3. Re: Sound from TV card and saa7134-alsa

    Lastly,

    % alsamixer -c 5

    shows three channels line1, line2, and video. All 3 are set to 100%
    for both playback
    and capture.

    Thanks,

    David Mathog

  4. Re: Sound from TV card and saa7134-alsa

    On Sun, 16 Mar 2008 17:28:53 -0700, dmathog wrote:

    > Lastly,
    >
    > % alsamixer -c 5
    >
    > shows three channels line1, line2, and video. All 3 are set to 100% for
    > both playback
    > and capture.
    >

    Are you sure the PCM channel setting isn't set to 0? Sorry, all my tuners
    are ATSC only and don't require separate sound. Just a wag. I use aumix.




    --
    Want the ultimate in free OTA SD/HDTV Recorder? http://mythtv.org
    My Tivo Experience http://wesnewell.no-ip.com/tivo.htm
    Tivo HD/S3 compared http://wesnewell.no-ip.com/mythtivo.htm
    AMD cpu help http://wesnewell.no-ip.com/cpu.php

  5. Re: Sound from TV card and saa7134-alsa

    Wes Newell wrote:
    > On Sun, 16 Mar 2008 17:28:53 -0700, dmathog wrote:
    >
    >> Lastly,
    >>
    >> % alsamixer -c 5
    >>
    >> shows three channels line1, line2, and video. All 3 are set to 100% for
    >> both playback
    >> and capture.
    >>

    > Are you sure the PCM channel setting isn't set to 0? Sorry, all my tuners
    > are ATSC only and don't require separate sound. Just a wag. I use aumix.
    >


    Hermann Pitton sent me the answer to this mystery - the saa7130 has no
    ability to digitize the TV's sound. The only TV sound
    output is analog and that is piped out the back of the card and
    must be physically connected to the sound card's input with a
    patch card.

    I think the 3 channels described above are created by the saa7134-alsa
    driver, but there is nothing physically "there" to provide a data stream
    for them.

    Regards,

    David Mathog




+ Reply to Thread