LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
Search this Thread
Old 01-13-2003, 05:42 PM   #1
sub_pop_culture
Member
 
Registered: Jan 2003
Location: California
Distribution: Fedora Core 5
Posts: 31

Rep: Reputation: 15
Question Pinnacle PCTV TV tuner


I've scoured Google for the answer to this, I've asked on IRC channels, I've trial and errored my way around for a while, all to no avail.

I've even tried reading documents in other languages to see if I could find hints or tips on the module options for this, but alas I cannot read anything but english.

My question is this: I have a Pinnacle PCTV card (with remote). It uses the Brooktree 878 chip for video capture. I can get xawtv working. However, I cannot change channels. It remains on the channel I was on last time I was in Windows. I am assuming this has something to do with my tuner type, but I don't have a clue what my tuner type is. I'm guessing my card type is 39 (Pinnacle PCTV Studio/Rave).

dmesg and tail -f /var/log/messages doesn't reveal anything about tuner: finding a chip on an address (most of the posts I found on Google had that). So I'm guessing its my tuner module. I'm gonna look on the card itself right after I post this, but other than that, I don't have any ideas how to get this working properly. And they all said Red Hat was supposed to be easy.

Quoted below is what I think is the relevant portion of dmesg:
Quote:
bttv: driver version 0.7.91 loaded
bttv: using 2 buffers with 2080k (4160k total) for capture
bttv: Host bridge is Silicon Integrated Systems [SiS] 730 Host
bttv: Bt8xx card found (0).
PCI: Found IRQ 11 for device 00:0b.0
PCI: Sharing IRQ 11 with 00:01.1
PCI: Sharing IRQ 11 with 00:0b.1
bttv0: Bt878 (rev 17) at 00:0b.0, irq: 11, latency: 32, memory: 0xdf004000
bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012
bttv0: using: BT878(Pinnacle PCTV Studio/Ra) [card=39,insmod option]
i2c-dev.o: Registered 'bt848 #0' as minor 0
i2c-core.o: adapter bt848 #0 registered as adapter 0.
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: miro: id=27 tuner=16 radio=no stereo=no
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
i2c-core.o: driver i2c TV tuner driver registered.
tuner: probing bt848 #0 i2c adapter [id=0x10005]
bttv0: registered device video0
bttv0: registered device vbi0
 
Old 01-13-2003, 07:48 PM   #2
sub_pop_culture
Member
 
Registered: Jan 2003
Location: California
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
Just a quick follow up:

I seem to have managed to get the tuner to register a chip, but it only happened once (and I've not changed my /etc/modules.conf file at all). This is so friggin confusing that I'm giving up for now. If anyone has any ideas, feel free to post, but I honestly don't think Linux supports this crap very well yet. Guess I still do need Windows for something then.
 
Old 01-13-2003, 07:51 PM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
How bout trying an 'lsmod' so we can see what modules are currently loaded?
 
Old 01-13-2003, 08:03 PM   #4
sub_pop_culture
Member
 
Registered: Jan 2003
Location: California
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
Sorry, I got rather frustrated and forgot something simple like that. Here's my lsmod output:

Module Size Used by Tainted: P
tuner 11456 0 (autoclean) (unused)
tvaudio 14940 0 (autoclean) (unused)
bttv 71360 0 (unused)
i2c-algo-bit 8840 1 [bttv]
i2c-core 19268 0 [tuner tvaudio bttv i2c-algo-bit]
videodev 8320 2 [bttv]
sr_mod 18168 0 (autoclean)
snd-pcm-oss 43780 0 (autoclean)
snd-mixer-oss 15320 0 (autoclean) [snd-pcm-oss]
snd-trident 33208 3 (autoclean)
snd-pcm 82144 1 (autoclean) [snd-pcm-oss snd-trident]
snd-timer 15368 0 (autoclean) [snd-pcm]
snd-util-mem 3080 0 (autoclean) [snd-trident]
gameport 3412 0 (autoclean) [snd-trident]
snd-mpu401-uart 4716 0 (autoclean) [snd-trident]
snd-rawmidi 18336 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 6144 0 (autoclean) [snd-trident snd-rawmidi]
snd-ac97-codec 35940 0 (autoclean) [snd-trident]
snd 39820 6 (autoclean) [snd-pcm-oss snd-mixer-oss snd-trident snd-pcm snd-timer snd-util-mem snd-mpu401-uart snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore 6500 5 (autoclean) [snd]
agpgart 42944 3 (autoclean)
NVdriver 1149152 10 (autoclean)
parport_pc 19108 1 (autoclean)
lp 8996 0 (autoclean)
parport 37152 1 (autoclean) [parport_pc lp]
autofs 13348 0 (autoclean) (unused)
sis900 16812 1
iptable_filter 2412 0 (autoclean) (unused)
ip_tables 14840 1 [iptable_filter]
ide-scsi 10512 0
scsi_mod 107240 2 [sr_mod ide-scsi]
ide-cd 33608 0
cdrom 33696 0 [sr_mod ide-cd]
joydev 7168 0 (unused)
mousedev 5524 1
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5920 0 [joydev mousedev keybdev hid]
usb-ohci 21288 0 (unused)
usbcore 77056 1 [hid usb-ohci]
ext3 70336 2
jbd 52212 2 [ext3]


And here's my /etc/modules.conf:
# misc
alias parport_lowlevel parport_pc
alias eth0 sis900
alias usb-controller usb-ohci

## Sound Card
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-trident
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# ALSA Control
post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :
##

# bttv
alias char-major-81 bttv
post-install bttv modprobe tuner; modprobe videodev
options tuner type=11 debug=1
options bttv card=39 radio=0 pll=0

# dvd-rom
options ide-cd dma=1

# video card
alias char-major-195 NVdriver
 
Old 01-14-2003, 07:28 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
does not being able to change channel just mean that you are not pressing the right buttons in xawtv? if you have a picture then the drivers must be correctly loaded. try pressing up and down to change channel. also read the manpage to get info setting a config file.
 
Old 01-14-2003, 09:28 AM   #6
sub_pop_culture
Member
 
Registered: Jan 2003
Location: California
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
I've tried the up and down arrows. They seem to change the channel number, but the image being displayed stays exactly the same. I've tried this as root and as a normal user. As a normal user xawtv can't seem to create a config file. It gives me that dialog about creating a config file every time I start it.

I think my tuner type is wrong. Because in dmesg there is nothing about tuner: found chip @ 0x0c (or something similar). But I don't have the slightest idea how to figure out my tuner type.
 
Old 01-15-2003, 09:58 AM   #7
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
You could try looking at the tuner itself and see if it says anything usefull which looks similar to one of the ones in the list below. Otherwise you can have some fun trying each one.

Code:
  type=0 - Temic PAL (4002 FH5)
  type=1 - Philips PAL_I (FI1246 and compatibles)
  type=2 - Philips NTSC (FI1236 and compatibles)
  type=3 - Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)
  type=4 - NoTuner
  type=5 - Philips PAL_BG (FI1216 and compatibles)
  type=6 - Temic NTSC (4032 FY5)
  type=7 - Temic PAL_I (4062 FY5)
  type=8 - Temic NTSC (4036 FY5)
  type=9 - Alps HSBH1
  type=10 - Alps TSBE1
  type=11 - Alps TSBB5
  type=12 - Alps TSBE5
  type=13 - Alps TSBC5
  type=14 - Temic PAL_BG (4006FH5)
  type=15 - Alps TSCH6
  type=16 - Temic PAL_DK (4016 FY5)
  type=17 - Philips NTSC_M (MK2)
  type=18 - Temic PAL_I (4066 FY5)
  type=19 - Temic PAL* auto (4006 FN5)
  type=20 - Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)
  type=21 - Temic NTSC (4039 FR5)
  type=22 - Temic PAL/SECAM multi (4046 FM5)
  type=23 - Philips PAL_DK (FI1256 and compatibles)
  type=24 - Philips PAL/SECAM multi (FQ1216ME)
  type=25 - LG PAL_I+FM (TAPC-I001D)
  type=26 - LG PAL_I (TAPC-I701D)
  type=27 - LG NTSC+FM (TPI8NSR01F)
  type=28 - LG PAL_BG+FM (TPI8PSB01D)
  type=29 - LG PAL_BG (TPI8PSB11D)
  type=30 - Temic PAL* auto + FM (4009 FN5)
  type=31 - SHARP NTSC_JP (2U5JF5540)
  type=32 - Samsung PAL TCPM9091PD27
  type=33 - MT2032 universal
  type=34 - Temic PAL_BG (4106 FH5)
  type=35 - Temic PAL_DK/SECAM_L (4012 FY5)
  type=36 - Temic NTSC (4136 FY5)
  type=37 - LG PAL (newer TAPC series)
  type=38 - Philips PAL/SECAM multi (FM1216ME MK3)
  type=39 - LG NTSC (newer TAPC series)
 
Old 01-15-2003, 10:17 AM   #8
sub_pop_culture
Member
 
Registered: Jan 2003
Location: California
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
I have looked at the card itself already. I did not see any text that looked similar to anything listed in the tuner type list you pasted.

I have yet to try cycling through and every one.
 
Old 01-27-2003, 03:51 PM   #9
shiggidbug
LQ Newbie
 
Registered: Jan 2003
Location: lakeland, fl
Posts: 3

Rep: Reputation: 0
Oh thank god I ran across this forum, I am using a fresh install of red hat 8.0 and I was just about to go looking for some linux drivers for the tv tunner, I have the exact same one pctv studio if anyone knows anything please email me Shiggi@tampabay.rr.com
 
Old 01-27-2003, 04:06 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Quote:
Originally posted by shiggidbug
Oh thank god I ran across this forum, I am using a fresh install of red hat 8.0 and I was just about to go looking for some linux drivers for the tv tunner, I have the exact same one pctv studio if anyone knows anything please email me Shiggi@tampabay.rr.com
no, they will say so here... that's the point of a forum...
 
Old 01-27-2003, 06:24 PM   #11
sub_pop_culture
Member
 
Registered: Jan 2003
Location: California
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
I'm still having the same old problem. I've tried this with a couple different distros, and no luck. If anything magically happens and it works, I'll be sure to update this...
 
Old 02-17-2003, 04:21 AM   #12
sub_pop_culture
Member
 
Registered: Jan 2003
Location: California
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
Okay! I got it to work! I gave it a rest, and just got back to it tonight. Turns out that the latest version of the Kernel (2.4.20 as of this writing) uses version 0.7.96 of the bttv drivers. Since this card is new, I had to download and install the latest bttv drivers.
This isn't _that_ terrifying a task either. Download the tarball off http://bytesex.org/bttv/ and untar it. Make sure you have an unpacked source tree of your kernel version. I've got mine in /usr/src/linux. I suggest you do the same. The bttv Makefile will look there automatically, and begin building the bttv modules. (There's great instructions in the README file). Once the modules are installed, you need to set up the modules.conf file. Here is my relevant entry (I've not tweaked this to perfection yet, these are just some initial settings that actually allow me to tune the channel frequencies).
Code:
#### Begin BTTV Config ####
alias char-major-81 bttv
options bttv card=39 pll=1
options tuner type=33 debug=1
#options msp3400 once=1 simple=1
post-install bttv modprobe tuner; modprobe videodev
#### End BTTV Config ####
With that, depmod -a (or modprobe -r bttv;modprobe -r tuner; modprobe bttv). Start up xawtv, set up your frequency table, tv norm, etc and you should be able to change channels (with up & down). If this doesn't work, try card=52 (that's another Pinnacle PCTV card type).

I'll post some more up here when I tweak out my settings to my satisfaction. But for now, enjoy rotting your brain in Linux!

One less reason to reboot to Windows now...
 
Old 03-30-2003, 04:12 AM   #13
prasbhat
LQ Newbie
 
Registered: Mar 2003
Posts: 1

Rep: Reputation: 0
I am also facing same problem with pinnacle tv tuner card. Is there any other application other then xawtv for viewing tv??
 
Old 03-30-2003, 05:07 AM   #14
sub_pop_culture
Member
 
Registered: Jan 2003
Location: California
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
Well, there's a gnome/gtk application called zapping that I sometimes use. Don't know about Qt/KDE apps. Chances are that if xawtv doesn't fix the tuning problem you're having, its the version of bttv your kernel has. Other than the fix I've already mentioned I can't think of any way to get it working (besides just waiting for Linux to include the latest bttv modules.
 
Old 03-30-2003, 01:54 PM   #15
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I use TVtime instead of xawtv and zapping. Bot xawtv and zapping glitches. TVtime has better descalers than xawtv and zapping although TVtime uses some source code from descaler.org .

Does anybody know where I can find a GUI video capture program. I know there is command line programs but I will like to see what I'm capturing.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pinnacle PCTV+xawtv akademik Linux - Hardware 3 11-19-2006 07:41 PM
I'd like to use my Pinnacle pctv stereo/Philips SAA7134 tuner card... noware Linux - Hardware 8 09-26-2006 09:51 AM
Pinnacle PCTV card blither Linux - Hardware 6 09-20-2005 01:58 AM
pinnacle pctv deluxe X pctv-gtk leosgb Linux - Hardware 0 04-15-2005 01:14 PM
Impossibility to use a Pinnacle DC10+ and a Pinnacle PCTV Pro at the same time vaisarger Linux - Hardware 1 08-27-2004 04:56 AM


All times are GMT -5. The time now is 09:49 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration