You are not logged in.
Devuan Ceres
After boot, AWAYS, volume is turned off and output port at audio mixer always sets "Headfones" instead of "Line out".
I need always fix that manually. How fix that?
Last edited by deepforest (2022-04-01 20:16:25)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
Devuan sid
I presume you mean Devuan ceres? The Debian sid repository should not be mixed with Devuan unless you know what you're doing.
How fix that?
Copy the init script in this post to /etc/init.d/alsa-restore then run
# update-rc.d alsa-restore defaults
Brianna Ghey — Rest In Power
Offline
deepforest wrote:Devuan sid
I presume you mean Devuan ceres? The Debian sid repository should not be mixed with Devuan unless you know what you're doing.
deepforest wrote:How fix that?
Copy the init script in this post to /etc/init.d/alsa-restore then run
# update-rc.d alsa-restore defaults
I did according your instructions. But its same.
root@devuan:/etc/init.d# ls -l /etc/init.d/alsa-restore
-rwxrwxrwx 1 root root 700 Apr 1 21:23 /etc/init.d/alsa-restore
root@devuan:/etc/init.d#
/etc/init.d/alsa-restore 700/700 100%
#!/bin/sh
# Generated by sysd2v v0.3 -- http://www.trek.eu.org/devel/sysd2v
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
### BEGIN INIT INFO
# Provides: alsa-restore
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: Save/Restore Sound Card State
### END INIT INFO
DESC="alsa-restore"
DAEMON=none
PIDFILE=none
do_start_cmd_override ()
{
/usr/bin/alsactl restore
true
}
do_stop_cmd_override ()
{
/usr/bin/alsactl store
true
}
do_status_override () :
in boot log i see this
INIT: Entering runlevel: 2
Fri Apr 1 21:26:02 2022: Using makefile-style concurrent boot in runlevel 2.
Fri Apr 1 21:26:03 2022: Starting alsa-restore: none/etc/init.d/alsa-restore: 21: /lib/init/init-d-script: /usr/bin/alsactl: not found
Fri Apr 1 21:26:03 2022: .
UPD
I search alsactl and found it only here at sbin but not bin
root@devuan:/usr/sbin# /usr/sbin/alsactl
I am replace at script "bin" to "sbin" and again apply command
root@devuan:/usr/sbin# /usr/sbin/alsactl
But still same, at booting no errors but after booting volume is disabled
UPD2
now at boot log
Fri Apr 1 23:13:08 2022: Starting alsa-restore: none.
Last edited by deepforest (2022-04-01 20:20:50)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
also i have that output
freeartist@devuan:~$ sudo pacmd list-card
[sudo] password for freeartist:
No PulseAudio daemon running, or not running as session daemon.
freeartist@devuan:~$
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
Its happened when i upgrade Chimaera to Ceres
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
So was sound working under chimaera? Were your settings saved there?
Brianna Ghey — Rest In Power
Offline
So was sound working under chimaera? Were your settings saved there?
Its was working. I am upgrade chimaera to ceres and now after upgrade sound is disabled. Manually i can enable it, but i want that its auto work. How i can find settings? Sorry.
Last edited by deepforest (2022-04-02 12:41:36)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
pacmd list-sinks | less
https://pastebin.com/raw/5ffkYe6m
pacmd list-sources | less
https://pastebin.com/raw/aZmVFeEg
pacmd list-cards
https://pastebin.com/raw/QR6UQrXg
Last edited by deepforest (2022-04-03 19:52:37)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
For popping under PulseAudio see https://wiki.archlinux.org/title/PulseA … g_playback
Brianna Ghey — Rest In Power
Offline
For popping under PulseAudio see https://wiki.archlinux.org/title/PulseA … g_playback
Thanks.
this 2 command make audio works again. But how i can make it work automatically? Not manually enter every time after booting?
freeartist@devuan:~$ pacmd set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-lineout
freeartist@devuan:~$ amixer -D pulse sset Master toggle
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
Create a file at ~/.config/pulse/default.pa with these lines:
.include /etc/pulse/default.pa
set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-lineout
set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo 0
Reference: https://wiki.archlinux.org/title/PulseA … utput_sink
Last edited by Head_on_a_Stick (2022-04-04 16:43:14)
Brianna Ghey — Rest In Power
Offline
Create a file at ~/.config/pulse/default.pa with these lines:
.include /etc/pulse/default.pa set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-lineout set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo 0
Reference: https://wiki.archlinux.org/title/PulseA … utput_sink
Thank you very much! Now sound working good!)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline