On Sunday 21 August 2005 23:07, Robert Kohler wrote:
> Let me re-check, but I'm thinking it might be an initialization issue..
> Early on, if after a reboot (ie. card reset), I set to cardtype=0, I get 
> nothing.
> I set cardtype=1, I get video ONLY.
> I set back to cardtype=0, and now I get sound only..
> 
> Hopefully this helps..
> 
> Is there some way of resetting the card, without a reboot?

rmmod ivtv cx24850; modprobe ivtv

I've made another patch, I missed one change.

If this doesn't work, can you through the various audio inputs using
ivtvctl -q <num> (0 <= num <= 4)? Darn, I wish I had one here. It is
just a matter of finding the right combination of inputs. I have the
datasheet of the cx24850 here, if you're interested.

        Hans
--- cx25840-driver.c.org	2005-08-21 22:25:11.000000000 +0200
+++ cx25840-driver.c	2005-08-21 23:43:17.000000000 +0200
@@ -648,11 +648,11 @@
 		case CX25840_TUNER:
 			CX25840_DEBUG("now setting Tuner input\n");
 			CX25840_SET_CH_1__SOURCE(cardtype == 1 ? 0x01 : 0x06);
-			CX25840_SET_PWR_DN_CH2(0x01);
-			CX25840_SET_PWR_DN_CH3(0x00);
-			CX25840_SET_CH_3__SOURCE(0x01);
+			CX25840_SET_PWR_DN_CH3(0x01);
+			CX25840_SET_PWR_DN_CH2(0x00);
+			CX25840_SET_CH_2__SOURCE(0x01);
 			CX25840_SET_PWR_DN_ADC2(0x00);
-			CX25840_SET_CH_SEL_ADC2(0x01);
+			CX25840_SET_CH_SEL_ADC2(0x00);
 			CX25840_SET_INPUT_MODE(0x00);
 			break;
 

Reply via email to