LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-20-2004, 01:44 AM   #1
jag
Member
 
Registered: Jun 2001
Location: Philippines
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
tv tuner help!


hi! recently I install mandrake 10 on my pc. everything works, sounds, video and tv tuner. i was able to watch tv using tvtime. Now, i'm using slackware 10 but i couldn't figure out how to install my tv tuner driver. i think the chipset is btxxx. i'm not sure about the number. somebody please help me. thanks!
 
Old 09-20-2004, 03:04 AM   #2
Erol
Member
 
Registered: Jan 2004
Location: Vienna/Austria
Distribution: Slackware 10.0 (kernel 2.6.7)
Posts: 46

Rep: Reputation: 15
First I suggest you compile your kernel with video4linux support, things you should enable are:

In kernel config section: Device Drivers subsection I2C support you should enable:

<*> I2C support
<*> I2C device interface

In I2C Algorithms ---> enable

<*> I2C bit-banging interfaces

In Device Drivers subsection Multimedia devices ---> enable as module

<M> Video For Linux

In Video For Linux --->

<M> BT848 Video For Linux

That's it, hopefuly when that's all done modprobe your bttv driver with appropriate card_id.

Hope this helps a bit.
 
Old 09-20-2004, 03:25 AM   #3
DJ B.A.
LQ Newbie
 
Registered: Jul 2004
Posts: 10

Rep: Reputation: 0
The default kernel that ships with Slackware
has bttv compiled as module.
You can try
/sbin/modprobe bttv card=xx radio=1
where xx is your TV card's number in
/usr/src/linux/Documentation/video4linux/bttv/CARDLIST
(I suppose you have the kernel sources installed).
For automagic module loading try this:

cd /usr/src/linux/Documentation/video4linux/bttv
cat Modules.conf >> /etc/modules.conf
vi /etc/modules.conf
(change card=2 with card=xx)

vi /etc/X11/xorg.conf
Add the following line after Load "glx"
Load "v4l"

That's all!
 
Old 09-20-2004, 04:25 AM   #4
jag
Member
 
Registered: Jun 2001
Location: Philippines
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by DJ B.A.
The default kernel that ships with Slackware
has bttv compiled as module.
You can try
/sbin/modprobe bttv card=xx radio=1
where xx is your TV card's number in
/usr/src/linux/Documentation/video4linux/bttv/CARDLIST
(I suppose you have the kernel sources installed).
For automagic module loading try this:

cd /usr/src/linux/Documentation/video4linux/bttv
cat Modules.conf >> /etc/modules.conf
vi /etc/modules.conf
(change card=2 with card=xx)

vi /etc/X11/xorg.conf
Add the following line after Load "glx"
Load "v4l"

That's all!
thanks i'll try it tonight.

i wonder what those lines of code means. can you explain, please. thanks
 
Old 09-20-2004, 08:16 PM   #5
jag
Member
 
Registered: Jun 2001
Location: Philippines
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 15
ok i tried it. i think the driver is installed already, i issue lsmod and bttv is there but with unused remark. i don't know if its working properly or not. so from here whats next if i want to watch tv? i downloaded tvtime and install it using pkgtool. but everytime i run the program, it crashes, i don't know whats wrong. please help. thanks a lot.
 
Old 09-20-2004, 08:48 PM   #6
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
jag, I've tried to get my bt878 working in slackware with minimal results.
I usually can watch things, I just can't record them - which is why I have
the card (but thats a software/codec problem I'm having - not drivers).

When I lsmod here is my output:
Code:
bttv                   94656   0
i2c-algo-bit            7560   1  [bttv]
i2c-core               13060   0  [bttv i2c-algo-bit]
videodev                6336   2  [bttv]
snd-bt87x               5192   0

snd-pcm                56072   0  [snd-pcm-oss snd-bt87x snd-emu10k1]

snd-page-alloc          6328   0  [snd-bt87x snd-emu10k1 snd-pcm]

snd                    30852   0  [snd-pcm-oss snd-mixer-oss snd-bt87x snd-emu10k1 snd-pcm snd-timer snd-hwdep snd-util-mem snd-ac97-codec snd-rawmidi snd-seq-device]

soundcore               3396  10  [bttv snd]
These are all the lines relevant to the bt878 card. With all this, to my understanding,
the driver is installed and functional. Compared to yours, is there a difference?
My thought is now you have an actual working output to compare yours too.

let us know - tw
(i know this might be backwards 1 step from where you are at, but just double checking)

p.s - and just to double check, I installed tvtime too (dl'd from linuxpackages.net -
as a user, it tells me to run it as root, or suid tvtime.

So I SU and try again - error is:
Code:
Running tvtime 0.9.12.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /root/.tvtime/tvtime.xml
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xcommon: Cannot open display ':0.0'.
whats your error message?
( I have had marginal luck with kdetv)





Last edited by tw001_tw; 09-20-2004 at 09:00 PM.
 
Old 09-20-2004, 09:20 PM   #7
jag
Member
 
Registered: Jun 2001
Location: Philippines
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 15
i'll compare the result tonight. i think my problem is already in the software (tvtive). i probabbly need to do some configuration but i don't know where to start. i'll check it's documentation and see what i can. can you tell me how did you setup and configure tvtime in your system? really a lot of thanks.
 
Old 09-21-2004, 08:29 PM   #8
jag
Member
 
Registered: Jun 2001
Location: Philippines
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 15
this is the error i get when i run tvtime.

Running tvtime 0.9.12
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /root/.tvtime/tvtime.xml
xvoutput:No XVIDEO port found which supports YUY2 images.

***tvtime requres hardware YUY2 support from your video card
***driver....
***if unsure please check with your distribution to see if your X driver supports overlay surfaces.

I don't know what to do. I'm pretty sure it's just in the cofiguration or setting because it works berfore in mandrake 10. Please help.
 
Old 09-21-2004, 09:43 PM   #9
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
check here:

http://tvtime.sourceforge.net/problems.html#fgloverlay

This might be the fix you need.
or maybe somewhere else on this page.
 
Old 09-21-2004, 09:48 PM   #10
jag
Member
 
Registered: Jun 2001
Location: Philippines
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 15
i'll check it out. thanks a lot.
 
Old 09-22-2004, 08:09 PM   #11
jag
Member
 
Registered: Jun 2001
Location: Philippines
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 15
i found the problem. it's the video card driver that's causing tvtime not to work. the driver that was installed by default was a vesa driver. i just replaced the driver with savage and tvtime works. now i still have one more problem, re-channeling the tuner. thanks again tw001_tw!
 
  


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
kernel: tuner: tuner type not set gadhiraju Linux - Hardware 2 10-05-2004 12:17 PM
the most compatible TV tuner cards, or FM/AM Tuner aliiscool Linux - Hardware 1 06-06-2004 02:59 PM
tv tuner for mercury tv tuner card sandesh_hs Linux - Hardware 1 02-22-2004 03:20 AM
TV and FM Tuner cexshun Linux - Hardware 3 01-27-2003 07:55 AM
TV Tuner / AM&FM Tuner hardware N3WBI3 Linux - Hardware 2 08-01-2002 10:43 AM

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

All times are GMT -5. The time now is 07:33 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