Got it to work by Googeling and error.
On my Ubuntu and Wireless keyboard/mouse setup:
Created a new rule:
Code:
$ sudo gedit /etc/udev/rules.d/90-keyboardwakeup.rules
Entered this in with the correct product and vendor id's (with the help of lsusb):
Code:
SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52e" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"
After a reboot it worked.
On my Mythbuntu and MCE remote setup:
Created a new rule:
Code:
$ sudo gedit /etc/udev/rules.d/90-mcewakeup.rules
Entered this in with the correct product and vendor id's (with the help of lsusb):
Code:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="0815" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"
Edited one line in my grub (added "usbcore.autosuspend=-1 acpi_enforce_resources=lax"):
Code:
sudo gedit /etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1 acpi_enforce_resources=lax"
Then:
Then after a reboot tested it and it worked.
I don't know why the MCE needed the grub line?
Bookmarks