LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2003, 06:58 PM   #1
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Rep: Reputation: 15
Question grargh! silly xawtv


Seeing as this silly xawtv is the only thing keeping me form wiping windows from my hard drive, i was wondering if you guys would mind helping me out.

Whenever i try to start xawtv, i get this:

[root@rebelcan /]# xawtv
This is xawtv-3.54, running on Linux/i686 (2.4.7-10)
can't open /dev/video0: No such device
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such device
v4l: open /dev/video0: No such device
no video grabber device available

I've tried a whole lot of stuff, getting newest versions of xawtv, bttv ( which confused the hell out of me.. not sure if i installed it right or not... let's just go with this: no, i didn't install it right, just to be safe ) but nothing seems to work.

my video card is a ATI All-In-Wonder 128 Pro.
Display and everything works fine. All I want to do is to be able to watch stuff on the cable hookup.

many thanks,
rebelcan
 
Old 06-17-2003, 03:54 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
sounds like bttv isn't up at all. run "lsmod" to see if it's there. (this isn't an xawtv problem at all, don't shoot the messenger! xawtv is great)

if bttv isn't loaded, try "modprobe bttv" to load it. depending on your card you mat well need to pass certain options to identify the card.
 
Old 06-17-2003, 07:59 PM   #3
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
Check your XF86Config file for the v4l (that's v 4 'L' as in video4linux) module.

Reference: http://www.linuxlogin.com/linux/ati_tv.php
 
Old 06-19-2003, 08:45 PM   #4
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Original Poster
Rep: Reputation: 15
ok.... i checked the XF86Config file... and no v4l line.

when i try "modprobe bttv", i get this:

/lib/modules/2.4.20-6/kernel/drivers/media/video/bttv.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-6/kernel/drivers/media/video/bttv.o: insmod /lib/modules/2.4.20-6/kernel/drivers/media/video/bttv.o failed
/lib/modules/2.4.20-6/kernel/drivers/media/video/bttv.o: insmod bttv failed

sorry for taking up your time with this
god i'm a noob.
thanks a ton
rebel the
 
Old 06-19-2003, 10:04 PM   #5
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
What distribution are you using?
 
Old 06-20-2003, 12:57 AM   #6
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Original Poster
Rep: Reputation: 15
red hat linux 9
 
Old 06-20-2003, 02:21 AM   #7
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
I googled 'bttv red hat ati 128' and found this thread:

http://gatos.sourceforge.net/livid-a.../msg00118.html

The poster in the above thread had the same problem with you. Even though it was an earlier version of Red Hat, I don't think that it matters. The problem seems to be with the ATI AIW 128 driver.

Since I did the googling for you, please follow the above thread and report if anything works :-)
 
Old 06-20-2003, 04:44 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
crappy crappy crap, why on earth didn't I see the ATI reference.... yeah you don't need the bttv driver, gatos all the way.

/me hangs his head in shame.
 
Old 06-21-2003, 04:19 PM   #9
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Original Poster
Rep: Reputation: 15
s'ok acid_kewpie.

i guess i'll try that out, and see how it works
i've downloaded most of the stuff from gatos's site
(ati.2, ffmpeg, avview, the kernel modules and such ) but there's one problem.

i can't find my kernel source!

i checked in /usr/src, but the only two folders are "debug" which has nothing in it, and "redhat" which has several folders, all of which are completely empty.

where can i get the latest kernel source?

keep in mind i've never compiled my own kernel yet ( although i plan on doing it, seems like it makes a ton of things easier in the long run )

again, thanks for any help guys
rebel
 
Old 06-21-2003, 04:49 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you don't want the latest kernel source, you want the *right* kernel source, which is the one matching the installed kernel. there will be a suitable kernel-source rpm on your distro cd', and when installed it will be in /usr/src/linux
 
Old 06-22-2003, 02:57 PM   #11
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Original Poster
Rep: Reputation: 15
hmmm....

but there is no kernel src rpm on my cd.

i've talked to people on irc, and i think i know where my problem may be. i installed redhat linux 9 off of a TWO cd set that came with the book "red hat linux 9 unleashed". so methinks i'm missing out on a few things....

like the kernel source rpm....

 
Old 06-22-2003, 03:16 PM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it's not actually a src rpm, as the linux source itself is a useful part of the system, so it's classed as a normal rpm...

http://fr2.rpmfind.net//linux/RPM/re...20-8.i386.html
 
Old 06-22-2003, 04:38 PM   #13
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
kernel-source-<version>.rpm is what you want to install.

In 7.3 it's on install cd 2

# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code

Check out your system and see what's under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[phil@uilleann phil]$ su -
Password: 
[root@uilleann root]# uname -r
2.4.18-3
I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:
[root@uilleann root]# cd /usr/src
[root@uilleann src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@uilleann src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:
[root@uilleann src]# ln -s linux-2.4.18-3 linux         
[root@uilleann src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@uilleann src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@uilleann src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@uilleann src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.

# Guides to software and installation and uninstallation
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation


# Redhat links
RedHat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project
 
Old 06-24-2003, 01:14 PM   #14
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Original Poster
Rep: Reputation: 15
ok fancypiper, i get it. that's the second time you've posted that as a reply to one of my questions, and i don't think you get it.

that doesn't work!

not for me. i have the latest compiler, and i just spent last night figuring out a problem with up2date so i could get the latest kernel.

up there where you're talking about having the proper kernel source? there is NO linux directory in my /usr/src! NONE! ZIP! NADA! and for anyone who's reading this, don't tell me the source is on the kernel, cause for me it ain't, i checked about five times. i'm using a different red hat 9 distrubution ( yes that sounds odd ), one that only has TWO cds. not the standard three. i know a whole bunch of my problems could be solved if i had the three cd set, but since my TWO cd's came out of the back of a book, and there was only TWO, if you could point me to where i can get the three cd's, many thanks.

and just in case you're wondering, the only rpms that match "linux" or "kernel" on either cd are:
cd 1:
kernel-2.4.20-6.i686
kernel-pmcia-cs-3.1.31-13.i386
kernel-smp-2.4.20.i686
syslinux-2.00-4.i386
util-linux-2.11y-9.i386

cd 2:
kernel-doc-2.4.20-6.i386
kernel-utils-2.4.8.29.i386

although, in retrospect, the source for my kernel isn't on the cd anyways anymore, since i updated to the ( red hat up2date ) latest version. my curent kernel version is 2.4.20-13.9, so should i just go find the source rpm for it?

last time i tried that it installed to /usr/src/redhat/SOURCES, just so you know. anywhoo, thanks for your help so far guys
 
Old 06-24-2003, 01:30 PM   #15
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Find, download and install kernel-source-2.4.20-13.9.rpm (or similar, may have i386, you should have the right idea by now I hope), then my instructions should hold.

Last edited by fancypiper; 06-24-2003 at 01:37 PM.
 
  


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
silly question NePt Mandriva 5 02-21-2005 04:31 PM
giFT is being silly danielw Linux - Software 2 12-29-2003 08:48 AM
XawTV - Sound continues after closing XawTV ministre Linux - Software 5 11-05-2003 11:26 AM
Silly question that no one will like. xjester Linux - Newbie 9 11-17-2002 02:58 AM
Very silly one.... prowzen Linux - General 5 05-11-2001 03:58 PM


All times are GMT -5. The time now is 04:56 PM.

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