Re: testusb on a HID device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 8 Sep 2013, joe M wrote:

> Hello,
> 
> > I do not want to rmmod the hid module as I think it will affect my
> > being-used usb keyboard and mouse too. I just want to rmmod the hid
> > module for the device being tested.
> 
> I got this http://unix.stackexchange.com/questions/12005/how-to-use-linux-kernel-driver-bind-unbind-interface-for-usb-hid-devices
> which talks about unbinding a device.
> 
> I did the below:
> 
> echo -n "0003:03EB:204D.0008" | sudo tee /sys/bus/hid/drivers/hid-generic/unbind

This is the wrong driver.  You need to unbind usbhid, not hid-generic.  
Like at the files under /sys/bus/usb/drivers/usbhid/.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux