[ivtv-users] HVR-1600 no sound on composite/s-video input with new cx18 driver, works before upgrade.

Andy Walls awalls at radix.net
Tue Apr 14 01:06:50 CEST 2009


On Mon, 2009-04-13 at 11:31 -0700, Steve Chui wrote:
> I need help to troubleshoot this audio issue. Any help will be
> welcome.
> I just upgrade my cx18 driver from http://linuxtv.org/hg/v4l-dvb/. 
> Before the upgrade (I was using 3 months old driver, downloaded around
> in Jan, 2009), both "Composite 1" and "Tuner 1" inputs work perfectly
> with audio and picture. However, after the upgrade, "Composite 1"
> input has no sound and "Tuner 1" input works great.
> Here is output from dmesg and everything looks good except the error
> at the end "cs5345 3-004c: Invalid input 8". Any one has any idea what
> causes it? 

Yes, I know.  I noticed it a few days ago, but forgot about it.
Sorry. :(

It's a bug that was introduced in a recent large scale internal
conversion to many of the v4l drivers.  In this specific case the code
in cx18-audio.c is using the wrong value for the external audio
mutliplexer (cs5345) routing.

Try this patch.  I haven't tested it, but it should work:

diff -r 6710f1847c13 linux/drivers/media/video/cx18/cx18-audio.c
--- a/linux/drivers/media/video/cx18/cx18-audio.c	Sun Apr 12 21:28:43 2009 -0400
+++ b/linux/drivers/media/video/cx18/cx18-audio.c	Mon Apr 13 19:04:06 2009 -0400
@@ -44,7 +44,7 @@
 
 	/* handle muxer chips */
 	v4l2_subdev_call(cx->sd_extmux, audio, s_routing,
-			in->audio_input, 0, 0);
+			 (u32) in->muxer_input, 0, 0);
 
 	err = cx18_call_hw_err(cx, cx->card->hw_audio_ctrl,
 			       audio, s_routing, in->audio_input, 0, 0);






More information about the ivtv-users mailing list