Re: [PATCH] ACPI / WAKEUP : enable wakeup power for physical child devices

2014-12-01 Thread Andrey Skvortsov
On Mon, Dec 01, 2014 at 02:15:36AM +0100, Rafael J. Wysocki wrote: > > > > > > -> dev->wakeup.prepare_count here shold be different from 0 at this point. > > > > Thank you very much for the tip. I checked prepare_count, it was 0. > > I tried fix that and patched ssb and b44 drivers, that are use

Re: [PATCH] ACPI / WAKEUP : enable wakeup power for physical child devices

2014-11-16 Thread Rafael J. Wysocki
On Sunday, November 16, 2014 03:10:01 PM Andrey Skvortsov wrote: > commit f2b56bc808addb908a5bf435d9b942c02af9a7c4 > ("ACPI / PM: Use device wakeup flags for handling ACPI wakeup devices") That commit is from 2011. Can you please tell me what makes you think that it is the source of the problem?

[PATCH] ACPI / WAKEUP : enable wakeup power for physical child devices

2014-11-16 Thread Andrey Skvortsov
commit f2b56bc808addb908a5bf435d9b942c02af9a7c4 ("ACPI / PM: Use device wakeup flags for handling ACPI wakeup devices") broke wake-on-lan for Broadcom BCM4401 Ethernet card (b44) on Dell Vostro 1500 laptop. device_may_wakeup for main ACPI device (PCIE) returns false, because it has can_wakeup = 0.