Fix to bttv-0.8.28 so btaudio will work in FM-Radio mode too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, 30 Sep 2001, Stephen Davies wrote:

> I have a Hauppauge WinTV card - PAL with NICAM and FM receiver.
> 
> I haven't so far got any audio out of btaudio with this card.

No - that's not quite right.  The problem is specifically with audio in FM
mode:

I get audio from the "digital" btaudio device when the WinTV is tuned to a
TV channel, or set to the Composite input.

But I get no audio when the card is in FM mode.

I've appended a patch that seems to solve the problem.

Regards,
Steve Davies



--- bttv-0.7.79/driver/msp3400.c.b4-i2s-changes	Mon Oct  1 12:20:43 2001
+++ bttv-0.7.79/driver/msp3400.c	Mon Oct  1 13:02:35 2001
@@ -438,6 +438,7 @@
     
 	msp3400c_write(client,I2C_MSP3400C_DEM, 0x0056, 0); /*LOAD_REG_1/2*/
 
+
 	if (dolby) {
 		msp3400c_write(client,I2C_MSP3400C_DFP, 0x0008,
 			       0x0520); /* I2S1 */
@@ -450,6 +451,9 @@
 			       msp_init_data[type].dfp_src);
 		msp3400c_write(client,I2C_MSP3400C_DFP, 0x0009,
 			       msp_init_data[type].dfp_src);
+		// SLD: Added
+		msp3400c_write(client,I2C_MSP3400C_DFP, 0x000b,
+			       msp_init_data[type].dfp_src);
 	}
 	msp3400c_write(client,I2C_MSP3400C_DFP, 0x000a,
 		       msp_init_data[type].dfp_src);
@@ -1165,7 +1169,11 @@
 			msp->watch_stereo = 0;
 			/* scart routing */
 			msp3400c_set_scart(client,SCART_IN2,0);
+			// SLD: hmmm... speakers routed from scart?
+			// SLD: should i2s be routed from there too?
 			msp3400c_write(client,I2C_MSP3400C_DFP, 0x08, 0x0220);
+			msp3400c_write(client,I2C_MSP3400C_DFP, 0x09, 0x0220);
+			msp3400c_write(client,I2C_MSP3400C_DFP, 0x0b, 0x0220);
 			break;
 		case 0x0003:
 			msp->mode   = MSP_MODE_FM_TERRA;







[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux