You are not logged in.
Pages: 1
Hello all,
I'm using alsa with pulse and set my alsa config through alsamixer. However each time I do so, the settings are not restored at boot up.
I added @alsa to my daemon array as well writing the alsa settings as root with "alsactl store".
Might it be that I use pulseaudio which overwrites or handles the settings differently?
Thanks for your advice.
Offline
alsactl store
and when you boot, type alsactl restore
Offline
I'm on the right track. Pulseaudio overwrites my alsa settings.
That means, when I run 'alsactl restore' manually after bootup, the correct settings are restored.
Now the question is, how can I restrict pulse to not behave like that?
This is my daemon array where I'm starting ALSA:
DAEMONS=(dbus !network !dhcdbd !networkmanager syslog-ng @acpid @alsa @wicd @bluetooth)
This is my openbox autostart.sh where I'm starting pulse:
adeskbar &
conky -q &
nitrogen --restore &
start-pulseaudio-x11 &
pnmixer &
fbxkb &
batti &
dropboxd &
blueman-applet &
And finally my inittab executing slim:
#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
id:5:initdefault:
# Boot to X11
#id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/bin/su robert -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
x:5:respawn:/usr/bin/slim >& /dev/null
# End of file
Any ideas?
Offline
As a workaround I restore my alsa settings again after pulseaudio had started since there is no other way of telling pulse not to behave like that.
In my autostart.sh of openbox I added:
(sleep 30 && alsactl -f /var/lib/alsa/asound.state restore) &
The sleep is important in order to ensure that pulse has fully loaded.
Regards
Offline
Pages: 1