LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-02-2003, 11:52 PM   #1
fideli
Member
 
Registered: Nov 2003
Location: Mississauga
Distribution: arch linux
Posts: 51

Rep: Reputation: 15
Angry alsa doesn't work with sis7012


I'm finding this to be quite a challenge. I recently installed Linux, and I believe I got everything up and running except now that I want to hear some sound, I realize that it doesn't work. I have Slackware 9.1 installed. After a little bit of searching, through this forum and at google, I decided that the ALSA drivers were probably not good for my sound chip, an SiS 7012, that came with an ECS i-Buddie 4 A928 laptop (SiS 650 chipset). So I followed the advice of some site to rmmod all the ALSA modules that were listed in lsmod, and I loaded the ac97_codec, soundcore, and i810_audio modules. I tested the sound, and it worked at that moment. So now I'm trying to find out how I can stop the ALSA modules from loading at all.

But this brings another slew of questions for me. Where would I go to find out how devices are loaded into Linux? I figured that in KDE I could go to the Control Center, System Administration, Linux Kernel, but them I'm not sure if that's the right approach, and so I figured that before I do something I might regret, I might as well ask about it first. So, I have a few requests. Can anyone give me a general rundown of how Linux loads devices, and how I know whether some devices are loaded from modules, or from the kernel itself, or if there's a difference? Also, if modules automatically loading during startup, what file can I look at to see what modules are loading? And is there anything else I should know about changing "drivers" for devices, if that's what they're called.

And specifically, of course, what can do to get my sound chip going?

Thanks a lot!
 
Old 11-03-2003, 01:44 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
All modules specifially loaded at boot time are in /etc/modules (it's a text file). They're not all of course because you have to think about dependencies. ie module1 is in /etc/modules but it depends on module2 which is NOT in /etc/modules. Module2 will, however, be loaded automatically by kmod. Modules will also be loaded at runtime automatically if/when required but only if they have been aliased to something. Check out /etc/modules.conf (or conf.modules). From there you can take out anything relating to the alsa modules. This will stop them being loaded automatically when needed or at boot time. Once the drivers are removed the standard i810_audio should be what gets used. A good idea would be to put the line "i810_audio" into /etc/modules. Soundcore and ac97_codec will be loaded automatically as dependencies.
 
Old 11-03-2003, 08:25 AM   #3
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
ALSA does work with the SiS7012: I use that chipset on my laptop running Mandrake 9.1 and alsa is fine. Persevere!

You may need to enable acpi to get the sound card to work. If you run sndconfig what does it say?
 
Old 11-03-2003, 09:50 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
I had this trouble once.
Texicle's post fixed it for me. Here's the link:

http://www.linuxquestions.org/questions/history/52950

Also, make sure your speakers are plugged in and that audio is turned up by running aumix in a console window.

Hope that fixes it.
 
Old 11-03-2003, 11:36 AM   #5
fideli
Member
 
Registered: Nov 2003
Location: Mississauga
Distribution: arch linux
Posts: 51

Original Poster
Rep: Reputation: 15
okay,

that sounds pretty good. i'll try that when i get home. i'm at work right now. however, i don't think i saw a /etc/modules file last time. i've seen /etc/modules.conf, but it's empty. where are my modules loading from currently? are they all coming from /etc/rc.d/rc.modules? because, for example, the sis900 module is there, but it's commented out with a #, and it's still loading, which is a good thing, by the way, but i just want to know from where in case i ever have to change that. what's the /etc/rc.d directory all about? thanks for all your guys' help so far.

fideli
 
Old 11-03-2003, 11:40 AM   #6
fideli
Member
 
Registered: Nov 2003
Location: Mississauga
Distribution: arch linux
Posts: 51

Original Poster
Rep: Reputation: 15
also, because of the fact that i don't know where my modules are loading from, i don't know how to stop the alsa from loading as well.
 
Old 11-03-2003, 07:02 PM   #7
fideli
Member
 
Registered: Nov 2003
Location: Mississauga
Distribution: arch linux
Posts: 51

Original Poster
Rep: Reputation: 15
ok, i got sound working now. it's great. but because my i810_audio loads before the intel8x0 does, my dmesg is cluttered with the messages:

Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy

so it looks like i810 won the race to load the sound chip, so how do i tell Intel ICH to give up? where is it loading from?
 
Old 11-03-2003, 08:06 PM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I'm not on my Linux box right now (stupid ISP) but I think the /etc/hotplug/blacklist or whatever the file's called is what you want.
 
Old 11-03-2003, 11:10 PM   #9
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Quick question. How did you install alsa? If you installed from source then you MUST have put something into /etc/modules.conf (or conf.modules). If you installed by rpm then uninstall the rpm.
 
Old 11-04-2003, 09:40 AM   #10
fideli
Member
 
Registered: Nov 2003
Location: Mississauga
Distribution: arch linux
Posts: 51

Original Poster
Rep: Reputation: 15
i did not install alsa by myself. it came loaded with my slackware 9.1 so i don't know exactly where it's coming from. i remember running the alsa config program and it put some stuff into the modules.conf. however, even after i removed all the alsa lines from the modules.conf file, the intel8x0 still tries to load.
 
Old 11-04-2003, 11:41 AM   #11
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
Comment out (prefix the line with a hash #) the line in your /etc/modules.conf that says

alias sound i810_audio

that's assuming ALSA works for you.
 
Old 11-04-2003, 01:28 PM   #12
fideli
Member
 
Registered: Nov 2003
Location: Mississauga
Distribution: arch linux
Posts: 51

Original Poster
Rep: Reputation: 15
no, the problem is that alsa didn't work for me in the first place, so i PUT the i810_audio line in the modules.conf. NOW i'm trying to stop alsa from trying to load the intel8x0 module
 
Old 11-04-2003, 02:20 PM   #13
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
Oh, I never did manage to convince it to do that. I turned the ALSA service off, told it not to start on boot, but every time I deleted the snd-intel8x0 line from my modules.conf something kept bloody putting it back!

I eventually discovered that alsa did in fact work, so I just stopped resisting and let it do what it wanted!

Can't understand why the kernel driver works for you but the alsa driver doesn't. I cannot help you any further, sorry.
 
  


Reply



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
Sound not working after install, SiS7012 with ALSA installed Dsteve768 Slackware 5 11-22-2004 08:37 PM
pcm kmix, alsa problem with sis7012 ivan.tg Slackware 0 07-01-2004 06:47 AM
ALSA problem on mandrake 10.0 with SiS7012 CountZero16 Linux - Hardware 7 06-22-2004 08:39 PM
Onboard SiS7012 and ALSA Hammett Linux - Hardware 0 06-20-2004 07:14 AM
Problem: Slack 9.1, ALSA, SiS7012 slakmagik Slackware 10 11-09-2003 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:45 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