Skip to content

This project allows the user to save the alsamixer volume settings between boots/reboots/poweroff on OpenDingux operating systems like the RG350, RG350M, etc

Notifications You must be signed in to change notification settings

neilswann80/DinguxAlsaMixerSave

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

The AlsaMixer command-line tool /usr/sbin/alsactl is missing in ODBeta, so the script by @vloschiavo isn't going to work on the Adam Image.

I grabbed alsactl from the original OD and confirmed it works with ODBeta and I've rewritten the script to use it: https://github.com/neilswann80/DinguxAlsaMixerSave/releases/tag/alamixer

S91alsaSettings as before needs to be saved here: /media/data/local/etc/init.d (via ssh or a linux PC)

When the script runs for the first time it ensures there's a directory called /media/sdcard/ALSA and creates a file named delete2reset within it; this file can be deleted at any time via commander on the device, then upon reboot the AlsaMixer defaults are restored.

I've added the alsactl file needed for this script to run as a release (via Releases on the right of this page); it needs to be saved in /media/sdcard/ALSA.

NOTE: I did notice a weird quirk with AlsaMixer in that it doesn't seem to close down properly. As you navigate through SimpleMenu on the D-pad after running AlsaMixer, the D-pad presses seem to keep affecting volume changes with AlsaMixer. I would suggest after setting a volume in AlsaMixer, press select to exit, then immediately press start and shutdown the device. You can then power it straight back on and use the device without worry of AlsaMixer settings being interferred with.

About

This project allows the user to save the alsamixer volume settings between boots/reboots/poweroff on OpenDingux operating systems like the RG350, RG350M, etc

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%