slow Keyboard response

Hi there.
Something really strange is happening with the wdm driver i am building.

System: W2K sp4
Driver: WDM device driver

Load, unload, open, close, dispatch routines work normal.

When i try to read or write in my card’s memory space or read a Device
extension variable the system starts to
behave really strange.

Nothing crushes, i read and write the correct values. But after the
accesses, the keyboard has really slow responds.
Any ideas?

P.S. ALT key seems to be locked and i use SHIFT to unlock it.

thanks.

The keys might be stuck if you had them pressed down while you broke
into the debugger (or if you are using softice, all bets are off). If
the keyboard is slow it could also be that you are spending too much
time at DPC level. The keyboard port drivers report input from their
DPCs so if you are spending too much time in your DPC you are excluding
the keyboard DPC from running.

d

– I can spell, I just can’t type.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nikolas
Stylianides
Sent: Thursday, April 27, 2006 4:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] slow Keyboard response

Hi there.
Something really strange is happening with the wdm driver i am building.

System: W2K sp4
Driver: WDM device driver

Load, unload, open, close, dispatch routines work normal.

When i try to read or write in my card’s memory space or read a Device
extension variable the system starts to
behave really strange.

Nothing crushes, i read and write the correct values. But after the
accesses, the keyboard has really slow responds.
Any ideas?

P.S. ALT key seems to be locked and i use SHIFT to unlock it.

thanks.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Doron Holan wrote:

The keys might be stuck if you had them pressed down while you broke
into the debugger (or if you are using softice, all bets are off). If
the keyboard is slow it could also be that you are spending too much
time at DPC level. The keyboard port drivers report input from their
DPCs so if you are spending too much time in your DPC you are excluding
the keyboard DPC from running.

d

– I can spell, I just can’t type.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nikolas
Stylianides
Sent: Thursday, April 27, 2006 4:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] slow Keyboard response

Hi there.
Something really strange is happening with the wdm driver i am building.

System: W2K sp4
Driver: WDM device driver

Load, unload, open, close, dispatch routines work normal.

When i try to read or write in my card’s memory space or read a Device
extension variable the system starts to
behave really strange.

Nothing crushes, i read and write the correct values. But after the
accesses, the keyboard has really slow responds.
Any ideas?

P.S. ALT key seems to be locked and i use SHIFT to unlock it.

thanks.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Well, even a simple I/O call will cause the problem. The ISR and the DPC
is never called with these simple tests i apply.
When i use a 101 key keyboard instead of the Microsoft Natural (which
means no filter keyboard driver) the problem vanishes.

Thank you

Stylianides Nikolas

Are you sure that there is *a* filter driver installed? If this is a
ps2 keyboard, the hwid doesn’t change when you plug in a different
keyboard and the driver stack is the same.

d

– I can spell, I just can’t type.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nikolas
Stylianides
Sent: Friday, April 28, 2006 2:38 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] slow Keyboard response

Doron Holan wrote:

The keys might be stuck if you had them pressed down while you broke
into the debugger (or if you are using softice, all bets are off). If
the keyboard is slow it could also be that you are spending too much
time at DPC level. The keyboard port drivers report input from their
DPCs so if you are spending too much time in your DPC you are
excluding
the keyboard DPC from running.

d

– I can spell, I just can’t type.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nikolas
Stylianides
Sent: Thursday, April 27, 2006 4:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] slow Keyboard response

Hi there.
Something really strange is happening with the wdm driver i am
building.

System: W2K sp4
Driver: WDM device driver

Load, unload, open, close, dispatch routines work normal.

When i try to read or write in my card’s memory space or read a Device

extension variable the system starts to
behave really strange.

Nothing crushes, i read and write the correct values. But after the
accesses, the keyboard has really slow responds.
Any ideas?

P.S. ALT key seems to be locked and i use SHIFT to unlock it.

thanks.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Well, even a simple I/O call will cause the problem. The ISR and the DPC

is never called with these simple tests i apply.
When i use a 101 key keyboard instead of the Microsoft Natural (which
means no filter keyboard driver) the problem vanishes.

Thank you

Stylianides Nikolas


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer