No sound on AVerMedia TVCapture98 with MSP3410 daughterboard (resend2)

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



Please accept my apologies if you get this message more than once, but I
don't think the first two attempts got through.

I've just bought a second hand AVerMedia TVCam98. Basically it's a
TVCapture98 with the MSP3410 Nicam stereo daughterboard fitted, bundled
with a video camera and remote control (I don't have the IR receiver for
the remote though). I have it tuning and displaying video from the TV
and video inputs OK, but no matter what I tried I couldn't get anything
more than a few quiet pops and clicks out of the audio output. The
btaudio driver isn't any better- it creates two devices (dsp1 and dsp2);
the first one seems not to work at all, and the second one records
nothing but silence. Here are the relevant parts of the log:

bttv: driver version 0.7.91 loaded
bttv: using 2 buffers with 2080k (4160k total) for capture
bttv: Host bridge is Advanced Micro Devices [AMD] AMD-760 [IGD4-1P]
System Controller
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 2) at 00:0b.0, irq: 3, latency: 32, memory: 0xe3001000
bttv0: detected: AVermedia TVCapture 98 [card=13], PCI subsystem ID is
1461:0002bttv0: using: BT878(AVerMedia TVCapture 98)
[card=13,autodetected]
i2c-dev.o: Registered 'bt848 #0' as minor 0
i2c-core.o: adapter bt848 #0 registered as adapter 0.
bttv0: Avermedia eeprom[0x4039]: tuner=5 radio:no remote control:yes
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips:
tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
i2c-core.o: driver generic i2c audio driver registered.
i2c-core.o: driver i2c TV tuner driver registered.
tuner: probing bt848 #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc2
bttv0: i2c attach [client=Philips PAL,ok]
i2c-core.o: client [Philips PAL] registered to adapter [bt848 #0](pos.
0).
bttv0: registered device video0
bttv0: registered device vbi0

I now believe that the problem is due to the MSP3410 isn't being
detected; in fact I found a thread in the list archive from August last
year from someone else with exactly the same problem, and it was
suggested to them that either:
a. The MSP3410 might need a GPIO pin toggling to reset it before it can
be detected.
b. SCL and SDA might either be routed via a microcontroller or to a pair
of GPIO lines because the MSP3400 needs long addresses that the BT878
can't produce or something like that.

I had a look at the boards, and I discovered that SCL and SDA on the
MSP3410 are connected directly to SCL and SDA on the BT878 as usual, and
that the reset pin is connected to pin 75 of the BT878. So, I modified
bttv-cards.c::bttv_init_card1() to call boot_msp34xx(btv,11). After
that, the output from "detect" changed from this:

0xa0: eeprom (bt878, Hauppauge-848)
0xa2: ???
0xa4: ???
0xa6: ???
0xa8: ???
0xaa: ???
0xac: ???
0xae: ???
0xc2: tuner (error: Device or resource busy)

To this:

0x88: Bt832
0xa0: eeprom (bt878, Hauppauge-848)
0xa2: ???
0xa4: ???
0xa6: ???
0xa8: ???
0xaa: ???
0xac: ???
0xae: ???
0xc2: tuner (error: Device or resource busy)

Since there's definitely no BT832 on the board, it would appear that the
MSP3410 is appearing at address 0x88 after it has been reset. I then
attempted to modify the drivers so that the MSP3400 driver looked for
the chip at address 0x88 instead of 0x80, but I think I got something
wrong because I still don't get any sound out of the card. The messages
I get now are:

bttv: driver version 0.7.103 loaded
bttv: using 4 buffers with 2080k (8320k total) for capture
bttv: Host bridge is Advanced Micro Devices [AMD] AMD-760 [IGD4-1P]
System Controller
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 2) at 00:0b.0, irq: 3, latency: 32, mmio: 0xe3001000
bttv0: detected: AVermedia TVCapture 98 [card=13], PCI subsystem ID is
1461:0002bttv0: using: BT878(AVerMedia TVCapture 98)
[card=13,autodetected]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [11]
i2c-dev.o: Registered 'bt848 #0' as minor 0
i2c-core.o: adapter bt848 #0 registered as adapter 0.
bttv0: Avermedia eeprom[0x4039]: tuner=5 radio:no remote control:yes
bttv0: using tuner=5
bttv0: i2c: checking for MSP34xx @ 0x88... found
i2c-core.o: driver i2c msp3400 driver registered.
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips:
tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
i2c-core.o: driver generic i2c audio driver registered.
i2c-core.o: driver i2c TV tuner driver registered.
tuner: probing bt848 #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc2
i2c-core.o: client [Philips PAL] registered to adapter [bt848 #0](pos.
0).
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: registered device video0
bttv0: registered device vbi0

Has anyone else managed to get sound working on this card, or have any
more suggestions about how to get it working?

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer







[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