Windows 2000 and Vista USB driver issues
- From: wilhelm.lundgren@xxxxxxxxx
- Date: 31 Aug 2006 10:20:01 -0700
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
.
- Follow-Ups:
- Re: Windows 2000 and Vista USB driver issues
- From: chris . aseltine
- Re: Windows 2000 and Vista USB driver issues
- Prev by Date: Re: Strange issue with NDISPROT xmit and network the performance counter
- Next by Date: Re: tool help
- Previous by thread: Re: How WMI ?numerates serial ports?
- Next by thread: Re: Windows 2000 and Vista USB driver issues
- Index(es):
Relevant Pages
|
Loading