![]() |
Saving ALSA settings? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: Saving ALSA settings? (/showthread.php?tid=11142) |
Saving ALSA settings? - Baslow - 08-25-2020 I'm running the Manjaro which shipped with my ANSI Pinebook Pro. Sound works fine BUT every time I reboot I must open a terminal, run alsamixer (which, I confess, I don't understand very well), hit F6, choose rockchip, es8316-codec, and increase the first "Headphone" meter (there are two! Why?) from 0 to (usually) 100 -- since it seems to increment only from 0->28->56->100. This setting usually serves me fine until shutdown. So I have two questions
RE: Saving ALSA settings? - Eight Bit - 08-26-2020 I experience the same issue and I have tried multiple things to solve it to no avail... I'll keep an eye on this thread ![]() RE: Saving ALSA settings? - ennoausberlin - 08-26-2020 Here you can find several solutions https://askubuntu.com/questions/50067/howto-save-alsamixer-settings RE: Saving ALSA settings? - frofro - 08-28-2020 I'm having the same problem. I created a alsa config file-after adding the headphone option- and a script to load the config. My issue now is trying to get the script to run on startup... I've tried adding it as a service and adding to the the start up menu. Nothing. the alsa config was generated using sudo alsactl --file /home/frofro/Desktop/foostore store and the script to load it #!/bin/bash alsactl --file /home/frofro/Desktop/foostore restore if I run my bash script from the command line, the audio fix work. I just can't get it to run on startup. I'll update if I get it working RE: Saving ALSA settings? - Baslow - 08-29-2020 (08-28-2020, 09:11 PM)--frofro Wrote: I'm having the same problem. I created a alsa config file-after adding the headphone option- and a script to load the config. My issue now is trying to get the script to run on startup... I've tried adding it as a service and adding to the the start up menu. Nothing.I'd gotten as far as using``sudo alsactl store`` (with ``alsamixer`` still open, after I'd made the change I needed) to save the settings to /var/lib/alsa/asound.state BUT... while changes were stored to that file they were not automatically picked up by alsa the next time I rebooted. I had to run ``sudo alsactl restore`` to actually get the changes to register with alsa again. This didn't seem to be much better than simply opening alsamixer and making the changes manually (perhaps with a startup script: ``konsole -e alsamixer``). Maintaining a separate config file seems like a better solution, if it is possible to get it to work automatically, but it feels like there's something we're still missing. RE: Saving ALSA settings? - xmixahlx - 08-30-2020 see the postinstall script in pbp-tools and use nrestore instead. RE: Saving ALSA settings? - frofro - 08-31-2020 I think the issue is getting the script to run on start-up. I tried nrestore with the alsa config file and it exhibits the same results as restore. Is there something we are missing? RE: Saving ALSA settings? - xmixahlx - 08-31-2020 dunno, i've never had this issue. on debian with the pbp-tools kernel you need alsa-utils, alsa-tools, and pulseaudio packages, then place the alsa state and run nrestore. see the script for ideas? https://github.com/xmixahlx/pbp-tools/blob/master/pbp-install-postinstall RE: Saving ALSA settings? - frofro - 09-03-2020 I may try Debian and see if the issue persists... Thank for the help. RE: Saving ALSA settings? - brzegorz - 09-04-2020 As a workaround you can place the restore line in /etc/profile |