Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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
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.
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.
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 "
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.