You are not logged in.

#1 2011-10-07 09:39:34

crid
Member
From: Finland
Registered: 2010-06-26
Posts: 14
Website

Wake up from suspend using bluetooth keyboard

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

#2 2011-10-07 11:28:51

ChojinDSL
Member
From: Germany
Registered: 2010-11-30
Posts: 64
Website

Re: Wake up from suspend using bluetooth keyboard

Is your bluetooth adapter built in or is it an external usb adapter?

Offline

#3 2011-10-07 12:12:03

crid
Member
From: Finland
Registered: 2010-06-26
Posts: 14
Website

Re: Wake up from suspend using bluetooth keyboard

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

#4 2021-09-25 19:25:10

matt_s
Member
Registered: 2021-09-25
Posts: 1

Re: Wake up from suspend using bluetooth keyboard

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

Board footer

Powered by FluxBB