On Tue, 27 Jul 2010, Greg KH wrote: > On Tue, Jul 27, 2010 at 10:03:55PM +0800, Xiaofan Chen wrote: > > On Tue, Jul 27, 2010 at 9:35 PM, Greg KH <greg@xxxxxxxxx> wrote: > > >> It would be nice that usbutils to be changed to automatically > > >> detach and attach the kernel HID driver for HID descriptor dumping. > > > > > > It needs root permissions to accomplish this, so it's not something that > > > I can add to usbutils directly. > > > > > > > But if you do not detach the kernel hid driver, even you run > > lsusb as root it will not be able to dump the hid descriptors. > > To retach the driver back, then you gain the mouse functionality back. > > Agreed, it's just that detaching and attaching requires root > permissions. lsusb could try to detach the existing driver. If the attempt fails then you are no worse off than you are now, and if the attempt succeeds then at the end you can reattach the driver. However this shouldn't be done unless the interface is HID. You wouldn't want to detach the usb-storage driver at random times! 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