Bug 11968
Summary: | ACPI: inconsistent acpi event format | ||
---|---|---|---|
Product: | Drivers | Reporter: | Yi Yang (yi.y.yang) |
Component: | Platform | Assignee: | Zhang Rui (rui.zhang) |
Status: | REJECTED INVALID | ||
Severity: | normal | CC: | acpi-bugzilla, yi.y.yang |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.* | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 56331 | ||
Attachments: |
A program acpi-event-listen.c
A patch to fix this bug |
Description
Yi Yang
2008-11-06 18:15:33 UTC
Created attachment 18714 [details]
A program acpi-event-listen.c
A program acpi-event-listen.c, you can make it using the command:
gcc acpi-event-listen.c -o acpi-event-listen
acpi-event-listen uses acpi generic netlink interface to get acpi events.
Created attachment 18715 [details] A patch to fix this bug This patch fixed this bug, it has been sent to linux-acpi@vger.kernel.org, this bug just is for tracking its status. no, this is not a bug. >From /proc/acpi/event, i got the following events when i suspend and >resume Acer's Aspire One: >battery BAT1 00000080 00000000 >... BAT1 is gotten from BIOS, which is arbitrary and even meaningless sometimes. >But from generic netlink socket, i got the following events when i suspend >and resume Acer's Aspire One: >battery PNP0C0A:00 00000080 00000000 >... Exporting ACPI events via netlink is part of ACPI sysfs conversion task. and instead of the pnp_id, the bus_id in sysfs is unique for every ACPI device. these changes are made to get rid of the old procfs I/F. Yi, thanks for your effort on this. Reject this INVALID bug. (In reply to comment #3) > no, this is not a bug. > > >From /proc/acpi/event, i got the following events when i suspend and > >resume Acer's Aspire One: > >battery BAT1 00000080 00000000 > >... > BAT1 is gotten from BIOS, which is arbitrary and even meaningless sometimes. Do you mean events from /proc/acpi/event may be meaningless sometimes? But acpid and hal worked well in the past. > > >But from generic netlink socket, i got the following events when i suspend > >and resume Acer's Aspire One: > >battery PNP0C0A:00 00000080 00000000 > >... > Exporting ACPI events via netlink is part of ACPI sysfs conversion task. > and instead of the pnp_id, the bus_id in sysfs is unique for every ACPI > device. > > these changes are made to get rid of the old procfs I/F. > Yi, thanks for your effort on this. > |