问题
I wrote a firmware to a USB device that uses the generic HID class for communicating with the host PC.
When connecting the device to the PC, it shows the hard-coded string I put in the firmware, but after the driver installation is over (using the generic Windows driver), the device's name is changed to a generic "USB Input Device".
How can I rename the device back?
回答1:
You can't do that. The device manager shows the string that is registered at installation by the device driver - in your case it's the generic Windows driver (which obviously has no knowledge of your proprietary FW functionality beyond support of USB protocol). You need to write a driver on top of the Windows USB driver to give you the functionality you want.
来源:https://stackoverflow.com/questions/16767397/rename-a-usb-hid-device-under-windows