[mythtv-users] AverTV Studio btaudio dysfunctionality - no msp34xx?

Jarod C. Wilson jcw at wilsonet.com
Sun Aug 24 17:31:05 EDT 2003


Long story short, after grabbing an MSI TV at nywhere without researching 
it first to find out it uses the alpha-quality cx88 driver and not 
bttv, then getting a Pinnacle PCTV Rave, which turned out to have a new 
tuner type not supported under Linux just yet, I picked up an AverTV 
Studio card.

Basically, I just wanted a second card to my PVR-250 that I could use 
for PiP and/or watching one show while recording another. That, and I 
wanted to get some info on setting up a bttv card into that guide 
document I've slapped together... :)

Well, according to postings on the video4linux mailing list and the 
mythtv mailing list, the AverTV Studio has some issues with being able 
to select the right audio track (primary vs. SAP). Not a problem, I 
overcame that. The next problem is that supposedly, the card DOES work 
with btaudio, but only the analog channel, and even then, with a bit of 
whine. Here's the biggest problem I'm having: for btaudio to function, 
you need an msp34xx chip. When I load the bttv driver, and tell it to 
load up the msp3400 driver, my logs show the driver searching for, but 
never finding, an msp34xx chip. With no msp34xx chip found, no btaudio.

Here's the relevant part of my /etc/modules.conf:

# bttv
alias chat-major-81     videodev
alias chat-major-81-0   bttv
alias sound-slot-1 btaudio
alias sound-service-1-0 btaudio
alias sound-slot-2 bttv
alias sound-service-2-0 tvmixer
pre-install bttv modprobe tvmixer; modprobe tuner; modprobe msp3400
pre-install tvmixer modprobe tvaudio
post-install bttv modprobe btaudio
options tvmixer devnr=2
options bttv audiomux=0xff44e
options bttv    radio=1 card=41 gbuffers=8 automute=0 tuner=2
options tuner   type=2
options btaudio dsp1=1 analog=1 digital=0

I've tried several variations of including and not including stuff in 
/etc/modules.conf, and the only constant is the failure to find the 
msp34xx chip.

And the output logged in /var/log/messages when the driver loads:

Aug 24 16:08:06 chronos kernel: bttv: driver version 0.7.104 loaded
Aug 24 16:08:06 chronos kernel: bttv: using 8 buffers with 2080k 
(16640k total) for capture
Aug 24 16:08:06 chronos kernel: bttv: Host bridge is Advanced Micro 
Devices [AMD] AMD-760 MP [IGD4-2P] System Controller
Aug 24 16:08:06 chronos kernel: bttv: Bt8xx card found (0).
Aug 24 16:08:06 chronos kernel: bttv0: Bt878 (rev 17) at 03:07.0, irq: 
19, latency: 64, mmio: 0xd0500000
Aug 24 16:08:06 chronos kernel: bttv0: detected: AVerMedia TVPhone98 
[card=41], PCI subsystem ID is 1461:0003
Aug 24 16:08:06 chronos kernel: bttv0: using: BT878(AVerMedia TVPhone 
98) [card=41,insmod option]
Aug 24 16:08:06 chronos kernel: tuner: probing bt848 #0 i2c adapter 
[id=0x10005]
Aug 24 16:08:06 chronos kernel: tuner: chip found @ 0xc2
Aug 24 16:08:06 chronos kernel: tuner(bttv): type forced to 2 (Philips 
NTSC (FI1236,FM1236 and compatibles)) [insmod]
Aug 24 16:08:06 chronos kernel: i2c-core.o: client [Philips NTSC 
(FI1236,FM1236 and ] registered to adapter [bt848 #0](pos. 0).
Aug 24 16:08:06 chronos kernel: i2c-core.o: adapter bt848 #0 registered 
as adapter 0.
Aug 24 16:08:06 chronos kernel: bttv0: Avermedia eeprom[0x4803]: 
tuner=2 radio:yes remote control:yes
Aug 24 16:08:06 chronos kernel: bttv0: using tuner=2
Aug 24 16:08:06 chronos kernel: tuner: type already set (2)
Aug 24 16:08:06 chronos kernel: bttv0: i2c: checking for MSP34xx @ 
0x80... not found
Aug 24 16:08:06 chronos kernel: bttv0: i2c: checking for TDA9875 @ 
0xb0... not found
Aug 24 16:08:06 chronos kernel: bttv0: i2c: checking for TDA7432 @ 
0x8a... not found
Aug 24 16:08:06 chronos kernel: bttv0: PLL: 28636363 => 35468950 .. ok
Aug 24 16:08:06 chronos kernel: bttv0: registered device video0
Aug 24 16:08:06 chronos kernel: bttv0: registered device vbi0
Aug 24 16:08:06 chronos kernel: bttv0: registered device radio0
Aug 24 16:09:49 chronos kernel: btaudio: driver version 0.7 loaded 
[analog]
Aug 24 16:09:49 chronos kernel: btaudio: Bt878 (rev 17) at 03:07.1, 
irq: 19, latency: 64, mmio: 0xd0501000
Aug 24 16:09:49 chronos kernel: btaudio: using card config "default"
Aug 24 16:09:49 chronos kernel: btaudio: registered device dsp2 [analog]
Aug 24 16:09:49 chronos kernel: btaudio: registered device mixer1

Note: according to the bttv author, Gerd Knorr, btaudio will still 
load, even if no msp34xx is found; it just won't do anything.

Anyone had a similar experience with their AverTV Studio card, or do I 
have some new rev that removed the msp34xx chip? Or is there a special 
setting needed to detect the chip at a different IO location (I think I 
remember seeing a posting somewhere about some card and probing an 
alternate location for the chip)?

For the record, I'm running Red Hat Linux 9, using version 0.7.104 of 
the bttv driver (provided by Red Hat), with kernel 2.4.20-20.9smp 
(athlon). For kicks, I'm going to try the 0.9.11 bttv driver in just a 
few...

Oh, and everything else outside of btaudio is working perfectly with 
the card, though exiting mythtv leaves the audio on the card running 
(if you unmute line in, you can hear the TV audio track).

--Jarod

-- 
Jarod C. Wilson, RHCE

Got a question? Read this first...
http://catb.org/~esr/faqs/smart-questions.html

MythTV, Red Hat Linux 9 & ATrpms documentation:
http://pvrhw.goldfish.org/tiki-page.php?pageName=rh9pvr250



More information about the mythtv-users mailing list