Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have turned off the bluetooth in my iMac and disabled the USB ports too.

Now i am unable to login to my iMac because the keyboard and mouse are not detected.

  • Bluetooth is switched off.

  • USB is disabled.

I cannot use Bluetooth or USB keyboard or mouse. How shall i get my devices to work and to Login my iMac?

share|improve this question
    
How did you disable the USB ports? Which method? –  JoshP Jul 9 '12 at 12:34
    
Have you tried booting into Safe Mode? –  user3463 Jul 9 '12 at 19:23
add comment

1 Answer 1

If you can't boot into Safe Mode OR Single-User Mode:

Try this first:
if you have another computer on the same network, or you can physically connect another computer by firewire or Ethernet, and you have file sharing turned on, or screen sharing turned on, you can a) take control using screen sharing and use the other computer's mouse/kb, or go into the filesystem of your iMac from this connected machine and (i imagine you moved a kernel extension, possibly IOUSBFamily.kext?) restore/replace the files you altered.

If that doesn't work...
This is a bit heavy, but should work:

  1. Take out HDD

  2. Put HDD into external enclosure/dock/adapter

  3. turn on iMac and immediately insert the original install disc or a retail install disc that is not older than the system software that shipped with your computer.

  4. plug in mouse/keyboard, wait for command prompt.

  5. plug in hard drive.

  6. now you should be able to go in and edit the files on the HDD you took out that is now plugged in externally, FireWire or USB, by using the Terminal program to turn USB back on (by undoing whatever you did). I'm not going to give you a crash course on Terminal here, but look at This . You'll need at the very least the command mv or cp and you'll likely want to preface these with sudo.

Finally, you could always reinstall once the drive is out or, or install a new copy onto a usb drive, assuming the HDD is out, then plug the HDD back in once you've booted up, and work from my first suggestion.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.