Re: BTTV Tuner Strangeness

Phillip K. Hornung (redx@pknet.com)
Sun, 26 Jul 1998 11:54:58 -0700 (PDT)


Ok applied the patch, and this is what is resulting in the MSP3400 module load.
The endless:

...msp3400: thread: sleep
...msp3400: thread: wakeup
...msp3400: stereo detect register: -16

messages don't happen now. And guess what? It works. =)
Thanks a million, hopefully everyone with a new WinTV card can be happy now. =)

-Phil

---
i2c module initialized.
Linux video capture interface: v0.01 ALPHA
i2c char device interface initialized.
bttv0: Brooktree Bt878 (rev 2) bus: 0, devfn: 80, irq: 11, memory: 0xe1001000.
bttv0: ioremap... request_irq (11)... pci busmaster... pci latency... ok
bttv: 1 Bt848 card(s) found.
i2c(bit): Adapter: bt848 #0 scl: 1  sda: 1 -- testing...
i2c(bit):1 scl: 1  sda: 0 
i2c(bit):2 scl: 1  sda: 1 
i2c(bit):3 scl: 0  sda: 1 
i2c(bit):4 scl: 1  sda: 1 
i2c(bit): bt848 #0 passed test.
bttv0: i2c reg: I2C char device (id 0xffffffff) tuner: chip found @ 0x61
bttv0: i2c reg: i2c tv tuner chip (id 0x2)
msp3400: setvolume: 0:0 0x00 0x00
msp3400: thread: start
msp3400: thread: sleep
bttv0: i2c reg: MSP3430G-A1 (id 0x1)
msp3400: init: chip=MSP3430G-A1, registered as sound mixer
i2c(bit): scanning bus bt848 #0.
i2c(bit):  found chip at addr=0x40
i2c(bit):  found chip at addr=0x50
i2c(bit):  found chip at addr=0x61
bttv0: model: HAUPPAUGE
msp3400: thread: wakeup
msp3400: setvolume: 0:0 0x00 0x00
msp3400: setmode: 0
msp3400: carrier1 val: 10143 / 4.5   NTSC
msp3400: carrier1 val:  4256 / 5.5   PAL B/G
msp3400: carrier1 val:  1280 / 6.0   PAL I
msp3400: carrier1 val:   427 / 6.5   PAL SAT / SECAM
msp3400: setmode: 3
msp3400: setvolume: 65535:65535 0x73 0x00
msp3400: thread: sleep
---

On 26-Jul-98 Gerd Knorr wrote: > On Sun, 26 Jul 1998, Phillip K. Hornung wrote: > >> Here are the kernel messages from inserting the modules in with debug=1. >> Also started XawTV on channel 4, with the sound tuned off by +17. Cable >> boxes are on channel 4 here. :) > >> tuner: tv freq set to 67.25 >> msp3400: thread: wakeup >> msp3400: setvolume: 0:0 0x00 0x00 >> msp3400: setmode: 0 >> msp3400: carrier1 val: 65508 / 4.5 NTSC >> msp3400: carrier1 val: 222 / 5.5 PAL B/G >> msp3400: carrier1 val: 198 / 6.0 PAL I >> msp3400: carrier1 val: 108 / 6.5 PAL SAT / SECAM > > Ok, NTSC sound carrier found... > >> msp3400: setmode: 3 >> msp3400: B/G setstereo: 1 > > ... but this one is wrong. Does the patch fix this? > > Gerd > > ------------------------------------------------------------------ > --- msp3400.c~ Fri Jul 24 23:00:25 1998 > +++ msp3400.c Sun Jul 26 20:14:30 1998 > @@ -586,7 +586,8 @@ > restart: > msp3400c_setvolume(c, 0, 0); > msp3400c_setmode(c, MSP_MODE_AM_DETECT); > - val1 = val2 = max1 = max2 = 0; > + val1 = val2 = 0; > + max1 = max2 = -1; > del_timer(&msp->wake_stereo); > msp->watch_stereo = 0; > > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.rutgers.edu > Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html