LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-17-2004, 10:26 AM   #1
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Rep: Reputation: 30
Cannot save alsa configuration


Hi, here is my problem:

I installed alsa driver etc. and everything works fine, but every time i start a new session i have to run alsamixer or type as root alsactl restore to have sound.
Why does it not save it with alsactl store? Am i missing to edit any file?
Thank you.
 
Old 03-17-2004, 10:36 AM   #2
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:
alsactl restore
 
Old 03-22-2004, 02:42 PM   #3
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
Thank you bnice.
I did what you post me, but the problem still exists.
Running alsamixer after startx does not restore nothing.
There exists two alsa configurations: one as user with Master muted and PCM 100%, and the root one with PCM muted and Master ok.
I don't know how to fix it.
It seems it load alsa config from.... i don't know
It discard /etc/rc.d/rc.local.
 
Old 03-22-2004, 04:33 PM   #4
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
the simplest way should be you run as root
alsaconf
and then when you have set up the desired volume levels
alsactl store.
I don't remember if slack 9.0 automatically restore alsamixer, 9.1 does by /etc/rc.d/rc.alsa.
No ideas on Debian.
Anyway if you do not have any script automatically restoring alsamixer put
alsactl restore
in your /etc/rc.d/rc.local making sure it is executable.
Ciao
 
Old 03-25-2004, 02:49 PM   #5
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
I can not fix this problem!!
I followed all the suggestions you gave me, but it seems it still ignore /etc/rc.d/rc.local file.
 
  


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
Save Wireless Configuration GML3G0 Linux - Wireless Networking 4 01-31-2005 01:29 PM
Alsa doesn´t save my configuration, alsactl store neither fedivh Linux - Hardware 1 01-25-2005 06:31 PM
alsa settings don't save after a reboot moger Slackware 7 07-19-2004 10:56 AM
How can i save and restore all configuration? Barata Linux - Networking 0 06-07-2004 04:12 PM
Save the sound configuration hamsterdude Linux - Hardware 2 03-24-2002 03:29 PM

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

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