#6433 NORM Never A: Distance will die after 30 seconds of inactivity due to suspend

Zarro Boogs per Child bugtracker at laptop.org
Tue Feb 12 18:56:04 EST 2008


#6433: Distance will die after 30 seconds of inactivity due to suspend
----------------------------------------+-----------------------------------
  Reporter:  bemasc                     |       Owner:  bemasc        
      Type:  defect                     |      Status:  new           
  Priority:  normal                     |   Milestone:  Never Assigned
 Component:  acoustic-measure-activity  |     Version:                
Resolution:                             |    Keywords:                
  Verified:  0                          |    Blocking:                
 Blockedby:                             |  
----------------------------------------+-----------------------------------
Changes (by cjb):

 * cc: dilinger, dwmw2, jayakumar, jg (added)


Comment:

 Here are my proposals for offering a fix to this, in order of preference:

  * OHM should not suspend if the microphone or camera devices are in use;
 or

  * I should ship a correct/supportable OHM dbus API for temporarily
 inhibiting suspend; or

  * Activities should use the current but unsatisfactory dbus API for
 inhibiting suspend.

 I don't know how to do the first -- can someone on the kernel team tell me
 whether it's possible for userspace to find out whether the ac97 codec or
 camera are in use?

 I think some form of fix should go into Update.1 if it comes easily;
 having Distance break after the first minute of measuring unless you move
 the mouse constantly is no good.

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



More information about the Bugs mailing list