Rebuilding the Fedora Core kernel with USB HID as a module

From BressWiki

Jump to: navigation, search

I have a Harmony remote, and use windows 2000 in vmware to program it. Someday I'd like to sniff the USB traffic to write a linux program to do this for me, but I'm too busy and lazy to do it right now, so I'll stick with their software.

The problem is that when you plug in the remote, the Linux kernel USB HID driver takes control of the device, so vmware can't use it. If you rebuild your kernel, turning the HID driver into a modules, you can unload it once you plug in the remote, and let vmware control it.


  • Unpack the kernel src.rpm file
  • Change the release in the kernel.spec file
  • Edit SOURCES/kernel-<version>-<arch>.config
    • Find the line labeled CONFIG_USB_HID=y, change the 'y' to 'm'
  • rebuild the kernel, then install it.
Personal tools