Jacek Pop³awski wrote: > On Thu, Aug 17, 2000 at 06:21:55AM +0000, Gerd Knorr wrote: > > Stupid bug, the tda9840 address is not in the list... > > it detects tda9840, now, but xawtv/kwintv shows me only > "mono" and "lang1" options, never "stereo" > (it works OK with "Horrible Hack" from old versions) cut + paste bug... For the function of the chip this should'nt make any difference, as long as there is no setmode function for the tda9840 selecting one of the modes from the menu is a no-op. Gerd --------------------------------------------------------- diff -urN bttv-0.7.39/driver/bttv.h ./driver/bttv.h --- bttv-0.7.39/driver/bttv.h Sun Aug 13 21:02:23 2000 +++ ./driver/bttv.h Thu Aug 17 08:16:19 2000 @@ -21,7 +21,7 @@ #ifndef _BTTV_H_ #define _BTTV_H_ -#define BTTV_VERSION_CODE KERNEL_VERSION(0,7,39) +#define BTTV_VERSION_CODE KERNEL_VERSION(0,7,40) #if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0) # include "kcompat24.h" diff -urN bttv-0.7.39/driver/tvaudio.c ./driver/tvaudio.c --- bttv-0.7.39/driver/tvaudio.c Tue Aug 15 22:06:44 2000 +++ ./driver/tvaudio.c Thu Aug 17 21:19:13 2000 @@ -113,6 +113,7 @@ I2C_TDA8425 >> 1, I2C_TEA6300 >> 1, I2C_TEA6420 >> 1, + I2C_TDA9840 >> 1, I2C_TDA985x_L >> 1, I2C_TDA985x_H >> 1, I2C_PIC16C54 >> 1, @@ -587,7 +588,7 @@ addr_hi: I2C_TDA9840 >> 1, registers: 5, - getmode: tda985x_getmode, + getmode: tda9840_getmode, init: { 2, { TDA9840_SW, 0x2a } } },