LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grargh! silly xawtv (https://www.linuxquestions.org/questions/linux-newbie-8/grargh-silly-xawtv-66024/)

rebelcan 06-16-2003 05:58 PM

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

acid_kewpie 06-17-2003 02:54 AM

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.

spurious 06-17-2003 06:59 PM

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

rebelcan 06-19-2003 07:45 PM

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 :newbie:

spurious 06-19-2003 09:04 PM

What distribution are you using?

rebelcan 06-19-2003 11:57 PM

red hat linux 9

spurious 06-20-2003 01:21 AM

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 :-)

acid_kewpie 06-20-2003 03:44 AM

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.

rebelcan 06-21-2003 03:19 PM

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

acid_kewpie 06-21-2003 03:49 PM

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

rebelcan 06-22-2003 01:57 PM

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....

:confused: :( :scratch:

acid_kewpie 06-22-2003 02:16 PM

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

fancypiper 06-22-2003 03:38 PM

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. :tisk: Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing. :study:

# 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

rebelcan 06-24-2003 12:14 PM

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

fancypiper 06-24-2003 12:30 PM

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.


All times are GMT -5. The time now is 03:02 PM.