View previous topic :: View next topic |
Author |
Message |
rwskinner
Joined: 08 Dec 2006 Posts: 125 Location: Texas
|
HID Driver + Company Name and Device Model |
Posted: Tue Jan 12, 2010 10:54 pm |
|
|
I created a device starting with the Ex_USB_HID driver in the examples section and expanded on that. The pic is a 18F4550.
What I'm trying to do, is in Device Manager under Human Interface Devices, to list my Device Name and Model like all the others listed in there.
All it shows is:
HID Compliant Device
The only way to tell it's my device is to look at the VID and PID.
Does anyone know where in the code I enter this information? I already entered the Custom Strings in the Descriptor file, and the Device model shows up properly when it's enumerated.
Thanks,
Richard |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Wed Jan 13, 2010 12:39 am |
|
|
I thought, the respective constants in usb_desc_hid.h are self-explanatory. Otherwise a text search for VID or PID should do. |
|
|
Ttelmah Guest
|
|
Posted: Wed Jan 13, 2010 3:28 am |
|
|
Remember that to do this properly, _you_ need to own a VID/PID. Otherwise the combination you use, may be somebody else's, which will cause disasters later.
USB_STRING_DESC
Best Wishes |
|
|
Guest
|
|
Posted: Wed Jan 13, 2010 7:20 am |
|
|
FvM wrote: | I thought, the respective constants in usb_desc_hid.h are self-explanatory. Otherwise a text search for VID or PID should do. |
I thought I mentioned these "were" filled in and that information shows fine during the enumeration. They just do not show up in Device Manager.
I'm using the default VID/PID that came with the example. This product will always stay in house on dedicated embedded machines so there really isn't any chance of conflict. I will see what it takes for our own though. Wow, $2000 to $4000 for a VID, we surely will not be doing that. |
|
|
|