LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-23-2006, 02:21 PM   #1
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Rep: Reputation: 15
bttv card not working


i have tried many things to get my pci tv card (Pinnacle PCTV PRO)running but everything failed...(Slackware Current 2.4.32)
I am using the detected card (39) and tuner 1 (i am from Portugal, i think it is this one...any europeans around here?)

here is the list of things i have tried (not at the same time):

edited /etc/modprobe.conf
# i2c
alias char-major-89 i2c-dev
options i2c-core i2c_debug=0
options i2c-algo-bit bit_test=0
# bttv
alias char-major-81 videodev
alias char-major-81-0 bttv
options bttv card=39
options tuner type=1

edited /etc/rc.d/rc.modules
modprobe bttv card=39 tuner=1

edited /etc/rc.d/rc.local
modprobe bttv card=39 tuner=1

Also tried card=52 and tuner=5 with no results

+ #chmod 666 /dev/video0

I also tried different cards and tuners and still nothing but noise and no image

PHP Code:
ferradura@Slackware:~$ xawtv
This is xawtv
-3.95running on Linux/i686 (2.4.32)
dlopenlibdv.so.4cannot open shared object fileNo such file or directory
dlopen
libdv.so.4cannot open shared object fileNo such file or directory
WARNING
Your X-Server has no DGA support.
seteuid(root): Operation not permitted
v4l
-conf had some troubletrying to continue anyway
Warning
Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl
VIDIOCCAPTURE(int=1): Invalid argument
ioctl
VIDIOCCAPTURE(int=0): Invalid argument 
PHP Code:
ferradura@Slackware:~$ lsmod |grep bttv
bttv                   94048   0
i2c
-algo-bit            6696   1 [bttv]
i2c-core               12260   0 [tuner tda9887 tvaudio bttv i2c-algo-bit]
soundcore               3300   7 [snd bttv]
videodev                5728   2 [bttv
PHP Code:
ferradura@Slackware:~$ dmesg |grep bttv
bttv
driver version 0.7.108 loaded
bttv
using 4 buffers with 2080k (8320k total) for capture
bttv
Bt8xx card found (0).
bttv0Bt878 (rev 17at 00:0c.0irq5latency64mmio0xdfcfe000
bttv0
detectedPinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012
bttv0
usingPinnacle PCTV Studio/Rave [card=39,autodetected]
bttv0i2cchecking for MSP34xx 0x80... not found
bttv0
pinnacle/mtid=1 info="PAL / mono" radio=no
bttv0
using tuner=1
bttv0
i2cchecking for MSP34xx 0x80... not found
bttv0
i2cchecking for TDA9875 0xb0... not found
bttv0
i2cchecking for TDA7432 0x8a... not found
bttv0
PLL28636363 => 35468950 .. ok
bttv0
registered device video0
bttv0
registered device vbi0 

Last edited by ferradura; 06-23-2006 at 02:31 PM.
 
Old 06-23-2006, 02:34 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
maybe it's just not tuned to a channel.
did you try to tune it, or do you have a valid channel-list for your country ?

egag
 
Old 06-23-2006, 03:31 PM   #3
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by egag
maybe it's just not tuned to a channel.
did you try to tune it, or do you have a valid channel-list for your country ?

egag
thanks for your reply
i tried to tune with kdetv, even including the correct frequency (mhz) for the channels

how is your configuration? which files did you edit?
 
Old 06-23-2006, 03:49 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
i didn't edit any files for xawtv.
if you right-click on the window, you'll get a menu.
if you pick "channel editor" you'll get another.

place the mousepointer in the textwindow under "channel" and use the arrow-keys to tune.
if you find a channel, push "add", and when ready hit "save"
the data will go to ~/.xawtv; a textfile.

see if you get some channels that way.

egag
 
Old 06-23-2006, 03:55 PM   #5
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Original Poster
Rep: Reputation: 15
i wanted to know how your /etc/modprobe.conf or some other file looks, cause i need to get the card recognized...that is my main problem i think
 
Old 06-23-2006, 05:17 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
your card is recognised, see the "bttv"-output from dmesg above.
bttv even autodetects it, so i don't think that's the prob.

if you start xawtv, you get a picturewindow with snow, right?
i think that's a picture of an untuned tv.
did you try to tune it ?

edit:
i just took a look at <kernelsource>/Documentation/video4linux/CARDLIST.bttv
and saw your card is listed as id. 52; and the 39 is Pinnacle PCTV Studio/Rave .
so the autodetection is not ok or you have the other card ?

if you have the "pro" version, you might want to try "modprobe bttv card=52"


egag

Last edited by egag; 06-23-2006 at 08:39 PM.
 
Old 06-25-2006, 10:38 AM   #7
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Original Poster
Rep: Reputation: 15
Thumbs down

i made a mistake my card is studio not pro, so it is 39
i went trough the forum i nothing i have tried worked
i installed a 2.6.xx kernel with no luck, apart from the noise that was gone
also tried to install a new version of the bttv driver

when i try to load the tuner module the system ignores it so i am not able to tune with 2.6.13
PHP Code:
bash-3.00# dmesg |grep tuner
bttv0using tuner=33
tuner
chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tunertype set to 33 (MT20xx universalby bt878 #0 [sw]
tunermicrotunecompanycode=8e0e part=42 rev=a7
tuner
microtune MT2050 foundOK
bttv0
using tuner=33
tuner
chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tunertype set to 33 (MT20xx universalby bt878 #0 [sw]
tunermicrotunecompanycode=8e0e part=42 rev=09
tuner
microtune MT2050 foundOK
tuner
TV freq (268435455.93out of range (44-958)
tunerTV freq (268435455.93out of range (44-958)
tunerTV freq (268435455.93out of range (44-958)
tunerchip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tunertype set to 33 (MT20xx universalby bt878 #0 [sw]
tunermicrotunecompanycode=8e0e part=42 rev=97
tuner
microtune MT2050 foundOK
tuner
type already set to 33ignoring request for 1
tuner
The type=<ninsmod option will go away soon.
tunerPlease use the tuner=<noption provided by
tuner
tv aard core driver (bttvsaa7134, ...) instead.
tunerchip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tunertype set to 33 (MT20xx universalby bt878 #0 [sw]
tunermicrotunecompanycode=8e0e part=42 rev=19
tuner
microtune MT2050 foundOK
tuner
type already set to 33ignoring request for 5
tuner
The type=<ninsmod option will go away soon.
tunerPlease use the tuner=<noption provided by
tuner
tv aard core driver (bttvsaa7134, ...) instead
i don know what else to do really
 
Old 06-25-2006, 11:23 AM   #8
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
-------------
tuner: type already set to 33, ignoring request for 5
--
tuner: Please use the tuner=<n> option provided by
--------------

try modprobe bttv tuner=5

also, is i2c module loaded ?
see " lsmod |grep 2c " output.

egag
 
Old 06-25-2006, 11:41 AM   #9
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Original Poster
Rep: Reputation: 15
egag i`ve seen the dmesg output...i did the "modprobe bttv card=39 tuner=5" before it...
i find it strange 2, don`t have a clue why it is ignoring my input

Code:
root@Slackware:~# lsmod |grep i2c
i2c_sis96x              4740  0
i2c_algo_bit            8840  1 bttv
i2c_core               17680  4 bttv,i2c_sis96x,tda9887,i2c_algo_bit
i even tried to blacklist the modules and then load them and it still loads tuner=33

Last edited by ferradura; 06-25-2006 at 11:47 AM.
 
Old 06-25-2006, 11:49 AM   #10
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Original Poster
Rep: Reputation: 15
ok it started to work now although i don know yet what have i done to get it working...

[CODE]:root@Slackware:~# modprobe tuner=5
FATAL: Module tuner=5 not found.[CODE]

and then
[CODE]:root@Slackware:~# modprobe tuner type=5
root@Slackware:~#dmesg |grep tuner
bttv0: using tuner=33
tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tuner: type set to 33 (MT20xx universal) by bt878 #0 [sw]
tuner: microtune: companycode=3dbf part=42 rev=8d
tuner: microtune MT2050 found, OK
bttv0: using tuner=33
tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tuner: type set to 33 (MT20xx universal) by bt878 #0 [sw]
tuner: microtune: companycode=3dbf part=42 rev=8d
tuner: microtune MT2050 found, OK
tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tuner: type set to 33 (MT20xx universal) by bt878 #0 [sw]
tuner: microtune: companycode=3dbf part=42 rev=8d
tuner: microtune MT2050 found, OK
tuner: type already set to 33, ignoring request for 5
tuner: The type=<n> insmod option will go away soon.
tuner: Please use the tuner=<n> option provided by
tuner: tv aard core driver (bttv, saa7134, ...) instead.[CODE]

same output i have had before so, still can tell what happened

_______

P.S.:
Portugal will win Holland :-D

Last edited by ferradura; 06-25-2006 at 11:50 AM.
 
Old 06-25-2006, 01:22 PM   #11
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
i wrote " modprobe bttv tuner=5 ", not "modprobe tuner=5".
"tuner=5" is an option for bttv.

but it's working you say ?
so you can watch the game on your pc ?

well, you can keep the bttv module on the hotplug blacklist, and add the modprobe command
to /etc/rc.d/rc.modules.

btw.: i hope to see a good game. ( like Argentine-Mexico).
enjoy the game...( and good luck, you'll need it :-D )

egag
 
Old 07-04-2006, 06:53 AM   #12
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Original Poster
Rep: Reputation: 15
i just did a fresh install and using the "testing" 2.6.13 kernel, and after configuring the x-server everything worked without any input (no need to modprobe any modules)

here is a list of the modules required:
Code:
otar@Slackware:~$ lsmod |grep bttv
bttv                  149648  1 bt878
video_buf              17156  1 bttv
firmware_class          7424  1 bttv
i2c_algo_bit            8712  1 bttv
v4l2_common             4864  1 bttv
btcx_risc               3976  1 bttv
tveeprom               10512  1 bttv
i2c_core               16656  6 i2c_sis96x,tuner,tda9887,bttv,i2c_algo_bit,tveeprom
videodev                7168  1 bttv
Code:
otar@Slackware:~$ lsmod |grep tuner
tuner                  34728  0
i2c_core               16656  6 i2c_sis96x,tuner,tda9887,bttv,i2c_algo_bit,tveeprom
Note: Some of these are not available with the default 2.4.31 kernel, so i think that`s why the sound won`t work. I have no time right now to recompile so...won`t point a solution for this.

Also, the default tuner type should be 5 for me (PAL) but hotplug uses type 33 but it works...

Code:
otar@Slackware:~$ 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:0c.0, irq: 5, latency: 64, mmio: 0xdfcfe000
bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012
bttv0: using: Pinnacle PCTV Studio/Rave [card=39,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: pinnacle/mt: id=1 info="PAL / mono" radio=no
bttv0: using tuner=33
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
Code:
otar@Slackware:~$ dmesg |grep tuner
bttv0: using tuner=33
tuner 0-0060: microtune: companycode=3dbf part=42 rev=11
tuner 0-0060: microtune MT2050 found, OK

Last edited by ferradura; 07-04-2006 at 07:38 AM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
tv card, bttv and cx88 takisd Linux - Hardware 15 09-01-2005 10:45 AM
lirc with bttv TV card tyzenhaus Fedora 1 07-18-2005 12:47 PM
Anyone with bttv working with an ATI TV Wonder VE card? Wynd Slackware 1 07-30-2004 06:33 AM
TV Card, BT878, bttv: no sound breakerfall Linux - Hardware 5 03-20-2004 07:31 AM
TV card bttv+v4l problem X_Ray_Cat Linux - Hardware 0 10-24-2003 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:25 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration