Bug 5362
Summary: | No AC Adapter Event from MSI 510C | ||
---|---|---|---|
Product: | ACPI | Reporter: | Gurkan Vural (gurkan.vural) |
Component: | Power-Other | Assignee: | Vladimir Lebedev (vladimir.p.lebedev) |
Status: | CLOSED DUPLICATE | ||
Severity: | normal | CC: | acpi-bugzilla |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.14-rc1-mm1 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
dmesg output after boot with ec_burst=0
some acpi debug after plugging ac adapter dsdt Bus/device events are added to ac./battery notification. |
Description
Gurkan Vural
2005-10-04 11:51:00 UTC
Below is simple /proc/acpi/battery/BAT1/state and /proc/acpi/ac_adapter/ADP1/state outputs: /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: discharging present rate: 1105 mA remaining capacity: 1516 mAh present voltage: 14831 mV /proc/acpi/ac_adapter/ADP1/state state: off-line and after plugging AC adapter: /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: charging present rate: 2582 mA remaining capacity: 1478 mAh present voltage: 15538 mV /proc/acpi/battery/BAT1/state state: on-line Created attachment 6219 [details]
dmesg output after boot with ec_burst=0
Created attachment 6220 [details]
some acpi debug after plugging ac adapter
Created attachment 6221 [details]
dsdt
is this a regression, or have older kernels behaved the same way? I think the problem is in dsdt. It notifies ac adapter events as 0x00 not 0x80. Also battery notification value is different from the kernel code drivers/acpi/battery.c. Created attachment 6748 [details]
Bus/device events are added to ac./battery notification.
Please try this patch, send the results of ac/battery plugging/unplugging and
dmesg output.
|