阅读259 返回首页    go 人物


Resetting USB ports via Terminal

So I've made a stupid mistake by messing around with Terminal trying to fix a dodgy USB stick. I entered some commands such as "diskutil eraseDisk HFS+ newdisk disk2" trying a few different options without fully understanding what I was doing. Now anything I plug into either USB 3.0 ports gets the message "The disk you inserted was not readable by this computer". USB drives and hard drives that worked before now no longer work.

I've tried resetting SMC and PRAM to no avail. Would rather not format the whole system as I can't do a more recent backup to HDD beforehand now. But if it comes to it, will this fix the problem?

Can someone tell me what commands to enter into terminal to set these ports back to what they were before I started messing with it?



Best to reinstall OS X from Recovery mode. Have your tried Safe mode?

Have you seen this article? https://smallbusiness.chron.com/reset-usb-ports-mac-laptops-51619.html



sudo kextunload IOUSBMassStorageClass.kext;

sudo kextload /System/Library/Extensions/IOUSBMassStorageClass.kext



kaz-k wrote:

 

sudo kextunload IOUSBMassStorageClass.kext;

sudo kextload /System/Library/Extensions/IOUSBMassStorageClass.kext

I do not get it run even as sudo

Can you verify this works or is this just a copy and paste?



最后更新:2017-09-23 02:41:51

  上一篇:go External Hard Drive Error 36
  下一篇:go How do you report Phishing to Apple.