the real problem is that NM does not update the wireless status in the applet 
even when its command to disable wireless is used
the command is:

dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager 
/org/freedesktop/NetworkManager 
org.freedesktop.NetworkManager.setWirelessEnabled boolean:false

this command is a dbus one and it is offered by network manager, so the applet 
must not ignore it!

----- Messaggio originale -----
Da: Ritesh Khadgaray <[EMAIL PROTECTED]>
A: Bastien Nocera <[EMAIL PROTECTED]>
Cc: network manager <[email protected]>
Inviato: Venerdì 25 maggio 2007, 21:58:19
Oggetto: Re: blocking bug for laptop users ( rfkill on dell laptop )

On Fri, 2007-05-25 at 16:21 +0100, Bastien Nocera wrote:
> On Fri, 2007-05-25 at 15:21 +0530, Ritesh Khadgaray wrote:
> <snip>
> > Is this supposed to send a dbus message ?
> > The only thing i was able to see is bluez hardware removed, and thats
> > all :(
> > 
> > I use a Dell D620 , with rkill switch mapped against bluetooth, and
> > wireless .
> 
> Which is what's supposed to happen for Bluetooth on Dells.
> 
> The API is explained in the HAL spec.

Sorry, i was unable to locate this at the urls posted below
http://people.freedesktop.org/~david/hal-spec/hal-spec.html
http://people.redhat.com/davidz/hal-spec/hal-spec.html


> 
> It's mainly useful to deactivate a Bluetooth or WLAN device in software,
> not really to see what a possible rfkill switch in hardware does...
> 

I was able to see that with rfkill, NM is waiting for hal have this
fixed .

reference :
http://www.ussg.iu.edu/hypermail/linux/kernel/0612.0/2060.html


I am able to see /org/freedesktop/Hal/devices/dell_wlan_switch path in
hal listing . The value of this does not change with rfkill switch
state.


  i do see hal not listing my wireless card when rfkill switch is "off",
but NM still list wireless under menu. This behaviour was not seen when
i had used a pcmcia wireless card ( ornico ) .


-- 
Ritesh Khadgaray
ॐ मणि पद्मे हूँ
LinuX N Stuff
Ph: +919970164885
Eat Right, Exercise, Die Anyway.

_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list





      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to