drivers - How to disable USB Mouse only

08
2014-07
  • user2782324

    I was developing a device driver for a USB mouse which uses the USB HID driver. The problem is that I cannot test out my module as Linux takes over the mouse directly.

    So how do I find out which modules I should blacklist so that only the mouse is completely disabled and I can test out my module and see its working.

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    Windows XP runs New Hardware Wizard for usb keyboard and mouse, can't find drivers
  • Randy Orrison

    I have a PC that up until a couple days ago was working fine. I moved it from one site to another and now when I plug in the USB mouse or keyboard (the same ones that were working previously) XP brings up the New Hardware Wizard. Going through it, the correct keyboard and mouse are identified, but XP can't find the drivers.

    I've tried manually searching for the driver (using the Have Disk option) - the first file it's looking for is in the c:\i386 directory, but that installs a generic HID mouse device; the system then runs the hardware wizard for a new "unknown" device.

    The system was SP2, I have installed SP3 in hopes that would help, and I've also downloaded and installed the mouse drivers from Dell's site (there are no specific drivers for the keyboard), with no change.

    Before I completely reinstall XP, is there anything else I should try?


  • Related Answers
  • kinokijuf

    This often happens when the catalog cache is corrupted. Boot into safe mode and delete the %SystemRoot%\System32\catroot2 folder ( do not delete the "catroot" folder! only "catroot2"!).

  • qroberts

    This happens when you connect one USB device to a different USB port on your machine. If you want, you can try to plug the keyboard and mouse into their original USB ports which would bypass all of this mess.