Skip to main content

USB port not working on Mac

USB port not working on Mac

Recently I connected an external hard-disk to my new MacBook and observed that it was not properly detected on one of the USB ports. But I can see that it is powering my HDD.
I tried switching to other port and it worked. I simply ignored it by thinking that my HDD cable might be loose.
Now I bought a new USB drive and to get it detected, I have to insert and detach it multiple times. And as usual, I suspected the new USB drive, as my Mac is brand new. And planned to replace my USB drive.
Now my HDD came back to  my mind. And also my earlier laptop, in which few KEYS went unresponsive due to accumulated charges.
By little researching I found that I'm not alone. The solution that worked for me was "Resetting SMC"
Here is the procedure I followed:
  • Shut down the Mac and connect the power cable
  • Hold down Shift+Control+Option+Power concurrently for a few seconds.
  • When the light on the power adapter blinks or changes colors you’ll know SMC reset is complete
  • Release all keys at the same time
  • Now boot your Mac as usual.

Now I'm happy that I don't have to replace any of my devices.

Comments

Popular posts from this blog

Reverse Engineering : Extract contents from .img file

Unyaffs is a program to extract files from a YAFFS2 file system image. Currently it can only extract images created by mkyaffs2image. Download the source from here . Compiling : Extract the contents into a suitable place and run the following command make Usage : unyaffs [options] <image_file_name> [<extract_directory>] Options: -d detection of flash layout, no extraction -b spare contains bad block information -c <chunk size> set chunk size in KByte (default: autodetect, max: 16) -s <spare size> set spare size in Byte (default: autodetect, max: 512) -t list image contents -v verbose output -V print version Source: Official github repository

Mac Yosemite : Ugly turned out to be Uglier and Ugliest

You might have read my review on Mac OSX Yosemite , The Good, bad and ugly. Now it turned out to be UGLIEST. No more words. Here's the image. If you are on Yosemite, you might be familiar with it. Most of the times, you get stuck on boot logo. I've seen complaints regarding it saying that fellow members are ignorant of it and they deny such possibility, even though many are still facing it. Workarounds suggested by our online friends: Just reboot your mac as many times it takes to your desktop. Boot into safe mode, by holding SHIFT and then reboot. Comment your workaround below, mine is the first one. If you are still on Mavericks, be there till Apple provides a fix for this.

Reverse Engineering : Android Dex files to Class files

In my previous post, we have seen how to extract the contents of img file . After extraction, you will find that most of the files have ".dex" extension. These are Compiled Android application code files. In order to convert them into executable format (.class or .jar), you can use dex2jar tool. Extract it to a proper location and open the terminal to this location. Now run the following command: ./d2j-dex2jar.sh <Path-to-dex_file> It will bundle the dex files into a jar file, and stores it in the current directory. dex2jar can also be used to convert dex files into variuos other formats. For detailed info, click here .