Что уже настроено:
1. ethtool -s eth0 wol g // включили Wake On Lan по magic packet
2. echo -n PCIE > /proc/acpi/wakeup //разрешили сетевой карте через PCI Bridge включать компьютер
Код: Выделить всё
$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
PCI0 S3 *enabled no-bus:pci0000:00
PCIE S4 *enabled pci:0000:00:1e.0
USB1 S3 *disabled pci:0000:00:1d.0
USB2 S3 *disabled pci:0000:00:1d.1
USB3 S3 *disabled pci:0000:00:1d.2
USB4 S3 *disabled pci:0000:00:1a.0
USB5 S3 *disabled pci:0000:00:1a.1
EHC2 S3 *disabled pci:0000:00:1a.7
EHCI S3 *disabled pci:0000:00:1d.7
AZAL S3 *disabled pci:0000:00:1b.0
RP01 S3 *disabled pci:0000:00:1c.0
RP02 S3 *disabled pci:0000:00:1c.1
RP03 S3 *disabled
RP04 S3 *disabled pci:0000:00:1c.3
RP05 S3 *disabled
RP06 S3 *disabled
LID S3 *enabled
PBTN S4 *enabled
MBTN S5 *disabled
Код: Выделить всё
$ lspci -tv
-[0000:00]-+-00.0 Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub
+-02.0 Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary)
+-02.1 Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary)
+-1a.0 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4
+-1a.1 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5
+-1a.7 Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2
+-1b.0 Intel Corporation 82801H (ICH8 Family) HD Audio Controller
+-1c.0-[0b]--
+-1c.1-[0c]----00.0 Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
+-1c.3-[0d-0e]--
+-1d.0 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1
+-1d.1 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2
+-1d.2 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3
+-1d.7 Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1
+-1e.0-[03]--+-00.0 Broadcom Corporation BCM4401-B0 100Base-TX
| +-01.0 Ricoh Co Ltd R5C832 IEEE 1394 Controller
| +-01.1 Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter
| +-01.2 Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter
| \-01.3 Ricoh Co Ltd xD-Picture Card Controller
+-1f.0 Intel Corporation 82801HEM (ICH8M) LPC Interface Controller
+-1f.1 Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller
+-1f.2 Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller
\-1f.3 Intel Corporation 82801H (ICH8 Family) SMBus Controller
3. Уходим в suspend 2 ram. Например, используя
Код: Выделить всё
echo -n mem > /sys/power/state
Светодиоды на сетевой карте горят, то есть она не заснула со всем остальным, а продолжает дальше работать. Но почему-то компьютер не просыпается при получении magic packet.
Моя сетевая карта BCM4401 использует модуль b44. В dmesg нашел кое-что странное:
Код: Выделить всё
[ 4510.750150] PM: Preparing system for mem sleep
[ 4510.917441] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 4510.930119] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.
[ 4510.950292] PM: Entering mem sleep
[ 4510.950318] Suspending console(s) (use no_console_suspend to debug)
[b][ 4510.952295] b44 ssb0:0: eth0: powering down PHY[/b]
[ 4510.952304] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[ 4510.952791] sd 2:0:0:0: [sda] Stopping disk
[b][ 4511.011831] b44 0000:03:00.0: PCI INT A disabled[/b]
[ 4511.011845] ACPI handle has no context!
Может быть дело в этом?