LinHES Forums
http://forums.linhes.org/

ATI TV Wonder
http://forums.linhes.org/viewtopic.php?f=9&t=71
Page 1 of 1

Author:  bigjohn [ Wed Nov 05, 2003 11:13 am ]
Post subject:  ATI TV Wonder

Everything worked after installation except the TV Wonder tuner type was not correct. I fixed this by adding:

alias char-major-81-0 bttv
options bttv autoload=1 card=63 radio=0 pll=1 tuner=2

to /etc/mythtv/modules/bttv


Other hardware (Soyo KT400 Dragon motherboard, NVidia GeForce4 AGP [using nvidia drivers])

Author:  bigjohn [ Wed Nov 05, 2003 1:10 pm ]
Post subject: 

append these lines to the same file to get btaudio working on boot:

options btaudio rate=32000 dsp1=1 dsp2=2 mixer=1 debug=2
alias sound-slot-1 btaudio

Author:  Brz [ Sun Nov 30, 2003 11:59 pm ]
Post subject:  btaudio TV Wonder

Do you really have Btaudio working with the TV Wonder???
As far as I can tell no one including Issac has been able to get it to work with the TV Wonder....

Author:  Xsecrets [ Mon Dec 01, 2003 8:20 am ]
Post subject: 

I thought the tv wonder worked, but the tv wonder VE did not.

Author:  bigjohn [ Sun Jan 04, 2004 12:50 am ]
Post subject: 

Quote:
I thought the tv wonder worked, but the tv wonder VE did not.


exactly (for bt audio)

Author:  Dinki [ Sat Feb 07, 2004 5:26 pm ]
Post subject: 

Also note that the above settings are not correct for the TV Wonder VE . I found this out the hard way. I had several total lockups while watching live tv. Then I found this page:

http://freevo.sourceforge.net/cgi-bin/moin.cgi/BttvPage

Which listed tons of card and tuner ids. I changed my setting to card=64, and my myth box has been behaving since.

Hope this helps someone...

Author:  Mnemic [ Fri Aug 27, 2004 8:38 am ]
Post subject: 

Ok, not sure whats going on, but Adding those options in the /etc/mythtv/modules/bttv isn't working for me on startup.
I have an ATI TV Wonder PCI. Not the VE.

excerpt from /etc/modules.conf (lines I think were pertanant to the problem)
Code:
### update-modules: start processing /etc/modutils/KnoppMyth
include /etc/mythtv/modules/bttv

### update-modules: end processing /etc/modutils/KnoppMyth

### update-modules: start processing /etc/modutils/actions
# Special actions that are needed for some modules

# The BTTV module does not load the tuner module automatically,
# so do that in here
post-install bttv insmod tuner
post-remove bttv rmmod tuner


/etc/mythtv/modules/bttv
Code:
alias char-major-81-0 videodev
options bttv autoload=1 card=63 radio=0 pll=1 tuner=2


dmesg results for startup, or when I just 'insmod bttv'
syslog results: ( ** added at beggining and end of line for Emphasis)
Code:
Using /lib/modules/2.4.25-chw/kernel/drivers/media/video/bttv.o
Aug 27 09:05:49 teevee kernel: bttv: driver version 0.9.15 loaded
Aug 27 09:05:49 teevee kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Aug 27 09:05:49 teevee kernel: bttv: Bt8xx card found (0).
Aug 27 09:05:49 teevee kernel: PCI: Found IRQ 9 for device 01:0b.0
Aug 27 09:05:49 teevee kernel: PCI: Sharing IRQ 9 with 00:01.0
Aug 27 09:05:49 teevee kernel: PCI: Sharing IRQ 9 with 01:0b.1
Aug 27 09:05:49 teevee kernel: bttv0: Bt878 (rev 2) at 01:0b.0, irq: 9, latency: 64, mmio: 0xf5fff000
Aug 27 09:05:49 teevee kernel: bttv0: detected: ATI TV Wonder [card=63], PCI subsystem ID is 1002:0001
Aug 27 09:05:49 teevee kernel: bttv0: using: ATI TV-Wonder [card=63,autodetected]
Aug 27 09:05:49 teevee kernel: bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
Aug 27 09:05:49 teevee kernel: msp34xx: init: chip=MSP3430G-A4 +nicam +simple +radio
Aug 27 09:05:49 teevee kernel: msp3410: daemon started
Aug 27 09:05:49 teevee kernel: i2c-core.o: client [MSP3430G-A4] registered to adapter [bt878 #0 [sw]](pos. 0).
Aug 27 09:05:49 teevee kernel: tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
Aug 27 09:05:49 teevee kernel: i2c-core.o: client [(tuner unset)] registered to adapter [bt878 #0 [sw]](pos. 1).
Aug 27 09:05:49 teevee kernel: i2c-core.o: adapter bt878 #0 [sw] registered as adapter 0.
**Aug 27 09:05:49 teevee kernel: bttv0: using tuner=19**
Aug 27 09:05:49 teevee kernel: tuner: type set to 19 (Temic PAL* auto (4006 FN5)) by bt878 #0 [sw]
Aug 27 09:05:49 teevee kernel: bttv0: i2c: checking for MSP34xx @ 0x80... found
Aug 27 09:05:49 teevee kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Aug 27 09:05:49 teevee kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Aug 27 09:05:49 teevee kernel: bttv0: registered device video0
Aug 27 09:05:49 teevee kernel: bttv0: registered device vbi0
Aug 27 09:05:49 teevee kernel: bttv0: PLL: 28636363 => 35468950 . ok



However if I
rmmod bttv
then
insmod bttv tuner=2
I get the following in syslog:
Code:
Aug 27 09:12:22 teevee kernel: bttv: driver version 0.9.15 loaded
Aug 27 09:12:22 teevee kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Aug 27 09:12:22 teevee kernel: bttv: Bt8xx card found (0).
Aug 27 09:12:22 teevee kernel: PCI: Found IRQ 9 for device 01:0b.0
Aug 27 09:12:22 teevee kernel: PCI: Sharing IRQ 9 with 00:01.0
Aug 27 09:12:22 teevee kernel: PCI: Sharing IRQ 9 with 01:0b.1
Aug 27 09:12:22 teevee kernel: bttv0: Bt878 (rev 2) at 01:0b.0, irq: 9, latency: 64, mmio: 0xf5fff000
Aug 27 09:12:22 teevee kernel: bttv0: detected: ATI TV Wonder [card=63], PCI subsystem ID is 1002:0001
Aug 27 09:12:22 teevee kernel: bttv0: using: ATI TV-Wonder [card=63,autodetected]
Aug 27 09:12:22 teevee kernel: bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
Aug 27 09:12:22 teevee kernel: msp34xx: init: chip=MSP3430G-A4 +nicam +simple +radio
Aug 27 09:12:22 teevee kernel: i2c-core.o: client [MSP3430G-A4] registered to adapter [bt878 #0 [sw]](pos. 0).
Aug 27 09:12:22 teevee kernel: tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
Aug 27 09:12:22 teevee kernel: i2c-core.o: client [(tuner unset)] registered to adapter [bt878 #0 [sw]](pos. 1).
Aug 27 09:12:22 teevee kernel: msp3410: daemon started
Aug 27 09:12:22 teevee kernel: i2c-core.o: adapter bt878 #0 [sw] registered as adapter 0.
**Aug 27 09:12:22 teevee kernel: bttv0: using tuner=2**
Aug 27 09:12:22 teevee kernel: tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) by bt878 #0 [sw]
Aug 27 09:12:22 teevee kernel: bttv0: i2c: checking for MSP34xx @ 0x80... found
Aug 27 09:12:22 teevee kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Aug 27 09:12:22 teevee kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Aug 27 09:12:22 teevee kernel: bttv0: registered device video0
Aug 27 09:12:22 teevee kernel: bttv0: registered device vbi0
Aug 27 09:12:22 teevee kernel: bttv0: PLL: 28636363 => 35468950 . ok


I have not modified /etc/modules.conf and I've tried running update-modules as specified for modules.conf now, but on startup, this thing is just not loading correctly. I can't find it set to 19 anywhere else, so I think its getting auto detected, and that its not using the configs correctly. Can anyoine point me in the right direction on getting the modules to do as they are told? :)
I can allways just rmmod and insmod bttv with the manual options later in the startup script, but I'd like to get this working as its supposed too.

Thanks in advance!

[Off Topic]
its very important for anyone who is new to this to look at syslog while troubleshooting this. Just because you have it setup in your config files, doesn't mean its getting run correctly! :)
[/Off topic]

Author:  Mnemic [ Tue Aug 31, 2004 7:50 am ]
Post subject: 

I found the problem... I don't know why, or the reason but the problem was an option for debug=2 in modules.conf for bttv.

I had a line for btaudio that added a "options bttv debug=2"

Earlier I had the debug=2 line with the options for bttv...

whenever that debug=2 was present for bttv in modules.conf it like ignored my other parameters.. I didn't try putting debug=2 at the end, I just removed it, and its working great now.

so if you are having the problem with knoppix not loading your tuner type right with bttv.. check for debug=2 :)

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/