Jump to content

Want to watch Tv on Linux...help!


Guest startrek
 Share

Recommended Posts

Guest startrek

Hi there. I'm in the process of migrating from Windows to Linux (Mandrake 10.0 (Official) running on kernel 2.6.3-7mdk). Well most of my hardware is working fine...which is great...except my Pinnacle PCTV Stereo card. I have done a bit of googling on this topic and didn't have any success. I have tried to put in all the information from my side so that the Linux pro's out there can decode the problem. All help is appreciated.

 

 

1. Harddrake in KDE displays the following:

 

Vendor: Philips Semiconductors

 

Bus: PCI

 

Bus identification: 1131:7134:11bd:2b

 

Location on the bus: 2:a:0

 

Description: SAA7134

 

Module: saa7134

 

Media class: MULTIMEDIA_OTHER

 

2. Module configuration

 

irq_debug

core_debug

gpio_tracking

video_nr

ts_nr

vbi_nr

radio_nr

oss

dsp_nr

mixer_nr

tuner :40

card :19

latency

i2c_debug

i2c_scan

oss_debug

oss_rate

ts_debug

tsbufs

audio_debug

audio_carrier

audio_ddep

audio_clock_tweak

vbi_debug

vbibufs

video_debug

gbuffers :4

 

3. The 'scantv' command results in

 

v4l2: open /dev/v4l/video0: No such file or directory

v4l2: open /dev/v4l/video0: No such file or directory

v4l: open /dev/v4l/video0: No such file or directory

no grabber device available

 

4. The 'lsmod' command results in

Module                  Size  Used by
bttv                    146956  0
video-buf                20388  1 bttv
i2c-algo-bit              9512  1 bttv
v4l2-common               6144  1 bttv
btcx-risc                 4712  1 bttv
i2c-core                 23044  2 bttv,i2c-algo-bit
videodev                  9536  1 bttv
lp                       12200  0
parport_pc               32832  1
parport                  38952  2 lp,parport_pc
sg                       38044  0
st                       38616  0
sr_mod                   17028  0
sd_mod                   16832  0
scsi_mod                114648  4 sg,st,sr_mod,sd_mod
es1371                   33280  1
soundcore                 9248  3 bttv,es1371
gameport                  4480  1 es1371
ac97_codec               17804  1 es1371
af_packet                20520  0
hid                      53312  0
ide-floppy               18752  0
ide-tape                 34864  0
ide-cd                   40548  0
cdrom                    37184  2 sr_mod,ide-cd
floppy                   59444  1
8139too                  23712  0
mii                       4992  1 8139too
nls_iso8859-1             3904  4
nls_cp850                 4736  4
vfat                     13760  4
fat                      45120  1 vfat
supermount               37876  1
intel-agp                17372  1
agpgart                  31016  2 intel-agp
nvidia                 4810156  12
uhci-hcd                 29104  0
usbcore                  99132  4 hid,uhci-hcd
rtc                      11576  0
ext3                    110408  3
jbd                      54328  1 ext3

4. tvtime starts up with a blue screen with no signal and no audio. It says cannot open capture device /dev/video0.

 

5. 'xawtv -hwscan' command results in

 

This is xawtv-3.91, running on Linux/i686 (2.6.3-7mdk)

looking for available devices

port 145-145

type : Xvideo, image scaler

name : NV17 Video Overlay

 

port 146-146

type : Xvideo, image scaler

name : NV17 Video Texture

 

port 147-178

type : Xvideo, image scaler

name : NV05 Video Blitter

 

port 179-179 [ -xvport 179 ]

type : Xvideo, video overlay

name : NVIDIA Video Interface Port

 

6. xawtv also has the symptoms of tvtime....blue screen with no audio.

 

 

7. I'm in India...so I will be running the tv tuner in PAL mode.

 

 

This Pinnacle PCTV Stereo card runs fine on my Windows XP Professional. Also I heard that the 'bttv' drivers are included in kernel version 2.6 and above. But I don't know how to activate it? or is it already? Hope to seek some help from you people...so kindly do. :help:

Link to comment
Share on other sites

I have the same card. Exactly. You have to modprobe the saa7134 module, not the bttv one. In /etc/modprobe.preload, replace bttv with saa7134 (or add if absent). In /etc/modprobe.conf, you can delete lines dealing with bttv.

 

Yves.

Link to comment
Share on other sites

Guest startrek

First of all, thanks for your reply. Well I did carry out the changes according to you...but now the screen has gone black from blue and no audio as usual. Upon doing 'scantv'...it asked for the TV norm...I entered it as PAL(Indian Standard)...but in the frequency table my country wasn't listed...so I just hit an enter...and it started a default scan of all the frequencies (from 55.25 to 958MHz)...but after the scan...it coundn't tune to any station over that range...quite strange.

 

1. 'modprobe.conf' looks like this (no changes were required...because there was nothing which contained 'bttv'....saa7134 was already there)

 

 

alias eth0 8139too

alias sound-slot-0 es1371

options saa7134 tuner=40 card=19 gbuffers=4

install usb-interface /sbin/modprobe usb-uhci; /bin/true

 

2. -modprobe.preload' looks like this (included saa7134)

 

 

# /etc/modprobe.preload: 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.

# this file is for module-init-tools (kernel 2.5 and above) ONLY

# for old kernel use /etc/modules

 

scsi_hostadapter

nvidia

saa7134

intel-agp

 

 

3. Now 'lsmod' results in:

Module                  Size  Used by
lp                     12200  0
parport_pc             32832  1
parport                38952  2 lp,parport_pc
md5                     3872  1
ipv6                  232352  6
sg                     38044  0
st                     38616  0
sr_mod                 17028  0
sd_mod                 16832  0
scsi_mod              114648  4 sg,st,sr_mod,sd_mod
es1371                 33280  1
gameport                4480  1 es1371
ac97_codec             17804  1 es1371
af_packet              20520  0
hid                    53312  0
ide-floppy             18752  0
ide-tape               34864  0
ide-cd                 40548  0
cdrom                  37184  2 sr_mod,ide-cd
floppy                 59444  0
8139too                23712  0
mii                     4992  1 8139too
nls_iso8859-1           3904  3
nls_cp850               4736  3
vfat                   13760  3
fat                    45120  1 vfat
supermount             37876  1
tuner                  17292  0
saa7134                92776  0
video-buf              20388  1 saa7134
v4l2-common             6144  1 saa7134
v4l1-compat            13220  1 saa7134
soundcore               9248  3 es1371,saa7134
i2c-core               23044  2 tuner,saa7134
ir-common               4388  1 saa7134
videodev                9536  1 saa7134
intel-agp              17372  1
agpgart                31016  2 intel-agp
nvidia               4810156  12
uhci-hcd               29104  0
usbcore                99132  4 hid,uhci-hcd
rtc                    11576  0
ext3                  110408  3
jbd                    54328  1 ext3

 

4. Now 'xawtv -hwscan' resuls in

 

This is xawtv-3.91, running on Linux/i686 (2.6.3-7mdk)

looking for available devices

port 145-145 [ -xvport 145 ]

type : Xvideo, video overlay

name : video4linux

 

port 146-146

type : Xvideo, image scaler

name : NV17 Video Overlay

 

port 147-147

type : Xvideo, image scaler

name : NV17 Video Texture

 

port 148-179

type : Xvideo, image scaler

name : NV05 Video Blitter

 

port 180-180 [ -xvport 180 ]

type : Xvideo, video overlay

name : NVIDIA Video Interface Port

 

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

type : v4l2

name : Compro VideoMate TV

flags: overlay capture tuner

 

I have a question here...Was my TV card detected properly...because it shows the name: 'Compro VideoMate TV' instead of 'Pinnacle PCTV Stereo'.

 

5. 'tvtime' resulted in some error..which is out of my reach :unsure:

 

Running tvtime 0.9.12.

Reading configuration from /etc/tvtime/tvtime.xml

Reading configuration from /root/.tvtime/tvtime.xml

wine: Win32 LoadLibrary failed to load: DI_TomsMoComp.dll.

wine: Looked in .:/usr/share/tvtime:/usr/lib/win32:../data:./data

wine: Win32 LoadLibrary failed to load: DI_GreedyH.dll.

wine: Looked in .:/usr/share/tvtime:/usr/lib/win32:../data:./data

videoinput: Can't read frame. Error was: Input/output error (0).

videoinput: Can't read frame. Error was: Input/output error (0).

videoinput: Can't read frame. Error was: Input/output error (0).

Segmentation fault (core dumped)

 

Over to you...Help! :wall:

Link to comment
Share on other sites

Hello,

 

In modprobe.conf, you should replace

options saa7134 tuner=40 card=19 gbuffers=4

with

options saa7134 card=26

 

(26 is for PCTV Stereo)

Other options should be autodetected. After restarting, browse the "dmesg | less" output, to find how the autodetection went. In case of an error, you can try adding the other options, especially the tuner= one. For knowing what options are available, do this (still as root):

modinfo saa7134

 

By the way, as far as I know, Mandrake's DrakTV is broken and you shouldn't use it. Instead, go on editing the modprobe* files by hand, and next use XawTV as a start.

 

Yves.

Link to comment
Share on other sites

  • 3 weeks later...
Guest startrek

Thanks once again. Well this time the card has been detected properly. I then used the 'tvtime-scanner' command to tune the channel. After the scanning....the video was perfect...but the audio is still giving trouble. All the channels have the audio as white noise...when I checked with 'dmesg > boot.messages'...the file told me that the AUDIO CARRIER SCAN HAS FAILED AT 5.5 Hz. I read it somewhere that the audio scanning frequency can be changed...but don't know how to go about it...do you or do you think it is necessary to do this? I also tried using xawtv....but somehow coudln't custom scan for frequencies with regard to my country PAL settings...also there is an issue of viewing it in fullscreen...it shows some strips on the right side of my screen. Anyway over to you...hope you have something to say.

 

[root@localhost root]# modinfo saa7134

description: v4l2 driver module for saa7130/34 based TV cards

author: Gerd Knorr <kraxel@bytesex.org> [suSE Labs]

license: GPL

parm: irq_debug:enable debug messages [iRQ handler]

parm: core_debug:enable debug messages [core]

parm: gpio_tracking:enable debug messages [gpio]

parm: video_nr:video device number

parm: ts_nr:ts device number

parm: vbi_nr:vbi device number

parm: radio_nr:radio device number

parm: oss:register oss devices (default: no)

parm: dsp_nr:oss dsp device number

parm: mixer_nr:oss mixer device number

parm: tuner:tuner type

parm: card:card type

parm: latency:pci latency timer

parm: i2c_debug:enable debug messages [i2c]

parm: i2c_scan:scan i2c bus at insmod time

parm: oss_debug:enable debug messages [oss]

parm: oss_rate:sample rate (valid are: 32000,48000)

parm: ts_debug:enable debug messages [ts]

parm: tsbufs:number of ts buffers, range 2-32

parm: audio_debug:enable debug messages [tv audio]

parm: audio_carrier:audio carrier location

parm: audio_ddep:audio ddep overwrite

parm: audio_clock_tweak:Audio clock tick fine tuning for cards with audio crystal that's slightly off (range [-1024 .. 1024])

parm: vbi_debug:enable debug messages [vbi]

parm: vbibufs:number of vbi buffers, range 2-32

parm: video_debug:enable debug messages

parm: gbuffers:number of capture buffers, range 2-32

vermagic: 2.6.3-7mdk 586

depends: i2c-core,ir-common,video-buf,videodev,v4l2-common,soundcore,v4l1-compat

alias: pci:v00001131d00007134sv00001131sd00002001bc*sc*i*

alias: pci:v00001131d00007133sv00001131sd00002001bc*sc*i*

alias: pci:v00001131d00007134sv00001131sd00006752bc*sc*i*

alias: pci:v00001131d00007134sv00001131sd00004E85bc*sc*i*

alias: pci:v00001131d00007134sv0000153Bsd00001142bc*sc*i*

alias: pci:v00001131d00007134sv0000153Bsd00001143bc*sc*i*

alias: pci:v00001131d00007134sv00005168sd00000138bc*sc*i*

alias: pci:v00001131d00007134sv00004E42sd00000138bc*sc*i*

alias: pci:v00001131d00007130sv00005168sd00000138bc*sc*i*

alias: pci:v00001131d00007134sv000016BEsd00000003bc*sc*i*

alias: pci:v00001131d00007130sv00001048sd0000226Bbc*sc*i*

alias: pci:v00001131d00007130sv00001048sd0000226Bbc*sc*i*

alias: pci:v00001131d00007134sv00001043sd00004842bc*sc*i*

alias: pci:v00001131d00007134sv00001043sd00004830bc*sc*i*

alias: pci:v00001131d00007133sv00001043sd00004843bc*sc*i*

alias: pci:v00001131d00007134sv00001043sd00004840bc*sc*i*

alias: pci:v00001131d00007134sv00001131sd0000FE01bc*sc*i*

alias: pci:v00001131d00007134sv00001894sd0000FE01bc*sc*i*

alias: pci:v00001131d00007134sv00001894sd0000A006bc*sc*i*

alias: pci:v00001131d00007134sv00001131sd00007133bc*sc*i*

alias: pci:v00001131d00007130sv00001131sd00002001bc*sc*i*

alias: pci:v00001131d00007133sv0000185Bsd0000C100bc*sc*i*

alias: pci:v00001131d00007130sv0000102Bsd000048D0bc*sc*i*

alias: pci:v00001131d00007134sv00001461sd0000A70Bbc*sc*i*

alias: pci:v00001131d00007134sv00001461sd00002115bc*sc*i*

alias: pci:v00001131d00007130sv00001461sd000010FFbc*sc*i*

alias: pci:v00001131d00007130sv00001461sd0000050Cbc*sc*i*

alias: pci:v00001131d00007134sv000011BDsd0000002Bbc*sc*i*

alias: pci:v00001131d00007134sv00001019sd00004CB4bc*sc*i*

alias: pci:v00001131d00007133sv00001019sd00004CB5bc*sc*i*

alias: pci:v00001131d00007134sv00001131sd00000000bc*sc*i*

alias: pci:v00001131d00007130sv00001131sd00000000bc*sc*i*

alias: pci:v00001131d00007130sv*sd*bc*sc*i*

alias: pci:v00001131d00007133sv*sd*bc*sc*i*

alias: pci:v00001131d00007134sv*sd*bc*sc*i*

alias: pci:v00001131d00007135sv*sd*bc*sc*i*

 

Some errors while playing in tvtime...

[root@localhost root]# tvtime

Running tvtime 0.9.12.

Reading configuration from /etc/tvtime/tvtime.xml

Reading configuration from /root/.tvtime/tvtime.xml

wine: Win32 LoadLibrary failed to load: DI_TomsMoComp.dll.

wine: Looked in .:/usr/share/tvtime:/usr/lib/win32:../data:./data

wine: Win32 LoadLibrary failed to load: DI_GreedyH.dll.

wine: Looked in .:/usr/share/tvtime:/usr/lib/win32:../data:./data

videoinput: Can't read frame. Error was: Input/output error (0).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...