2.6.24: (ACPI AC adapter) sending {proc,netlink,kobject}_event from -> resume method?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: <linux-acpi@...>
Date: Tuesday, October 30, 2007 - 3:33 pm

Is it valid to send events from within ->resume device method? If not, what=
 is=20
the proper way to notify user space about hardware changes during suspensio=
n?=20
Specifically it seems that new sysfs ACPI power supply interface sometimes=
=20
missing plugged in AC cord during suspend. I suspect that no event is=20
generated for this; I am not sure whether ACPI is required to generate such=
=20
events at all in this case.

I'll need some time to get reproducible case so I do not categorize this ye=
t=20
as regression.

=2Dandrey
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.24: (ACPI AC adapter) sending {proc,netlink,kobject}_eve..., Andrey Borzenkov, (Tue Oct 30, 3:33 pm)
Re: 2.6.24: (ACPI AC adapter) sending {proc,netlink,kobject}..., Rafael J. Wysocki, (Tue Oct 30, 5:28 pm)
Re: 2.6.24: (ACPI AC adapter) sending {proc,netlink,kobject}..., Andrey Borzenkov, (Wed Oct 31, 12:20 am)