<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I guess some good news and bad news.&nbsp; When I mute and unmute I can see the audio controller stop then start again and everything else goes smoothly but when I check the audio standard I get the output:<br><br>cx18-0 843: Detected audio standard:&nbsp;&nbsp; no detected audio standard<br>&nbsp;&nbsp; cx18-0 843: Configured audio standard: automatic detection<br><br>and when I use mplayer I get video but still now audio.<br><br>Jayme<br><br>&gt; From: awalls@radix.net<br>&gt; To: ivtv-users@ivtvdriver.org<br>&gt; Date: Mon, 24 Aug 2009 20:28:05 -0400<br>&gt; Subject: Re: [ivtv-users] cx18 anlog tv tuner picture but now audio<br>&gt; <br>&gt; On Sun, 2009-08-23 at 19:25 -0400, Jayme Shaffer wrote:<br>&gt; &gt; Well I checked the hash and it is fine. When I do dmesg | grep v4l  I<br>&gt; &gt; get:<br>&gt; &gt; <br>&gt; &gt; cx18 0000:01:05.0: firmware: requesting v4l-cx23418-cpu.fw<br>&gt; &gt; cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)<br>&gt; &gt; cx18 0000:01:05.0: firmware: requesting v4l-cx23418-apu.fw<br>&gt; &gt; cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes)<br>&gt; &gt; cx18 0000:01:05.0: firmware: requesting v4l-cx23418-cpu.fw<br>&gt; &gt; cx18 0000:01:05.0: firmware: requesting v4l-cx23418-apu.fw<br>&gt; &gt; ivtv 0000:01:06.0: firmware: requesting v4l-cx2341x-enc.fw<br>&gt; &gt; ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)<br>&gt; &gt; cx18 0000:01:05.0: firmware: requesting v4l-cx23418-dig.fw<br>&gt; &gt; cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)<br>&gt; &gt; cx18-0 843: verified load of v4l-cx23418-dig.fw firmware (16382 bytes)<br>&gt; <br>&gt; OK good.<br>&gt; <br>&gt; &gt; I tried using the svideo input and through myth I get now sound which<br>&gt; &gt; might be a config issue on my part but when I do cat /dev/video1 &gt;<br>&gt; &gt; test.mpg I get audio and video.  But when I issue the same command and<br>&gt; &gt; the input is on tuner with a good channel I get video and no audio<br>&gt; &gt; when using cat and still no audio in myth.  Here is a log status<br>&gt; &gt; output when I'm using s-video:<br>&gt; <br>&gt; &gt; Don't know if it helps..<br>&gt; <br>&gt; OK S-video works.<br>&gt; <br>&gt; (BTW, I  tested my DTV set top box analog RF output into the HVR-1600<br>&gt; with the latest v4l-dvb drivers on Fedora 9 (2.26.27) on a 64 bit<br>&gt; machine.  The tuner audio came through fine for me.)<br>&gt; <br>&gt; <br>&gt; So:<br>&gt; <br>&gt; 1. the microcontroller firmware image is correct<br>&gt; 2. the firmware image bytes are written to the microcontroller properly<br>&gt; 3. line-in audio, that bypasses this audio controller, works<br>&gt; <br>&gt; Yet the microcontroller is both stopped and muted.<br>&gt; <br>&gt; What can be wrong:<br>&gt; <br>&gt; 1. The firmware image pointer the kernel provided to the driver is bad -<br>&gt; very unlikely<br>&gt; <br>&gt; 2. The register writes to start up the microcontroller are failing -<br>&gt; very unlikely since all the other register writes seem to be working<br>&gt; fine<br>&gt; <br>&gt; 3. Something is actively muting the tuner audio - the most likely cause.<br>&gt; Probably something from user space is muting the audio.<br>&gt; <br>&gt; <br>&gt; What to do:<br>&gt; <br>&gt; Stop the mythbackend, then <br>&gt; <br>&gt; $ v4l2-ctl -d /dev/video0 -i 0<br>&gt; Video input set to 0 (Tuner 1)<br>&gt; <br>&gt; $ ivtv-tune -d /dev/video0 -t us-cable -c 4       (or whatever channel)<br>&gt; /dev/video0: 67.250 MHz<br>&gt; <br>&gt; $ v4l2-ctl -d /dev/video0 -c audio_sampling_frequency=1     ( 48 ksps )<br>&gt; <br>&gt; $ v4l2-ctl -d /dev/video0 -C audio_sampling_frequency<br>&gt; audio_sampling_frequency: 1<br>&gt; <br>&gt; $ v4l2-ctl -d /dev/video0 -c mute=1<br>&gt; <br>&gt; $ v4l2-ctl -d /dev/video0 --log-status | grep microcontroller<br>&gt;    cx18-0 843: Audio microcontroller:     stopped<br>&gt; <br>&gt; $ v4l2-ctl -d /dev/video0 -c mute=0<br>&gt; <br>&gt; $ v4l2-ctl -d /dev/video0 --log-status | grep microcontroller<br>&gt;    cx18-0 843: Audio microcontroller:     running         (should be running!)<br>&gt; <br>&gt; $ v4l2-ctl -d /dev/video0 --log-status | grep 'audio standard'<br>&gt;    cx18-0 843: Detected audio standard:   BTSC<br>&gt;    cx18-0 843: Configured audio standard: automatic detection<br>&gt; <br>&gt; $ mplayer /dev/video0 -cache 8192<br>&gt; <br>&gt; And you should be seeing US cable channel 4 with audio.<br>&gt; <br>&gt; The critical step above is that disabling the mute starts the audio<br>&gt; controller running.  If that doesn't happen, we'll have to start some<br>&gt; serious troubleshooting.<br>&gt; <br>&gt; <br>&gt;  <br>&gt; <br>&gt; <br>&gt; <br>&gt; &gt; Jayme<br>&gt; &gt; <br>&gt; &gt; &gt; From: awalls@radix.net<br>&gt; &gt; &gt; To: ivtv-users@ivtvdriver.org<br>&gt; &gt; &gt; Date: Fri, 21 Aug 2009 22:26:26 -0400<br>&gt; &gt; &gt; Subject: Re: [ivtv-users] cx18 anlog tv tuner picture but now audio<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; On Fri, 2009-08-21 at 18:24 -0400, Jayme Shaffer wrote:<br>&gt; &gt; &gt; &gt; Thanks for your help so far. With me juggling settings it is now<br>&gt; &gt; &gt; &gt; video0 still no audio. I checked all of the options under the<br>&gt; &gt; &gt; &gt; advanced volume control and no luck. Here is the output for the<br>&gt; &gt; card.<br>&gt; &gt; &gt; &gt; I see a few things that sand out that might be nothing or might be<br>&gt; &gt; the<br>&gt; &gt; &gt; &gt; issue. "no detected audio standard" is one "audio muted yes" is<br>&gt; &gt; &gt; &gt; another ant the last is the "audio microcontroller: stopped". I<br>&gt; &gt; &gt; &gt; looked up the mute command for v4l2-ctl and tried that as well but<br>&gt; &gt; no<br>&gt; &gt; &gt; &gt; luck.<br>&gt; &gt; &gt; .<br>&gt; &gt; &gt; It looks like the "audio standard auto-detection microcontroller<br>&gt; &gt; &gt; firmware" (whew!) didn't get loaded properly.<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; Some things to do:<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; 1. Check to make sure that /lib/frimware (or wherever) has<br>&gt; &gt; &gt; v4l-cx23418-dig.fw in it, it is readable, and has a good hash:<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; $ sha256sum /lib/firmware/v4l-cx23418-dig.fw<br>&gt; &gt; &gt;<br>&gt; &gt; fd545dcb14f40e0666b95fdb3a73356e34ee282c217b96fc2740747ce1c5b0c4 /lib/firmware/v4l-cx23418-dig.fw<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; 2. Check for errors in dmesg or /var/log/messages related to<br>&gt; &gt; &gt; v4l-cx23418-dig.fw failing to load or initialize. Normal loading<br>&gt; &gt; looks<br>&gt; &gt; &gt; somehting like this:<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; [ 16.963093] firmware: requesting v4l-cx23418-cpu.fw<br>&gt; &gt; &gt; [ 18.302494] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332<br>&gt; &gt; bytes)<br>&gt; &gt; &gt; [ 18.347998] firmware: requesting v4l-cx23418-apu.fw<br>&gt; &gt; &gt; [ 18.841280] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000<br>&gt; &gt; (141200 bytes)<br>&gt; &gt; &gt; [ 18.847667] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)<br>&gt; &gt; &gt; [ 19.055046] firmware: requesting v4l-cx23418-cpu.fw<br>&gt; &gt; &gt; [ 19.397242] firmware: requesting v4l-cx23418-apu.fw<br>&gt; &gt; &gt; [ 19.845859] firmware: requesting v4l-cx23418-dig.fw<br>&gt; &gt; &gt; [ 20.368420] cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382<br>&gt; &gt; bytes)<br>&gt; &gt; &gt; [ 20.409945] cx18-0 843: verified load of v4l-cx23418-dig.fw<br>&gt; &gt; firmware (16382 bytes)<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; 3. Try recording from the Composite or SVideo in and audio line in<br>&gt; &gt; &gt; eliminate any problem with the audio processing in the MPEG encoder.<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; Don't worry about the audio being muted for now; that's normal. We<br>&gt; &gt; rely<br>&gt; &gt; &gt; on the microcontroller to unmute the audio when it detetcts a valid<br>&gt; &gt; TV<br>&gt; &gt; &gt; audio standard. And since the microcontroller isn't running....<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; -Andy<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; cx18-0: ================= START STATUS CARD #0 =================<br>&gt; &gt; &gt; &gt; cx18-0: Version: 1.2.0 Card: Hauppauge HVR-1600<br>&gt; &gt; &gt; &gt; tveeprom 0-0050: Hauppauge model 74041, rev C6B2, serial# 937559<br>&gt; &gt; &gt; &gt; tveeprom 0-0050: MAC address is 00-0D-FE-0E-4E-57<br>&gt; &gt; &gt; &gt; tveeprom 0-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)<br>&gt; &gt; &gt; &gt; tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)<br>&gt; &gt; &gt; &gt; tveeprom 0-0050: audio processor is CX23418 (idx 38)<br>&gt; &gt; &gt; &gt; tveeprom 0-0050: decoder processor is CX23418 (idx 31)<br>&gt; &gt; &gt; &gt; tveeprom 0-0050: has no radio, has IR receiver, has IR transmitter<br>&gt; &gt; &gt; &gt; cx18-0 843: Video signal: present<br>&gt; &gt; &gt; &gt; cx18-0 843: Detected format: NTSC-M<br>&gt; &gt; &gt; &gt; cx18-0 843: Specified standard: NTSC-M<br>&gt; &gt; &gt; &gt; cx18-0 843: Specified video input: Composite 7<br>&gt; &gt; &gt; &gt; cx18-0 843: Specified audioclock freq: 32000 Hz<br>&gt; &gt; &gt; &gt; cx18-0 843: Detected audio mode: mono<br>&gt; &gt; &gt; &gt; cx18-0 843: Detected audio standard: no detected audio standard<br>&gt; &gt; &gt; &gt; cx18-0 843: Audio muted: yes<br>&gt; &gt; &gt; &gt; cx18-0 843: Audio microcontroller: stopped<br>&gt; &gt; &gt; &gt; cx18-0 843: Configured audio standard: automatic detection<br>&gt; &gt; &gt; &gt; cx18-0 843: Configured audio system: BTSC<br>&gt; &gt; &gt; &gt; cx18-0 843: Specified audio input: Tuner (In8)<br>&gt; &gt; &gt; &gt; cx18-0 843: Preferred audio mode: stereo<br>&gt; &gt; &gt; &gt; cx18-0 gpio-reset-ctrl: GPIO: direction 0x00003001, value<br>&gt; &gt; &gt; &gt; 0x00003001<br>&gt; &gt; &gt; &gt; tuner 1-0061: Tuner mode: analog TV<br>&gt; &gt; &gt; &gt; tuner 1-0061: Frequency: 61.25 MHz<br>&gt; &gt; &gt; &gt; tuner 1-0061: Standard: 0x0000b000<br>&gt; &gt; &gt; &gt; cs5345 0-004c: Input: 1<br>&gt; &gt; &gt; &gt; cs5345 0-004c: Volume: 0 dB<br>&gt; &gt; &gt; &gt; cx18-0: Video Input: Tuner 1<br>&gt; &gt; &gt; &gt; cx18-0: Audio Input: Tuner 1<br>&gt; &gt; &gt; &gt; cx18-0: GPIO: direction 0x00003001, value 0x00003001<br>&gt; &gt; &gt; &gt; cx18-0: Tuner: TV<br>&gt; &gt; &gt; &gt; cx18-0: Stream: MPEG-2 Program Stream<br>&gt; &gt; &gt; &gt; cx18-0: VBI Format: No VBI<br>&gt; &gt; &gt; &gt; cx18-0: Video: 720x480, 30 fps<br>&gt; &gt; &gt; &gt; cx18-0: Video: MPEG-2, 4x3, Variable Bitrate, 4500000, Peak<br>&gt; &gt; &gt; &gt; 6000000<br>&gt; &gt; &gt; &gt; cx18-0: Video: GOP Size 15, 2 B-Frames, GOP Closure<br>&gt; &gt; &gt; &gt; cx18-0: Audio: 32 kHz, MPEG-1/2 Layer II, 384 kbps, Stereo, No<br>&gt; &gt; &gt; &gt; Emphasis, No CRC<br>&gt; &gt; &gt; &gt; cx18-0: Spatial Filter: Manual, Luma 1D Horizontal, Chroma 1D<br>&gt; &gt; &gt; &gt; Horizontal, 0<br>&gt; &gt; &gt; &gt; cx18-0: Temporal Filter: Manual, 8<br>&gt; &gt; &gt; &gt; cx18-0: Median Filter: Off, Luma [0, 255], Chroma [0, 255]<br>&gt; &gt; &gt; &gt; cx18-0: Status flags: 0x00200001<br>&gt; &gt; &gt; &gt; cx18-0: Stream encoder MPEG: status 0x0000, 0% of 2048 KiB (64<br>&gt; &gt; &gt; &gt; buffers) in use<br>&gt; &gt; &gt; &gt; cx18-0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB (16<br>&gt; &gt; &gt; &gt; buffers) in use<br>&gt; &gt; &gt; &gt; cx18-0: Stream encoder VBI: status 0x0000, 0% of 1015 KiB (20<br>&gt; &gt; &gt; &gt; buffers) in use<br>&gt; &gt; &gt; &gt; cx18-0: Stream encoder PCM audio: status 0x0000, 0% of 1024 KiB<br>&gt; &gt; &gt; &gt; (256 buffers) in use<br>&gt; &gt; &gt; &gt; cx18-0: Read MPEG/VBI: 47030272/0 bytes<br>&gt; &gt; &gt; &gt; cx18-0: ================== END STATUS CARD #0 ==================<br>&gt; &gt; &gt; &gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; ivtv-users mailing list<br>&gt; ivtv-users@ivtvdriver.org<br>&gt; http://ivtvdriver.org/mailman/listinfo/ivtv-users<br><br /><hr />Windows Live: Make it easier for your friends to see what you’re up to on Facebook. <a href='http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_facebook:082009' target='_new'>Find out more.</a></body>
</html>