[mythtv-users] PVR-150 no audio

Greg Woods greg at gregandeva.net
Sun Jul 24 16:57:17 EDT 2005


I have just spent the last several hours looking through Jarod's Guide
and searching the mailing list archives, but have not found the answer.

I replaced my pcHDTV-3000 card with a PVR-150 (I don't have any HDTV yet
anyway) because I wanted hardware decoding. I am using an analog cable
hooked to the coax input of the card. First I set up the card under
Windows to make sure it worked, the cable signal was good, etc. It works
fine under Windows. Video and audio are good.

Back to Linux, I got the ivtv drivers installed. The modules all load.
All capture tests I have run produce the same result: there is video,
but no audio. Other audio apps work fine so I believe my sound card and
ALSA drivers are configured and loaded correctly. 

The capture tests I have run include cat /dev/video0 to a file, then
reading that file with mplayer; running mplayer directly
off /dev/video0, and mythfrontend. All the same: video is good, no
audio. Mythfrontend in Watch Live TV mode will change channels, but
ptune-ui.pl will not (it SAYS the channel was changed but the running
mplayer is not affected). Running "aplay /dev/dsp" while any video is
playing also produces no sound.

The only thing I found that remotely covers this (not saying there isn't
anything else, just that if there is, I haven't been able to find it) is
a line from the troubleshooting section of the MythTV install doc, a
link to stuff specific to the PVR-250/350, which I am assuming would be
similar to the 150 because they are all MPEG2 encoder cards. It says
that no audio can be caused by loading the wrong msp3400 module.
However, I am as certain as I can be that I am loading the correct
module. I have installed ivtv-0.3.7a, but I briefly tried one of the
0.3.6 versions with the same results. If I look under /lib/module/`uname
-r` , the ivtv directory is the only one that contains an msp3400.ko
file. 

# modinfo msp3400
filename:       /lib/modules/2.6.10-1.770_FC3/ivtv/msp3400.ko
parm:           probe:List of adapter,address pairs to scan additionally
parm:           probe_range:List of adapter,start-addr,end-addr triples
to scan additionally
parm:           ignore:List of adapter,address pairs not to scan
parm:           ignore_range:List of adapter,start-addr,end-addr triples
not to scan
parm:           force:List of adapter,address pairs to boldly assume to
be present
description:    device driver for msp34xx TV sound processor
author:         Gerd Knorr
license:        GPL
vermagic:       2.6.10-1.770_FC3 686 REGPARM 4KSTACKS gcc-3.4
depends:        i2c-core
srcversion:     8CA10DEA2DD743C63D22AEC

I do note, however, that the troubleshooting chapter says that I should
see a line that says "parm: standard int", and as you can see, there is
no such line. All I did to build the driver was "make; make install". Is
there some parameter I need to tweak to make this build correctly? Have
I done something else obviously wrong?

Thanks for any help,
--Greg

# ivtvctl -a
ioctl IVTV_IOC_G_CODEC ok
Codec parameters
aspect      : 2
audio       : 0x00e9
bframes     : 3
bitrate_mode: 0
bitrate     : 4500000
bitrate_peak: 6000000
dnr_mode    : 0
dnr_spatial : 0
dnr_temporal: 8
dnr_type    : 0
framerate   : 0
framespergop: 0
gop_closure : 1
pulldown    : 0
stream_type : 0
ioctl VIDIOC_G_FMT ok
        Type   : Video Capture
        Width  : 480
        Height : 480
ioctl VIDIOC_QUERYCAP ok
        Driver name   : ivtv
        Card type     : WinTV PVR 150
        Bus info      : 0
        Driver version: 775
        Capabilities  : 0x01030011
ioctl: VIDIOC_ENUMINPUT
        Input   : 0
        Name    : S-Video 0
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 1
        Name    : S-Video 1
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 2
        Name    : Composite 0
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 3

        Name    : Composite 1
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 4
        Name    : Composite 2
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 5
        Name    : Composite 3
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 6
        Name    : Tuner 0
        Type    : 0x00000001
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x0000000000003000 ( NTSC )
        Status  : 0

        Input   : 7
        Name    : Tuner 1
        Type    : 0x00000001
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x0000000000003000 ( NTSC )
        Status  : 0
ioctl VIDIOC_G_INPUT ok
Video input = 6
ioctl: VIDIOC_ENUMOUTPUT
ioctl VIDIOC_G_OUTPUT failed: Invalid argument
ioctl: VIDIOC_ENUMAUDIO
        Input   : 0
        Name    : Tuner Audio In

        Input   : 1
        Name    : Audio Line 1

        Input   : 2
        Name    : Audio Line 2

        Input   : 3
        Name    : Audio Line 3

        Input   : 4
        Name    : Audio Line 4
ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 3668
ioctl: VIDIOC_ENUMSTD
        index       : 0
        ID          : 0x0000000000003000
        Name        : NTSC
        Frame period: 1001/30000
        Frame lines : 525

        index       : 1
        ID          : 0x00000000000000FF
        Name        : PAL
        Frame period: 1/25
        Frame lines : 625

        index       : 2
        ID          : 0x00000000007F0000
        Name        : SECAM
        Frame period: 1/25
        Frame lines : 625
ioctl VIDIOC_G_STD ok
Video standard = 0x00003000
ioctl: VIDIOC_QUERYCTRL
Brightness = 127
Contrast = 63
Saturation = 63
Hue = 0
Volume = 58744
Mute = 0




More information about the mythtv-users mailing list