Tiny Core Base > CorePlus

VT8237A/VT8251 No Sound

<< < (9/11) > >>

evertvaningen:
Nope, after a few reboots the problem is back again...

When I do echo "amixer set "Master" 80 unmute" > ~/.X.d/alsaunmute

And reboot, my volume is at 100% I want 80

Misalf:
Add a percent sign

--- Code: ---amixer set "Master" 80% unmute

--- End code ---

evertvaningen:

--- Quote from: Misalf on June 14, 2017, 08:56:13 AM ---Add a percent sign

--- Code: ---amixer set "Master" 80% unmute

--- End code ---

--- End quote ---

After reboot volume at 39  :-\

Manual input amixer set "Master" 39 unmute sets the volume to correct 83

Tried: echo "amixer set "Master" 39 unmute" > ~/.X.d/alsaunmute
Volume is ok after reboot...

So wierd.

Rebooted againt to be extra sure... back to volume 39 again...

WTF...

*reboot volume 39
*reboot volume 83
*reboot volume 83
*reboot volume 83
*reboot volume 39
*reboot volume 39
*reboot volume 83

What is this? *sight

I'll reinstall and report back.

Now the volume is sticking to what I set it to after reboot :)

Rich:
Hi evertvaningen
It sounds like maybe you still had one of the previous restore mechanisms in place possibly creating a race condition.

Misalf:
ALSA sets the volume in a spectrum of 32 levels (0=0% - 31=100%). So 80% should actually be 25.

Anyway, you might have a timing inconsistency at boot (ALSA udev rule vs. X.d auto start script).
Try adding a sleep command to the X.d script

--- Code: ---{ sleep 2 ; amixer set "Master" 80% unmute ; } &

--- End code ---
(the curly brackets and the ampersand make those two commands run in background so this script won't pause the execution of subsequent scripts)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version