|
OpenMoko Neo1973
Desktop Survival Guide by Graham Williams |
|
|||
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.
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 |
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 |
Copyright © 2007 Graham.Williams@togaware.com Support further development and obtain the PDF version of the book.