USB Driver Based on FX2_Driver Not Working
-
Wednesday, August 01, 2007 6:58 PMI am trying to get my pre-existing USB device to work on Windows Vista.
I am starting a new Windows driver from scratch based on the one in
\WINDDK\6000\SRC\UMDF\USB\FX2_DRIVER\FINAL.
So far I have not made any changes except to the INF file to put the
correct vendor and product ID into the fields and add lots of TRACE
statements.
I use "DPINST /LM" to install my drivers and it always says "ready to usE"
after that.
Then I plug the device in, and by using TraceView, I can see that the
call to CMyDriver:
nDeviceAdd is successful and returning a successful
code (S_OK).
However, the screen says that the device failed to initialize with
a code 10 (device failed to start).
There are no further traces in my trace file so I can't see what is causing
the driver to fail.
In addition, it looks like OnDeviceAdd is the last step of driver initialization
for a UMDF driver so the driver installation should have signalled successfully.
What other possible reasons for failing to install even after OnDeviceAdd
is successful are there?
Paul Berland
All Replies
-
Wednesday, October 31, 2007 7:17 PM
It turns out low speed bulk mode is not supported by Windows Vista but is supported by Windows XP. That is the reason why my driver won't load on Windows Vista. -
Thursday, November 22, 2007 11:17 PMHi Paul:
It's hard to believe that Windows Vista doesn't suport low speed bulk mode, unfortunately I don't have a better explanation
I'm using USB full-speed, but my driver fails, too. I'm using same DLLs and INF (of course changing VID and PID for my specific USB device). It only shows error Code 10.
I'm using a USB sniffer, so I'm pretty sure USB firmware is not an issue. I only stall MICROSOFT OS setup request, but according to Microsoft docs, this is not an issue.
I'm having issues with my USB device when I try to use FX2_Driver or usb_bulk from WinDDK and both don't work at all, even if they work for me with XP. Seems like there is something beyond UMDF (winusb) and KMDF (bulk usb sys file from DDK)
Returning to bulkusb.sys from WinDDK (6001/src/usb/bulkusb), I tried with each architecture (amd64, x86 and ia64) and just x86 almost works for me. The others fails because of a plataform error. I'm using Vista x32 edition so driver signaling shouldn't be a problem at all.
Hope someone has news from me. -
Thursday, November 22, 2007 11:21 PMPlease someone give some feedback
There must be more people around the world working on this.
Any feedback from Microsoft developers??
USB winddk with Windows Vista. Cool stuff!!!! C'mon!!

Thanks! -
Wednesday, April 25, 2012 7:01 PM


