What | Removed | Added |
---|---|---|
CC | tiwai@suse.com | |
Flags | needinfo?(eighter_ball@mail.ru) |
With systemd, you'd just need to create a shell script in /usr/lib/systemd/system-sleep/*. For example, create a file /usr/lib/systemd/system-sleep/01-ohci-hack, containing: #!/bin/sh case "$1" in pre) /usr/sbin/modprobe -r ohci_pci;; post) /usr/sbin/modprobe ohci_pci;; esac exit 0 .... and do "chmod +x /usr/lib/systemd/system-sleep/01-ohci-hack". Please confirm whether this workaround is still valid. Also, check the contents of /proc/acpi/wakeup. If any of the USB-related entries is enabled, try to disable by writing the device to the proc file. For example, if USB1 has the enabled status, run like: echo -n USB1 > /proc/acpi/wakeup Then check the content of the proc file again to see that it's disabled now. Try the latter check before trying the systemd hook.