I had a similar problem when I converted a chrome box to linux (remember those). It took a long time for me to figure out the issue (well a week anyways). It turned out to be trivial but I will have to dig into my notes to find the details. Specifically there is a configuration that tells the kernel which devices to watch for wake up from sleep. i had to tell it to watch the usb device (some value you set in /sys). Hum. Here is a note I posted long ago on the topic:
--- (cut and paste of an old note I wrote) --
I'll post the fix here
if anyone else runs into the same issue. It amounts to wakeup not being
enabled in
/sys/bus/usb/devices/*/power/wakeup
-
the fix was to add udev rule:
sudo vi /etc/udev/rules.d/90-keyboardwakeup.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b"
RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"
--
(the device vendor/product have to match your device which can be
obtained vi lsusb)
-
Also this thread talks about how to fix mce which I do not use but
someone else mentioned as being a problem:
http://ubuntuforums.org/archive/index.php/t-1968487.html
--
NOTE: Do not cut and paste; you have to figure out the actual device/vendor using lsusb.
--
Also did not the power switch not work for waking the device ? I.e, when in power saving mode (sleep) it should blink; you should be able to tap it to wake the system (though I prefer to wake with usb devices)
--
Ok, even thought the Amazon.com review said that Ubuntu 14.04.3 worked properly on this J1900 Brix unit, I still couldn't wake it from monitor sleep mode after a few hours. I assume it froze.
So, now I'm trying Linux Mint 17.3 Cinnamon 64-bit, with kernel 3.19.xx, which is supposed to be the "good" kernel series for these Brix units, according to the review in question.
So, I'm going to leave it running on this for a while.
If this freezes, then maybe I'll start unplugging USB devices.
I've got:
USB3.0 dual-drive SATA dock
LG USB DVD-RW 8x
PremierTek USB3.0 AC1200 WiFi (Realtek 8812AU, not directly supported by any mainline kernels yet, but can compile source for it)
some mice and a keyboard
A logitech webcam
I think it's pretty weird too, that I haven't found a Linux distro yet that can properly shutdown or restart these Brix units. Their BIOS must have a REALLY POOR ACPI implementation.