Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > USB continous reader (KMDF) strange behaviour

Reply
Thread Tools Display Modes

USB continous reader (KMDF) strange behaviour

 
 
Ada
Guest
Posts: n/a

 
      06-01-2010
Hi,
I am writing an USB KMDF driver.I'm using a Continous Reader to receive data
from the device on an Interrupt or bulk endpoint. The device receives an
interogation packet and sends a response back on the endpoint for which the
reader is set.

All goes well in Windows 7. I have 2 different devices, one is full speed
the other is high speed, both work as expected, I receive the response as
soon as the device gets the interogation packet and sends back the response.

The problem is that the same driver in Windows XP works only for the full
speed device. The high speed one, does not respond , only after 4 "
interogation packets" are snd ( I checked in debuger ,the completion routine
is not called). Any clue why this is happening ? Why the different behaviour
in XP and Windows 7 ?

Any idea how to fix this ? Thank you.
 
Reply With Quote
 
 
 
 
Tim Roberts
Guest
Posts: n/a

 
      06-03-2010
Ada <> wrote:
>
>The problem is that the same driver in Windows XP works only for the full
>speed device. The high speed one, does not respond , only after 4 "
>interogation packets" are snd ( I checked in debuger ,the completion routine
>is not called). Any clue why this is happening ? Why the different behaviour
>in XP and Windows 7 ?
>
>Any idea how to fix this ? Thank you.


Can you post your descriptors? Bulk and interrupt endpoints both need
different descriptors at full speed and high speed.
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
Junior Member
Join Date: Jun 2010
Posts: 2

 
      06-04-2010
I changed the maximum transfer size from 4K to 1K and now it works in XP also. Strange, as the device packets are smaller anyway ( about 40 bytes). Same driver, same device works in Windows 7 with 4K transfer size also.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB continous reader (KMDF) strange behaviour adit Windows Vista Drivers 0 06-01-2010 11:26 PM
Strange behaviour of Windows Live Mail Desktop Luis A. Iaderoza Windows Live Mail 1 03-29-2010 08:06 PM
How to contact Microsoft C.B. Windows Vista Hardware 23 03-12-2008 02:06 PM
File Explorer Delays/General Strange Behaviour Holmesy Windows Vista Performance 0 10-05-2007 09:49 AM
Strange behaviour when I close my laptop lid Joyoyo Windows Vista Performance 0 02-07-2007 09:06 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59