Togaware OpenMoko Neo1973
Desktop Survival Guide
by Graham Williams
Google

Mixer

The basic application to set the volume and change various parameters for audio is the command line alsamixer, which runs in a Terminal (Chapter 16). Figure 13.2 shows the interface.

Figure 13.2: The alsamixer audio controller.
Image QEMU_alsamixer

To exit from alsamixer press the ESC key.

The mixer application shows a list of controls, starting with the Headphones volume control. The mixer is actually quite a complex device, with 83 controls. The controls include:

Using saved states allows us to set the controls up appropriately. For example, before making a call, try:

alsactl -f /etc/alsa/gsmhandset.state restore

Then start up alsamixer and adjust the Amp Left and Amp Right controls to suit your needs.

If you have a headset connected, then instead you can set up the headset profile:

alsactl -f /etc/alsa/gsmheadset.state restore

To then put the Neo back into stereo output, use:

alsactl -f /etc/alsa/stereoout.state restore

If you modify the settings through alsamixer you can then save your settings to file with:

alsactl -f /etc/alsa/myprefered.state store

Give the file (here called myprefered.state) any name you like.

Copyright © 2007 Graham.Williams@togaware.com
Support further development and obtain the PDF version of the book.
Brought to you by Togaware.