Ringtone and vibration configuration

Dylan Reilly dreilly at atariland.net
Sat Jul 26 17:44:34 CEST 2008


I agree that modifying the state files for such a purpose could be
anti-productive. In lieu of that, what controls the loading of the
profiles? Are they loading on an app by app basis or is there some
controller that handles it? I would want to ensure that if I applied
any changes to alsa directly that they would not be overwritten by a
profile load.

On Fri, Jul 25, 2008 at 11:48 PM, Joerg Reisenweber <joerg at openmoko.org> wrote:
> Am Sa  26. Juli 2008 schrieb Dylan Reilly:
>> I am hoping to make some scripts, etc. for incoming call scenarios.
>>
>> 1) What mixer setting in alsamixer controls the ringtone volume?
>> 2) What alsa profile is used when a call is first incoming?
> gsmhandset.state?
>> 3) How can one control the state of the vibrations (on, off, and ideally
> etc.)?
>
> Please note I consider our concept of restoring a *complete* mixer setting by
> alsactl somewhat limited (not to say brain damaged)
> If I need a special scenario to push out a ringtone via speaker, this
> shouldn't affect any record setup i did for mic for use with some completely
> different concurrently running app (please find "better" examples if you're
> about to say "mic will catch ringtone sound").
> Also switching from headset.state to speaker.state is done without regarding
> those are mutually exclusive setups, and speaker mustn't be used while
> headset is plugged. :-(
> Doing setup modification just for the mixer elements that are actually needed,
> by some amixer script, looks like a more sane way to me
>
> Just my 2 cents
> /jOERG
>



-- 
Dylan Maxwell Reilly




More information about the community mailing list