Possible solution
Possible solution -- seemed to have worked today.
Use sleepwatcher. Add the -S and -W options to /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist to run display sleep and wakeup scripts.
The display sleep script should be:
launchctl remove com.displaylink.usbnivolistener
The display wakeup script should be:
launchctl load /Library/LaunchDaemons/com.displaylink.usbnivolistener.plist
This will cause the driver to be disabled during display sleep and re-enabled during display wakeup. It is very fast, unlike the uninstall/reinstall driver trick. The driver stays installed, just disabled.
|