Re: [PATCH] mbm plugin: send enap=0 on disable





2009/11/20 Dan Williams <dcbw redhat com>

On that note Pablo, would you mind if I added an "Enabled" (type bool)
property to the org.freedesktop.ModemManager.Modem interface to indicate
the current enablement state?

Not at all, it is required indeed!
 

The reason I want to do this is because in the multi-modem-user case
where NM should not be disabling the device, we still need a mechanism
to allow users to do that to save power or whatever if their laptop does
not support rfkill of the device.  For NetworkManager, I'd put a "Enable
Mobile Broadband" checkbox into the right-click menu of nm-applet, just
like the Enable Wireless checkbox is there.  This checkbox would reflect
the state of each modem's Enabled property.  If the user unchecked the
box, the applet would direct NetworkManager to disable all 3G devices
using Enable(false), while simply choosing Disconnect in the menu would
direct NM to call Disconnect() as we've previously discussed.

Dan





--
Pablo Martí
http://www.linkedin.com/in/pmarti || http://www.warp.es
python -c "print '706d6172746940776172702e6573'.decode('hex')"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]