Write a driver using WinUSB for a device I created

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello,
I have created a car which I want to control using my laptop. First I wanted to do it wireless, but when I thought further, USB might be easier. So I want to use WinUSB to create a driver kind of thing. Please read this:
Run devcon.exe as follows:
devcon.exe install inf_file .inf " hardware_id "

devcon.exe can be found in the <install_path> WinDDK build_number toolsdevcon <arch> devcon.exe folder.
inf_file indicates the name of your INF. hardware_id indicates the hardware identifier for the device provided by the device vendor. This can be found in the INF. For example, for the OSR USB-FX2 Learning Kit device from OSR, the identifier is USBVid_0547&Pid_1002.
Note Because the hardware id contains &, make sure that you specify the hardware id within quotes.

Because I created my car myself, I dont have a hardware id. Do I have to think of one myself, or is it automatically generated for me. If it is generated, then tell me when its generated (first time connected?), because I dont have an USB cable yet.
Is it possible to use WinUSB with a wireless receiver (an USB one, of course)?
Can I use WinUSB at all, because I have to send signals, not data.
Thanks in advance


<hr class="sig NVDPassie for CS

View the full article
 
Back
Top