/etc/systemd/system/usb_wake.service/usr/local/sbin/enable_wakeup.shsudo systemctl enable --now usb_wake./sys/bus/usb/devices/usb1). The udev rule solution is supposed to enable wakeup for a specific device/port (e.g. /sys/bus/usb/devices/1-1), but this isn't supported by (?) the 8bitdo controller. There is no need for a udev rule; this should only need to run once on startup.8BitDo IDLE in lsusb, and has a product id of 3016 (opposed to the controller, which has a product id of 3106). When you turn off the controller, the controller disconnects and 8BitDo IDLE connects instead, causing the computer to wake up. Unsure if there's a way to prevent this.