can suspend be prevented ?

Chris Ball cjb at laptop.org
Sun Jan 13 00:51:39 EST 2008


Hi,

   > Earlier, had not noticed my G1G1 going into suspend.  Now, with 681
   > + d08, it does so when left to sit.  Unfortunately, after suspend
   > my wired connection no longer works after the system wakes.  Can I
   > prevent suspend from happening?

Yes, with "touch /etc/ohm/inhibit-suspend".  (And "rm" it when done.)

   > [Seems to me such a situation can occur with a child -- what if he
   > is running a science experiment powered from the OLPC USB bus?  He
   > would not want his experiment interrupted by the OLPC dropping
   > power (as happened to my USB-keyboard when the XO suspended).]

Yes, we've considered refusing to suspend when certain classes of USB
devices are plugged in.  This hasn't been implemented yet, though.

- Chris.
-- 
Chris Ball   <cjb at laptop.org>



More information about the Devel mailing list