Click to See Complete Forum and Search --> : RedHat Sound driver - how?


theclave
01-30-2001, 05:48 AM
I have a REdhat driver for my onboard sound card, how do I install it?
The file is 68RHT60.gz

theclave
01-30-2001, 09:13 AM
Anyone?

pbharris
01-30-2001, 10:37 AM
hello,
that is a single compressed file, expend it with gunzip 68RHT60.gz and see if it is executable...



------------------
I don't use Linux because I hate Windows (which I do) I use Linux because I like it.
pbharris_359@yahoo.com

theclave
01-31-2001, 09:11 AM
OK, I unzipped it (I think - it made a new file without the gz extension).
How do I execute it?

theclave
01-31-2001, 01:56 PM
Please! I really want to get this working!

:david:
01-31-2001, 02:07 PM
What kind of sound card do you have?
Where did you get the file?
What version of redhat are you running?

It's hard to help you without that info as I really don't know where your problem lies. You can see if a file is executable by viewing the inode information.
ls -al 68RHT60
is how you do this. man ls for more info.
to execute it from the current directory:
./68RHT60 will do it. but be careful, you don't want to just start executing stuff when you don't know what it will do.


------------------
david@us.aduva.com
http://www.aduva.com

pbharris
01-31-2001, 02:13 PM
hello,
see how big the file is, and if it is executable. to make executable type
chmod 755 file_name.

make sure that it is not something which will not mess up you system. - see it there are any instructions with it, ie open it up in a text editor, it may be a binary - if so type ./68RHT60 as an user and see what happens. if it looks like it is not going to do anything bad then try executing as root.

sorry for the precautions, i have never seen a module distributed like this before.

theclave
01-31-2001, 02:25 PM
I get a message:
Bash: 68RHT60: cannot execute binary file

pbharris
01-31-2001, 03:09 PM
humm, can you tell us the specs on the machine and sound system, e.g. a bx mainboard with built in sound by sis or something to that order. when i see a message like "cannot execute binary file" then the wrong binary has been obtained, like for another processor, or perhaps the wrong library

------------------
I don't use Linux because I hate Windows (which I do) I use Linux because I like it.
pbharris_359@yahoo.com

theclave
02-01-2001, 06:31 AM
well, for starters, I'm sure I'm using the right driver - it came on the driver disk with my motherboard.

All I know is that the sound device is made by VIA (I think the motherboard is too), and the motherboard is for a Duron 600 processor.

The driver is listed as being for RedHat, which is the disto I use.

The only file given is 68RHT60.gz - I'm guessing the 60 means it's for version 6.0, I use 6.2 so should be OK?

If anyone can help me it would be much appreciated, sorry I can't give much info.

I tried sndconfig, and it made my computer freeze when booting up, so I had to reinstall.

Anyway, help!!!

theclave
02-01-2001, 06:34 AM
Oh, and I looked at the uncompressed file with a text editor - seems to be binary.

theclave
02-01-2001, 06:39 AM
I did ls -al on the file as david suggested - I got this:

-rwxr-xr-x 1 rdf rdf 92160 1 10:35 RHT

I don't know if this means it is executable or not...

theclave
02-01-2001, 01:12 PM
If someone could just 'hold my hand' through this one, would be much appreciated.

starz1701
02-01-2001, 01:15 PM
try running

sndconfig --noprobe

it worked for me once. I also saw something on the web about linux and VIA..let me see if i can find it.

------------------
Just for fun...Or is it?

Muzzafarath
02-01-2001, 02:10 PM
http://www.magic-pro.com/download/via/readme-110.txt, go to section 9, follow instructins.

theclave
02-01-2001, 02:19 PM
Wahey! I'm getting somewhere...but it gives an error message -
wrong kernal version - should not install 68audio.

Do I need an updated version? If so, where do I get it from?

Muzzafarath
02-01-2001, 02:32 PM
Yeah, you probably need an updated version. Where do you get it from? I have no idea.

But you can try to force the driver in (do this after you've run vinstall, which will fail):


insmod -f soundcore
insmod -f viaudio


(The -f when insmodding soundcore might be unnessecary, but better safe then sorry http://www.linuxnewbie.org/ubb/wink.gif).

[This message has been edited by Muzzafarath (edited 01 February 2001).]

theclave
02-01-2001, 02:35 PM
bash: insmod: command not found.

??

Anyone know where to get an up-to-date driver from?

Muzzafarath
02-01-2001, 03:35 PM
Are you logged in as root? Is /sbin in your path?

theclave
02-01-2001, 03:39 PM
Yes I was logged in as root (well su anyway).

Path? What's that? Sorry, very new to this.

theclave
02-01-2001, 06:12 PM
:c(

Muzzafarath
02-02-2001, 08:19 AM
You might want try being a bit more patient...

Anyway, when you're logged in as root (via su or with a "normal" login), do this instead:


/sbin/insmod -f soundcore
/sbin/insmod -f viaudio

theclave
02-02-2001, 09:20 AM
Sorry for being impatient, I'm just kinda fed up with this screwing up.

Anyway, I tried what you said

/sbin/insmod -f soundcore
Seemed to work fine

/sbin/insmod -f viaudio
insmod: viaudio: no module by that name found.

I did the command while in the directory containing viaudio.o, is that right?

I tried /sbin/insmod -f viaudio.o
but that gave a load of errors....probably a stupid thing to try, but I'm new to this.

I tried ./vinstall (the install program?) and it said 'wrong kernal version', is there any way to 'force' this like with the insmod -f?

I'm probably speaking absolute gibberish.

Thanks for your help so far muzzafarath, if you have any idea of what I'm doing wrong....?

Muzzafarath
02-02-2001, 04:58 PM
Sorry for being impatient, I'm just kinda fed up with this screwing up.


I know how you feel :P


I did the command while in the directory containing viaudio.o, is that right?


I thought that vinstall would try to copy the viaudio.o file to the correct directory before it attempted to find the kernel version, but this seems to be wrong. Try this (in the directory that contains viaudio.o):


/sbin/insmod -f soundcore
/sbin/insmod -f ./viaudio.o


(This is what happens when companies ship non open-source drivers for Linux: they get outdated quickly and there's noone outside of the company that can take care of the drivers and make them work for other versions... :mad :).

Muzzafarath
02-02-2001, 05:13 PM
Sorry for being impatient, I'm just kinda fed up with this screwing up.


I know how you feel :P


I did the command while in the directory containing viaudio.o, is that right?


I thought that vinstall would try to copy the viaudio.o file to the correct directory before it attempted to find the kernel version, but this seems to be wrong. Try this (in the directory that contains viaudio.o):


/sbin/insmod -f soundcore
/sbin/insmod -f ./viaudio.o


(This is what happens when companies ship non open-source drivers for Linux: they get outdated quickly and there's noone outside of the company that can take care of the drivers and make them work for other versions... :mad :).

Muzzafarath
02-02-2001, 05:14 PM
Sorry for being impatient, I'm just kinda fed up with this screwing up.


I know how you feel :P


I did the command while in the directory containing viaudio.o, is that right?


I thought that vinstall would try to copy the viaudio.o file to the correct directory before it attempted to find the kernel version, but this seems to be wrong. Try this (in the directory that contains viaudio.o):


/sbin/insmod -f soundcore
/sbin/insmod -f ./viaudio.o


(This is what happens when companies ship non open-source drivers for Linux: they get outdated quickly and there's noone outside of the company that can take care of the drivers and make them work for other versions... :mad :).

theclave
02-03-2001, 05:42 AM
Thanks a lot, I shall try that as soon as I get home.

theclave
02-03-2001, 06:56 AM
OK, I tried that - when insmod'ing the viaudio I get a load of unresolved symbol error messages.

Muzzafarath
02-03-2001, 07:31 AM
Okay, then the old driver won't work with the kernel you have. You can either downgrade to kernel 2.2.5 (ftp://ftp.kernel.org/pub/linux/kernel/v2.2/linux-2.2.5.tar.bz2) or try to find a new driver (and I have no idea where that can be found :().

[ 03 February 2001: Message edited by: Muzzafarath ]

theclave
02-03-2001, 07:56 AM
OK, thanks for your help.

Ummm...could you possibly talk me through downgrading to the old kernal?

Much appreciated.
:)

MrNewbie
02-03-2001, 08:16 AM
Why don't you forget about using that module all together and go to http://www.alsa-project.org?

theclave
02-03-2001, 08:52 AM
OK, I went to the site you suggested, downloaded the driver.

I tried the command it said to do:

tar xlf <file name>
tar: Error is not recoverable. exiting now.


Looking at the site, it appears that this driver will solve my problems, if I could just (for once) get something right with Linux.

theclave
02-03-2001, 10:09 AM
I tried tar -x <filename>, but that just froze the command prompt - probably a dumb thing to do?

theclave
02-04-2001, 05:47 AM
Do I need a different program to uncpmress this file?

Muzzafarath
02-04-2001, 06:26 AM
As you do not tell us the name of the file, we can not know which program to use when extracting it.

theclave
02-04-2001, 06:57 AM
sorry,
alsa.tar.bz2

Muzzafarath
02-04-2001, 08:34 AM
Okay :)


bzip2 -d alsa.tar.bz2
tar xf alsa.tar

theclave
02-04-2001, 09:06 AM
wahey, getting there!
OK, I ran the configure script, and it came up with an error:
configure: error: no acceptable cc found in $PATH

I presume this means I don't have a c compiler installed - what do I do.

Sorry to be so pathetic!

Muzzafarath
02-04-2001, 09:56 AM
When you run gcc what does the shell tell you?

theclave
02-04-2001, 10:44 AM
command not found

theclave
02-05-2001, 09:17 AM
there was the option to install gcc when I installed redhat, but I didn't select it as I don't much like C.
How do I add it now? (presuming that's what I need to do)

theclave
02-05-2001, 12:15 PM
I tried installing egcs, but when trying to install all the packages it depends on, it tells me I need kernal-headers.
What does this mean?
If it's a package, it's not in the RPMS directory of the RedHat CD.

theclave
02-06-2001, 06:28 AM
I long to hear my computer sing again - all those MP3s....

theclave
02-06-2001, 10:12 AM
Right - finally got gcc installed
./configure seems to be working, then it comes up with:

failed (probably due to missing /usr/src/linux/include/linux/version.h).

what's going on?

theclave
02-08-2001, 07:26 AM
Sorry to pester, but I really would like to get this sorted - It seems I am very close to a solution, if only someone could tell me what I'm doing wrong.