Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"/etc/init.d/alsasound restart" fails
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
martinrandau
Apprentice
Apprentice


Joined: 10 Aug 2005
Posts: 180
Location: Kristianstad, Sweden

PostPosted: Wed Dec 21, 2005 2:44 pm    Post subject: "/etc/init.d/alsasound restart" fails Reply with quote

This is the output:

randau admin # /etc/init.d/alsasound restart
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels ... [ ok ]
* Unloading ALSA ... [ ok ]
* Unloading ALSA modules ... [ !! ]

As far as I'm concerned it shouldn't look like this. It says nowhere that the ALSA modules are reloaded.

Thanks

martin
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Wed Dec 21, 2005 3:35 pm    Post subject: Reply with quote

Do you have the "Unload Modules" option compiled in the kernel?
_________________
gentoo.ro
Back to top
View user's profile Send private message
bobspencer123
Guru
Guru


Joined: 19 Dec 2005
Posts: 544

PostPosted: Wed Dec 21, 2005 3:37 pm    Post subject: Reply with quote

do you have alsa stuff as modules or compiled in. I had a problem similar to this so make everything a module if you want to use alsasound.
Back to top
View user's profile Send private message
martinrandau
Apprentice
Apprentice


Joined: 10 Aug 2005
Posts: 180
Location: Kristianstad, Sweden

PostPosted: Wed Dec 21, 2005 3:45 pm    Post subject: Reply with quote

How do I check if I have it as modules or compiled in?
Back to top
View user's profile Send private message
bobspencer123
Guru
Guru


Joined: 19 Dec 2005
Posts: 544

PostPosted: Wed Dec 21, 2005 4:24 pm    Post subject: Reply with quote

cd /usr/src/linux

make menuconfig (as root)

then look for sound stuff and it it has an asterik it is "enabled-compiled in" if it has an M then it is a module

or you could: lsmod or modprobe -l and see if sound stuff is listed, if it is then it is module. I would go kernel way, btw, in my opinion you should always configure kernel yourself and learn how to do this, quite frankly it is really easy and more predictable then genkernel it that's what you used. Knowing the kernel inside and out is your friend and can solve many many many problems.
Back to top
View user's profile Send private message
martinrandau
Apprentice
Apprentice


Joined: 10 Aug 2005
Posts: 180
Location: Kristianstad, Sweden

PostPosted: Wed Dec 21, 2005 4:40 pm    Post subject: Reply with quote

Hehe, yes I configured my kernel manually and ofcourse it's a module now that I think of it. :D

Now to the problem -- Why can't I run /etc/init.d/alsasound restart successfully? I have static sound and alsaconf has been run without problem. I have no sound when testing the sound in Control Center and no sound in any of my programs. During boot "snd-seq" and other things like that fails to load so that I get those red !!


Thanks,
Martin
Back to top
View user's profile Send private message
bobspencer123
Guru
Guru


Joined: 19 Dec 2005
Posts: 544

PostPosted: Wed Dec 21, 2005 6:21 pm    Post subject: Reply with quote

have you unmuted your pcm and master volumes?

have you also looked at this:

http://www.gentoo.org/doc/en/alsa-guide.xml
Back to top
View user's profile Send private message
martinrandau
Apprentice
Apprentice


Joined: 10 Aug 2005
Posts: 180
Location: Kristianstad, Sweden

PostPosted: Wed Dec 21, 2005 6:25 pm    Post subject: Reply with quote

Yes, I have done that.

I have had a perfectly working alsa sound system until yesterday. As far as I know I didn't touch the sound settings. All I did was adding /sbin/reboot and /sbin/halt permissions to all users. Maybe I did something to the other permissions as well? How do I check that?


Martin
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