LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 10-07-2006, 05:44 PM   #1
flyereddie
Member
 
Registered: Jun 2006
Posts: 31

Rep: Reputation: 15
Cannot change card/tuner number for TV card


Hi guys
I have a pixilview TV card and i think the card number / tuner number is autodetected wrong, i think the correct card no is 72 and tuner is 28, only problem is I don't know how to change it, I tried modprob bttv card=72
but i don't think anything changed, im fairly new to linux, could you give me the commands to type so i can change it also how do i check if it has changed other than see if the card works, Im running mepis 6. I found a how-to on this site that suggested you can edit modprob.conf but i don't seem to have this file. I know this card will work on this machine i had it going about 12 months back with meips 3 . Any help greatly appreciated
 
Old 10-07-2006, 05:55 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,151

Rep: Reputation: 46
if your card uses the bttv driver you can use:

dmesg | grep bttv

(note that "|" is the pipe symbol and on most keyboards is shift and "\")

to see how the driver detects your card. mine looks like this:
Code:
steve@DAW ~ $ dmesg | grep bttv
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:09.0, irq: 17, latency: 32, mmio: 0xee000000
bttv0: detected: Leadtek TV 2000 XP [card=34], PCI subsystem ID is 107d:6609
bttv0: using: Leadtek WinFast 2000/ WinFast 2000 XP [card=34,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=003ff502 [init]
bttv0: using tuner=43
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "remote0"
 
Old 10-07-2006, 06:48 PM   #3
flyereddie
Member
 
Registered: Jun 2006
Posts: 31

Original Poster
Rep: Reputation: 15
Unhappy thanks

thanks that confirms that the autodetect gets the wrong card and tuner

rtron@1[~]$ dmesg |grep btt
[4294682.200000] bttv: driver version 0.9.16 loaded
[4294682.200000] bttv: using 8 buffers with 2080k (520 pages) each for capture
[4294682.319000] bttv: Bt8xx card found (0).
[4294682.320000] bttv0: Bt878 (rev 17) at 0000:00:08.0, irq: 10, latency: 32, mmio: 0xd9008000
[4294682.320000] bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[4294682.320000] bttv0: gpio: en=00000000, out=00000000 in=00ffc0ff [init]
[4294682.324000] bttv0: using tuner=-1
[4294682.368000] bttv0: i2c: checking for MSP34xx @ 0x80... not found
[4294682.371000] bttv0: i2c: checking for TDA9875 @ 0xb0... not found
[4294682.373000] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
[4294682.375000] bttv0: i2c: checking for TDA9887 @ 0x86... not found
[4294682.377000] bttv0: registered device video0
[4294682.377000] bttv0: registered device vbi0
rtron@1[~]$
So how do i change the settings?
i need to set the card to 72 and the tuner to 28
thanks
 
Old 10-07-2006, 07:05 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 57
Quote:
Originally Posted by flyereddie
thanks that confirms that the autodetect gets the wrong card and tuner

rtron@1[~]$ dmesg |grep btt
[4294682.200000] bttv: driver version 0.9.16 loaded
[4294682.200000] bttv: using 8 buffers with 2080k (520 pages) each for capture
[4294682.319000] bttv: Bt8xx card found (0).
[4294682.320000] bttv0: Bt878 (rev 17) at 0000:00:08.0, irq: 10, latency: 32, mmio: 0xd9008000
[4294682.320000] bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[4294682.320000] bttv0: gpio: en=00000000, out=00000000 in=00ffc0ff [init]
[4294682.324000] bttv0: using tuner=-1
[4294682.368000] bttv0: i2c: checking for MSP34xx @ 0x80... not found
[4294682.371000] bttv0: i2c: checking for TDA9875 @ 0xb0... not found
[4294682.373000] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
[4294682.375000] bttv0: i2c: checking for TDA9887 @ 0x86... not found
[4294682.377000] bttv0: registered device video0
[4294682.377000] bttv0: registered device vbi0
rtron@1[~]$
So how do i change the settings?
i need to set the card to 72 and the tuner to 28
thanks
Mephis is a Debian based system right? If so first confirm you can get it to work by modprobe -r bttv and the tuner module then modprobe bttv card=72 tuner=28. Now if working then create the file /etc/modprobe.d/tvcard with this for the contents.

Code:
## Added by me for proper detection of Tuner on TV Card
options bttv card=72 tuner=28
Then these setting will be used on boot when loading the module.
 
Old 10-07-2006, 08:40 PM   #5
flyereddie
Member
 
Registered: Jun 2006
Posts: 31

Original Poster
Rep: Reputation: 15
alls good


Thanks guys I now have a functioning TV card ( don't know what id do without you)
Thanks again
flyereddie
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change tuner number from command line? mac1234mac Linux - Hardware 4 03-19-2006 09:34 AM
TV tuner card space_invader64 Linux - Hardware 5 03-01-2006 06:56 PM
tv tuner for mercury tv tuner card sandesh_hs Linux - Hardware 1 02-22-2004 03:20 AM
tv tuner card on S9 carboncopy Slackware 1 08-31-2003 04:13 AM
a good tv tuner card and graphics card match mpo Linux - Hardware 2 03-01-2003 01:45 PM


All times are GMT -5. The time now is 04:09 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration