View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: bttv in R5A10
PostPosted: Sat Feb 26, 2005 8:46 am 
Offline
Joined: Wed Feb 18, 2004 9:07 pm
Posts: 89
I'm on my fourth version of KnoppMyth - each upgrade gets a bit easier and more intuitive. I'm having a problem here that I think has an obvious solution, but I can't find it...

I'm using a bttv card (LeadTek WinFast 2000) and have updated the /etc/mythtv/modules to reflect card=34, tuner=2. This has worked in every R4 installation. Not so, R5.

dmesg tells me that:
Code:
  <<snip>>
Linux video capture interface: v1.00
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 16 (level, low) -> IRQ 16
bttv0: Bt878 (rev 17) at 0000:00:0c.0, irq: 16, latency: 32, mmio: 0xdddfe000
bttv0: detected: Leadtek WinFast TV 2000 [card=34], PCI subsystem ID is 107d:6606
bttv0: using: Leadtek WinFast 2000/ WinFast 2000 XP [card=34,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00b77707 [init]
bttv0: using tuner=5
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus bt878 #0 [sw]
tuner: type set to 5 (Philips PAL_BG (FI1216 and compatibles)) by bt878 #0 [sw]
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "remote0"


Trounble is, I want tuner=2. Knoppix (helpful Knoppix) is autodetecting (?) the card and setting the tuner before my modules entry takes over.

How do I regain control over my module parameters?

_________________
R5Fxx

Home-Brewed Mythic Dragon Clone
200GB WD IDE /myth
2x250GB WD IDE (lvm) /myth/tv


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 26, 2005 9:30 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
yeah the /etc/mythtv/modules/ doesn't work anymore. I have heard some people having success putting the information in files in /etc/modprobe.d/, but the only way I've ever been able to get options to work with a 2.6 kernel is to put them directly in /etc/modules

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 26, 2005 9:58 am 
Offline
Joined: Wed Feb 18, 2004 9:07 pm
Posts: 89
Quote:
the only way I've ever been able to get options to work with a 2.6 kernel is to put them directly in /etc/modules


Holy Hanna!

This shows you how one-track-minded I can be. I hadn't even CONSIDERED going outside of mythtv/modules.

On another note, I've found the bit in the bttv modules source that defaults to 5, and changed it to 2. I'm recompiling my modules now.

We'll see if that works, then I'll try /etc/modules

_________________
R5Fxx

Home-Brewed Mythic Dragon Clone
200GB WD IDE /myth
2x250GB WD IDE (lvm) /myth/tv


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 26, 2005 10:30 am 
Offline
Joined: Wed Feb 18, 2004 9:07 pm
Posts: 89
I broke the first rule of troubleshooting, and made two changes simultaneously, and something worked.

I did the following:

Change /etc/modules to read as follows:
Code:
root@mythbox:~# more /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.
ide_scsi
ide_cd
tmscsim
usbcore
uhci_hcd
ohci_hcd
usb_storage
ieee1394
ohci1394
sbp2
dm-mod
rtc
ac
battery
button
fan
processor
thermal
pcmcia_core
yenta_socket
ds
serial_core
8250
parport
parport_pc
gameport
emu10k1_gp
#order change for bttv
bttv card=34 tuner=2
tuner type=2
videodev
i2c_core
btcx_risc
v4l2_common
i2c_algo_bit
firmware_class

<<snip>>


issue "update-modules"

simultaneously, I also edited the source for /usr/src/linux/drivers/media/video/bttv-cards.c

in the section for Leadtek WinFast 2000 (about line 769) find .tuner_type and change to 2.

Go back up to /usr/src/linux and "make modules"
this bombed out on my in the USB section, but the bttv-cards.o succussfull built before then, so no worries.

Reboot.

Everything was peachy. As a test, I undid my comments in /etc/modules, and everything was still fine, so it was apparently the rebuild of the drivers that did it. It's also possible that editing /etc/modules alone is sufficient; I won't ever no, as I'm not about to edit the source and rebuild again...

Thanks for the reply.

_________________
R5Fxx

Home-Brewed Mythic Dragon Clone
200GB WD IDE /myth
2x250GB WD IDE (lvm) /myth/tv


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 27, 2005 9:09 pm 
Offline
Joined: Thu Jan 29, 2004 2:29 pm
Posts: 14
I can vouch for the method of ammending card and tuner type within /etc/modules on R5A10. It may not look like you can pass options there, but :edit

bttv
tuner
to:
bttv card=34 tuner=2
tuner type=2

and bob is your uncle.

Took me all day to google all over the place and finally come up with this. I broke the install trying same things you did (edit bttv auto configure script bombed on make modules-install, edit /etc/mythtv/modules/bttv and anything like module configuration files in /etc/mod*ish files.... reboot reboot reboot).

Now, for the first time in a year, I have a fully working Mythtv system.

Xsecrets, you keep me coming back...

Thanks for the help, nrj


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 4:27 pm 
Offline
Joined: Wed Feb 18, 2004 9:07 pm
Posts: 89
Just to close this thread out, don't do what I did and change the order modules load in /etc/modules.

Today I noticed that all was not working perfectly - /dev/ttyS0 was failing with the message "ttyS0: LSR safety check engaged!"

After a bit of Googling, I found that this was the result (I think) of a conflict between the seterial at boot time, and the subsequent hotplug startup; ttyS0 was assigned an IRQ, then hotplug found a conflict, and disabled it. Or something like that.

I brought back the original /etc/modules order, rebooted, and ttyS0 was fine.

_________________
R5Fxx

Home-Brewed Mythic Dragon Clone
200GB WD IDE /myth
2x250GB WD IDE (lvm) /myth/tv


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu