Project

General

Profile

Feature #6460

want better acpi nexus

Added by Hans Rosenfeld over 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2015-11-18
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

The current ACPI nexus driver seems to be quite limited. While working on 6441 I wasn't able to figure out how to get a notification when a new ACPI device is added to the system (such as an extra battery). It seems devices need to be enumerated manually, and then ACPI objects can be initialized for them and have notifications attached to them. Also, for some very odd reason ACPI drivers are pseudo drivers despite controlling hardware.

It would be much better if the ACPI nexus driver would present itself as a self-identifying bus, using some sort of notification from acpica for device add/removal. Drivers for various ACPI devices like batteries, AC adapters, etc. should be simple device drivers that attach several times for each such device.

Also available in: Atom PDF