On Tue, Apr 26, 2011 at 12:13 PM, Marcel Holtmann <[email protected]> wrote:
> Hi Leonardo,
>
>> >> I need to change the behavior of Fn+F1 key command to turn off the
>> >> wifi just like user clicking on the panel and turning it off. Now when
>> >> i press Fn+F1 the wifi card is disable and the panel shows the wifi
>> >> button disabled. Can dbus be used to turn off the card instead of
>> >> disabling it? Which dbus interface should i use?
>> >
>> > what is your difference between a disabled WiFi and a switched off WiFi?
>>
>> Disabled wifi is when the rfkill of the driver is called, the panel
>> shows that a device is there, but you can't turn it on and off (the
>> button is disabled.
>> Switched off is when the wifi network is down, this happend when you
>> click the button to turn off the wifi network on the panel.
>>
>> Does it make sense?
>
> it sort of makes sense, but in the end there is also no difference here.
> So if we have a WiFi card that supports RFKILL, we will try to use
> RFKILL to switch the device off. That way we ensure that all radio
> activity is actually off. If no RFKILL is available, then the best we
> can do is to bring the network interface down.
>
> So from a ConnMan perspective both are treated the same. My expectation
> is that all WiFi cards have a RFKILL switch. And that is true for all
> cfg80211 enabled cards since they have at least a soft RFKILL switch.

Yeah, the card supports rfkill, but i think the rfkill is not actually
used when i turn off with the switch.

>
> The important question is what hardware you are talking about. If this
> is a staging WiFi driver, then this whole situation becomes a bit more
> fuzzier.

RTL8192SE

Which kind of information can i provide? Do you want me to test any
newer version of connman?



>
> 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

Reply via email to