General TC > General TC Talk

Seamonkey 2.33

<< < (7/9) > >>

Stone.Giant:

--- Quote from: Juanito on May 16, 2015, 01:23:46 AM ---As per the info file:
--- Quote ---If you want your alsa settings to persist across reboots, use the command "sudo alsactl store" after alsa has been set up.  This stores the configuration in /usr/local/etc/asound.state.  Place this file in your backup to allow your alsa settings to persist across sessions.
--- End quote ---

--- End quote ---

I got error when I placed alsasound start in bootlocal.sh

alsamixer: function snd_ctl_open failed for default: No such file or directory

Stone.Giant:

--- Quote from: nitram on May 16, 2015, 01:15:35 AM ---As i mentioned and same as your experience, PCM can not be muted.

This is what works for me. As i don't want sound every session, i simply place 'alsa-config' into OnDemand. Should i want sound, i simply select alsa-config from my OnDemand menu - works great.


--- End quote ---

I have still to manually initialize alsasound start then speaker test even I placed the alsa-config either in On-Boot and OnDemand list. Thank you for all your supports

Juanito:

--- Quote from: Stone.Giant on May 16, 2015, 04:06:32 AM ---I got error when I placed alsasound start in bootlocal.sh

alsamixer: function snd_ctl_open failed for default: No such file or directory

--- End quote ---

You don't mention if you did "sudo alsactl store" after alsa was set up and added /usr/local/etc/asound.state to your backup?

Stone.Giant:

--- Quote from: Juanito on May 16, 2015, 04:20:28 AM ---
--- Quote from: Stone.Giant on May 16, 2015, 04:06:32 AM ---I got error when I placed alsasound start in bootlocal.sh

alsamixer: function snd_ctl_open failed for default: No such file or directory

--- End quote ---

You don't mention if you did "sudo alsactl store" after alsa was set up and added /usr/local/etc/asound.state to your backup?

--- End quote ---

Yes I did sudo alsactl store and backup /usr/local/etc/asound.state.

Is this correct or do I need another extension like the sleep command you mentioned in your instructions

--- Quote ---If adding this command to bootlocal.sh, you may need
      to precede it with the sleep command for it to be effective.
--- End quote ---



--- Code: ---#!/bin/sh
#Place your onboot code here
sudo /usr/local/etc/init.d/alsasound start

--- End code ---

Misalf:
I used to do load ALSA like this in /opt/bootlocal.sh (without sudo because bootlocal.sh runs as root)

--- Code: ---/usr/local/etc/init.d/alsasound start >/dev/null 2>&1 &

--- End code ---
For me though thats not needed in 6.x.

Maybe this helps if the settings don't get restored by /etc/udev/rules.d/90-alsa-restore.rules

--- Code: ---/usr/local/sbin/alsactl restore >/dev/null 2>&1 &

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version