You are not logged in.
Hi,
Does Linux support waking up machine from suspend using bluetooth keyboard/mouse? When my machine is suspended, I would like to be able to wake it up by just pressing any key on the keyboard. Currently, it won't work. I have a bluetooth keyboard and mouse.
I know it's possible because Windows 7 supports it, so I maybe it's possible to configure that for Linux too?
Offline
Is your bluetooth adapter built in or is it an external usb adapter?
Offline
It's an external one. USB. I started thinking maybe if I disable usb from suspending it might actually work. How do I disable usb from suspending? Or any other ideas?
Cheers!
Last edited by crid (2011-10-07 12:12:39)
Offline
Here's what worked for me.
First, check the bios settings and make sure that wake from USB is not disabled. In my case, bluetooth from the motherboard is a USB device
Find the vendor code and device ID for the bluetooth adapter with
$ lsusb | grep bluetooth -i
Bus 001 Device 002: ID 8087:0039 Intel Corp. AX200 Bluetooth
And add a new udev rule for the vendor code and device ID to enable wake from suspend
/etc/udev/rules.d/91-keyboardmousewakeup.rules
---------------------------------------
SUBSYSTEM=="usb", ATTRS{idVendor}=="8087", ATTRS{idProduct}=="0039" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup;'"
Offline