Jacek Pop�awski wrote:
> I put following code to tda9840_setmode:
>
> printk("stereo\n");
> buffer[0]=TDA9840_SW;
> buffer[1]=0x2a;
> (chip->c).addr= 0x84 >>1;
> i2c_master_send(&chip->c, buffer, 2);
>
> I found "stereo" in dmesg, but sound is still mono...
Same i2c version with 0.7.35 and 0.7.48? Does adding
bttv_I2CWrite(btv, I2C_TDA9840, TDA9840_SW, 0x2a, 1);
in a somewhat useful place (hey, it's for debugging only...) in 0.7.48
help? Does reversing the timing changes (udelay/mdelay/timeout
from 40/10/200 back to 10/10/100 in bttv-if.c) help?
> there are also "read" functions - is it possible to read this value,
> and check if it's set to 0x2a?
Might work, don't know. Hav'nt the chip specs for the 9840 offhand.
Gerd
--
Wirtschaftsinformatiker == Leute, die zwar die aktuellen Aktienkurse
jedes Softwareherstellers kennen, aber keines der Produkte auch nur
ansatzweise bedienen k�nnen. -- Benedict Mangelsdorff
_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list