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

RE: Sound-decode problem with a TV tuner...



I have tried what you said bellow, but still nothing...

look... this is a more detailed view of what's happpening:
(I hope this will not borring you...it's quite long)

Once upon a time... Here we go: 
I have a PV-951 tv-card+FMradio+teletext+remote, which is based on a Bt878
chip. From my windows drivers, I found out that it is manufactured by
ProVideo ??? didn't here about that, don't you ?! Anyway, it has one input
for RF, one Line-out plug, one for the remote, one for S-Video, and one
AV-input. Now I'm trying to make it work under my linux machine under
RH-6.1, kernel ver: 2.3.42, bttv version: 0.7.13. Video works fine, the
teletext works fine, too...the problem is with sound: it's MUTE. I tried
all the sound decoders modules (aka msp3400, teaXXX, tdaXXX...) but with
no success. The only way for make the TV-card to work with sound is to
boot windoze, run the PV-Tuner program, soft reboot, get into linux...and
the sound starts to be heared when the sound-card is initialized; after
this everything works just fine, have mixer control on line chanel and so
on. I must tell you that the connection between TV-card and Sound-Card is
made by a plugable wire, runed from the Line-Out plug of the TVcard to the
Line-IN plug of the SoundCard. When I saw that I have sound on TV after a
soft reboot from windoze I followed your advice and put <#ifdef 1> code
of the bttv.c, recompile the module, modprobe bttv, and get the
following message on console(& syslog):

: bttv0: gpio: out_enable=0x0, data=0xffffff, in=0x0

......but still nothing. If I boot linux directly, after power on the
computer, then insmod bttv, I get the same dump from the registers; so
it's no difference in this message between soft boot from windoze to
linux (when the sounds works perfect on tv-card) and cold boot when power
on to linux, so I get in trouble: and decided to write this letter to you.

The wintool that you are talking about in the SoundFAQ doesn't exist or I
can't logon to their ftp server(the http works fine ...), so I don't have
it yet.

Bellow I attached some infos that might help you to understand what's
going on here:

: <lspci> regarding TVcard:

00:08.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 02)
00:08.1 Multimedia controller: Brooktree Corporation Bt878 (rev 02)

: <cat /proc/pci>

    Multimedia video controller: Brooktree Corporation Bt878 (rev 2).
      IRQ 9.
      Master Capable.  Latency=64.  Min Gnt=16.Max Lat=40.
      Prefetchable 32 bit memory at 0xe1c00000 [0xe1c00fff].
  Bus  0, device   8, function  1:
    Multimedia controller: Brooktree Corporation Bt878 (rev 2).
      IRQ 9.
      Master Capable.  Latency=64.  Min Gnt=4.Max Lat=255.
      Prefetchable 32 bit memory at 0xe1c01000 [0xe1c01fff].
  Bus  0, device   9, function  0:
: <cat /etc/conf.modules>

# i2c
alias char-major-89  i2c-dev
options i2c-core     i2c_debug=1
options i2c-algo-bit bit_test=1

# bttv
alias video bttv
alias radio bttv
alias char-major-81   videodev
alias char-major-81-0 bttv
options bttv card=0 radio=1 pll=1
options tuner type=5 debug=0

: <tail /var/log/message>

kernel: Linux video capture interface: v1.00
kernel: i2c-core.o: i2c core module
kernel: i2c-algo-bit.o: i2c bit algorithm module
kernel: bttv: driver version 0.7.13 loaded
kernel: bttv0: Brooktree Bt878 (rev 2) bus: 0, devfn: 64, irq: 9, memory:
0xe1c$kernel: bttv: 1 Bt8xx card(s) found.
kernel: bttv0: gpio: out_enable=0x0, data=0xffffff, in=0x0
kernel: i2c-algo-bit.o: Adapter: bt848 #0 scl: 1  sda: 1 -- testing...
kernel: i2c-algo-bit.o:1 scl: 1  sda: 0
kernel: i2c-algo-bit.o:2 scl: 1  sda: 1
kernel: i2c-algo-bit.o:3 scl: 0  sda: 1
kernel: i2c-algo-bit.o:4 scl: 1  sda: 1
kernel: i2c-algo-bit.o: bt848 #0 passed test.
kernel: i2c-core.o: adapter bt848 #0 registered as adapter 0.
kernel: bttv0: PLL: 28636363 => 35468950 ... ok
kernel: bttv0: i2c: checking for eeprom @ 0xa0... not found
kernel: bttv0: i2c: checking for eeprom @ 0xae... not found
kernel: bttv0: i2c: checking for msp3400 @ 0x80... not found
kernel: bttv0: i2c: checking for eeprom @ 0xa0... not found
kernel: bttv0: model: BT878(MIRO PCTV)
kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
kernel: bttv0: i2c: checking for TDA8425 @ 0x82... not found
kernel: bttv0: i2c: checking for TDA9840 @ 0x84... not found
kernel: bttv0: i2c: checking for TDA985x @ 0xb6... not found
kernel: i2c-core.o: driver i2c TV tuner driver registered.
kernel: tuner: chip found @ 0x60
kernel: bttv0: i2c attach [Philips PAL]
kernel: i2c-core.o: client [Philips PAL] registered to adapter [bt848 #0](pos. $
: <uname -a>
Linux eduard.home.net 2.3.42 #4 Tue Feb 15 00:41:33 EET 2000 i586 unknown

( ... :) domain home.net is not a registered domain name, it's just for
home net, so don't try to find it on the net...)

...tell me what I have missed!

ps. Any help is welcomed!
    I am looking further to your replay and perhaps KEY of Solution!
    Thank you for time spent in reading this letter which isn't short at
    all. :)

Best regards,
Eduard.



On Tue, 15 Feb 2000, Jose M. Sanchez wrote:

> My $.02 worth...
> 
> The fact that sound is working under Winblows but not under Linux normally
> indicates that Winblows is setting "something" up which Linux is not by
> default...
> 
> In all likelihood Linux does not initialize or set the sound card's mixer to
> the same defaults which winblows is using...
> 
> Ok... so...
> 
> 1) How do you have your AIMSLab card producing sound?
> 
> Is it plugged into your sound card via the Line Out port, or are you using
> the on board connecter (which I prefer) connected directly to your sound
> card's AUX or CD-IN?
> 
> 2) Have you tried bringing up a mixer APP under X that fully supports your
> sound card?
> 
> Now it also could very well be that the bttv driver is muting the sound
> output on the tuner board, directly upon startup, though I'd find this
> doubtful... since a soft reboot solves the problem... so it's far more
> likely that Linux is not initializing the sound card to a known state as
> Winblows does upon startup.
> 
> Many of the Mixer apps WILL save the state however, so you'd have to adjust
> sound output via the mixer app and launch the mixer app prior to launching
> the TV tuner controller software...
> 
> -JMS
> opjose ex-pressnet com
> 
> 
> 
> -----Original Message-----
> From: Eduard-Mugur BURCEAG [mailto:mugur uaic ro]
> Sent: Tuesday, February 15, 2000 10:40 AM
> To: redhat-install-list redhat com
> Subject: Sound-decode problem with a TV tuner...
> 
> 
> Hello all,
> 
> I have a TV-tuner card (PCI 2.1 compliance) with FM-tuner, teletext and
> remote control. It is working fine under linux (RH 6.1) with bttv driver
> except the infrared remote and !!this is the BIG problem!! without sound.
> If I boot winXX and start the TV-tuner program, then make a soft reboot to
> linux, I get sound as well, but only in this case.
> I have tried to follow the steps described in the
> /usr/src/linux/Docum.../video.../bttv/SoundFAQ file by modifying the
> bttv.c file in order to dump the registry contain of the tvcard before
> it's initialising, but I got the same registry contains in both situations
> (with sound ---booted from winXX & without sound ---boot linux first when
> power on). I tried the sound decoders modules (msp3400...) with all
> parameters but still without success. Please, help me if there's anybody
> who can give me an ideea or ... the solution for this problem !!! Bellow
> are some specifications regarding my tvcard:
> 
>  - recognized by bttv (when insert with card=0 option, wich means
>    =autodetect)  as a "MIRO PCTV"; an old version of bttv detected it as a
>    Aimslab card.
>  - chip Bt878KHF (as it can see on the card);
>  - made by ? PROVIDEO ? as reported in WinXX, with PV-951 code.
>  - TV-tuner type: PV-951, SN: PV266162;
>  - with one RF-in, one Line-out, one Remote, one S-Video in, one AV-in on
>    board;
>  - TV-tuner detected is: type 5: Philips PAL tuner;
> 
> ps. I am using it on a linux machine, which runs RH-6.1, kernel ver.2.3.42
>     and 2.2.12-20 which is the default kern.version in RH61.
> 
> Thanks for any help !
> 
> Eduard.
> 
> 
> 
> 
> 
> 
> 
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> 		http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-install-list-request redhat com with
>                        "unsubscribe" as the Subject.
> 



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