Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
restoring alsa mixer levels without alsasound script
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
bgzee
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2003
Posts: 116

PostPosted: Wed Jun 15, 2005 2:48 pm    Post subject: restoring alsa mixer levels without alsasound script Reply with quote

i have my sound drivers compiled into the kernel, i was tired with having to upgrade alsa-driver and just didnt want to deal with modules altogether and it works great, except for each time i boot i have to restore the mixer levels. Is there a gentoo friendly way to do this automatically without the alsasound init script? if i use that script it gives me a bunch of errors about unresolved symbols (i assume because its trying to load modules that dont exist) and then the sound stops working.
Back to top
View user's profile Send private message
SpecvWillis
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2005
Posts: 142
Location: Ottawa, Canada

PostPosted: Wed Jun 15, 2005 3:25 pm    Post subject: Reply with quote

In your local.startup script, add the line

Code:
alsactl restore


and in local.shutdown add

Code:
alsactl store


This will store the current mixer levels on shutdown, and restore them when you boot back up.
Back to top
View user's profile Send private message
bgzee
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2003
Posts: 116

PostPosted: Wed Jun 15, 2005 3:33 pm    Post subject: Reply with quote

SpecvWillis wrote:
In your local.startup script, add the line

Code:
alsactl restore


and in local.shutdown add

Code:
alsactl store


This will store the current mixer levels on shutdown, and restore them when you boot back up.


Thanks :D But where should these local.startup and local.shutdown scripts be located?
Back to top
View user's profile Send private message
SpecvWillis
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2005
Posts: 142
Location: Ottawa, Canada

PostPosted: Wed Jun 15, 2005 4:01 pm    Post subject: Reply with quote

I think /etc/conf.d
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