Openmoko Bug #2287: battery removal kobject notifications broken in bq2700 power supply class driver
Openmoko Public Trac
bugs at docs.openmoko.org
Wed May 13 01:03:19 CEST 2009
#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
More information about the openmoko-kernel
mailing list