Tiny Core Extensions > TCE Q&A Forum
PulseAudio / ALSA sound muted on each reboot
MikeLockmoore:
I'm running TC 16 RC. I have alsa and pulseaudio installed. I have the same issue others have posted where I need to unmute my speakers each time I reboot. I have the PAVUcontrol installed, so this is not difficult, but is annoying.
However, I working again on my system tray software 'Flit' which has a sound control. I'd like to use Flit to manage the sound without the PAVUcontrol if a user has PA installed, or just ALSA if a user only has that.
I don't see anything yet that PAVUcontrol does when unmuting that is different than what amixer and pactl commands I've tried do form the command line.
I've looked at several posts here in TC (especially this one: https://forum.tinycorelinux.net/index.php/topic,26832.0.html) and even a few outside (like Arch forum), and the recommendations have not solved it for me yet such as 'amixer set Master 100 unmute'. I believe I've done the essential recommendations in the pulseaudio.tcz info page (dbus is running, etc.). I'd appreciate any other suggestions!
--- Code: ---tc@box:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
--- End code ---
--- Code: ---tc@box:~$ lsmod | grep snd
snd_hda_codec_hdmi 49152 1
snd_ctl_led 20480 0
snd_hda_codec_realtek 118784 1
snd_hda_scodec_component 12288 1 snd_hda_codec_realtek
snd_hda_codec_generic 57344 1 snd_hda_codec_realtek
snd_hda_intel 28672 4
snd_hda_codec 81920 4 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
snd_hda_core 49152 5 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec
snd_hwdep 12288 1 snd_hda_codec
snd_intel_dspcfg 12288 1 snd_hda_intel
snd_pcm 86016 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 24576 1 snd_pcm
snd 65536 18 snd_hda_codec_hdmi,thinkpad_acpi,snd_ctl_led,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 12288 2 snd_ctl_led,snd
--- End code ---
gadget42:
is the same behaviour observed on different hardware? never underestimate quirky hardware/firmware/software and/or peripherals that misbehave. for example, a one year old color laser printer in sleep/standby mode, connected to the computer via usb, causes the computer to fail to boot(easier to unplug usb to boot, versus any alternative which may/may-not result in success). as always in anything/computing/life/etc YMMV.
Rich:
Hi MikeLockmoore
I took a look in pulseaudio.tcz and it contains this setup file:
--- Code: ---#!/bin/sh
if [ ! -d /usr/local/etc/pulse ]; then
mkdir -p /usr/local/etc/pulse
fi
[ -f /usr/local/etc/pulse/client.conf ] || cp -p /usr/local/share/pulseaudio/files/client.conf /usr/local/etc/pulse
[ -f /usr/local/etc/pulse/daemon.conf ] || cp -p /usr/local/share/pulseaudio/files/daemon.conf /usr/local/etc/pulse
[ -f /usr/local/etc/pulse/default.pa ] || cp -p /usr/local/share/pulseaudio/files/default.pa /usr/local/etc/pulse
[ -f /usr/local/etc/pulse/system.pa ] || cp -p /usr/local/share/pulseaudio/files/system.pa /usr/local/etc/pulse
[ -f /etc/udev/rules.d/78-sound-card.rules ] || cp -p /usr/local/share/pulseaudio/files/78-sound-card.rules /etc/udev/rules.d
[ -f /etc/udev/rules.d/90-pulseaudio.rules ] || cp -p /usr/local/share/pulseaudio/files/90-pulseaudio.rules /etc/udev/rules.d
udevadm control --reload-rules
udevadm trigger
--- End code ---
The .pa files contain comments about restoring audio levels.
If you add /usr/local/etc/pulse to your backup, do your settings get
restored when you reboot?
There are also more .conf files under /usr/local/share/pulseaudio/alsa-mixer.
MikeLockmoore:
--- Quote from: Rich on March 20, 2025, 11:46:38 PM ---...
If you add /usr/local/etc/pulse to your backup, do your settings get
restored when you reboot?
There are also more .conf files under /usr/local/share/pulseaudio/alsa-mixer.
--- End quote ---
Thanks for looking at this.
I tried adding both folders to my .filetool.lst. Enabled speakers with PAVUcontrol, then rebooted. Sound (speakers) was muted again. ::) I re-enabled sound. I could not see anytimestamps in those folders that change when I re-enabled the sound.
Then I saw something on the Arch wiki that I tried:
$ amixer -c 0 sset "Auto-Mute Mode" Disabled
$ sudo alsactl store
and added usr/local/etc/alsa to .filetool.sh. and rebooted. That did not work either. :-\
Rich:
Hi MikeLockmoore
You left out the part where you added:
--- Code: ---alsactl restore
--- End code ---
to /opt/bootlocal.sh.
Navigation
[0] Message Index
[#] Next page
Go to full version