On Sunday 05 November 2006 20:15, Magnus Hoglund wrote:
> Hans Verkuil wrote:
> > For this I need to do more debugging into the msp3400 module. NICAM
> > is one of the few things I can't test as it isn't used here in the
> > Netherlands.
>
> I don't get sound for the channels with mono-audio either...
> Strangely audio is working on these channels when msp3400 is forced
> into nicam stereo...
>
> > There are two options: either go back to a pre-2.6.15 kernel
> > together with ivtv-0.4.7, or compile the 2.6.18 kernel yourself. In
> > the first case I'll supply patches against the msp3400.c from
> > ivtv-0.4.7, in the second case my patches are against the msp3400
> > sources in the kernel. I prefer the latter.
>
> I'm running a compiled gentoo-sources-2.6.18-r1 kernel, so patches
> for msp3400 in 2.6.18 is'nt a problem....

OK, please apply the attached patch to 2.6.18 (drivers/media/kernel).

Compile, install, load, etc. Don't use any debug options with the 
msp3400 module.

Tune to a nicam channel, then run v4l2-ctl --log-status. Tune to a mono 
channel and run it again. Then repeat the test when the msp3400 module 
is loaded with the 'standard=8' option.

Mail me the output of the log-status for each of these four 
combinations. This should give me a more detailed idea of what the chip 
thinks is going on.

Thanks,

        Hans
--- d.c	2006-11-05 20:29:16.000000000 +0100
+++ msp3400-driver.c	2006-11-05 20:32:45.000000000 +0100
@@ -772,6 +772,8 @@
 		v4l_info(client, "Routing:  0x%08x (input) 0x%08x (output)\n",
 				state->routing.input, state->routing.output);
 		v4l_info(client, "ACB:      0x%04x\n", state->acb);
+		v4l_info(client, "status:   0x%04x\n", msp_read_dem(client, 0x200));
+		v4l_info(client, "result:   0x%04x\n", msp_read_dem(client, 0x7e));
 		break;
 	}
 
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to