The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 4,749β€…    Votes:  3β€…
Tags: 16.04   suspend   hibernate   lid  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/1060397
Title: Unable to wake with external keyboard while lid is closed
ID: /2018/07/28/Unable-to-wake-with-external-keyboard-while-lid-is-closed
Created: July 28, 2018
Upload: September 15, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


This related answer might be helpful:

You don’t mention if your keyboard is wired or wireless. The basic steps are:

grep . /sys/bus/usb/devices/*/power/wakeup

And then (assuming 8 ports are returned) use:

sudo su
echo enabled > /sys/bus/usb/devices/usb1/power/wakeup
echo enabled > /sys/bus/usb/devices/usb2/power/wakeup
echo enabled > /sys/bus/usb/devices/usb3/power/wakeup
echo enabled > /sys/bus/usb/devices/usb4/power/wakeup
echo enabled > /sys/bus/usb/devices/usb5/power/wakeup
echo enabled > /sys/bus/usb/devices/usb6/power/wakeup
echo enabled > /sys/bus/usb/devices/usb7/power/wakeup
echo enabled > /sys/bus/usb/devices/usb8/power/wakeup
exit

See the accepted answer for all the steps.

⇧ Execute a script when the output of a command has a specific string How to maximize the life of a pendrive which has a full installation of Ubuntu MATE 18.04 on it  β‡©