Mailing List Archive

Problem with PVR-350
I'm using running MythTV with a Hauppauge PVR-350 on Ubuntu Linux. After upgrading to Hardy Heron
(kernel 2.6.24-16, ivtv 1.1.0, mythtv 0.21.0), there's no longer any sound in my recordings, nor is
there sound when watching live tv. I've confirmed that the audio line into the PVR-350 is still
good and has sound.

When I do "cat /dev/video0 > test.mpg", the video is fine, but there's no sound in test.mpg, even
when played on another known working computer. When playing recordings from before the upgrade, the
sound is there like normal.

Here are some configuration settings:

# v4l2-ctl --list-audio-input
ioctl: VIDIOC_ENUMAUDIO
Input : 0
Name : Tuner 1

Input : 1
Name : Line In 1

Input : 2
Name : Line In 2

# v4l2-ctl --get-audio-input
Audio input : 1 (Line In 1)

Below is the ivtv output from dmesg. Does anyone know what's wrong? What other logs or
configuration settings can I look at to troubleshoot the problem?

Thanks for your help!

Eric

[ 27.923522] ivtv: Start initialization, version 1.1.0
[ 27.923629] ivtv0: Initializing card #0
[ 27.923633] ivtv0: Autodetected Hauppauge card (cx23415 based)
[ 27.950994] ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
[ 27.951006] ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 20
[ 27.989441] wlan: 0.9.4
[ 28.035646] ath_pci: 0.9.4
[ 28.122045] tveeprom 2-0050: Hauppauge model 48132, rev K268, serial# 9945181
[ 28.122050] tveeprom 2-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
[ 28.122053] tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
[ 28.122056] tveeprom 2-0050: audio processor is MSP4448 (idx 27)
[ 28.122058] tveeprom 2-0050: decoder processor is SAA7115 (idx 19)
[ 28.122060] tveeprom 2-0050: has radio, has IR receiver, has no IR transmitter
[ 28.122063] ivtv0: Autodetected Hauppauge WinTV PVR-350
[ 28.428808] tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
[ 28.428828] tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
[ 28.428831] tuner 2-0043: type set to tda9887
[ 28.431793] tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[ 28.556557] saa7115 2-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
[ 29.275868] parport_pc 00:09: reported by Plug and Play ACPI
[ 29.275920] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 29.348778] saa7127 2-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
[ 29.381224] msp3400 2-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
[ 29.381228] msp3400 2-0040: MSP4448G-A2 supports radio, mode is autodetect and autoselect
[ 29.381021] tuner-simple 2-0061: type set to 47 (LG NTSC (TAPE series))
[ 29.381026] tuner 2-0061: type set to LG NTSC (TAPE serie
[ 29.390693] ivtv0: Registered device video0 for encoder MPG (4096 kB)
[ 29.390709] ivtv0: Registered device video32 for encoder YUV (2048 kB)
[ 29.390724] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
[ 29.390739] ivtv0: Registered device video24 for encoder PCM (320 kB)
[ 29.390754] ivtv0: Registered device radio0 for encoder radio
[ 29.390859] ivtv0: Registered device video16 for decoder MPG (1024 kB)
[ 29.390874] ivtv0: Registered device vbi8 for decoder VBI (64 kB)
[ 29.390889] ivtv0: Registered device vbi16 for decoder VOUT
[ 29.390905] ivtv0: Registered device video48 for decoder YUV (1024 kB)
[ 29.390907] ivtv0: Initialized card #0: Hauppauge WinTV PVR-350
[ 29.390924] ivtv: End initialization
[ 31.830094] ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[ 31.858921] ivtv0: Loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
[ 32.055777] ivtv0: Encoder revision: 0x02060039
[ 32.055898] ivtv0: Decoder revision: 0x02020023
[ 32.146709] ivtv0: Loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
[ 32.335012] ivtvfb0: Framebuffer at 0xed510000, mapped to 0xfa810000, size 1665k
[ 32.446826] ivtvfb0: Framebuffer registered on ivtv card id 0



_______________________________________________
ivtv-users mailing list
ivtv-users@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Re: Problem with PVR-350 [ In reply to ]
Eric writes:

> I'm using running MythTV with a Hauppauge PVR-350 on Ubuntu Linux. After upgrading to Hardy Heron
> (kernel 2.6.24-16, ivtv 1.1.0, mythtv 0.21.0), there's no longer any sound in my recordings, nor is
> there sound when watching live tv. I've confirmed that the audio line into the PVR-350 is still
> good and has sound.
>
> When I do "cat /dev/video0 > test.mpg", the video is fine, but there's no sound in test.mpg, even
> when played on another known working computer. When playing recordings from before the upgrade, the
> sound is there like normal.
>
> Here are some configuration settings:
>
> # v4l2-ctl --list-audio-input
> ioctl: VIDIOC_ENUMAUDIO
> Input : 0
> Name : Tuner 1
>
> Input : 1
> Name : Line In 1
>
> Input : 2
> Name : Line In 2
>
> # v4l2-ctl --get-audio-input
> Audio input : 1 (Line In 1)
>
> Below is the ivtv output from dmesg. Does anyone know what's wrong? What other logs or
> configuration settings can I look at to troubleshoot the problem?

Double-checking my PVR 350 configuration, you need to set your audio input
to Tuner 1.
Re: Problem with PVR-350 [ In reply to ]
Sam Varshavchik wrote:
> Eric writes:
>
>> I'm using running MythTV with a Hauppauge PVR-350 on Ubuntu Linux.
>> After upgrading to Hardy Heron (kernel 2.6.24-16, ivtv 1.1.0, mythtv
>> 0.21.0), there's no longer any sound in my recordings, nor is there
>> sound when watching live tv. I've confirmed that the audio line into
>> the PVR-350 is still good and has sound.
>>
>> When I do "cat /dev/video0 > test.mpg", the video is fine, but there's
>> no sound in test.mpg, even when played on another known working
>> computer. When playing recordings from before the upgrade, the sound
>> is there like normal.
>>
>> Here are some configuration settings:
>>
>> # v4l2-ctl --list-audio-input
>> ioctl: VIDIOC_ENUMAUDIO
>> Input : 0
>> Name : Tuner 1
>>
>> Input : 1
>> Name : Line In 1
>>
>> Input : 2
>> Name : Line In 2
>>
>> # v4l2-ctl --get-audio-input
>> Audio input : 1 (Line In 1)
>>
>> Below is the ivtv output from dmesg. Does anyone know what's wrong?
>> What other logs or configuration settings can I look at to
>> troubleshoot the problem?
>
> Double-checking my PVR 350 configuration, you need to set your audio
> input to Tuner 1.
>

But I'm not using the tuner. I'm using the composite 1 input, so I have video hooked up to the
composite input and the audio to line 1. Regardless, I tried changing the audio input to 0, 1 and 2
and none work. I don't hear the audio I expect. I don't hear anything on tuner 1 either and
perhaps I should at least hear some over-the-air broadcasts, but I don't have an antenna hooked up
so maybe that's why I don't hear anything on tuner 1.

I see the video fine, but below are my video input settings as well as the output from "v4l2-ctl
--list-ctrls"

The latest thing I tried is upgrading to kernel 2.6.24-17 but that didn't help either.

Thanks for your help.

Eric


# v4l2-ctl --list-inputs
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : Tuner 1
Type : 0x00000001
Audioset: 0x00000007
Tuner : 0x00000000
Standard: 0x0000000000001000 ( NTSC )
Status : 0

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

Input : 2
Name : Composite 1
Type : 0x00000002
Audioset: 0x00000007
Tuner : 0x00000000
Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
Status : 0

Input : 3
Name : S-Video 2
Type : 0x00000002
Audioset: 0x00000007
Tuner : 0x00000000
Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
Status : 0

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

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

# v4l2-ctl --get-input
Video input : 2 (Composite 1)

# v4l2-ctl --list-ctrls-menu
User Controls

brightness (int) : min=0 max=255 step=1 default=128 value=128 flags=slider
contrast (int) : min=0 max=127 step=1 default=64 value=63 flags=slider
saturation (int) : min=0 max=127 step=1 default=64 value=63 flags=slider
hue (int) : min=-128 max=127 step=1 default=0 value=0 flags=slider
volume (int) : min=0 max=65535 step=655 default=58880 value=62258
flags=slider
mute (bool) : default=0 value=0

MPEG Encoder Controls

stream_type (menu) : min=0 max=5 default=0 value=0 flags=update
0: MPEG-2 Program Stream
2: MPEG-1 System Stream
3: MPEG-2 DVD-compatible Stream
4: MPEG-1 VCD-compatible Stream
5: MPEG-2 SVCD-compatible Stream
stream_vbi_format (menu) : min=0 max=1 default=0 value=0
0: No VBI
1: Private packet, IVTV format
audio_sampling_frequency (menu) : min=0 max=2 default=1 value=1
0: 44.1 kHz
1: 48 kHz
2: 32 kHz
audio_encoding_layer (menu) : min=1 max=1 default=1 value=1 flags=update
1: Layer II
audio_layer_ii_bitrate (menu) : min=9 max=13 default=10 value=13
9: 192 kbps
10: 224 kbps
11: 256 kbps
12: 320 kbps
13: 384 kbps
audio_stereo_mode (menu) : min=0 max=3 default=0 value=0 flags=update
0: Stereo
1: Joint Stereo
2: Dual
3: Mono
audio_stereo_mode_extension (menu) : min=0 max=3 default=0 value=0 flags=inactive
0: Bound 4
1: Bound 8
2: Bound 12
3: Bound 16
audio_emphasis (menu) : min=0 max=2 default=0 value=0
0: No Emphasis
1: 50/15 us
2: CCITT J17
audio_crc (menu) : min=0 max=1 default=0 value=0
0: No CRC
1: 16-bit CRC
audio_mute (bool) : default=0 value=0
video_encoding (menu) : min=0 max=1 default=1 value=1 flags=readonly
0: MPEG-1
1: MPEG-2
video_aspect (menu) : min=0 max=3 default=1 value=1
0: 1x1
1: 4x3
2: 16x9
3: 2.21x1
video_b_frames (int) : min=0 max=33 step=1 default=2 value=2 flags=update
video_gop_size (int) : min=1 max=34 step=1 default=12 value=15
video_gop_closure (bool) : default=1 value=1
video_bitrate_mode (menu) : min=0 max=1 default=0 value=0 flags=update
0: Variable Bitrate
1: Constant Bitrate
video_bitrate (int) : min=0 max=27000000 step=1 default=6000000 value=4500000
video_peak_bitrate (int) : min=0 max=27000000 step=1 default=8000000 value=6000000
video_temporal_decimation (int) : min=0 max=255 step=1 default=0 value=0
video_mute (bool) : default=0 value=0
video_mute_yuv (int) : min=0 max=16777215 step=1 default=32896 value=32896
spatial_filter_mode (menu) : min=0 max=1 default=0 value=0 flags=update
0: Manual
1: Auto
spatial_filter (int) : min=0 max=15 step=1 default=0 value=0 flags=slider
spatial_luma_filter_type (menu) : min=0 max=4 default=0 value=1
0: Off
1: 1D Horizontal
2: 1D Vertical
3: 2D H/V Separable
4: 2D Symmetric non-separable
spatial_chroma_filter_type (menu) : min=0 max=1 default=0 value=1
0: Off
1: 1D Horizontal
temporal_filter_mode (menu) : min=0 max=1 default=0 value=0 flags=update
0: Manual
1: Auto
temporal_filter (int) : min=0 max=31 step=1 default=0 value=0 flags=slider
median_filter_type (menu) : min=0 max=4 default=0 value=0 flags=update
0: Off
1: Horizontal
2: Vertical
3: Horizontal/Vertical
4: Diagonal
median_luma_filter_minimum (int) : min=0 max=255 step=1 default=0 value=0 flags=inactive slider
median_luma_filter_maximum (int) : min=0 max=255 step=1 default=255 value=255 flags=inactive
slider
median_chroma_filter_minimum (int) : min=0 max=255 step=1 default=0 value=0 flags=inactive slider
median_chroma_filter_maximum (int) : min=0 max=255 step=1 default=255 value=255 flags=inactive
slider
insert_navigation_packets (bool) : default=0 value=0


_______________________________________________
ivtv-users mailing list
ivtv-users@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Re: Problem with PVR-350 [ In reply to ]
Eric writes:

> Sam Varshavchik wrote:
>> Eric writes:
>>
>>> # v4l2-ctl --list-audio-input
>>> ioctl: VIDIOC_ENUMAUDIO
>>> Input : 0
>>> Name : Tuner 1
>>>
>>> Input : 1
>>> Name : Line In 1
>>>
>>> Input : 2
>>> Name : Line In 2
>>>
>>> # v4l2-ctl --get-audio-input
>>> Audio input : 1 (Line In 1)
>>>
>>> Below is the ivtv output from dmesg. Does anyone know what's wrong?
>>> What other logs or configuration settings can I look at to
>>> troubleshoot the problem?
>>
>> Double-checking my PVR 350 configuration, you need to set your audio
>> input to Tuner 1.
>>
>
> But I'm not using the tuner. I'm using the composite 1 input, so I have video hooked up to the
> composite input and the audio to line 1. Regardless, I tried changing the audio input to 0, 1 and 2
> and none work.

In that case, I'd check the mixer settings, next. It's been my experience
that audio mixer settings are very fragile. You sneeze in the wrong
directions, and have the stuff gets muted. Open up the mixer applet on your
desktop, and play around with both the recording AND playback knobs. On my
MythTV box, I am unable to get Myth to control my playback volume. I have to
set it myself, in the mixer. In your case, though, it sounds like some
recording knob is muted.
Re: Problem with PVR-350 [ In reply to ]
Eric wrote:
> Sam Varshavchik wrote:
>> Eric writes:
>>
>>> I'm using running MythTV with a Hauppauge PVR-350 on Ubuntu Linux.
>>> After upgrading to Hardy Heron (kernel 2.6.24-16, ivtv 1.1.0, mythtv
>>> 0.21.0), there's no longer any sound in my recordings, nor is there
>>> sound when watching live tv. I've confirmed that the audio line into
>>> the PVR-350 is still good and has sound.
>>>
>>> When I do "cat /dev/video0 > test.mpg", the video is fine, but there's
>>> no sound in test.mpg, even when played on another known working
>>> computer. When playing recordings from before the upgrade, the sound
>>> is there like normal.
>>
>> Double-checking my PVR 350 configuration, you need to set your audio
>> input to Tuner 1.
>>
>
> But I'm not using the tuner. I'm using the composite 1 input, so I have video hooked up to the
> composite input and the audio to line 1. Regardless, I tried changing the audio input to 0, 1 and 2
> and none work. I don't hear the audio I expect. I don't hear anything on tuner 1 either and
> perhaps I should at least hear some over-the-air broadcasts, but I don't have an antenna hooked up
> so maybe that's why I don't hear anything on tuner 1.
>

I gathered some more troubleshooting info. I do a "cat /dev/video0 > /dev/video16" and see the
input on my TV-out. Now I change inputs using "v4l2-ctl --set-input=X"

I'm using ubuntu and on hardy heron (kernel 2.6.24-17, ivtv 1.1.0), I get video and audio perfectly
when setting the video and audio inputs to Tuner 1. I get video but NO audio when setting the video
to Composite 1 and audio to Line In 1.

I went back to gutsy gibbon with a live CD (kernel 2.6.22-14, ivtv 1.0.0) and did the same thing. I
get both video and audio with both settings (Tuner 1 + Composite1/Line In 1).

Does this mean something's broken in the newer kernel? Should I take this to the dev list?

Thanks for your help.

Eric



_______________________________________________
ivtv-users mailing list
ivtv-users@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-users