7

I have a DisplayLink 3rd monitor on a Mac Mini. Half the time I wake the computer up, the DisplayLink syncs but the graphics onscreen are garbled. Reaching behind the computer and unplugging/plugging the DisplayLink USB cable fixes it every time.

But this stinks.

Is there a terminal command or AppleScript I could run to make the Mac pretend the USB device was replugged? This would be a much nicer way to bring the DisplayLink back to life.

I found the unmounting USB drives answer which is similar but obviously won't work for a display.

Thanks for any hints.

As for the DisplayLink, it's pretty laggy and I'm stuck on Mountain Lion, but it was cheap and recycles my old monitor. It works just well enough that I'd recommend it to someone with low expectations and wants to use it for mostly static tasks like reading documents and code. Not for editing though -- too laggy.

2

if you felt bold, you could disable all of usb service and then reenable. I believe that will do it. will also kill keyboard etc.

kextunload IOUSBFamily.kext
kextload /System/Library/Extensions/IOUSBFamily.kext

it will take some more discovery, but i think this might be a good path. let us know if you experiment

all usb extensions in 10.8 at least:

/System/Library/Extensions/IOUSBAttachedSCSI.kext
/System/Library/Extensions/IOUSBFamily.kext
/System/Library/Extensions/IOUSBMassStorageClass.kext
2
  • Love it, that sounds like a great start. Alas, I can't test anymore because upgrading to Mavericks seems to have cured the DisplayLink wakeup problems. Until proven otherwise, this sounds like the answer.
    – bronson
    Sep 21 '14 at 1:37
  • Of course, disconnecting just the one device would be better...
    – bronson
    Sep 21 '14 at 1:39
1

This may work for you (run from Terminal):

sudo launchctl unload /Library/LaunchDaemons/com.displaylink.displaylinkmanager.plist
sudo launchctl load /Library/LaunchDaemons/com.displaylink.displaylinkmanager.plist
2
  • When I try to run such Terminal commands, i get: No such file or directory How to run them in macOS 10.12.6 (16G2136) Sierra? Thanks.
    – StaX
    Nov 16 '20 at 12:39
  • @StaX Have a look again, you most likely included the leading $ prompt when copying
    – nohillside
    Nov 16 '20 at 12:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .