How are you installing the driver (winusb, umdf, etc)? using devcon, add new hardware wizard, etc?
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Tuesday, March 16, 2010 4:35 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Help for USB Driver sample
Thanks for the replies.
The link talks about the WDM Sample driver. I read that WDF is the recent one.
Can you please explain me more about using WinUSB. I went thru the document ‘How to Use WinUSB to Communicate with a USB Device’. I tried installing the basic winusb driver first based on the instructions given in the document. But, i’m always getting the error message ‘This device cannot start. (Code 10)’.
I’m fed up of this error message. Earlier I tried with the Umdf usb samples with our company board to test it and got this error. Then we purchased the OSR FX2 sample board and getting the same error with Fx2 device also !!!
Can you pl help me. i’m struggling a lot with this error for many days. I didnt understand how to debug the umdf drivers. I didnt want to try installing in my development machine and so, i’m trying to install the umdf driver in a XP installed vm ware work station. Should I install WDK in the vm station in order to debug?
In the wdk docs, its mentioned that if we enable the debugger in the registry, the computer can detect the debugger after the driver manager starts the driver host process for the device.
In my case, the device start fails. Then how’ll I make sure the DriverEntry is called or not??
Do you really need a driver for this? The easiest solution is to use
WinUSB and access the endpoints directly from your user-mode
applications
what do you mean by user-mode application here? There are many code snippets given in the winusb document on How to use the WinUSB API. Under which file should I place it? is there any sample code for user-mode application using winusb?
Sorry for asking more questions. Need help!!!
Thanks.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer