Thank you for quick reply. No worries, actually, I'm able to download a previous version from repo and now both audios are working. Thanks. I will give another try using your patch this coming weekend. Don't want to break the system during the weekdays ;-)<br>
<br><div class="gmail_quote">On Mon, Apr 13, 2009 at 4:06 PM, Andy Walls <span dir="ltr"><<a href="mailto:awalls@radix.net">awalls@radix.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, 2009-04-13 at 11:31 -0700, Steve Chui wrote:<br>
> I need help to troubleshoot this audio issue. Any help will be<br>
> welcome.<br>
> I just upgrade my cx18 driver from <a href="http://linuxtv.org/hg/v4l-dvb/" target="_blank">http://linuxtv.org/hg/v4l-dvb/</a>.<br>
> Before the upgrade (I was using 3 months old driver, downloaded around<br>
> in Jan, 2009), both "Composite 1" and "Tuner 1" inputs work perfectly<br>
> with audio and picture. However, after the upgrade, "Composite 1"<br>
> input has no sound and "Tuner 1" input works great.<br>
> Here is output from dmesg and everything looks good except the error<br>
> at the end "cs5345 3-004c: Invalid input 8". Any one has any idea what<br>
> causes it?<br>
<br>
</div>Yes, I know. I noticed it a few days ago, but forgot about it.<br>
Sorry. :(<br>
<br>
It's a bug that was introduced in a recent large scale internal<br>
conversion to many of the v4l drivers. In this specific case the code<br>
in cx18-audio.c is using the wrong value for the external audio<br>
mutliplexer (cs5345) routing.<br>
<br>
Try this patch. I haven't tested it, but it should work:<br>
<br>
diff -r 6710f1847c13 linux/drivers/media/video/cx18/cx18-audio.c<br>
--- a/linux/drivers/media/video/cx18/cx18-audio.c Sun Apr 12 21:28:43 2009 -0400<br>
+++ b/linux/drivers/media/video/cx18/cx18-audio.c Mon Apr 13 19:04:06 2009 -0400<br>
@@ -44,7 +44,7 @@<br>
<br>
/* handle muxer chips */<br>
v4l2_subdev_call(cx->sd_extmux, audio, s_routing,<br>
- in->audio_input, 0, 0);<br>
+ (u32) in->muxer_input, 0, 0);<br>
<br>
err = cx18_call_hw_err(cx, cx->card->hw_audio_ctrl,<br>
audio, s_routing, in->audio_input, 0, 0);<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
ivtv-users mailing list<br>
<a href="mailto:ivtv-users@ivtvdriver.org">ivtv-users@ivtvdriver.org</a><br>
<a href="http://ivtvdriver.org/mailman/listinfo/ivtv-users" target="_blank">http://ivtvdriver.org/mailman/listinfo/ivtv-users</a><br>
</blockquote></div><br>