> is there a way to block suspend when a class of USB device is plugged? This will be very important.. Disable the "automatic power-save" (AKA power off usb..)if one device is using the usb comunication. This can be made?What happens if you want to copy a large file to a pendrive? The system power-offthe usb ever? Alan
> From: martin.langh...@gmail.com > Date: Wed, 21 Nov 2012 02:53:47 -0500 > To: qu...@laptop.org; je...@laptop.org.au; martin.langh...@gmail.com; > a...@activitycentral.com; Devel@lists.laptop.org; > sugar-de...@lists.sugarlabs.org > Subject: Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised > > On Wed, Nov 21, 2012 at 2:40 AM, James Cameron <qu...@laptop.org> wrote: > >> I don't think having an end-user with no experience with USB IDs add > >> an entry to the usb-inhibits file, or having to remember to turn off > >> a major feature is the correct long term solution IMHO. > > You guys are driving OOB, so you short-term you can tweak usb-inhibits > with the 3G modems you have. And you've hacked powerd and other bits > of infra in the past, if there's a better way (ie: is there a way to > block suspend when a class of USB device is plugged? or perhaps an NM > hook could set the inhibit-suspend flag?) you are uniquely well > positioned to know, try likely approaches, etc... > > cheers, > > > > m > -- > martin.langh...@gmail.com > mar...@laptop.org -- Software Architect - OLPC > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > _______________________________________________ > Sugar-devel mailing list > sugar-de...@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel
_______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel