#6702 HIGH Never A: /etc/inhibit-ebook-suspend needed to prevent suspend when giving .pdf file to ReadActivity on XO (was: what does /etc/ohm/inhibit-suspend do ?)

Zarro Boogs per Child bugtracker at laptop.org
Tue Jun 24 16:53:10 EDT 2008


#6702: /etc/inhibit-ebook-suspend needed to prevent suspend when giving .pdf file
to ReadActivity on XO
---------------------+------------------------------------------------------
  Reporter:  mikus   |       Owner:  jg                               
      Type:  defect  |      Status:  new                              
  Priority:  high    |   Milestone:  Never Assigned                   
 Component:  distro  |     Version:  Development build as of this date
Resolution:          |    Keywords:                                   
  Verified:  0       |    Blocking:                                   
 Blockedby:          |  
---------------------+------------------------------------------------------
Changes (by mikus):

  * priority:  low => high


Comment:

 G1G1 XO; Joyride manually upgraded to 2056 level.

 Used Browse to put a .pdf file into Journal.  Then clicked on that file's
 Journal entry.  ReadActivity was launched to display that file's content.
 I was wondering why it spent a long time in the "Loading" screen, when I
 noticed the power light blinking -- my XO had SUSPENDED.

 [BTW, I have a permanently-mounted SD card.  When I pushed a key and the
 XO resumed, I could (from Terminal) not access the scripts I keep on that
 SD card -- even though Journal showed that SD card to still be "mounted",
 'ls -la' against the root directory of that SD card listed only garbage.]

 --------

 I already had 'touched' /etc/ohm/inhibit-suspend, and /etc/ohm/inhibit-
 idle-suspend.  Encountering the present problem answers my original
 question "what does /etc/ohm/inhibit-suspend do ?"  The answer -- NOTHING
 !!

 To me the present problem is a BLOCKING-severity defect.  [Tried it again
 with /etc/inhibit-ebook-sleep, and was shown the file's content without
 the XO being suspended.]  I would expect having to 'touch' /etc/inhibit-
 ebook-sleep to be necessary if I "twist" my XO into its ebook-
 configuration (folded flat, with screen out).  But what surprised me was
 that the XO went into suspend *merely* by me asking to see a .pdf file,
 while the XO remained in its "open-laptop" configuration (screen
 perpendicular to keyboard).  Wrong, wrong, wrong.

-- 
Ticket URL: <http://dev.laptop.org/ticket/6702#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list