Macbook Pro 15″ (2011) USB Port Issue

I had an alarming issue where one of my USB ports (the one closest to the display) wasn’t recognising any devices… It would charge them up without any problems, but things like USB hard drives and iPhones would not mount. I thought that this was a hardware fault, and was preparing myself book a slot at the Genius Bar.

However, by resetting my PRAM and NVRAM, I managed to fix the problem. To do this, first power off your Macbook Pro. Then, hold down the option key (alt key), Command Key, P and R simultaneously. While holding these keys down, press the power button once and wait for the computer to chime. Once your laptop has “chimed”, it will restart – you can then release the keys. Your NVRAM and PRAM will now be reset – and hopefully, your USB Socket will resume normal operation!

I hope that this helps!

 

OS X Lion Battery Life Reduction

There seems to be some kind of conflict between the Wacom Tablet Driver and OSX Lion (10.7) – The Wacom Tablet Driver (listed as pentabletdriver in activity monitor) seems to be using up CPU cycles (or something). I was being estimated 3:40 hours on a full charge with no apps running – after “killing”, or ending the process for pentabletdriver, I am now being estimated 6:40 hours with a few applications open… back in business!

 

So, if you’re suffering from reduced battery life after having upgraded to Lion – try killing the pentabletdriver process!

Restarting Apache on OSX from the Command Line

OSX Web Server Grayed Out

This managed to perplex me for some time...

For some reason, the Web Sharing checkbox which I would normally use to restart Apache under OSX became grayed out. I have since realised that I could have just clicked the lock (DOH!)… but I found a way of restarting Apache from the command line:

[cc lang='text' line_numbers='false']sudo apachectl restart[/cc]

will restart Apache, reloading all php.ini/httpd.conf changes.