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