Re: alsa and saving mixer settings

2003-01-30 Thread James Hughes
On Mon, Jan 27, 2003 at 03:06:43PM -0500, Matthew Weier O'Phinney wrote:
 I've had alsa installed without problems on a different computer, and
 went to install it on this one due to some advice I'd read regarding my
 soundcard. It works fine, but for some reason my mixer settings aren't
 staying between boots.
 
[SNIP]
 Anybody else experience this or know of a way around it?

I've had similar troubles. I'm using the gnome mixer applet, as well
as using gmix and sometimes alsamixer. I'm thinking maybe the applet
is undoing the settings set with alsamixer?


-- 
James Hughes



msg27540/pgp0.pgp
Description: PGP signature


Re: alsa and saving mixer settings

2003-01-29 Thread Qian Gong
On Wed, Jan 29, 2003 at 07:27:33AM +0100, Roman Joost wrote:
 On Mon, Jan 27, 2003 at 03:06:43PM -0500, Matthew Weier O'Phinney wrote:
  Unfortunately, I find that the first time I want to play anything, I
  have to open a mixer (I use gmix), which then sets the levels, before I
  can hear anything.
Try alsamixer. The settings are stored.

Qian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: alsa and saving mixer settings

2003-01-29 Thread James Tappin
On Wed, 29 Jan 2003 09:23:51 +0100
Qian Gong [EMAIL PROTECTED] wrote:

 On Wed, Jan 29, 2003 at 07:27:33AM +0100, Roman Joost wrote:
  On Mon, Jan 27, 2003 at 03:06:43PM -0500, Matthew Weier O'Phinney
  wrote:
   Unfortunately, I find that the first time I want to play anything, I
   have to open a mixer (I use gmix), which then sets the levels,
   before I can hear anything.
 Try alsamixer. The settings are stored.

Not true, you need to run alsactl store to preserve settings through
reboots.

James

-- 
James Tappin, O__  I forget the punishment for using
[EMAIL PROTECTED]   --  \/`Microsoft --- Something lingering
http://www.tappin.me.uk/with data loss in it I fancy  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: alsa and saving mixer settings

2003-01-29 Thread Qian Gong
On Wed, Jan 29, 2003 at 08:52:32AM +, James Tappin wrote:
 On Wed, 29 Jan 2003 09:23:51 +0100
 Qian Gong [EMAIL PROTECTED] wrote:
 
  On Wed, Jan 29, 2003 at 07:27:33AM +0100, Roman Joost wrote:
   On Mon, Jan 27, 2003 at 03:06:43PM -0500, Matthew Weier O'Phinney
   wrote:
Unfortunately, I find that the first time I want to play anything, I
have to open a mixer (I use gmix), which then sets the levels,
before I can hear anything.
  Try alsamixer. The settings are stored.
 
 Not true, you need to run alsactl store to preserve settings through
 reboots.

Do you use Debian? If yes, have a loot at script /etc/init.d/alsa, which 
takes care of storing settings. You only need to change the settings by 
alsamixer.

Qian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: alsa and saving mixer settings

2003-01-28 Thread Roman Joost
On Mon, Jan 27, 2003 at 03:06:43PM -0500, Matthew Weier O'Phinney wrote:
 Unfortunately, I find that the first time I want to play anything, I
 have to open a mixer (I use gmix), which then sets the levels, before I
 can hear anything.
 
 Anybody else experience this or know of a way around it?
 
 -- 
 Matthew Weier O'Phinney
 [EMAIL PROTECTED]
 
Try to set the mixer settings manually with alsactl store and if this runs
without error, it'll maybe a init.d script problem. I think, if you try to store
the mixer settings with alsactl, it complaints about some error (dont know
anymore what it exactly was). If so, try to reinstall the alsa-modules. This
helped me getting out the problem and the alsa-scripts storing the mixer
settings correctly.

Greetings,

Roman

-- 
www: http://www.romanofski.de
email: [EMAIL PROTECTED]



msg27079/pgp0.pgp
Description: PGP signature


alsa and saving mixer settings

2003-01-27 Thread Matthew Weier O'Phinney
I've had alsa installed without problems on a different computer, and
went to install it on this one due to some advice I'd read regarding my
soundcard. It works fine, but for some reason my mixer settings aren't
staying between boots.

I've checked the /etc/init.d/alsa script, and it calls alsactl to store
and restore mixer settings, and, since it doesn't specify a location, it
should store them at /etc/asound.state -- which exists and is populated.

Unfortunately, I find that the first time I want to play anything, I
have to open a mixer (I use gmix), which then sets the levels, before I
can hear anything.

Anybody else experience this or know of a way around it?

-- 
Matthew Weier O'Phinney
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




FIXED: Re: ALSA not saving mixer settings

2002-11-04 Thread Edward Guldemond
On Mon, Nov 04, 2002 at 10:03:48AM -0600, W. Paul Mills wrote:
 /usr/share/doc/alsa-base/README.Debian
 
 Paul

I read this.  It didn't have any info on it.  I ended up dist-upgrading
to sarge and it's working again.

Thanks for your help,

-- 
--
Edward Guldemond

Key fingerprint:  29FF 2969 A04E F934 3F03  
  4329 BC56 3AA7 2F57 6735



msg10935/pgp0.pgp
Description: PGP signature


ALSA not saving mixer settings

2002-11-02 Thread Edward Guldemond
Hi all,

I am experiencing ALSA problems in my system.  The modules are loading
correctly, and setting the volume works, but shutting down and
restarting alsa with /etc/init.d/alsa stop followed by
/etc/init.d/alsa start does not restore my mixer settings.  In fact,
it zeroes them out.  Here is the copy of their output:

thedebategodjazzman:~$ su -
Password:
jazzman:~# amixer get PCM
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 25 [81%] [on]
Front Right: Playback 25 [81%] [on]
jazzman:~# /etc/init.d/alsa stop
Storing ALSA mixer settings...done.
Shutting down ALSA sound driver (version 0.9.0rc3): done.
jazzman:~# /etc/init.d/alsa start
Starting ALSA sound driver (version 0.9.0rc3): intel8x0 (card-intel8x0)
jazzman:~# amixer get PCM
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [off]
Front Right: Playback 0 [0%] [off]

I don't know what may have been causing this.  I double checked my alsa
settings today, and I believe that they are fine.  Thanks for the help!

-- 
--
Edward Guldemond

Key fingerprint:  29FF 2969 A04E F934 3F03  
  4329 BC56 3AA7 2F57 6735



msg10613/pgp0.pgp
Description: PGP signature


Re: ALSA not saving mixer settings

2002-11-02 Thread Stephan Seitz
Hi!

On Sat, Nov 02, 2002 at 12:34:34PM -0500, Edward Guldemond wrote:
 I am experiencing ALSA problems in my system.  The modules are loading
 correctly, and setting the volume works, but shutting down and
 restarting alsa with /etc/init.d/alsa stop followed by
 /etc/init.d/alsa start does not restore my mixer settings.  In fact,
 it zeroes them out.  Here is the copy of their output:

Yes, same here with rc3 and rc5. Switching back to rc1 solved this
problem. Since rc3 the osslayer modules don't load correctly either.
Only one of the three is loaded.

Shade and sweet water!

Stephan

-- 
| Stephan Seitz   E-Mail: [EMAIL PROTECTED] |
|  WWW: http://fsing.fs.uni-sb.de/~stse/|
| PGP Public Keys: http://fsing.fs.uni-sb.de/~stse/pgp.html |



msg10616/pgp0.pgp
Description: PGP signature


Re: ALSA not saving mixer settings

2002-11-02 Thread Jack O'Quin
Edward Guldemond [EMAIL PROTECTED] writes:

 I am experiencing ALSA problems in my system.  The modules are loading
 correctly, and setting the volume works, but shutting down and
 restarting alsa with /etc/init.d/alsa stop followed by
 /etc/init.d/alsa start does not restore my mixer settings.  In fact,
 it zeroes them out.  

Check your /etc/modutils/alsa, it needs something like:

# Restore mixer settings:
post-install snd-ice1712 /usr/sbin/alsactl restore
pre-remove   snd-ice1712 /usr/sbin/alsactl store

In place of snd-ice1712 list your snd-card-0.
-- 
  Jack O'Quin
  Austin, Texas, USA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ALSA not saving mixer settings

2002-11-02 Thread Burkhard Ritter
On Sat, 2 Nov 2002, Edward Guldemond wrote:

 Hi all,
 
 I am experiencing ALSA problems in my system.  The modules are loading
 correctly, and setting the volume works, but shutting down and
 restarting alsa with /etc/init.d/alsa stop followed by
 /etc/init.d/alsa start does not restore my mixer settings.  In fact,
 it zeroes them out.  Here is the copy of their output:
[...]
 I don't know what may have been causing this.  I double checked my alsa
 settings today, and I believe that they are fine.  Thanks for the help!
 
 -- 
 --
 Edward Guldemond

A workaround would be using alsactl in the user's .bash_profile and
.bash_logout.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ALSA not saving mixer settings

2002-11-02 Thread Theodore Reed
On Sat, 2 Nov 2002 12:34:34 -0500
Edward Guldemond [EMAIL PROTECTED] wrote:

 Hi all,
 
 I am experiencing ALSA problems in my system.  The modules are loading
 correctly, and setting the volume works, but shutting down and
 restarting alsa with /etc/init.d/alsa stop followed by
 /etc/init.d/alsa start does not restore my mixer settings.  In fact,
 it zeroes them out.  Here is the copy of their output:

The ALSA init.d script seems to be broken. It doesn't work at all for
me. I have to manually insert the modules.

-- 
Theodore Reed (rizen/bancus)   -==-   http://surreality.us:8080/~rizen/
~GPG/PGP Signed/Encrypted Mail Preferred; Finger me for my public key!~

I read my note again today: Do something important. Once again, I'm
at a loss. -- Brandon Mechtley



msg10621/pgp0.pgp
Description: PGP signature


Re: ALSA not saving mixer settings

2002-11-02 Thread Edward Guldemond
On Sat, Nov 02, 2002 at 11:46:07AM -0600, Jack O'Quin wrote:
 Check your /etc/modutils/alsa, it needs something like:
 
 # Restore mixer settings:
 post-install snd-ice1712 /usr/sbin/alsactl restore
 pre-remove   snd-ice1712 /usr/sbin/alsactl store
 
 In place of snd-ice1712 list your snd-card-0.

I placed these lines (at the end of /etc/modutils/alsa):

post-install snd-card-intel8x0 /usr/sbin/alsactl restore
pre-remove snd-card-intel8x0 /usr/sbin/alsactl store

...and then ran update-modules.  I unloaded ALSA, and reloaded it, and
the mixer settings are still incorrect.

Thanks,

-- 
--
Edward Guldemond

Key fingerprint:  29FF 2969 A04E F934 3F03  
  4329 BC56 3AA7 2F57 6735



msg10629/pgp0.pgp
Description: PGP signature


Re: ALSA not saving mixer settings

2002-11-02 Thread Edward Guldemond
On Sat, Nov 02, 2002 at 06:46:02PM +0100, Stephan Seitz wrote:
 Yes, same here with rc3 and rc5. Switching back to rc1 solved this
 problem. Since rc3 the osslayer modules don't load correctly either.
 Only one of the three is loaded.


I can get the OSS layer loaded and functioning just fine.  It's just the
mixer settings that I am having trouble with.

-- 
--
Edward Guldemond

Key fingerprint:  29FF 2969 A04E F934 3F03  
  4329 BC56 3AA7 2F57 6735



msg10630/pgp0.pgp
Description: PGP signature