LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-08-2003, 04:38 PM   #1
dos1
Member
 
Registered: May 2003
Location: Auckland, New Zealand
Posts: 49

Rep: Reputation: 15
Question AC'97 Sound + rc.modules


Hi,

I know this has been covered extensively before (the AC'97 Realtek onboard sound issues) but I can't seem to find anything about my problem. I downloaded the current drivers for my mobo's onboard sound (GA-7VA motherboard), I did all the steps I'm supposed to , but I can't find the module it built to add into rc.modules (I think thats the file, I'm at work and can't remember : )

Could any one please tell me where it would have built the file or am I just a confused newb who doesn't understand the modules concept? Or just point me towards the appropiate HOWTO or thread.

BTW I'm using Slackware 9.0 with a recompilied kernel with sound enabled (I did that yesterday : )

Thanks in advance,

Jacob
(1st ever post : )
 
Old 05-08-2003, 04:50 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Gidday Jacob :)
and welcome to LQ!

As I don't know your motherboard
the output of
lspci -vv
would be handy ... just in case.

As a rule of thumb your module would
have ended up in
/lib/modules/2.4.20/kernel/drivers/sound ...

Cheers, and regards from windy Wellington,
Tink
 
Old 05-08-2003, 05:15 PM   #3
dos1
Member
 
Registered: May 2003
Location: Auckland, New Zealand
Posts: 49

Original Poster
Rep: Reputation: 15
Yeah I'll post the output of that command when I get home, just a couple more question. Whats the deal with conf.modules, modules.conf and rc.modules?

I downloaded one driver and it spat out all these XXXXXXXXX is depricated. Yet i still see people post threads and replies about the two later files. The other driver did everything fine, i just had to rename the folder in the /usr/src/ directory where I kept the kernel source (it was looking for linux-2.4.18-3, i renamed the directory to that from linux-2.4.20-5 ; is this bad or going to cause a problem?).
 
Old 05-08-2003, 05:25 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Creating a symlink to the directory would be a better solution, do this,
Code:
ln -s /usr/src/linux-2.4.20-5 linux
...to get something resembling this,
Code:
bern@grendel bern$ ll /usr/src/
total 4
drwxr-xr-x    4 root     root          136 Apr 16 02:11 .
drwxr-xr-x   17 root     root          520 Mar  5 15:51 ..
lrwxrwxrwx    1 root     root           12 Mar 20 18:42 linux -> linux-2.4.20
drwxr-xr-x   14 root     root          720 Mar 20 12:13 linux-2.4.20
drwxr-xr-x   18 root     root          600 Apr 16 02:26 linux-2.5.67
bern@grendel bern$
Welcome to LQ Jacob, and, GO THE ALL BLACKS!!!! for the world cup ;-)
 
Old 05-08-2003, 05:36 PM   #5
dos1
Member
 
Registered: May 2003
Location: Auckland, New Zealand
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks mate,

With a symlink will this affect all programs (and commands like cd /usr/src/linux-X.X.XX) and when I compile programs I can do this everytime (if they are looking for a different directory containing the source); like if I use a symlink is there going to be anyfiles missing in the folder it is looking at if it is different than the one it was intending to?

Hehe, this is alot better than struggling on my own to comprehend the HOWTO, etc that I get; they all seem out fo date anyway.

Thanks guys.
 
Old 05-08-2003, 05:43 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Heh ...

Don't become lazy, though ;)

As for the modules.conf, conf.modules
and rc.modules ...

rc.modules "forcefully" tries to load
stuff. The other two (one old, one more
modern ;}) primarily hold information on
mappings and module options ...

for instance if you had two ethernet cards,
you could put
alias eth0 tulip
alias eth1 eepro100
or similar things into there...
or if you wanted to force certain settings
you'd add an option line with the params
it requires...

Cheers,
Tink

P.S.: What's the ALL BLACKS?
<duck&cover> :}
 
Old 05-08-2003, 05:56 PM   #7
dos1
Member
 
Registered: May 2003
Location: Auckland, New Zealand
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
Heh ...

Don't become lazy, though

As for the modules.conf, conf.modules
and rc.modules ...

rc.modules "forcefully" tries to load
stuff. The other two (one old, one more
modern ;}) primarily hold information on
mappings and module options ...

for instance if you had two ethernet cards,
you could put
alias eth0 tulip
alias eth1 eepro100
or similar things into there...
or if you wanted to force certain settings
you'd add an option line with the params
it requires...

Cheers,
Tink

P.S.: What's the ALL BLACKS?
<duck&cover> :}
So If I had two ethernet cards I would add it into rc.modules?
And would I ever utilise the other two?

Thanks,

Jacob

PS: I won't get lazy, I would much rather learn by myself with HOWTO's and guidance than get step-by-step instructions......whats the point in trying to learn linux if I don't even understand what I'm typing in
 
Old 05-08-2003, 06:03 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Oooops sorry, my last post lacked
precision...

the alias stuff goes in /etc/modules.conf

in /etc/rc.d/rc.modules
you'd just put the calls to actually load them
(if needed).


Cheers,
Tink
 
Old 05-08-2003, 06:24 PM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
With the addition of hotplug support to slack9 you should only use rc.modules if hotplug fails to detect the hardware, or if it has problems with the hardware, in the second case add the module to /etc/hotplug/blacklist and uncomment it in /etc/rc.d/rc.modules, both hotplug and rc.modules use modprobe, which reads /etc/modules.conf and applies any options specified therein.
 
Old 05-08-2003, 06:29 PM   #10
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Quote:
Originally posted by dos1
Thanks mate,

With a symlink will this affect all programs (and commands like cd /usr/src/linux-X.X.XX) and when I compile programs I can do this everytime (if they are looking for a different directory containing the source); like if I use a symlink is there going to be anyfiles missing in the folder it is looking at if it is different than the one it was intending to?

Hehe, this is alot better than struggling on my own to comprehend the HOWTO, etc that I get; they all seem out fo date anyway.

Thanks guys.
Most will look in /usr/src/linux by default, the ones that don't can be told to by passing an option with ./configure or by editing the Makefile, a symlink allows you to have multiple kernel sources with the current running source being the linked directory.
 
Old 05-08-2003, 06:39 PM   #11
dos1
Member
 
Registered: May 2003
Location: Auckland, New Zealand
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Aussie
With the addition of hotplug support to slack9 you should only use rc.modules if hotplug fails to detect the hardware, or if it has problems with the hardware, in the second case add the module to /etc/hotplug/blacklist and uncomment it in /etc/rc.d/rc.modules, both hotplug and rc.modules use modprobe, which reads /etc/modules.conf and applies any options specified therein.
I have hotplug in my recompilied kernel ((like this in make menuconfig <*>, not this <M> or <>), I do anything with my sound. Its onboard sound on my Gigabyte GA-7VA mobo, should hotplug detect/configure/do anthing with this?

thanks,

Jacob
 
Old 05-08-2003, 06:49 PM   #12
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
It may be the problem.
To start we really need to see the Multimedia audio controller info from 'lspci -vv', once we determine exactly what modules are required we can start playing around with the settings to get it working well.
 
Old 05-08-2003, 06:51 PM   #13
dos1
Member
 
Registered: May 2003
Location: Auckland, New Zealand
Posts: 49

Original Poster
Rep: Reputation: 15
OK , I'll have to wait till I get home then,

Thanks everyone

If only I didn't have to boot into WinXP to get onto the internet
 
Old 05-09-2003, 11:12 AM   #14
dos1
Member
 
Registered: May 2003
Location: Auckland, New Zealand
Posts: 49

Original Poster
Rep: Reputation: 15
lspci -v

This is the bit about my onboard audio from lspci -v (I cut it down cos it lost all the formatting when I opened it with Notepad in WinXP).

BTW this is what I have done so far with the ASLA drivers.

1. Compiled my kernel with sound support
2. ./configure
3. make (or install, sorry I'm in WinXP and can't access the readme from here, but anyway I did what it said in the readme)
4 ./snddevices

The readme then says to add the appropriate lines to modules.conf , this is where my problem lies.

Firstly, I can't find where the XXXX.o files have been stored (there is no /lib/modules/2.4.20/kernel/drivers/sound, in the ...../drivers directory there is scsi,usb,etc yet no sound directory). I also don't know what to add into the modules.conf or rc.modules (or if I have to add anything).

Also at the moment the file modules.conf is empty , is this a problem?

Thanks in advance,

Jacob
 
Old 05-09-2003, 11:18 AM   #15
dos1
Member
 
Registered: May 2003
Location: Auckland, New Zealand
Posts: 49

Original Poster
Rep: Reputation: 15
Red face OOps

Here is the output

-----------------------------------------------------------------------------------
.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)

Subsystem: Giga-byte Technology GA-7VAX Onboard Audio (Realtek ALC650)
Flags: medium devsel, IRQ 11

I/O ports at ec00 [size=256]

Capabilities: [c0] Power Management version 2

----------------------------------------------------------------------------------

If you need more of the file just say so, its just that in Notepad'n'Wordpad its unformatted so I just tried to cut the bit out that I thought was required.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Realtek AC'97 drivers/modules Buck1 Linux - Hardware 3 04-15-2005 10:51 PM
VIA AC'97 Sound benjordan06 Linux - Hardware 1 10-01-2004 05:39 AM
Rh9 No Sound On Toshiba Laptop With Ac'97 Sound darkmage224 Linux - Laptop and Netbook 2 02-27-2004 10:23 AM
AC'97, no sound wslyhbb Mandriva 1 02-21-2004 09:33 PM
Sound Problems ac'97 on rh 8.0 Ian_Hawdon Linux - Hardware 5 02-23-2003 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration