#315 HIGH Trial-2: HAL doesn't know about generic battery class devices.

Zarro Boogs per Child bugtracker at laptop.org
Wed Jun 20 11:01:58 EDT 2007


#315: HAL doesn't know about generic battery class devices.
---------------------+------------------------------------------------------
  Reporter:  dwmw2   |       Owner:  dwmw2  
      Type:  defect  |      Status:  new    
  Priority:  high    |   Milestone:  Trial-2
 Component:  distro  |     Version:         
Resolution:          |    Keywords:  battery
  Verified:  0       |  
---------------------+------------------------------------------------------
Comment (by dwmw2):

 A kernel with the new battery class and uevents both hooked up is at
 http://dev.laptop.org/~dilinger/RPMS/i586/kernel-2.6.22-20070620.5.olpc.d2e64c5b3239a02.i586.rpm

 Make sure you're using a relatively recent OpenFirmware release (such as
 Q2C18).

 Note that you'll probably get four uevents when you apply AC or remove it.
 We get two interrupts -- one for the AC change and one for the battery
 status change (charging vs. discharging). But we can't yet tell the
 difference when we receive those interrupts, so each one generates a
 uevent on _both_ AC and battery devices. Hence four in total.

 We'll fix the EC so that we can tell the difference between AC and battery
 related interrupts.

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



More information about the Bugs mailing list