2008.12 should automatically handle this for you by listening to dbus
messages. If you look in

/etc/freesmartphone/oevents/rules.yaml

you should notice an entry that executes amixer with the appropriate
arguments to disable the external speakers.

On Mon, Jan 5, 2009 at 4:31 AM, Giovanni <pino.o...@gmail.com> wrote:
> Grazie, Marco
>
> It works!
>
> How can it be integrated so that configuration can be set automatically when
> the jack is plugged/unplugged?
>
>
>
> On Mon, Jan 5, 2009 at 1:39 AM, "Marco Trevisan (Treviño)" <m...@3v1n0.net>
> wrote:
>>
>> Giovanni wrote:
>> > Great !!!
>> >
>> > It works!
>> >
>> > Unfortunately, if I plug the earphones, I can still listen to the sound
>> > from the loud speakers.
>> >
>> > Do you know how to solve this problem?
>>
>> Simply use alsactl -f restore to load the "headset.state" scenario file...
>>
>> --
>> Treviño's World - Life and Linux
>> http://www.3v1n0.net/
>>
>>
>> _______________________________________________
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>
>
> _______________________________________________
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>



-- 
Dylan Maxwell Reilly

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to