#6010 HIGH Update.: The EC SCI mask should be set in "sleep" mode.

Zarro Boogs per Child bugtracker at laptop.org
Thu Jun 12 20:14:34 EDT 2008


#6010: The EC SCI mask should be set in "sleep" mode.
---------------------+------------------------------------------------------
  Reporter:  cjb     |       Owner:  dsaxena         
      Type:  defect  |      Status:  assigned        
  Priority:  high    |   Milestone:  Update.2 (8.2.0)
 Component:  kernel  |     Version:                  
Resolution:          |    Keywords:                  
  Verified:  0       |    Blocking:  5974            
 Blockedby:          |  
---------------------+------------------------------------------------------

Comment(by dsaxena):

 Replying to [comment:8 pgf]:
 >
 > so if i understand this correctly, userspace will have to read and/or
 write (for example) 8 separate files in order to set and/or test one
 byte's worth of data?  am i alone in thinking this is a little nutty?
 >

 No, not alone and in looking through some sysfs files on my system, it
 doesn't look like
 the "standard" is being followed.

 I don't imagine userspace needing to deal with the all the bits at once. I
 would think we would react to the current state of the system and
 set/unset only the needed bits, but I don't know OHM internals...

 From a testing perspective, it makes it easy for me as a developer to do
 "echo 1 > /sys/power/wakeup_events/foo" and do a quick suspend/resume
 cycle.

 > (and the "you have a chance they can be used by other arches" comment is
 useless.  this isn't even arch-specific -- it's _platform_ specific.)

 True, but we can maybe agree on some generic infrastructure
 (/sys/power/wakeup_events) that can be used across arches.

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


More information about the Bugs mailing list