CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

HID Driver + Company Name and Device Model

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
rwskinner



Joined: 08 Dec 2006
Posts: 125
Location: Texas

View user's profile Send private message

HID Driver + Company Name and Device Model
PostPosted: Tue Jan 12, 2010 10:54 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Jan 13, 2010 12:39 am     Reply with quote

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







PostPosted: Wed Jan 13, 2010 3:28 am     Reply with quote

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








PostPosted: Wed Jan 13, 2010 7:20 am     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group