* 2.6.24: (ACPI AC adapter) sending {proc,netlink,kobject}_event from -> resume method?
@ 2007-10-30 19:33 Andrey Borzenkov
2007-10-30 21:28 ` Rafael J. Wysocki
0 siblings, 1 reply; 3+ messages in thread
From: Andrey Borzenkov @ 2007-10-30 19:33 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-acpi
[-- Attachment #1: Type: text/plain, Size: 525 bytes --]
Is it valid to send events from within ->resume device method? If not, what is
the proper way to notify user space about hardware changes during suspension?
Specifically it seems that new sysfs ACPI power supply interface sometimes
missing plugged in AC cord during suspend. I suspect that no event is
generated for this; I am not sure whether ACPI is required to generate such
events at all in this case.
I'll need some time to get reproducible case so I do not categorize this yet
as regression.
-andrey
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.24: (ACPI AC adapter) sending {proc,netlink,kobject}_event from -> resume method?
2007-10-30 19:33 2.6.24: (ACPI AC adapter) sending {proc,netlink,kobject}_event from -> resume method? Andrey Borzenkov
@ 2007-10-30 21:28 ` Rafael J. Wysocki
2007-10-31 4:20 ` Andrey Borzenkov
0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2007-10-30 21:28 UTC (permalink / raw)
To: Andrey Borzenkov; +Cc: linux-kernel, linux-acpi, Alexey Starikovskiy
On Tuesday, 30 October 2007 20:33, Andrey Borzenkov wrote:
> Is it valid to send events from within ->resume device method?
It is or at least it should be. The GPEs are supposed to be fully functional
at this point.
> If not, what is the proper way to notify user space about hardware changes
> during suspension?
> Specifically it seems that new sysfs ACPI power supply interface sometimes
> missing plugged in AC cord during suspend. I suspect that no event is
> generated for this; I am not sure whether ACPI is required to generate such
> events at all in this case.
>
> I'll need some time to get reproducible case so I do not categorize this yet
> as regression.
Is the "[2.6.24-rc1 regression] AC adapter state does not change after resume"
message a follow-up to this one?
Rafael
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.24: (ACPI AC adapter) sending {proc,netlink,kobject}_event from -> resume method?
2007-10-30 21:28 ` Rafael J. Wysocki
@ 2007-10-31 4:20 ` Andrey Borzenkov
0 siblings, 0 replies; 3+ messages in thread
From: Andrey Borzenkov @ 2007-10-31 4:20 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: linux-kernel, linux-acpi, Alexey Starikovskiy
[-- Attachment #1: Type: text/plain, Size: 880 bytes --]
On Wednesday 31 October 2007, Rafael J. Wysocki wrote:
> On Tuesday, 30 October 2007 20:33, Andrey Borzenkov wrote:
> > Is it valid to send events from within ->resume device method?
>
> It is or at least it should be. The GPEs are supposed to be fully
> functional at this point.
>
> > If not, what is the proper way to notify user space about hardware
> > changes during suspension?
> > Specifically it seems that new sysfs ACPI power supply interface
> > sometimes missing plugged in AC cord during suspend. I suspect that no
> > event is generated for this; I am not sure whether ACPI is required to
> > generate such events at all in this case.
> >
> > I'll need some time to get reproducible case so I do not categorize this
> > yet as regression.
>
> Is the "[2.6.24-rc1 regression] AC adapter state does not change after
> resume" message a follow-up to this one?
>
yes
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-31 4:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 19:33 2.6.24: (ACPI AC adapter) sending {proc,netlink,kobject}_event from -> resume method? Andrey Borzenkov
2007-10-30 21:28 ` Rafael J. Wysocki
2007-10-31 4:20 ` Andrey Borzenkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox