All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with alsactl and via VT8235
@ 2003-05-17  2:35 Guillermo Keil
  2003-05-18 10:29 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: Guillermo Keil @ 2003-05-17  2:35 UTC (permalink / raw)
  To: alsa-devel

Hi

I am working on a Motherboard with a via VT8235 south bridge, over a Red
Hat 8.0 Linux.
I have installed the Alsa drivers for this AC97 compliant sound device
and everything was really perfect, except for recording.
After many experiments, I realize that the problem was in the last lines
of the modules.conf file, with the pre-remove and post-install.
The original lines are :

post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
>/dev/null 2>&1 || :

By Removing those lines, sound recording began to work really fine. But
every time I reboot, I had everything mutted ( I know this is the
expected behavior ).

I then changed the lines to:

post-install snd-pcm-oss /bin/alsactl restore  >/dev/null 2>/dev/null 
pre-remove snd-pcm-oss   /bin/alsactl store    >/dev/null 2>/dev/null

I am using alsactl as I have read on this mailing list that this the
only safe way to save and restore status.
This approach works, but restores the last state I manually saved some
time, not the state just before shutdown.

Why is this happening ? If I try "alsactl store" manually, the recording
does not work any longer until the driver are unloaded and reloaded
again.
Why the original lines from the RedHat installation work for restoring
the Level of all the channels, but breaks the capture functionality ?

Guillermo 






-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful, 
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems with alsactl and via VT8235
  2003-05-17  2:35 Problems with alsactl and via VT8235 Guillermo Keil
@ 2003-05-18 10:29 ` Clemens Ladisch
  0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2003-05-18 10:29 UTC (permalink / raw)
  To: Guillermo Keil; +Cc: alsa-devel

Guillermo Keil wrote:
> post-install snd-pcm-oss /bin/alsactl restore  >/dev/null 2>/dev/null
> pre-remove snd-pcm-oss   /bin/alsactl store    >/dev/null 2>/dev/null
>
> This approach works, but restores the last state I manually saved some
> time, not the state just before shutdown.
>
> Why is this happening ?

The second line above tells Linux to save the state when the snd-pcm-oss
module gets unloaded. Either this module isn't unloaded when shutting
down, or your sound card driver is already unloaded at that point.

Try replacing snd-pcm-oss with snd-card-0.


HTH
Clemens




-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful, 
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-18 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-17  2:35 Problems with alsactl and via VT8235 Guillermo Keil
2003-05-18 10:29 ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.