Ticket #991 (assigned defect)

Opened 6 years ago

Last modified 5 years ago

PMU driver doesn't populate initial input device status

Reported by: mickey@… Owned by: openmoko_kernel
Priority: high Milestone:
Component: kernel Version: unspecified
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

The PMU driver uses the input device nodes to inform userland about the
charger/usb devices being attached or removed from the Neo. However, it seems to
miss the initial population of these bits on driver startup.

When I boot a Neo with a charger cable inserted, the EVIOCGKEY ioctl is supposed
to report that KEY_BATTERY is being held.

Change History

comment:1 Changed 6 years ago by willie_chen@…

  • Owner changed from laforge@… to michael@…

comment:2 Changed 5 years ago by andy

Hm it's true, we do not go around firing initial events. We only fire them when provoked by IRQ from PMU.

comment:3 Changed 5 years ago by roh

  • Owner changed from michael@… to michael

comment:4 Changed 5 years ago by john_lee

  • Owner changed from michael to openmoko_kernel
  • Status changed from new to assigned
  • HasPatchForReview unset
Note: See TracTickets for help on using tickets.