[Sugar-devel] Patch: Mobile dongles

Paul Fox pgf at laptop.org
Mon Mar 26 11:54:40 EDT 2012


jerry wrote:
 > On Mon, 2012-03-26 at 16:44 +1100, forster at ozonline.com.au wrote:
 > > David
 > > 
 > > This message was sent with a gsm dongle on an xo-1
 > >  
 > >  modem:Huawei E160E
 > >  carrier:Locked to Dodo (an Optus reseller)
 > >  XO-1
 > >  OS31 development which is same as os884 signed
 > >  
 > >  in my settings, enter username, password, leave *99# unaltered, dodolns1, blank, blank
 > >  
 > >  turn off power management, because XO looses connection in sleep mode
 > 
 > I have an enhancements to powerd to inhibit suspend for that issue. The
 > attached proof of concept patch is heavy on tracing, should apply, maybe
 > with an offset, and needs /etc/powerd/flags/modules-inhibits created
 > containing usb_wwan. Once usb_wwan is inserted in the kernel, it remains
 > in memory you can have NM dispatcher or pppd remove the module when the
 > connection is torn down to restore normal power management operation.
 > These features are in testable with au210. Sorry 4g images only, with no
 > firmware in the image. http://build.laptop.org.au/xo/os/latest/

is presence of the module really the best way to do this?  is it
possible to look for the presence of the network interface, or maybe
simply network traffic, or something similar?  i assume using the
existing usb-inhibits is impractical because of the variety of
devices, is that right?  i guess it would be too much to ask for all
GSM devices to be in the same USB class.  :-/

(maybe the module presence check is okay -- it just doesn't feel right.)

paul
=---------------------
 paul fox, pgf at laptop.org


More information about the Sugar-devel mailing list