alsactl restore in rc.local

François Patte francois.patte at mi.parisdescartes.fr
Mon Apr 9 10:29:31 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bonjour,

I try to configure my microphone, using alsactl.

At boot time, the mic is not working. If I use the xcfce mixer utility,
I can open the mic and it is workng fine.

After that, I run alsactl store and my config is stored in /etc/asound.state

If I reboot, the mic is not working.... If I run "alsactl restore", as a
normal user, the mic is working.

So, I put   /usr/sbin/alsactl -f /etc/asound.state restore 0

But, without any success: the mic is closed and I have to run alsactl
restore as a normal user to open it....

Why? And how to have automatically working at boot time?

Thanks
- -- 
François Patte
UFR de mathématiques et informatique
Laboratoire MAP5 --- UMR CNRS 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk+CugsACgkQdE6C2dhV2JXhGACfbDoxtChHetG5KjUhC+R8fKZA
ea8An0VdZQDdgEqmpB4bFlUJU78TWIya
=qi9T
-----END PGP SIGNATURE-----


More information about the users mailing list