Bug 5362 - No AC Adapter Event from MSI 510C
Summary: No AC Adapter Event from MSI 510C
Status: CLOSED DUPLICATE of bug 3241
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Vladimir Lebedev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-04 11:51 UTC by Gurkan Vural
Modified: 2006-05-16 08:48 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.14-rc1-mm1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
dmesg output after boot with ec_burst=0 (15.73 KB, text/plain)
2005-10-04 11:58 UTC, Gurkan Vural
Details
some acpi debug after plugging ac adapter (58.92 KB, text/plain)
2005-10-04 12:02 UTC, Gurkan Vural
Details
dsdt (113.16 KB, text/plain)
2005-10-04 12:14 UTC, Gurkan Vural
Details
Bus/device events are added to ac./battery notification. (2.50 KB, patch)
2005-12-02 02:22 UTC, Vladimir Lebedev
Details | Diff

Description Gurkan Vural 2005-10-04 11:51:00 UTC
Most recent kernel where this bug did not occur: N/A
Distribution: Gentoo
Hardware Environment: MSI 510C
Software Environment:
Problem Description: No battery or ac event can be received from
/proc/acpi/event. However their status are updated correctly in
/proc/acpi/ac_adapter/ADP1/state and /proc/acpi/battery/BAT1/state.

Steps to reproduce:
Comment 1 Gurkan Vural 2005-10-04 11:55:09 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
Comment 2 Gurkan Vural 2005-10-04 11:58:46 UTC
Created attachment 6219 [details]
dmesg output after boot with ec_burst=0
Comment 3 Gurkan Vural 2005-10-04 12:02:42 UTC
Created attachment 6220 [details]
some acpi debug after plugging ac adapter
Comment 4 Gurkan Vural 2005-10-04 12:14:48 UTC
Created attachment 6221 [details]
dsdt
Comment 5 Len Brown 2005-10-06 21:20:03 UTC
is this a regression, or have older kernels behaved the same way?
Comment 6 Gurkan Vural 2005-10-06 23:51:20 UTC
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.
Comment 7 Vladimir Lebedev 2005-12-02 02:22:47 UTC
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.
Comment 8 Vladimir Lebedev 2005-12-23 05:40:00 UTC

*** This bug has been marked as a duplicate of 3241 ***

Note You need to log in before you can comment on or make changes to this bug.