Ticket #2287 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

battery removal kobject notifications broken in bq2700 power supply class driver

Reported by: mickey Owned by: openmoko-kernel
Priority: normal Milestone: stable-kernel-2009.1
Component: kernel Version: unspecified
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

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.

Change History

comment:1 Changed 5 years ago by lars

  • Status changed from new to closed
  • Resolution set to fixed

Was already fixed some time ago with commit d5095005f091b71d4ad68d152465b52c91957eb8

Note: See TracTickets for help on using tickets.