On Friday 05 August 2016 08:35:52 deloptes wrote:
Gene Heskett wrote:
So it is. Owned by root but world rw. Then why,
if root can access
it during the init phase, is it not active for me until I do an
alsactl restore ? Something in starting the x stuff as the usr
after the login, is killing the sound UNTIL the user does a restore.
And its a right PIMA. Just for S & G, I just added an aplay command
to be executed by me, immediately after a line in rc.local that does
a theoretical restore, as me to play the front-center channel id
file. I'll see if that plays when I next reboot. Which is not
eminent ATM.
In my opinion the problem is somewhere else. This file is not meant to
be used by user. It is used when alsa framework is initialized. When
you do restore you actually load the settings from this file.
The question is why it is not restoring on boot. You should inspect
the scripts used to start/initialize alsa.
I can't look further ATM. I would actually trace the log files, but
the approach with playing something is also valid, only it will not
help understand why if not working.
BTW I don't have anything in rc.local. I have (jessie)
find /etc/rc* | grep alsa
/etc/rc0.d/K01alsa-utils
/etc/rc6.d/K01alsa-utils
/etc/rcS.d/S21alsa-utils
regards
Looking at S21alsa-utils, it seems to me that I should see a log msg or
30 from it. I am not, but its appears to mute the system at one point
in the script. WTH is that for? What I see in the last dmesg all comes
from snd_intel, and says that msi has been disabled, whatever the heck
that means. I'm clueless about that.
Thanks.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>