#1555 BLOC BTest-4: No way to determine "ebook mode" state.

Zarro Boogs per Child bugtracker at laptop.org
Fri Jun 8 12:25:15 EDT 2007


#1555: No way to determine "ebook mode" state.
----------------------+-----------------------------------------------------
  Reporter:  cjb      |       Owner:  dilinger
      Type:  defect   |      Status:  new     
  Priority:  blocker  |   Milestone:  BTest-4 
 Component:  kernel   |     Version:          
Resolution:           |    Keywords:  power   
  Verified:  0        |  
----------------------+-----------------------------------------------------
Comment (by rsmith):

 >This would allow us more flexibility in the future; we could have an
 interface for >issuing EC commands from userspace ('echo 2a >
 /sys/bus/platform/devices/ec/cmd'),

 Allowing a userspace process to issue the battery EEPROM query commands
 would be very handy in the reporting of battery usage info.

 But if you do this you must filter the commands.  Some of those commands
 like the battery info init, and set SCI mask would do bad things to a
 normal working system.

 Perhaps only allow the ones that read info to be run via a non-privileged
 user.

-- 
Ticket URL: <http://dev.laptop.org/ticket/1555#comment:12>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list