Openmoko Bug #2287: battery removal kobject notifications broken in bq2700 power supply class driver

2 messages Options
Embed this post
Permalink
Openmoko Public Trac

Openmoko Bug #2287: battery removal kobject notifications broken in bq2700 power supply class driver

Reply Threaded More More options
Print post
Permalink
#2287: battery removal kobject notifications broken in bq2700 power supply class
driver
-----------------------------+----------------------------------------------
 Reporter:  mickey           |          Owner:  openmoko-kernel    
     Type:  defect           |         Status:  new                
 Priority:  normal           |      Milestone:  stable-kernel-2009.1
Component:  System Software  |        Version:  unspecified        
 Severity:  normal           |       Keywords:                      
 Haspatch:  0                |      Blockedby:                      
Estimated:                   |    Patchreview:                      
 Blocking:                   |   Reproducible:                      
-----------------------------+----------------------------------------------
 On removing the battery we get an uevent notification with:

 POWER_SUPPLY_PRESENT = 1

 whereas it should be

 POWER_SUPPLY_PRESENT = 0

 The other values are also bogus on removal. Plus, once the battery has
 been removed, triggering a change notification no longer works by echoing
 "change" to uevent.

 Insertion works fine though.

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2287>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
Openmoko Public Trac

Re: Openmoko Bug #2287: battery removal kobject notifications broken in bq2700 power supply class driver

Reply Threaded More More options
Print post
Permalink
#2287: battery removal kobject notifications broken in bq2700 power supply class
driver
--------------------------------+-------------------------------------------
    Reporter:  mickey           |        Owner:  openmoko-kernel    
        Type:  defect           |       Status:  closed              
    Priority:  normal           |    Milestone:  stable-kernel-2009.1
   Component:  System Software  |      Version:  unspecified        
    Severity:  normal           |   Resolution:  fixed              
    Keywords:                   |     Haspatch:  0                  
   Blockedby:                   |    Estimated:                      
 Patchreview:                   |     Blocking:                      
Reproducible:                   |  
--------------------------------+-------------------------------------------
Changes (by lars):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Was already fixed some time ago with commit
 d5095005f091b71d4ad68d152465b52c91957eb8

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2287#comment:1>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac