Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Aureal sound module
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Beattie
Apprentice
Apprentice


Joined: 24 Jun 2002
Posts: 155

PostPosted: Sat Sep 13, 2003 2:42 pm    Post subject: Aureal sound module Reply with quote

I am having a problem with my sound. This used to work without any problems, so I dont know what's going on now. I need to use the sound modules from aureal.sourceforge.net. Anyway, I got them and ran the make and here is what I get...

Code:

mv -f /etc/modules.conf /etc/modules.conf.old
gawk -f mod_conf /etc/modules.conf.old > /etc/modules.conf
echo "alias sound au8830" >> /etc/modules.conf
echo "alias midi au8830" >> /etc/modules.conf
mkdir -p /lib/modules/2.4.20-gentoo-r6/misc
cp -f au8830.o /lib/modules/2.4.20-gentoo-r6/misc
/sbin/depmod -a
/sbin/rmmod au8830
rmmod: module au8830 is not loaded
make: [install] Error 1 (ignored)
/sbin/modprobe au8830
/lib/modules/2.4.20-gentoo-r6/misc/au8830.o: The module you are trying to load (/lib/modules/2.4.20-gentoo-r6/misc/au8830.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
/lib/modules/2.4.20-gentoo-r6/misc/au8830.o: insmod /lib/modules/2.4.20-gentoo-r6/misc/au8830.o failed
/lib/modules/2.4.20-gentoo-r6/misc/au8830.o: insmod au8830 failed
make: [install] Error 255 (ignored)


The error modprobe gives is that it is a different version of GCC. How can this even be? I only have gcc 3 installed.
Back to top
View user's profile Send private message
Beattie
Apprentice
Apprentice


Joined: 24 Jun 2002
Posts: 155

PostPosted: Sat Sep 13, 2003 3:33 pm    Post subject: Reply with quote

I see.... there is part of it that's already binary...

Bah, why didnt they recompile it for gcc 3?
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sat Sep 13, 2003 3:34 pm    Post subject: Reply with quote

I get the same message. If you do
Code:
insmod -f au8830
it should force it to load anyway. Works for me :)
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
quakey
n00b
n00b


Joined: 21 Aug 2003
Posts: 30

PostPosted: Sat Sep 13, 2003 7:49 pm    Post subject: Reply with quote

Or you can change the gcc version number to 3 to fool insmod or modprobe.

There are a few .o files you need to modify. I dun exactly remember which files, but I think they are asp10.o, asp20.o and asp30.o. Open those files in vi or whatever editor you prefer, then locate the string "gcc" and change the number from 2 to 3.

Now the system will assume those modules were compiled with gcc version 3. :wink:
Back to top
View user's profile Send private message
KH
n00b
n00b


Joined: 28 Jun 2003
Posts: 26
Location: Canada

PostPosted: Sun Sep 14, 2003 4:34 pm    Post subject: Reply with quote

This error never stopped me from insmod'ing before. Just force it.

I used this as my /etc/init.d/aureal file
Code:

#!/sbin/runscript
start() {
        ebegin "Loading Aureal Vortex2 module"
        setpci -d '12eb:*' 40.B=ff &> /dev/null
        insmod -f au8830 &> /dev/null
        eend $?
}
stop() {
        rmmod au8830 &> /dev/null
}

You need the line
setpci -d '12eb:*' 40.B=ff

somewhere in one of your init.d / rc scripts (like the one that loads your aureal modules / alsa) or else you will get anything from hard lockups to intermitant sound. (setpci is part of the pciutils package)

FYI, if you want to upgrade;

Kernels >= 2.5.x use the .ko module format instead of the .o so those drivers won't work without modification. Instead of hacking them, I picked up the ALSA ones from http://imptech.dhs.org/~imptech/ . They are a diff file you patch against the kernel source before you compile.

They were linked from http://sourceforge.net/forum/forum.php?thread_id=904048&forum_id=25250

but also check out http://sourceforge.net/forum/forum.php?forum_id=25250 for some others if those don't work.
Back to top
View user's profile Send private message
Hairball
n00b
n00b


Joined: 08 Nov 2002
Posts: 13

PostPosted: Fri Sep 19, 2003 2:34 am    Post subject: Check out Openvortex Reply with quote

I've got an Aureal 8830 chip on my soundcard. I did the force insmod for a while, but I just discovered the openvortex project. They've produced an ALSA driver that is working superbly on my system. I submitted some cvs ebuilds for the project to breakmygentoo.net http://bugs.breakmygentoo.net/show_bug.cgi?id=167 but you have to login to get them. They don't have a release yet, but cvs is apparently real stable (according to my experience and the developers' comments). I recommend checking it out. I won't go back.

A tip from my experience, reboot before using the openvortex alsa module. My card didn't like two drivers talking to it without a reboot in between (sound quality was bad). Now it's excellent.

http://savannah.nongnu.org/projects/openvortex/
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Sep 19, 2003 4:11 pm    Post subject: Reply with quote

Moved from Other Things Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Hairball
n00b
n00b


Joined: 08 Nov 2002
Posts: 13

PostPosted: Mon Sep 22, 2003 3:59 pm    Post subject: Reply with quote

Those ebuilds (for openvortex) are now posted at http://www.breakmygentoo.net if anyone's interested. You don't have to login anymore to buzilla.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum