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]