USB 2.0 ports doesn´t works after suspend mode

Thanks again for the tips
I have an idea how cron works

For this specific case I’ve just found other way to run a script after resume of suspending mode::

  • Create a script in /lib/systemd/system-sleep and make it executable

My script:

#!/bin/bash
case "$1" in
	post)
	echo  "0000:00:12.0" > /sys/bus/pci/drivers/ohci-pci/unbind
	echo  "0000:00:12.0" > /sys/bus/pci/drivers/ohci-pci/bind
    ;;
esac

This script could be “polished” but for now, after 20 hours of working on this fault it’s time to rest… :persevere:

2 Likes