ACPId suspend-to-ram: can you specify waking up using keyboard events?
This is Gentoo Linux with OpenRC (updated to systemd later on), and ACPI + some power management features in the kernel for Intel. ACPId is up and running. I can suspend to ram using:
echo -n "mem" > /sys/power/state
This works, but I need to use the power button to wake up. Is there a way to wake up from keyboard events like pressing the space bar? The keyboard is a wireless USB keyboard. I've looked at the content of the script in /etc/acpi
and it offers no insight into doing this. Most of the information I find is usually geared at laptop users. Do I really need something like the old pm-utils
to accomplish this and is there anything wrong with just using acpid?
cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P2 S4 *disabled
P0P3 S4 *disabled pci:0000:00:06.0
P0P1 S4 *disabled pci:0000:00:1e.0
PS2K S4 *enabled pnp:00:0b
EUSB S4 *enabled pci:0000:00:1d.7
USBE S4 *enabled pci:0000:00:1a.7
P0P4 S4 *disabled pci:0000:00:1c.0
P0P5 S4 *disabled
P0P6 S4 *disabled pci:0000:00:1c.2
P0P7 S4 *disabled
P0P8 S4 *disabled
P0P9 S4 *disabled
GBEC S4 *disabled
USB0 S4 *enabled pci:0000:00:1d.0
USB1 S4 *enabled pci:0000:00:1d.1
USB2 S4 *enabled pci:0000:00:1d.2
USB3 S4 *disabled
USB4 S4 *enabled pci:0000:00:1a.0
USB5 S4 *enabled pci:0000:00:1a.1
USB6 S4 *enabled pci:0000:00:1a.2
MBT4 S4 *disabled
Seemingly relevant kernel options used (3.10.25-gentoo SMP, 64bit, IA32emul=off, no-multilib):
- CONFIG_HOTPLUG_CPU=y and with cpu0_hotplug by default
- Suspend to ram and standby Hibernation
- Power mgmt debug support
- Suspend/resume event tracing
- ACPI support
- CPU idle PM support
- Cpuidle Driver for Intel Processors
- Support for systemd through Gentoo option in kernel was enabled
BIOS setup is pretty standard:
- I've enabled ACPI2.0 extra tables
- Not seeing any wake events for USB but I've tried wake up events from
PCI/PCIe/PS2 etc but indeed this is a wireless usb keyboard - Board is old school winner Maximus Formula with Q6600 Core2quad
OpenRC was updated to systemd
and the kernel was recompiled to support that. Configuration was also updated like so. With systemd, apcid is not required in all instances. For instance without running you can issue systemctl suspend
and the behavior is... the same as before i.e. wake up only from power button...
pstree
output:
systemd
├─acpid -f
├─at-spi-bus-laun
│ ├─dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork--print-addres
│ └─2*[{at-spi-bus-laun}]
├─at-spi2-registr --use-gnome-session
│ └─{at-spi2-registr}
├─dbus-daemon --system --address=systemd: --nofork --nopidfile--systemd-activation
├─dbus-daemon --fork --print-pid 5 --print-address 7 --session
├─dbus-launch --sh-syntax --exit-with-session
├─dhcpcd -q --nobackground
├─login --
│ └─bash
│ └─startx /usr/bin/startx
│ └─xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 -auth...
│ ├─X -nolisten tcp :0 -auth /home/user/.serverauth.3329
│ └─openbox --startup /usr/libexec/openbox-autostart OPENBOX
│ ├─firefox
│ │ ├─plugin-containe ...
│ │ │ └─6*[{plugin-containe}]
│ │ └─35*[{firefox}]
│ └─vlc
│ └─4*[{vlc}]
├─lxterminal
│ ├─bash
│ │ └─htop
│ ├─bash
│ │ └─su
│ │ └─bash
│ │ └─grc /usr/lib/python-exec/python2.7/grc tail -f ...
│ │ ├─grcat /usr/lib/python-exec/python2.7/grcat conf.log
│ │ └─tail -f /var/log/emerge.log
│ ├─bash
│ ├─gnome-pty-helpe
│ └─{lxterminal}
├─mount.ntfs /dev/sdb1 /mnt/div -o rw
├─roxterm
│ ├─bash
│ │ └─su
│ │ └─bash
│ │ └─pstree -a
│ ├─gnome-pty-helpe
│ └─{roxterm}
├─systemd --user
│ └─(sd-pam)
├─systemd-journal
├─systemd-logind
├─systemd-udevd
├─wbar --pos bot-right --taskbar --isize 24
└─xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55
gentoo acpi acpid
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
This is Gentoo Linux with OpenRC (updated to systemd later on), and ACPI + some power management features in the kernel for Intel. ACPId is up and running. I can suspend to ram using:
echo -n "mem" > /sys/power/state
This works, but I need to use the power button to wake up. Is there a way to wake up from keyboard events like pressing the space bar? The keyboard is a wireless USB keyboard. I've looked at the content of the script in /etc/acpi
and it offers no insight into doing this. Most of the information I find is usually geared at laptop users. Do I really need something like the old pm-utils
to accomplish this and is there anything wrong with just using acpid?
cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P2 S4 *disabled
P0P3 S4 *disabled pci:0000:00:06.0
P0P1 S4 *disabled pci:0000:00:1e.0
PS2K S4 *enabled pnp:00:0b
EUSB S4 *enabled pci:0000:00:1d.7
USBE S4 *enabled pci:0000:00:1a.7
P0P4 S4 *disabled pci:0000:00:1c.0
P0P5 S4 *disabled
P0P6 S4 *disabled pci:0000:00:1c.2
P0P7 S4 *disabled
P0P8 S4 *disabled
P0P9 S4 *disabled
GBEC S4 *disabled
USB0 S4 *enabled pci:0000:00:1d.0
USB1 S4 *enabled pci:0000:00:1d.1
USB2 S4 *enabled pci:0000:00:1d.2
USB3 S4 *disabled
USB4 S4 *enabled pci:0000:00:1a.0
USB5 S4 *enabled pci:0000:00:1a.1
USB6 S4 *enabled pci:0000:00:1a.2
MBT4 S4 *disabled
Seemingly relevant kernel options used (3.10.25-gentoo SMP, 64bit, IA32emul=off, no-multilib):
- CONFIG_HOTPLUG_CPU=y and with cpu0_hotplug by default
- Suspend to ram and standby Hibernation
- Power mgmt debug support
- Suspend/resume event tracing
- ACPI support
- CPU idle PM support
- Cpuidle Driver for Intel Processors
- Support for systemd through Gentoo option in kernel was enabled
BIOS setup is pretty standard:
- I've enabled ACPI2.0 extra tables
- Not seeing any wake events for USB but I've tried wake up events from
PCI/PCIe/PS2 etc but indeed this is a wireless usb keyboard - Board is old school winner Maximus Formula with Q6600 Core2quad
OpenRC was updated to systemd
and the kernel was recompiled to support that. Configuration was also updated like so. With systemd, apcid is not required in all instances. For instance without running you can issue systemctl suspend
and the behavior is... the same as before i.e. wake up only from power button...
pstree
output:
systemd
├─acpid -f
├─at-spi-bus-laun
│ ├─dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork--print-addres
│ └─2*[{at-spi-bus-laun}]
├─at-spi2-registr --use-gnome-session
│ └─{at-spi2-registr}
├─dbus-daemon --system --address=systemd: --nofork --nopidfile--systemd-activation
├─dbus-daemon --fork --print-pid 5 --print-address 7 --session
├─dbus-launch --sh-syntax --exit-with-session
├─dhcpcd -q --nobackground
├─login --
│ └─bash
│ └─startx /usr/bin/startx
│ └─xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 -auth...
│ ├─X -nolisten tcp :0 -auth /home/user/.serverauth.3329
│ └─openbox --startup /usr/libexec/openbox-autostart OPENBOX
│ ├─firefox
│ │ ├─plugin-containe ...
│ │ │ └─6*[{plugin-containe}]
│ │ └─35*[{firefox}]
│ └─vlc
│ └─4*[{vlc}]
├─lxterminal
│ ├─bash
│ │ └─htop
│ ├─bash
│ │ └─su
│ │ └─bash
│ │ └─grc /usr/lib/python-exec/python2.7/grc tail -f ...
│ │ ├─grcat /usr/lib/python-exec/python2.7/grcat conf.log
│ │ └─tail -f /var/log/emerge.log
│ ├─bash
│ ├─gnome-pty-helpe
│ └─{lxterminal}
├─mount.ntfs /dev/sdb1 /mnt/div -o rw
├─roxterm
│ ├─bash
│ │ └─su
│ │ └─bash
│ │ └─pstree -a
│ ├─gnome-pty-helpe
│ └─{roxterm}
├─systemd --user
│ └─(sd-pam)
├─systemd-journal
├─systemd-logind
├─systemd-udevd
├─wbar --pos bot-right --taskbar --isize 24
└─xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55
gentoo acpi acpid
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
This is Gentoo Linux with OpenRC (updated to systemd later on), and ACPI + some power management features in the kernel for Intel. ACPId is up and running. I can suspend to ram using:
echo -n "mem" > /sys/power/state
This works, but I need to use the power button to wake up. Is there a way to wake up from keyboard events like pressing the space bar? The keyboard is a wireless USB keyboard. I've looked at the content of the script in /etc/acpi
and it offers no insight into doing this. Most of the information I find is usually geared at laptop users. Do I really need something like the old pm-utils
to accomplish this and is there anything wrong with just using acpid?
cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P2 S4 *disabled
P0P3 S4 *disabled pci:0000:00:06.0
P0P1 S4 *disabled pci:0000:00:1e.0
PS2K S4 *enabled pnp:00:0b
EUSB S4 *enabled pci:0000:00:1d.7
USBE S4 *enabled pci:0000:00:1a.7
P0P4 S4 *disabled pci:0000:00:1c.0
P0P5 S4 *disabled
P0P6 S4 *disabled pci:0000:00:1c.2
P0P7 S4 *disabled
P0P8 S4 *disabled
P0P9 S4 *disabled
GBEC S4 *disabled
USB0 S4 *enabled pci:0000:00:1d.0
USB1 S4 *enabled pci:0000:00:1d.1
USB2 S4 *enabled pci:0000:00:1d.2
USB3 S4 *disabled
USB4 S4 *enabled pci:0000:00:1a.0
USB5 S4 *enabled pci:0000:00:1a.1
USB6 S4 *enabled pci:0000:00:1a.2
MBT4 S4 *disabled
Seemingly relevant kernel options used (3.10.25-gentoo SMP, 64bit, IA32emul=off, no-multilib):
- CONFIG_HOTPLUG_CPU=y and with cpu0_hotplug by default
- Suspend to ram and standby Hibernation
- Power mgmt debug support
- Suspend/resume event tracing
- ACPI support
- CPU idle PM support
- Cpuidle Driver for Intel Processors
- Support for systemd through Gentoo option in kernel was enabled
BIOS setup is pretty standard:
- I've enabled ACPI2.0 extra tables
- Not seeing any wake events for USB but I've tried wake up events from
PCI/PCIe/PS2 etc but indeed this is a wireless usb keyboard - Board is old school winner Maximus Formula with Q6600 Core2quad
OpenRC was updated to systemd
and the kernel was recompiled to support that. Configuration was also updated like so. With systemd, apcid is not required in all instances. For instance without running you can issue systemctl suspend
and the behavior is... the same as before i.e. wake up only from power button...
pstree
output:
systemd
├─acpid -f
├─at-spi-bus-laun
│ ├─dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork--print-addres
│ └─2*[{at-spi-bus-laun}]
├─at-spi2-registr --use-gnome-session
│ └─{at-spi2-registr}
├─dbus-daemon --system --address=systemd: --nofork --nopidfile--systemd-activation
├─dbus-daemon --fork --print-pid 5 --print-address 7 --session
├─dbus-launch --sh-syntax --exit-with-session
├─dhcpcd -q --nobackground
├─login --
│ └─bash
│ └─startx /usr/bin/startx
│ └─xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 -auth...
│ ├─X -nolisten tcp :0 -auth /home/user/.serverauth.3329
│ └─openbox --startup /usr/libexec/openbox-autostart OPENBOX
│ ├─firefox
│ │ ├─plugin-containe ...
│ │ │ └─6*[{plugin-containe}]
│ │ └─35*[{firefox}]
│ └─vlc
│ └─4*[{vlc}]
├─lxterminal
│ ├─bash
│ │ └─htop
│ ├─bash
│ │ └─su
│ │ └─bash
│ │ └─grc /usr/lib/python-exec/python2.7/grc tail -f ...
│ │ ├─grcat /usr/lib/python-exec/python2.7/grcat conf.log
│ │ └─tail -f /var/log/emerge.log
│ ├─bash
│ ├─gnome-pty-helpe
│ └─{lxterminal}
├─mount.ntfs /dev/sdb1 /mnt/div -o rw
├─roxterm
│ ├─bash
│ │ └─su
│ │ └─bash
│ │ └─pstree -a
│ ├─gnome-pty-helpe
│ └─{roxterm}
├─systemd --user
│ └─(sd-pam)
├─systemd-journal
├─systemd-logind
├─systemd-udevd
├─wbar --pos bot-right --taskbar --isize 24
└─xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55
gentoo acpi acpid
This is Gentoo Linux with OpenRC (updated to systemd later on), and ACPI + some power management features in the kernel for Intel. ACPId is up and running. I can suspend to ram using:
echo -n "mem" > /sys/power/state
This works, but I need to use the power button to wake up. Is there a way to wake up from keyboard events like pressing the space bar? The keyboard is a wireless USB keyboard. I've looked at the content of the script in /etc/acpi
and it offers no insight into doing this. Most of the information I find is usually geared at laptop users. Do I really need something like the old pm-utils
to accomplish this and is there anything wrong with just using acpid?
cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P2 S4 *disabled
P0P3 S4 *disabled pci:0000:00:06.0
P0P1 S4 *disabled pci:0000:00:1e.0
PS2K S4 *enabled pnp:00:0b
EUSB S4 *enabled pci:0000:00:1d.7
USBE S4 *enabled pci:0000:00:1a.7
P0P4 S4 *disabled pci:0000:00:1c.0
P0P5 S4 *disabled
P0P6 S4 *disabled pci:0000:00:1c.2
P0P7 S4 *disabled
P0P8 S4 *disabled
P0P9 S4 *disabled
GBEC S4 *disabled
USB0 S4 *enabled pci:0000:00:1d.0
USB1 S4 *enabled pci:0000:00:1d.1
USB2 S4 *enabled pci:0000:00:1d.2
USB3 S4 *disabled
USB4 S4 *enabled pci:0000:00:1a.0
USB5 S4 *enabled pci:0000:00:1a.1
USB6 S4 *enabled pci:0000:00:1a.2
MBT4 S4 *disabled
Seemingly relevant kernel options used (3.10.25-gentoo SMP, 64bit, IA32emul=off, no-multilib):
- CONFIG_HOTPLUG_CPU=y and with cpu0_hotplug by default
- Suspend to ram and standby Hibernation
- Power mgmt debug support
- Suspend/resume event tracing
- ACPI support
- CPU idle PM support
- Cpuidle Driver for Intel Processors
- Support for systemd through Gentoo option in kernel was enabled
BIOS setup is pretty standard:
- I've enabled ACPI2.0 extra tables
- Not seeing any wake events for USB but I've tried wake up events from
PCI/PCIe/PS2 etc but indeed this is a wireless usb keyboard - Board is old school winner Maximus Formula with Q6600 Core2quad
OpenRC was updated to systemd
and the kernel was recompiled to support that. Configuration was also updated like so. With systemd, apcid is not required in all instances. For instance without running you can issue systemctl suspend
and the behavior is... the same as before i.e. wake up only from power button...
pstree
output:
systemd
├─acpid -f
├─at-spi-bus-laun
│ ├─dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork--print-addres
│ └─2*[{at-spi-bus-laun}]
├─at-spi2-registr --use-gnome-session
│ └─{at-spi2-registr}
├─dbus-daemon --system --address=systemd: --nofork --nopidfile--systemd-activation
├─dbus-daemon --fork --print-pid 5 --print-address 7 --session
├─dbus-launch --sh-syntax --exit-with-session
├─dhcpcd -q --nobackground
├─login --
│ └─bash
│ └─startx /usr/bin/startx
│ └─xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 -auth...
│ ├─X -nolisten tcp :0 -auth /home/user/.serverauth.3329
│ └─openbox --startup /usr/libexec/openbox-autostart OPENBOX
│ ├─firefox
│ │ ├─plugin-containe ...
│ │ │ └─6*[{plugin-containe}]
│ │ └─35*[{firefox}]
│ └─vlc
│ └─4*[{vlc}]
├─lxterminal
│ ├─bash
│ │ └─htop
│ ├─bash
│ │ └─su
│ │ └─bash
│ │ └─grc /usr/lib/python-exec/python2.7/grc tail -f ...
│ │ ├─grcat /usr/lib/python-exec/python2.7/grcat conf.log
│ │ └─tail -f /var/log/emerge.log
│ ├─bash
│ ├─gnome-pty-helpe
│ └─{lxterminal}
├─mount.ntfs /dev/sdb1 /mnt/div -o rw
├─roxterm
│ ├─bash
│ │ └─su
│ │ └─bash
│ │ └─pstree -a
│ ├─gnome-pty-helpe
│ └─{roxterm}
├─systemd --user
│ └─(sd-pam)
├─systemd-journal
├─systemd-logind
├─systemd-udevd
├─wbar --pos bot-right --taskbar --isize 24
└─xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55
gentoo acpi acpid
gentoo acpi acpid
edited Jan 12 '14 at 5:52
jus cogens prime
asked Jan 10 '14 at 21:50
jus cogens primejus cogens prime
2,70693067
2,70693067
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
This is often also a BIOS setting. You can check it with:
grep ^PWRB /proc/acpi/wakeup
and enable it with
echo "PWRB" > /proc/acpi/wakeup
It echoes nothing with my setup. I added the output to the Q. I will try setting it up later. Thanks!
– jus cogens prime
Jan 10 '14 at 23:04
It doesn't alter the behavior with my setup. Actually, I don't have that variable in /proc/acpi/wakeup and trying to set it doesn't make anything new appear when I do the listing I did. I enabled ACPI2.0 extra tables in the bios and tried even allowing spacebar to turn on, nothing impacts anything. I guess I'll be pressing that power button for the moment...
– jus cogens prime
Jan 10 '14 at 23:57
What about your BIOS settings? There is often a WakeUP behaviour.
– user55518
Jan 11 '14 at 0:06
add a comment |
It depends mainly on the used hardware and not on the software.
To be able to resume from a keyboard event on an USB keyboard
- the BIOS must support resuming from an USB event. In your case
USB0
, etc. in/proc/acpi/wakeup
confirm the support. - the USB ports must be powered while in suspend. This is often a BIOS setting or controlled by a jumper on the mainboard. The procedure is usually documented in the mainboards manual.
- The keyboard needs to support sending an event while the operating system isn't running. Especially wireless keyboards may not support this, mostly to save power and to simplify the firmware.
As your /proc/acpi/wakeup
shows that the BIOS supports wakeup via USB from suspend and even hibernation (S4
in the second column) and wakeup is enabled for most USB ports (third column), there is a high probablility that your wireless keyboard is the culprit and nothing you change in the OS or in the BIOS will make wakeup work with it.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f108802%2facpid-suspend-to-ram-can-you-specify-waking-up-using-keyboard-events%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is often also a BIOS setting. You can check it with:
grep ^PWRB /proc/acpi/wakeup
and enable it with
echo "PWRB" > /proc/acpi/wakeup
It echoes nothing with my setup. I added the output to the Q. I will try setting it up later. Thanks!
– jus cogens prime
Jan 10 '14 at 23:04
It doesn't alter the behavior with my setup. Actually, I don't have that variable in /proc/acpi/wakeup and trying to set it doesn't make anything new appear when I do the listing I did. I enabled ACPI2.0 extra tables in the bios and tried even allowing spacebar to turn on, nothing impacts anything. I guess I'll be pressing that power button for the moment...
– jus cogens prime
Jan 10 '14 at 23:57
What about your BIOS settings? There is often a WakeUP behaviour.
– user55518
Jan 11 '14 at 0:06
add a comment |
This is often also a BIOS setting. You can check it with:
grep ^PWRB /proc/acpi/wakeup
and enable it with
echo "PWRB" > /proc/acpi/wakeup
It echoes nothing with my setup. I added the output to the Q. I will try setting it up later. Thanks!
– jus cogens prime
Jan 10 '14 at 23:04
It doesn't alter the behavior with my setup. Actually, I don't have that variable in /proc/acpi/wakeup and trying to set it doesn't make anything new appear when I do the listing I did. I enabled ACPI2.0 extra tables in the bios and tried even allowing spacebar to turn on, nothing impacts anything. I guess I'll be pressing that power button for the moment...
– jus cogens prime
Jan 10 '14 at 23:57
What about your BIOS settings? There is often a WakeUP behaviour.
– user55518
Jan 11 '14 at 0:06
add a comment |
This is often also a BIOS setting. You can check it with:
grep ^PWRB /proc/acpi/wakeup
and enable it with
echo "PWRB" > /proc/acpi/wakeup
This is often also a BIOS setting. You can check it with:
grep ^PWRB /proc/acpi/wakeup
and enable it with
echo "PWRB" > /proc/acpi/wakeup
edited Jan 11 '14 at 9:51
answered Jan 10 '14 at 22:49
user55518
It echoes nothing with my setup. I added the output to the Q. I will try setting it up later. Thanks!
– jus cogens prime
Jan 10 '14 at 23:04
It doesn't alter the behavior with my setup. Actually, I don't have that variable in /proc/acpi/wakeup and trying to set it doesn't make anything new appear when I do the listing I did. I enabled ACPI2.0 extra tables in the bios and tried even allowing spacebar to turn on, nothing impacts anything. I guess I'll be pressing that power button for the moment...
– jus cogens prime
Jan 10 '14 at 23:57
What about your BIOS settings? There is often a WakeUP behaviour.
– user55518
Jan 11 '14 at 0:06
add a comment |
It echoes nothing with my setup. I added the output to the Q. I will try setting it up later. Thanks!
– jus cogens prime
Jan 10 '14 at 23:04
It doesn't alter the behavior with my setup. Actually, I don't have that variable in /proc/acpi/wakeup and trying to set it doesn't make anything new appear when I do the listing I did. I enabled ACPI2.0 extra tables in the bios and tried even allowing spacebar to turn on, nothing impacts anything. I guess I'll be pressing that power button for the moment...
– jus cogens prime
Jan 10 '14 at 23:57
What about your BIOS settings? There is often a WakeUP behaviour.
– user55518
Jan 11 '14 at 0:06
It echoes nothing with my setup. I added the output to the Q. I will try setting it up later. Thanks!
– jus cogens prime
Jan 10 '14 at 23:04
It echoes nothing with my setup. I added the output to the Q. I will try setting it up later. Thanks!
– jus cogens prime
Jan 10 '14 at 23:04
It doesn't alter the behavior with my setup. Actually, I don't have that variable in /proc/acpi/wakeup and trying to set it doesn't make anything new appear when I do the listing I did. I enabled ACPI2.0 extra tables in the bios and tried even allowing spacebar to turn on, nothing impacts anything. I guess I'll be pressing that power button for the moment...
– jus cogens prime
Jan 10 '14 at 23:57
It doesn't alter the behavior with my setup. Actually, I don't have that variable in /proc/acpi/wakeup and trying to set it doesn't make anything new appear when I do the listing I did. I enabled ACPI2.0 extra tables in the bios and tried even allowing spacebar to turn on, nothing impacts anything. I guess I'll be pressing that power button for the moment...
– jus cogens prime
Jan 10 '14 at 23:57
What about your BIOS settings? There is often a WakeUP behaviour.
– user55518
Jan 11 '14 at 0:06
What about your BIOS settings? There is often a WakeUP behaviour.
– user55518
Jan 11 '14 at 0:06
add a comment |
It depends mainly on the used hardware and not on the software.
To be able to resume from a keyboard event on an USB keyboard
- the BIOS must support resuming from an USB event. In your case
USB0
, etc. in/proc/acpi/wakeup
confirm the support. - the USB ports must be powered while in suspend. This is often a BIOS setting or controlled by a jumper on the mainboard. The procedure is usually documented in the mainboards manual.
- The keyboard needs to support sending an event while the operating system isn't running. Especially wireless keyboards may not support this, mostly to save power and to simplify the firmware.
As your /proc/acpi/wakeup
shows that the BIOS supports wakeup via USB from suspend and even hibernation (S4
in the second column) and wakeup is enabled for most USB ports (third column), there is a high probablility that your wireless keyboard is the culprit and nothing you change in the OS or in the BIOS will make wakeup work with it.
add a comment |
It depends mainly on the used hardware and not on the software.
To be able to resume from a keyboard event on an USB keyboard
- the BIOS must support resuming from an USB event. In your case
USB0
, etc. in/proc/acpi/wakeup
confirm the support. - the USB ports must be powered while in suspend. This is often a BIOS setting or controlled by a jumper on the mainboard. The procedure is usually documented in the mainboards manual.
- The keyboard needs to support sending an event while the operating system isn't running. Especially wireless keyboards may not support this, mostly to save power and to simplify the firmware.
As your /proc/acpi/wakeup
shows that the BIOS supports wakeup via USB from suspend and even hibernation (S4
in the second column) and wakeup is enabled for most USB ports (third column), there is a high probablility that your wireless keyboard is the culprit and nothing you change in the OS or in the BIOS will make wakeup work with it.
add a comment |
It depends mainly on the used hardware and not on the software.
To be able to resume from a keyboard event on an USB keyboard
- the BIOS must support resuming from an USB event. In your case
USB0
, etc. in/proc/acpi/wakeup
confirm the support. - the USB ports must be powered while in suspend. This is often a BIOS setting or controlled by a jumper on the mainboard. The procedure is usually documented in the mainboards manual.
- The keyboard needs to support sending an event while the operating system isn't running. Especially wireless keyboards may not support this, mostly to save power and to simplify the firmware.
As your /proc/acpi/wakeup
shows that the BIOS supports wakeup via USB from suspend and even hibernation (S4
in the second column) and wakeup is enabled for most USB ports (third column), there is a high probablility that your wireless keyboard is the culprit and nothing you change in the OS or in the BIOS will make wakeup work with it.
It depends mainly on the used hardware and not on the software.
To be able to resume from a keyboard event on an USB keyboard
- the BIOS must support resuming from an USB event. In your case
USB0
, etc. in/proc/acpi/wakeup
confirm the support. - the USB ports must be powered while in suspend. This is often a BIOS setting or controlled by a jumper on the mainboard. The procedure is usually documented in the mainboards manual.
- The keyboard needs to support sending an event while the operating system isn't running. Especially wireless keyboards may not support this, mostly to save power and to simplify the firmware.
As your /proc/acpi/wakeup
shows that the BIOS supports wakeup via USB from suspend and even hibernation (S4
in the second column) and wakeup is enabled for most USB ports (third column), there is a high probablility that your wireless keyboard is the culprit and nothing you change in the OS or in the BIOS will make wakeup work with it.
answered Mar 7 '16 at 2:11
cg909cg909
2,7911221
2,7911221
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f108802%2facpid-suspend-to-ram-can-you-specify-waking-up-using-keyboard-events%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown