Hello, I have sent this mail last week, but got not yet response.. Hence I searched a bit myself to find the problem and what is causing my intermittent no sound issues. I have been able to nail down this issue and I know what is causing the no sound problem, but I am not able to find a solution yet... This is why I come back to the guru's looking for an answer.
This is what I have found: Apparently I have no sound when I record (mythtv or cat /dev/video0 > test.mpg) and it detects the sound as 'mono' instead of stereo. Today I was recording a show and it had no sound. This is the output of ivtvctl --log-status Jan 24 20:13:19 BlueMoon kernel: ivtv1: ================= START STATUS CARD #1 ================= Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Video signal: present Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Detected format: PAL-BDGHI Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Detected audio mode: mono Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Detected audio standard: NICAM-BG Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Audio muted: no Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Audio microcontroller: running Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Configured audio standard: automatic detection Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Configured audio system: automatic standard and mode detection Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Specified standard: PAL-BDGHI Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Specified input: Tuner Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Specified audio input: Tuner Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Specified audioclock freq: 48 kHz Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Preferred audio mode: stereo Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Selected 65 MHz format: autodetect Jan 24 20:13:19 BlueMoon kernel: cx25840 1-0044: Selected 45 MHz format: chroma Jan 24 20:13:19 BlueMoon kernel: wm8775 1-001b: Input: default Jan 24 20:13:19 BlueMoon kernel: tda9887 1-0043: Data bytes: b=d4 c=70 e=09 Jan 24 20:13:19 BlueMoon kernel: ivtv1: ================== END STATUS CARD #1 ================== Jan 24 20:13:30 BlueMoon kernel: ivtv0: ================= START STATUS CARD #0 ================= Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Video signal: present Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Detected format: PAL-BDGHI Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Detected audio mode: mono Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Detected audio standard: NICAM-BG Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Audio muted: no Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Audio microcontroller: running Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Configured audio standard: automatic detection Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Configured audio system: automatic standard and mode detection Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Specified standard: PAL-BDGHI Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Specified input: Tuner Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Specified audio input: Tuner Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Specified audioclock freq: 48 kHz Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Preferred audio mode: stereo Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Selected 65 MHz format: autodetect Jan 24 20:13:30 BlueMoon kernel: cx25840 0-0044: Selected 45 MHz format: chroma Jan 24 20:13:30 BlueMoon kernel: wm8775 0-001b: Input: default Jan 24 20:13:30 BlueMoon kernel: tda9887 0-0043: Data bytes: b=d4 c=70 e=09 Jan 24 20:13:30 BlueMoon kernel: ivtv0: ================== END STATUS CARD #0 ================== As you can see, the detected audio mode is 'mono'. Now, while recording, I forced the frequency with ivtvctl -r 3252 and this is again the output of ivtvctl --log-status Jan 24 20:27:52 BlueMoon kernel: ivtv0: ================= START STATUS CARD #0 ================= Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Video signal: present Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Detected format: PAL-BDGHI Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Detected audio mode: stereo Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Detected audio standard: NICAM-BG Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Audio muted: no Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Audio microcontroller: running Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Configured audio standard: automatic detection Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Configured audio system: automatic standard and mode detection Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Specified standard: PAL-BDGHI Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Specified input: Tuner Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Specified audio input: Tuner Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Specified audioclock freq: 48 kHz Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Preferred audio mode: stereo Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Selected 65 MHz format: autodetect Jan 24 20:27:52 BlueMoon kernel: cx25840 0-0044: Selected 45 MHz format: chroma Jan 24 20:27:52 BlueMoon kernel: wm8775 0-001b: Input: default Jan 24 20:27:52 BlueMoon kernel: tda9887 0-0043: Data bytes: b=d4 c=70 e=09 Jan 24 20:27:52 BlueMoon kernel: ivtv0: ================== END STATUS CARD #0 ================== Jan 24 20:27:58 BlueMoon kernel: ivtv1: ================= START STATUS CARD #1 ================= Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Video signal: present Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Detected format: PAL-BDGHI Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Detected audio mode: stereo Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Detected audio standard: NICAM-BG Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Audio muted: no Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Audio microcontroller: running Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Configured audio standard: automatic detection Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Configured audio system: automatic standard and mode detection Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Specified standard: PAL-BDGHI Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Specified input: Tuner Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Specified audio input: Tuner Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Specified audioclock freq: 48 kHz Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Preferred audio mode: stereo Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Selected 65 MHz format: autodetect Jan 24 20:27:58 BlueMoon kernel: cx25840 1-0044: Selected 45 MHz format: chroma Jan 24 20:27:58 BlueMoon kernel: wm8775 1-001b: Input: default Jan 24 20:27:58 BlueMoon kernel: tda9887 1-0043: Data bytes: b=d4 c=70 e=09 Jan 24 20:27:58 BlueMoon kernel: ivtv1: ================== END STATUS CARD #1 ================== As you can see, the detected audio-mode is 'stereo'. I played the record and I do have sound as from the moment I forced the frequency and it detects stereo. I conclude the following: There appears to be an issue with ivtv when it detects mono-sound and the preferred audio mode is stereo. This can be a bug or maybe it is by desing. If it detects mono-sound, shouldn't it be recording mono sound instead of simply no sound? Is there a way to force the driver to stereo (maybe change ' Configured audio system: automatic standard and mode detection' --> how?) I hope this is a bit clear and I hope somebody can help me out... Thanks for your help Arnout Verbeken -----Oorspronkelijk bericht----- Van: Arnout Verbeken [mailto:[EMAIL PROTECTED] Verzonden: maandag 16 januari 2006 18:53 Aan: '[email protected]' Onderwerp: FW: Intermittent no sound on PVR500MCE Hello, Once every couple of days I dont have any sound on my recordings of mythtv. This happens most of the time on encoder1 (which is of course mostly used). When I do a cat /dev/video0 > test.mpg there is also no sound on it. The solution seems to be a reboot of the system, even though this does not always solve the problem. I goes and it comes very intermittently. I first used the recommended firmware of www.ivtvdriver.org and I am using now the latest firmware of www.hauppauge.com. I installed everything as described on www.ivtvdriver.org. Here is some more information. I hope somebody will find an anomaly in it It is a standard Mandriva 2006.0 installation and no other capture cards installed. I live in Belgium and we use PAL here. ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.4.2 (tagged release) loading ivtv: Linux version: 2.6.12-14mdk 686 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 150 card (cx23416 based) ACPI: PCI Interrupt 0000:03:08.0[A] -> GSI 16 (level, low) -> IRQ 16 ivtv0: Unreasonably low latency timer, setting to 64 (was 32) tveeprom: Second (radio) tuner idx 101 tveeprom: ivtv version tveeprom: Hauppauge: model = 23559, rev = E591, serial# = 8336308 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) ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] ivtv0: This is the first unit of a PVR500 tuner (ivtv): chip found at addr 0xc0 i2c-bus ivtv i2c driver #0 TEA5767 detected. ivtv0: i2c attach to card #0 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 #0 ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61] cx25840 0-0044: ivtv driver cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0) cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes) ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44] wm8775 0-001b: ivtv driver wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b] tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43] ivtv0: Detected a TEA5767 radio tuner. Enabling radio support. ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) ivtv0: Encoder revision: 0x02050032 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 tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #0 ivtv0: Initialized WinTV PVR 500 (unit #1), card #0 ivtv: ====================== NEXT CARD ====================== ivtv1: Autodetected WinTV PVR 150 card (cx23416 based) ACPI: PCI Interrupt 0000:03:09.0[A] -> GSI 18 (level, low) -> IRQ 18 ivtv1: Unreasonably low latency timer, setting to 64 (was 32) tveeprom: Second (radio) tuner idx 101 tveeprom: ivtv version tveeprom: Hauppauge: model = 23559, rev = E591, serial# = 8336308 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 0xc2 i2c-bus ivtv i2c driver #1 ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61] cx25840 1-0044: ivtv driver cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1) cx25840 1-0044: loaded v4l-cx25840.fw firmware (14264 bytes) ivtv1: i2c attach to card #1 ok [client=cx25840, addr=44] wm8775 1-001b: ivtv driver wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #1) ivtv1: i2c attach to card #1 ok [client=wm8775, addr=1b] tda9887 1-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 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: ==================== END INIT IVTV ==================== [EMAIL PROTECTED] video]# uname -a Linux BlueMoon 2.6.12-14mdk #1 Tue Dec 20 15:45:27 MST 2005 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz unknown GNU/Linux [EMAIL PROTECTED] Videos]# lspci -v 03:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) Subsystem: Hauppauge computer works Inc.: Unknown device 0807 Flags: bus master, medium devsel, latency 64, IRQ 16 Memory at d8000000 (32-bit, prefetchable) [size=64M] Capabilities: [44] Power Management version 2 03:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) Subsystem: Hauppauge computer works Inc.: Unknown device 0807 Flags: bus master, medium devsel, latency 64, IRQ 18 Memory at dc000000 (32-bit, prefetchable) [size=64M] Capabilities: [44] Power Management version 2 [EMAIL PROTECTED] etc]# cat modprobe.conf alias eth0 eepro100 remove snd-emu10k1 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-emu10k1 install snd-emu10k1 /sbin/modprobe --first-time --ignore-install snd-emu10k1 && { /sbin/modprobe snd-pcm-oss; /bin/true; } alias sound-slot-0 snd-emu10k1 install usb-interface /sbin/modprobe uhci-hcd; /sbin/modprobe ehci-hcd; /sbin/modprobe ohci-hcd; /bin/true alias ieee1394-controller ohci1394 alias eth1 eth1394 #alias char-major-81 -1 ivtv #options ivtv ivtv_std=0,0 tuner=62,62 tda9887=0,0 ivtv_debug=1,1 #options tda9887 port1=0 port2=0 ---------------------------------------------------------------------------- -------------------------------------------------------------------------- I tried with and without the 3 last lines. But initially it was without the options and I run it now again for a couple of days without this. ---------------------------------------------------------------------------- -------------------------------------------------------------------------- [EMAIL PROTECTED] etc]# ls -l /lib/hotplug/firmware/ total 1200 -rw-r--r-- 1 root root 262144 Jan 5 12:19 v4l-cx2341x-dec.fw -rw-r--r-- 1 root root 376836 Jan 5 12:00 v4l-cx2341x-enc.fw -rw-r--r-- 1 root root 376836 Dec 29 22:37 v4l-cx2341x-enc.fw.old -rw-r--r-- 1 root root 155648 Jan 5 12:20 v4l-cx2341x-init-mpeg.bin -rw-r--r-- 1 root root 14264 Jan 5 12:00 v4l-cx25840.fw -rw-r--r-- 1 root root 14264 Dec 29 22:36 v4l-cx25840.fw.old [EMAIL PROTECTED] etc]# ivtvctl -a ioctl IVTV_IOC_G_CODEC ok Codec parameters aspect : 3 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 : 1 framespergop: 12 gop_closure : 1 pulldown : 0 stream_type : 14 ioctl VIDIOC_G_FMT ok Type : Video Capture Width : 720 Height : 576 ioctl VIDIOC_QUERYCAP ok Driver name : ivtv Card type : WinTV PVR 500 (unit #1) Bus info : 0000:03:08.0 Driver version: 1026 Capabilities : 0x01070051 ioctl: VIDIOC_ENUMINPUT Input : 0 Name : Tuner Type : 0x00000001 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000000000FF ( PAL ) Status : 0 Input : 1 Name : Composite 0 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F7FFF ( PAL NTSC SECAM ) Status : 0 Input : 2 Name : Composite 1 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F7FFF ( PAL NTSC SECAM ) Status : 0 Input : 3 Name : S-Video 0 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F7FFF ( PAL NTSC SECAM ) Status : 0 Input : 4 Name : S-Video 1 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F7FFF ( PAL NTSC SECAM ) Status : 0 ioctl VIDIOC_G_INPUT ok Video input = 0 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 = 3252 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 = 0x000000ff ioctl: VIDIOC_QUERYCTRL Brightness = 127 Contrast = 63 Saturation = 63 Hue = 0 Volume = 65024 Mute = 0 ---------------------------------------------------------------------------- ------------------------------ Already thanks for taking your time to take a look into it. Arnout Verbeken _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
