solved:
net.connman.Manager.Methods DisableTechnology("wifi")
net.connman.Manager.Methods EnableTechnology("wifi")
now i just need to hook the FN+F1 with the dbus call.
On Tue, Apr 26, 2011 at 1:46 PM, Marcel Holtmann <[email protected]> wrote:
> Hi Leonardo,
>
>> > This should all work, but seems you are missing the magic UI that turn
>> > Fn+F1 into a proper RFKILL command or ConnMan action.
>>
>> Actually not, i have this behaviour working, what i need is
>> consistency with FN+F1 and ON/OFF. When i press FN+F1 i cannot turn ON
>> in the panel, only pressing FN+F1 again. Do you think it's possible to
>> have both fn+f1 and on/off button working with the same behaviour?
>>
>>
>> >
>> > Look at doc/manager-api.txt for EnableTechnology and DisableTechnology
>> > commands if you wanna do it via ConnMan.
>>
>> I've looked into that documentation, can you explain me what happend
>> when the user press the OFF button? Does the panel calls the DBUS with
>> DisableTechnology on the wifi?
>
> I can not tell you that. This is UI specific. It is a UI policy.
>
> Regards
>
> Marcel
>
>
> _______________________________________________
> connman mailing list
> [email protected]
> http://lists.connman.net/listinfo/connman
>
--
Leonardo Luiz Padovani da Mata
International Syst S/A
Metasys Tecnologia
Software Engineer Metasys MeeGo Team
[email protected]
+55-31-3503-9040
"May the force be with you, always"
"Nerd Pride... eu tenho. Voce tem?"
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman