Mailing List Archive

HVR-1600 no sound on composite/s-video input with new cx18 driver, works before upgrade.
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?
Also, I would like to go back to previous version. Anyone could help me to
get the old source code? Thank you in advance.

[30219.760510] cx18: Start initialization, version 1.1.0
[30219.760840] cx18-0: Initializing card 0
[30219.760847] cx18-0: Autodetected Hauppauge card
[30219.762505] ACPI: PCI Interrupt 0000:02:0a.0[A] -> GSI 22 (level, low) ->
IRQ 21
[30219.762665] cx18-0: cx23418 revision 01010000 (B)
[30219.939095] lirc_i2c: chip 0x10020 found @ 0x71 (Hauppauge PVR150)
[30219.939406] lirc_dev: lirc_register_plugin: sample_rate: 10
[30219.987998] tuner 4-0061: chip found @ 0xc2 (cx18 i2c driver #0-1)
[30220.047442] tveeprom 3-0050: Hauppauge model 74041, rev C6B2, serial#
932165
[30220.047451] tveeprom 3-0050: MAC address is 00-0D-FE-0E-39-45
[30220.047454] tveeprom 3-0050: tuner model is TCL M2523_5N_E (idx 112, type
50)
[30220.047457] tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
[30220.047459] tveeprom 3-0050: audio processor is CX23418 (idx 38)
[30220.047462] tveeprom 3-0050: decoder processor is CX23418 (idx 31)
[30220.047464] tveeprom 3-0050: has no radio, has IR receiver, has IR
transmitter
[30220.047467] cx18-0: Autodetected Hauppauge HVR-1600
[30220.047470] cx18-0: Simultaneous Digital and Analog TV capture supported
[30220.190454] cs5345 3-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
[30220.193731] tuner-simple 4-0061: creating new instance
[30220.193736] tuner-simple 4-0061: type set to 50 (TCL 2002N)
[30220.194882] cx18-0: Registered device video0 for encoder MPEG (64 x 32
kB)
[30220.194886] DVB: registering new adapter (cx18)
[30220.355013] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
[30220.393215] MXL5005S: Attached at address 0x63
[30220.393462] DVB: registering adapter 0 frontend 0 (Samsung S5H1409
QAM/8VSB Frontend)...
[30220.393769] cx18-0: DVB Frontend registered
[30220.393773] cx18-0: Registered DVB adapter0 for TS (32 x 32 kB)
[30220.395716] cx18-0: Registered device video32 for encoder YUV (16 x 128
kB)
[30220.396035] cx18-0: Registered device vbi0 for encoder VBI (20 x 51984
bytes)
[30220.396257] cx18-0: Registered device video24 for encoder PCM audio (256
x 4 kB)
[30220.396261] cx18-0: Initialized card: Hauppauge HVR-1600
[30220.396640] cx18: End initialization
[30220.507946] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200
bytes)
[30220.512745] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)
[30221.363668] cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
[30221.363778] cs5345 3-004c: Invalid input 8.
Re: HVR-1600 no sound on composite/s-video input with new cx18 driver, works before upgrade. [ In reply to ]
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);




_______________________________________________
ivtv-users mailing list
ivtv-users@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Re: HVR-1600 no sound on composite/s-video input with new cx18 driver, works before upgrade. [ In reply to ]
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 ;-)

On Mon, Apr 13, 2009 at 4:06 PM, Andy Walls <awalls@radix.net> wrote:

> 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);
>
>
>
>
> _______________________________________________
> ivtv-users mailing list
> ivtv-users@ivtvdriver.org
> http://ivtvdriver.org/mailman/listinfo/ivtv-users
>