Re: Pinnacle PCTV pro settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
   I think u would have not scanned for channels which is very
important. Execute "scantv -o .xawtv". U'r arguments to "bttv" and
"tuner" driver modules is not correct.Follow the steps in the
attachment. Confirm the hardware by executing "xawtv -hwscan".

With Regards,
S.Suriya Mohan.
India.

On Mon, 07 Jul 2003 Donald Tournier wrote :
Hi,

I'm trying to get my newly purchased Pinnacle PCTV pro card working
under
Linux. It works fine under windows, although it took me a while to
work
out that I was supposed to use the PAL-I standard since I live in the
UK.
Under Linux, it looks like the modules work fine, but xawtv displays a blue screen. I read somewhere that this means that the card works
fine but
needs further configuration. I'm no expert with TV cards - this is the
first time I try one. Maybe someone can help me to find the
appropriate
settings?

I've attached all the information about the system that I thought
could
possibly be useful at the bottom of this email.
Thanks for your help,

Donald.

======================================================
uname -a
======================================================
Linux linux 2.4.20-4GB-athlon #1 Mon Mar 17 17:56:47 UTC 2003 i686
unknown
unknown GNU/Linux

======================================================
lspci -v
======================================================
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host
Bridge
        Subsystem: VIA Technologies, Inc.: Unknown device 0000
        Flags: bus master, 66Mhz, medium devsel, latency 8
        Memory at e0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [80] AGP version 3.5
        Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge (prog-if
00
[Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: dde00000-dfefffff
        Prefetchable memory behind bridge: cdd00000-ddcfffff
        Capabilities: [80] Power Management version 2

00:07.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
Subsystem: Pinnacle Systems Inc. PCTV pro (TV + FM stereo
receiver) Flags: bus master, medium devsel, latency 32, IRQ 10
        Memory at dddfe000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

00:07.1 Multimedia controller: Brooktree Corporation Bt878 Audio
Capture
(rev 11)
Subsystem: Pinnacle Systems Inc. PCTV pro (TV + FM stereo
receiver, audio section)
        Flags: bus master, medium devsel, latency 32, IRQ 10
        Memory at dddff000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

00:0c.0 Multimedia audio controller: C-Media Electronics Inc CM8738
(rev 10)
        Subsystem: Micro-Star International Co., Ltd.: Unknown
device 5900
Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at e000 [size=256]
        Capabilities: [c0] Power Management version 2

00:0d.0 RAID bus controller: Promise Technology, Inc. PDC20376 (rev
02)
Subsystem: Promise Technology, Inc.: Unknown device 6620 Flags: bus master, 66Mhz, medium devsel, latency 96, IRQ 10
I/O
ports at ec00 [size=64]
        I/O ports at e800 [size=16]
        I/O ports at e400 [size=128]
Memory at dffff000 (32-bit, non-prefetchable) [size=4K] Memory at dffc0000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: [60] Power Management version 2

00:0e.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 46) (prog-if 10 [OHCI])
Subsystem: VIA Technologies, Inc. IEEE 1394 Host Controller
Flags:
bus master, medium devsel, latency 32, IRQ 5
Memory at dfffe800 (32-bit, non-prefetchable) [size=2K]
        I/O ports at dc00 [size=128]
        Capabilities: [50] Power Management version 2

00:0f.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5702
Gigabit Ethernet (rev 02)
        Subsystem: Micro-Star International Co., Ltd.: Unknown
device 585b
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10 Memory
at dffe0000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] PCI-X non-bridge device.
        Capabilities: [48] Power Management version 2
        Capabilities: [50] Vital Product Data
Capabilities: [58] Message Signalled Interrupts: 64bit+
Queue=0/3
Enable-

00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if
00
[UHCI])
        Subsystem: VIA Technologies, Inc. USB
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at d000 [size=32]
        Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if
00
[UHCI])
        Subsystem: VIA Technologies, Inc. USB
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at d400 [size=32]
        Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if
00
[UHCI])
        Subsystem: VIA Technologies, Inc. USB
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at d800 [size=32]
        Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
(prog-if
20 [EHCI])
        Subsystem: VIA Technologies, Inc. USB 2.0
        Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at dfffe700 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
        Subsystem: VIA Technologies, Inc.: Unknown device 0000
        Flags: bus master, stepping, medium devsel, latency 0
        Capabilities: [c0] Power Management version 2

00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC
Bus
Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
        Subsystem: VIA Technologies, Inc. VT8235 Bus Master
ATA133/100/66/33 IDE
        Flags: bus master, medium devsel, latency 32, IRQ 255
        I/O ports at fc00 [size=16]
        Capabilities: [c0] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation: Unknown device
0322
(rev a1) (prog-if 00 [VGA])
        Subsystem: Unknown device 1682:1280
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at dfee0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0

======================================================
/etc/modules.conf (relevant section)
======================================================
alias char-major-81-0 bttv
alias char-major-81-1 off
alias char-major-81-2 off
alias char-major-81-3 off
options bttv card=52
options tuner pal=i
options tda9887 pal=i

======================================================
dmesg (relevant sections)
======================================================
Linux video capture interface: v1.00
i2c-algo-bit.o: i2c bit algorithm module version 2.7.0 (20021208)
bttv: driver version 0.7.105 loaded
bttv: using 4 buffers with 2080k (8320k total) for capture
bttv: Host bridge is VIA Technologies, Inc. VT8377 [KT400 AGP] Host
Bridge
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 00:07.0, irq: 10, latency: 32, mmio:
0xdddfe000
bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is
11bd:0012
bttv0: using: BT878(Pinnacle PCTV Studio Pr) [card=52,insmod option]
i2c-algo-bit.o: Adapter: bt848 #0 scl: 1  sda: 1 -- testing...
i2c-algo-bit.o:1 scl: 1  sda: 0
i2c-algo-bit.o:2 scl: 1  sda: 1
i2c-algo-bit.o:3 scl: 0  sda: 1
i2c-algo-bit.o:4 scl: 1  sda: 1
i2c-algo-bit.o: bt848 #0 passed test.
msp34xx: init: chip=MSP3410G-B11 +nicam +simple +radio
msp3410: daemon started
tvaudio: found pic16c54 (PV951)
tda9887: probing bt848 #0 i2c adapter [id=0x10005]
tuner: probing bt848 #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc0
bttv0: i2c: checking for MSP34xx @ 0x80... found
bttv0: pinnacle/mt: id=2 info="PAL+SECAM / stereo" radio=yes
bttv0: using tuner=33
tuner: type set to 33 (MT2032 universal)
MT2032: Companycode=3cbf Part=42 Revision=46
not a MT2032.
bttv0: i2c: checking for MSP34xx @ 0x80... found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0


======================================================
dmesg after running xawtv (once for each attempt to view a channel)
======================================================
mt2032: re-init PLLs by LINT
mt2032: re-init PLLs by LINT
MT2032 Fatal Error: PLLs didn't lock.



--
video4linux-list mailing list
Unsubscribe
mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

___________________________________________________
Click below to experience Sooraj R Barjatya's latest offering
'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek
 & Kareena http://www.mpkdh.com
Title: TV Tuner on Linux
Quick TV Card Configuration Guide for Linux
HOME
By Manish Kumar Arya


Requirements


  1. A TV Tuner Card

  2. A Linux box with working X-windows

  3. bttv package

  4. xawtv program

  5. and a lots of patience

  6. Screen Shot



Check for TV Card on Machine


A TV tuner card is installed on PCI Slots on Computer. To check for TV Tuner Card on your Computer run 'lspci'


$lspci | grep -i bt


[root@manish manish]# /sbin/lspci | grep -i bt

01:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)

01:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 02)


basically bbtv can work for Bt848 and Bt878 chip sets and some other chip sets also


another way to check for TV card prsence is to use hard ware detection option of xawtv program


run

$xawtv -hwscan


[manish@manish manish]$ xawtv -hwscan

This is xawtv-3.73, running on Linux/i686 (2.4.18-3)

looking for available devices

port 67-67

type : Xvideo, image scaler

name : I810 Video Overlay


/dev/video0: OK [ -device /dev/video0 ]

type : v4l

name : BT878(Pixelview PlayTV (bt878)

flags: overlay capture tuner


if you able to find TV Tuner card on your PC then you need to specify many parameters for bttv driver module to correcty work for your card.

These Parameters are


1.Card Type

This is basically your TV Cards Brand Name and model name and can easily be

know from manual of you TV Card

A complete list of cards supported is listed in

'/usr/src/linux/Documentation/video4linux/bttv/CARDLIST'


2.Tuner Type

for this you need to reffer manual of your TV Card or open your PC cabinet, plug out TV card and check names like 'Philips, Tunic, Alps, LG'.

A complete list of supported tuner can be found in

'/usr/src/linux/Documentation/video4linux/bttv/CARDLIST'


Configuration


now make a shell script that will load drivers for TV card


#!/bin/bash

#load_tv_drivers

/sbin/modprobe tuner type=5 debug=1

/sbin/modprobe bttv card=16 audiomux=0 automute=1


lets analyse above script word by word


/sbin/modprobe this command is used to insert loadable kernel modules including supporting modules.Tuner is the name of driver for TV tuner and it is loaded for tuner of type 5(see '/usr/src/linux/Documentation/video4linux/bttv/CARDLIST' for tuner types like 5 is for Philips PAL) and debug=1 turns on debuging


bttv is main kernel module required for TV card to work option "card=" is used to specify Brand of TV card you have (like card=16 is for PixelView BT878). Option audiomux=<0,1,2,3,4,5> is used to specify sound source ( 0-Tuner, 1-Radio, 2-external, 3-internal,4- mute,5- stereo) . for example audiomux=0 specifies that audio input is from tuner to sound card.(refer '/usr/src/linux/Documentation/video4linux/bttv/Sound-FAQ' for more information)


For more options for modules reffer '/usr/src/linux/Documentation/video4linux/bttv/Insmod-Options'


You can save above script and call it from /etc/rc.local to load drivers at boot time

by adding a line in /etc/rc.local


//load_tv_drivers


an alternative to this way of loading modules is to add an entry for your TV card drivers in /etc/modules.conf


Now you are ready to launch TV viewing program


on X-window run xawtv from a terminal (like xterm)


now tune channels

run scantv command


$scantv -o .xawtv


it will prompt you for

for TV norm selection

select one like PAL TV norm works in India

next you are prompted for frequency table

select one according to your geographic location, if you dont find your location in table list dont panic, try existing some other frequency tables.

like for India europe-west works


.xawtv file is default setting file for xawtv program for a user. To make a global file you can specify /etc/xawtvrc file in scantv -o option


if you are not able to tune channels in first go, dont give up try other frequency tables and/or TV norms


once you have tuned channels, next you need to give some name to channels(optional) and fine tune them( if needed)

some weak signal channels are missed during scan. You can add them later


for feedback and correction please mail to manish@xxxxxxxxxxxxx


Composed in Openoffice


[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux