Re: Windows 2000 and Vista USB driver issues



Yes, thats the default max transfer size. But you can change it by
creating a configuration urb och settings the speed you want.

chris.aseltine@xxxxxxxxx skrev:

wilhelm.lundgren@xxxxxxxxx wrote:

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.

At least in Windows 2000, I don't think you can submit a bulk read for
more than 4096 bytes. If your application is asking for more than
that, you may need to buffer it in your driver.

.



Relevant Pages

  • Re: Questions about inside the API CreateProcess!
    ... to hide it in kernel mode. ... About all yo can do is have a file system filter that catches the memory ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... of the call from user mode to kernel mode,... ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Tutorials On line
    ... allows you to write a file system in user mode, ... Don Burn (MVP, Windows DDK) ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... On a side matter - I read a white paper that> discusses the possibilty of passing IO requests from a kernel proxy to a> usermode process that can process the data and pass it back to kernel, and> then back to the OS - I believe it was refered to as a User Mode proxy. ...
    (microsoft.public.development.device.drivers)
  • Re: difference between driver and services?
    ... user mode and drivers run in kernel-mode. ... windows vista est par example windows xp... ... [Windows Services] ...
    (microsoft.public.win32.programmer.kernel)
  • Re: problem with KeSetEvent
    ... Don Burn (MVP, Windows DDK) ... But it doesn't work when I set event from kernel KeSetEvent ... but when the filter calling KeSetEvent() starts receiving data much ... When I use from user mode WaitForSingleObjectand ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Why is Linux still a piece of shit? Why?
    ... It's because the graphics run in user mode, and not in kernel mode, like ... > Redhat 6.0 ... It reminded me of Windows 3.1 yuch! ... Should I pay $80 for this piece of shit? ...
    (alt.os.linux.suse)