LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Aureal Vortex sq1500 Driver installation (https://www.linuxquestions.org/questions/linux-newbie-8/aureal-vortex-sq1500-driver-installation-73262/)

777SPy 07-16-2003 10:06 AM

Aureal Vortex sq1500 Driver installation
 
I just installed linux ( madrake 9.1 ) for the first time yesterday...(Im dual booting with win 98.) and after installing I noticed that it installed some of my drivers, all my drivers except my sound card actually.

So I tried to install via cd ( forgot that it wouldnt work ) then I tried to look online for support and drivers. I eventually found a driver and downloaded immediately but when I was looking over the readme for installation instructions I was dumbfounded... I had NO idea what it was talking about. Can someone please tell me how to install a driver?


Thank you for your time,

-Michael

:Pengy:

DavidPhillips 07-16-2003 10:48 AM

The package that contains the driver for your soundcard will have some files in it like INSTALL, README etc.. those files explain what to do for that driver.

With most drivers you need the kernel source files and you will build them with these commands

./configure
make install

then the driver can be loaded with this..

modprobe driver

DavidPhillips 07-16-2003 11:02 AM

if this does not help, then please explain the problem you are having.

state the file you downloaded and the output of these commands

uname -r

lspci -v |grep -iA4 aureal

777SPy 07-16-2003 11:02 AM

Ok, let me see if I understand this ( in class right now so I cant do it till I get home )

When I download the driver ( it was a .gz file which I assume is the same as a .zip folder for the win users ) it will have many different files... install ect ( I didnt see install last night =( ) I do however, remeber seeing a readme, "makefile", driver core, and various driver files...

would I just open a terminal as root then type in


./configure
then make install

after that do I actually type modprobe "driver" or the actual file that the driver is in?

Im really sorry for all the questions but Im such a :newbie:

Thanks again for your time,

-Michael

:Pengy:

DavidPhillips 07-16-2003 11:09 AM

I checked it out and this is what you will need to do for your driver

tar zxvf au88xx-1.1.2.tar.gz
cd aureal


check the chip type with this command..

lspci -v |grep -iA4 aureal

then follow this guide..



If you have an 8830-based (Vortex 2) card:
make install

If you have an 8820-based (Vortex 1) card:
make install20

If you have an 8810-based (Vortex Advantage) card:
make install10


that's it

let us know if it does not work


I got this info by reading the INSTALL file contained in the package

777SPy 07-16-2003 11:31 AM

Yes, thats the package I downloaded last night.

I know which sound card model I have ( the vortex advantage one ) but I dont understand when I should type these commands into the terminal.

I messed arround with it last night and I did a "man make" I thin and it told me that one order you could type it in was "make file directory" so I tried to type in
[$root@****$] make install ( install20, install10 ect.. none worked)
improper command or something...then I tried
[$root@****$] make au88xx* cdaureal
improper command again... so I kept plugging in stuff and eventually it got to the point where I was typing make then just dragging the file into the terminal but none of them would do anything.

But, never know, right? Ill try again once I get home. :)


Thank you,

-Michael

:Pengy:

DavidPhillips 07-16-2003 08:15 PM

maybe you don't have make or other tools required to build something.

However you need to check the card type, not just try the different makefiles, it's important.

You can either look at the chip on the card and try to figure it out or run this command..

lspci -v |grep -iA4 aureal

give more specific error messages so we can figure out what's missing.

777SPy 07-17-2003 12:03 PM

ugh, I cant seem to logon to this site using the default browser but I did make a little progress last night. When I get home Im going to hook my friends laptop up and see if I can copy the messages I got while trying to install and see if I can post them on here for additional help.

Btw... is there a bug with the freezing? I seem to freeze a lot while trying to search this site and a few others that used to be on my favorites.

-Michael

:Pengy:

777SPy 07-18-2003 12:36 PM

[root@***** ********]# cd aureal
[root@***** aureal]# make install10
make install AUCHIP=AU8810
make[1]: Entering directory `/home/*******/aureal'
cc -D__KERNEL__ -DMODULE -DAU8810
-mpentium -O6 -fomit-frame-pointer -Wall -pipe
-I/usr/src/linux/include -c -o au_audio.o
au_audio.c
make[1]: cc: Command not found
make[1]: *** [au_audio.o] Error 127
make[1]: Leaving directory `/home/******/aureal'
make: *** [install10] Error 2
[root@*****aureal]#



Theres a log...

DavidPhillips 07-18-2003 01:23 PM

looks like gcc is not installed

777SPy 07-18-2003 01:29 PM

what is gcc and where can I get it?


Thanks,
-Michael

DavidPhillips 07-18-2003 01:38 PM

it's the compiler to build programs, you can get it from your cd, mandrake's website, or rpmfind.net.

777SPy 07-19-2003 12:10 PM

~~ got gcc working ~~

777SPy 07-19-2003 01:36 PM

ok, I got GCC installed and working! yay!


but when I tried to install the driver using the instructions in the README I got this....

[root@***** Documents]# cd aureal
[root@***** aureal]# lspci -v |grep -iA4 aureal
00:06.0 Multimedia audio controller: Aureal Semiconductor AU8810 Vortex Digital
Audio Processor (rev 02)
Subsystem: Aureal Semiconductor AU8810 Vortex Digital Audio Processor
Flags: bus master, medium devsel, latency 32, IRQ 17
Memory at e9100000 (32-bit, non-prefetchable) [size=256K]
I/O ports at a400 [size=8]
I/O ports at a800 [size=8]
[root@***** aureal]# make install10
make install AUCHIP=AU8810
make[1]: Entering directory `/home/michael/Documents/aureal'
cc -D__KERNEL__ -DMODULE -DAU8810 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include -c -o au_audio.o au_audio.c
`-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead.
In file included from au_vortex.h:44,
from au_audio.c:49:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from au_audio.c:49:
au_vortex.h:46:40: missing binary operator before '('
In file included from /usr/include/linux/module.h:297,
from au_vortex.h:58,
from au_audio.c:49:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from au_vortex.h:58,
from au_audio.c:49:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
In file included from au_vortex.h:59,
from au_audio.c:49:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from au_vortex.h:66,
from au_audio.c:49:
/usr/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from au_audio.c:49:
au_vortex.h:74:41: missing binary operator before '('
In file included from au_vortex.h:77,
from au_audio.c:49:
/usr/include/asm/spinlock.h:31: conflicting types for `spinlock_t'
/usr/include/linux/spinlock.h:73: previous declaration of `spinlock_t'
/usr/include/asm/spinlock.h:80: parse error before "do"
/usr/include/asm/spinlock.h:116: parse error before '{' token
/usr/include/asm/spinlock.h:126: parse error before "void"
/usr/include/asm/spinlock.h:157: conflicting types for `rwlock_t'
/usr/include/linux/spinlock.h:137: previous declaration of `rwlock_t'
/usr/include/asm/spinlock.h:182: parse error before "void"
/usr/include/asm/spinlock.h:191: parse error before "void"
au_vortex.h:80:41: missing binary operator before '('
au_vortex.h:118:41: missing binary operator before '('
au_vortex.h:146:41: missing binary operator before '('
au_vortex.h:197:41: missing binary operator before '('
In file included from au_audio.c:50:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
au_audio.c:63:41: missing binary operator before '('
au_audio.c:78: warning: initialization from incompatible pointer type
au_audio.c:79: warning: initialization from incompatible pointer type
au_audio.c:80: warning: initialization from incompatible pointer type
au_audio.c:82: warning: initialization from incompatible pointer type
au_audio.c:83: warning: initialization from incompatible pointer type
au_audio.c:84: warning: initialization from incompatible pointer type
au_audio.c:85: warning: initialization from incompatible pointer type
au_audio.c:87: warning: initialization from incompatible pointer type
au_audio.c: In function `au_audio_read':
au_audio.c:193: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
au_audio.c: In function `au_audio_write':
au_audio.c:261: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
au_audio.c: In function `au_audio_poll':
au_audio.c:311: warning: passing arg 2 of `poll_wait' from incompatible pointer
type
au_audio.c:313: warning: passing arg 2 of `poll_wait' from incompatible pointer
type
au_audio.c:606:41: missing binary operator before '('
au_audio.c: In function `au_audio_mmap':
au_audio.c:609: structure has no member named `vm_offset'
au_audio.c:666:40: missing binary operator before '('
au_audio.c:690:40: missing binary operator before '('
au_audio.c: In function `drain_playback':
au_audio.c:724: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
au_audio.c:767:41: missing binary operator before '('
au_audio.c: In function `add_wave_device':
au_audio.c:771: warning: implicit declaration of function `init_waitqueue'
au_audio.c:825:41: missing binary operator before '('
au_audio.c:838:41: missing binary operator before '('
au_audio.c: In function `get_frags':
au_audio.c:843: warning: implicit declaration of function `MAP_NR'
au_audio.c:859:41: missing binary operator before '('
au_audio.c:867:41: missing binary operator before '('
au_audio.c:879:41: missing binary operator before '('
au_audio.c: In function `set_data_format':
au_audio.c:962: warning: deprecated use of label at end of compound statement
au_audio.c: In function `au_handle_timer':
au_audio.c:1121: warning: passing arg 1 of `__wake_up' from incompatible pointer type
au_audio.c:1143: warning: passing arg 1 of `__wake_up' from incompatible pointer type
au_audio.c:1173: warning: passing arg 1 of `__wake_up' from incompatible pointer type
make[1]: *** [au_audio.o] Error 1
make[1]: Leaving directory `/home/*******/Documents/aureal'
make: *** [install10] Error 2



btw when I typed uname -r I got " 2.4.21-0.13mdk "

DavidPhillips 07-19-2003 06:10 PM

check /usr/src/ and see if you have the kernel source files for the same kernel your running

check /lib/modules and see if the folder matching your kernel is there also


All times are GMT -5. The time now is 12:18 PM.