[mythtv-users] First recording/live tv: no audio

Jeroen Dijkmans jdij at hotmail.com
Wed Apr 19 13:22:33 UTC 2006


Hello,

I have a mythtv backend/frontend (currenlty svn 9688, but the problem
existed already before this version) which contains a pvr350 (only used
for tv-out and remote control at the moment, thus /dev/video0 is unused)
and a pvr500 which is used by mythtv as input.

The problem I'm facing is that the first recording or the first live tv
session doesn't has audio.  Switching to another channel, or quiting
live tv and entering again solves the problem for the rest of the time
the backend keeps running, but it still is a problem when the machine
autonomously starts up for a recording (when I cannot manually do a live
tv / switch channel).

Although

ivtvctl -Q -d /dev/video1

gives

ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In

I noticed that doing

ivtvctl -q 0 -d /dev/video1

while watching the mute live-tv session also solves the problem.

I have the strong impression that it is a mythtv problem, since 

ivtv-tune -t europe-west -c SE15 -d /dev/video1
cat /dev/video1 > /tmp/test.mpg

produces always a correct mpeg-file, containing audio.

Any hints/tips to solve this problem are highly appreciated.


Jeroen

PS:  some addition info:

I'm running Debian testing, 2.6.15 kernel with ivtv 0.4.4:

My pvr500 is _not_ of the Samsung type:

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.4 (tagged release) loading
ivtv:  Linux version: 2.6.15-1-k7 K7 gcc-4.0
ivtv:  In case of problems please include the debug info between
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
ivtv:  any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected WinTV PVR 350 card (cx23415 based)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 19
ACPI: PCI Interrupt 0000:02:07.0[A] -> Link [LNKB] -> GSI 19 (level, low) -> IRQ 201
tveeprom: ivtv version
tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 8105117
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio processor = MSP4418 (type = 19)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
saa7115 2-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
saa7127 2-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
msp3400 2-0040: chip=MSP4418G-B3 +nicam +simple +simpler +radio mode=simpler
ivtv0: i2c attach to card #0 ok [client=MSP4418G-B3, addr=40]
msp3400 2-0040: msp34xxg daemon started
tda9887 2-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Decoder revision: 0x02020023
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Create encoder radio stream
ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv0: Create decoder VOUT stream
ivtv0: Allocate DMA decoder YUV stream: 20 x 51840 buffers (1024KB total)
ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #0
ivtv0: Initialized WinTV PVR 350, card #0
ivtv:  ======================  NEXT CARD  ======================
ivtv1: Autodetected WinTV PVR 150 card (cx23416 based)
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 18
ACPI: PCI Interrupt 0000:03:08.0[A] -> Link [LNKD] -> GSI 18 (level, low) -> IRQ 209
tveeprom: Second (radio) tuner idx 101
tveeprom: ivtv version
tveeprom: Hauppauge: model = 23559, rev = E591, serial# = 8345738
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc0 i2c-bus ivtv i2c driver #1
TEA5767 detected.
ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=60]
tuner: type set to 62 (Philips TEA5767HN FM Radio) by autodetect
type set to 62 (Philips TEA5767HN FM Radio)
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
tda9887 3-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #1)
ivtv1: i2c attach to card #1 ok [client=tda9887, addr=43]
ivtv1: This is the first unit of a PVR500
cx25840 3-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
cx25840 3-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv1: i2c attach to card #1 ok [client=cx25840, addr=44]
wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
ivtv1: i2c attach to card #1 ok [client=wm8775, addr=1b]
ivtv1: Detected a TEA5767 radio tuner. Enabling radio support.
ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv1: Encoder revision: 0x02050032
ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv1: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv1: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv1: Create encoder radio stream
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #1
ivtv1: Initialized WinTV PVR 500 (unit #1), card #1
ivtv:  ======================  NEXT CARD  ======================
ivtv2: Autodetected WinTV PVR 150 card (cx23416 based)
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 17
ACPI: PCI Interrupt 0000:03:09.0[A] -> Link [LNKA] -> GSI 17 (level, low) -> IRQ 217
tveeprom: Second (radio) tuner idx 101
tveeprom: ivtv version
tveeprom: Hauppauge: model = 23559, rev = E591, serial# = 8345738
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv2: i2c attach to card #2 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #2
ivtv2: i2c attach to card #2 ok [client=(tuner unset), addr=61]
tda9887 4-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #2)
ivtv2: i2c attach to card #2 ok [client=tda9887, addr=43]
cx25840 4-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #2)
cx25840 4-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv2: i2c attach to card #2 ok [client=cx25840, addr=44]
wm8775 4-001b: chip found @ 0x36 (ivtv i2c driver #2)
ivtv2: i2c attach to card #2 ok [client=wm8775, addr=1b]
ivtv2: This is the second unit of a PVR500
ivtv2: Correcting tveeprom data: no radio present on second unit
ivtv2: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv2: Encoder revision: 0x02050032
ivtv2: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv2: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv2: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv2: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #2
ivtv2: Initialized WinTV PVR 500 (unit #2), card #2
ivtv:  ====================  END INIT IVTV  ====================




More information about the mythtv-users mailing list