[QTExtended] cannot store alsa state
ledzgio at writeme.com
Thu Dec 18 15:42:57 CET 2008
Thanks very much for your explaination.. very useful.
The last curiosity...is there a place to find a schema of what I change
if i change alsamixer values? i mean, what is the value
to change in order to increase the caller's voice?
----- Original Message -----
From: "Al Johnson"
To: community at lists.openmoko.org
Subject: Re: [QTExtended] cannot store alsa state
Date: Thu, 18 Dec 2008 13:12:01 +0000
I'm not certain on QTExtended, but /usr/share/openmoko/scenarios/ is
location on most of the distros. You can use any filename you like,
applications will only use the filenames they expect. I don't know if
are configurable or hardcoded in QTExtended. The names should be
self-explanatory when you see them in the directory. The phone will
spend most of its time using stereoout.state so that the ringtone or
playback happens through the speaker. When you pick up a call the
will switch it to gsmhandset.state, and back to stereoout.state when
up. It may use headset.state and gsmheadset.state if the wired
plugged in, or gsmstereoout if the speakerphone setting is used.
To use a state file manually run:
alsactl -f /path/to/file.state restore
On Thursday 18 December 2008, Giorgio Marci wrote:
> Where are stored these files? there is a specific file state to
> can i store any file in any directory? and if yes, how can i set
> use that particular file?
> ----- Original Message -----
> From: "Al Johnson"
> To: community at lists.openmoko.org
> Subject: Re: [QTExtended] cannot store alsa state
> Date: Thu, 18 Dec 2008 11:58:50 +0000
> On Thursday 18 December 2008, Giorgio Marci wrote:
> > I adjust the volume on QTExt 4.4.2 using alsamixer and then i'd
> like to
> > store its state, but the command
> > alsactl -f path_to_file.state store
> > doesn't seem to work and, after that i make or receive a call,
> > returns to default!
> > How can i save the alsa state permanently?
> The command looks correct, but you need to give it the right path
> for the state you are trying to modify. You could always take a
> of the
> file before and after, and diff them to check your changes have
> saved. I
> assume you know there are multiple state files that the
> switch between as required.
> Openmoko community mailing list
> community at lists.openmoko.org
Openmoko community mailing list
community at lists.openmoko.org
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the community