Archive:HOW-TO:Enable Wake-On-Device for Ubuntu: Difference between revisions
Jump to navigation
Jump to search
>Outleradam No edit summary |
>Outleradam No edit summary |
||
Line 4: | Line 4: | ||
== Identification of resume devices == | == Identification of resume devices == | ||
This section discusses identification of the resume devices | |||
=== Authorized resume devices === | |||
* From your terminal type the following to gain a list of all authorized resume devices | * From your terminal type the following to gain a list of all authorized resume devices | ||
cat /proc/acpi/wakeup | cat /proc/acpi/wakeup | ||
You will see a list of authorized resume devices | |||
EG. | EG. | ||
root@XBMCLive:~# cat /proc/acpi/wakeup | root@XBMCLive:~# cat /proc/acpi/wakeup | ||
Line 19: | Line 23: | ||
AZAD S5 disabled pci:0000:00:05.0 | AZAD S5 disabled pci:0000:00:05.0 | ||
MMAC S5 disabled pci:0000:00:07.0 | MMAC S5 disabled pci:0000:00:07.0 | ||
=== more information on devices === | |||
* You can get more information on wakeup devices by typing the following in a console | |||
lspci | |||
You will see a list of PCI devices. The first coloumn in lspci will match the Sysfs node coloumn in /proc/acpi/wakeup | |||
EG. | |||
root@XBMCLive:~# lspci | |||
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1) | |||
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2) | |||
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2) | |||
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2) | |||
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3) | |||
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3) | |||
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1) | |||
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2) | |||
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2) | |||
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2) | |||
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2) | |||
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2) | |||
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2) | |||
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2) | |||
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2) | |||
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 6150SE nForce 430] (rev a2) | |||
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration | |||
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map | |||
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller | |||
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control | |||
== Enabling wakeup status for devices == | == Enabling wakeup status for devices == | ||
Line 28: | Line 62: | ||
root@XBMCLive:~# echo USB2 > /proc/acpi/wakeup | root@XBMCLive:~# echo USB2 > /proc/acpi/wakeup | ||
== Verification of wakeup status == | |||
This section discusses verifying proper operation of the resume function | |||
=== Verifying enabled devices === | |||
* Type the following to verify proper wakeup device status | * Type the following to verify proper wakeup device status | ||
cat /proc/acpi/wakeup | cat /proc/acpi/wakeup | ||
EG. | EG. | ||
root@XBMCLive:~# cat /proc/acpi/wakeup | root@XBMCLive:~# cat /proc/acpi/wakeup | ||
Line 47: | Line 85: | ||
You should now see that your devices are enabled. Test your resume function at this time and verify proper operation. | You should now see that your devices are enabled. Test your resume function at this time and verify proper operation. | ||
=== Troubleshooting auto-resume === | |||
If an enabled device resumes the computer from standby at an undesired time, you may choose to disable it using the same command you used to enable it. |
Revision as of 22:59, 15 November 2009
This Article discusses enabling wake-up from your remote device.
Identification of resume devices
This section discusses identification of the resume devices
Authorized resume devices
- From your terminal type the following to gain a list of all authorized resume devices
cat /proc/acpi/wakeup
You will see a list of authorized resume devices EG.
root@XBMCLive:~# cat /proc/acpi/wakeup Device S-state Status Sysfs node HUB0 S5 disabled pci:0000:00:04.0 XVR0 S5 disabled pci:0000:00:09.0 XVR1 S5 disabled pci:0000:00:0b.0 XVR2 S5 disabled pci:0000:00:0c.0 PS2M S4 disabled pnp:00:08 PS2K S4 disabled pnp:00:09 USB0 S3 disabled pci:0000:00:02.0 USB2 S3 disabled pci:0000:00:02.1 AZAD S5 disabled pci:0000:00:05.0 MMAC S5 disabled pci:0000:00:07.0
more information on devices
- You can get more information on wakeup devices by typing the following in a console
lspci
You will see a list of PCI devices. The first coloumn in lspci will match the Sysfs node coloumn in /proc/acpi/wakeup
EG.
root@XBMCLive:~# lspci 00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1) 00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2) 00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2) 00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2) 00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3) 00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3) 00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1) 00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2) 00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2) 00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2) 00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2) 00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2) 00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2) 00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2) 00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2) 00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 6150SE nForce 430] (rev a2) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
Enabling wakeup status for devices
- enable wakeup devices to resume the computer by typing the following where **** is replaced with the corresponding device
echo **** > /proc/acpi/wakeup
EG.
root@XBMCLive:~# echo USB0 > /proc/acpi/wakeup root@XBMCLive:~# echo USB2 > /proc/acpi/wakeup
Verification of wakeup status
This section discusses verifying proper operation of the resume function
Verifying enabled devices
- Type the following to verify proper wakeup device status
cat /proc/acpi/wakeup
EG.
root@XBMCLive:~# cat /proc/acpi/wakeup Device S-state Status Sysfs node HUB0 S5 disabled pci:0000:00:04.0 XVR0 S5 disabled pci:0000:00:09.0 XVR1 S5 disabled pci:0000:00:0b.0 XVR2 S5 disabled pci:0000:00:0c.0 PS2M S4 disabled pnp:00:08 PS2K S4 disabled pnp:00:09 USB0 S3 enabled pci:0000:00:02.0 USB2 S3 enabled pci:0000:00:02.1 AZAD S5 disabled pci:0000:00:05.0 MMAC S5 disabled pci:0000:00:07.0
You should now see that your devices are enabled. Test your resume function at this time and verify proper operation.
Troubleshooting auto-resume
If an enabled device resumes the computer from standby at an undesired time, you may choose to disable it using the same command you used to enable it.