Windows 2000 and Vista USB driver issues



Hello,

I am currently developing a USB driver that reads data from the FT245RQ
chip.

The driver works well in Windows XP, both on laptop and stationary
computer,
but on Windows Vista and Windows 2000, both are laptop computers, I am

experiencing weird problems.

I have not been able to verify if these issues are related to that they
both are
Laptops or not.

Anyway:

Problem number 1, only related to Windows 2000:

When inserting the USB device into the computer, Driverentry and all
other
Start up functions are called successfully. When remove the USB device,
the unload
Routine is also called successfully. But when I try to insert it a
second time, nothing
Happens. That is, my DriverEntry not any other functions on my drivers
is called and the
Device is left as an unidentified USB device in device manager. Right
clicking on properties
for the USB device tells me that the driver for this device is not
installed, which of course is wrong.
Trying to reinstalling it makes windows wanna use the usb.inf file and
not my .inf file.

I have not clue on what could be causing this since this is not an
issue in WinXp and Vista.
I have compiled the driver with a windows 2000 checked build
environment, version 3790.1830

Do you have any ideas at all on what could be causing this behavior?

Problem number 2, related to Windows 2000 and Windows Vista.

This driver reads a lot of data from the chip, and then passes it on to
a
User mode application. This works flawlessly in Windows XP.

But in 2k and Vista, I am hardly getting any data. I am requesting appr
200000 bytes
Per read and almost always I get back around 200 bytes or just random
amount of bytes.
In XP I always get what I asked for.

I use the same environment as mentioned above, and the USB device is
version 1.1, 2.0 compatible.
The USB root hubs is 2.0 in all environments.

If you could help me with any of these issues I would very grateful.
And if you need more information, source code
Or anything I will gladly supply it.

Regards

Wilhelm Lundgren

.



Relevant Pages

  • Re: Cantt copy to DVD
    ... Driver ... DSP Group TrueSpeechSoftware CODEC: ... Ricoh 1394 Controller May Not Work with Windows XP ... Windows XP Does Not Detect Your New USB Device ...
    (microsoft.public.windows.mediacenter)
  • Re: Active home pro stopped working II
    ... It really depends on the version of windows. ... is just plugging the cm15a to a different USB port on your PC. ... I've seen stuff get wacked out, driver wise, under windows. ... I think what he's describing are the sound effects in the AHP software. ...
    (comp.home.automation)
  • Re: aAttention MSVPs. USB 2.0 Drivers not recognised - XP is defective !
    ... General USB troubleshooting in Windows XP ... both for the latest USB 2.0 driver for my motherboard and for my USB/ ... My mobo has six ports, of which four are designated as USB 2.0. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: USB midi input device
    ... The case is Windows 2000 doesn't talk USB protocol as XP or Linux do. ... There is a problem with acquiring the correct driver from the manufacturer and installing it. ... default generic "driver" that comes with the operating operating system OR they must SUPPLY the driver that makes their hardware work with the operating system. ...
    (microsoft.public.win2000.hardware)
  • Re: Add Drivers to OS desing
    ... "Michel Verhagen (eMVP)" wrote: ... On the CE device, open a windows explorer. ... if you are sure the driver is in your kernel (so you can see the files ... or you have a problem with your USB host driver. ...
    (microsoft.public.windowsce.platbuilder)

Loading