Hello
The keyboard PS2 and USB keyboard can be connected to my computer
The two device *pnp030b and hid_device_sytem_keybord exist in this case.
The device manager always begin load I8042prt driver connect or not PS2 keyboard to this computer.
I do not know how application program can recognize what keyboard PS2 or USB (or both)
connected to computer.
Thanks for any help
Mark
The ps2 driver (i8042prt) is loaded when there is a ps2 *port* on the
machine, not necessarily a device connected to that port. This is
controlled by the BIOS (some BIOSes perform PS2 device detection at boot
and will not enumerate the port if there is no device connected, but
that is becoming more rare).
The bigger question is why does this matter? There can be more
keyboards on the machine then just ps2 or HID. There are on screen
keyboard, virtual keyboards (for TS for instance). If all you want is
the number of keyboards, you can enumerate the keyboard device interface
GUID_DEVINTERFACE_KEYBOARD and count them (you cannot open them though).
In the end, all keyboards are merged into one stream by win32k.sys. You
can use WM_INPUT on XP and later to differentiate them if you want.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Shnaider
Sent: Thursday, May 05, 2005 9:00 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How determine type keyboard connected to computer?
Hello
The keyboard PS2 and USB keyboard can be connected to my computer
The two device *pnp030b and hid_device_sytem_keybord exist in this
case.
The device manager always begin load I8042prt driver connect or not
PS2 keyboard to this computer.
I do not know how application program can recognize what keyboard PS2 or
USB (or both)
connected to computer.
Thanks for any help
Mark
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thanks Doron,
If I uderstand correctly I can enumerate keyboard devices and I perform enumeration during installation
our keyboard smart card reader.
But can I recognize in my install programm connected PS2 keyboard or not if BIOS does not perform PS2 device detection ?.
Mark
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]On Behalf Of Doron Holan
Sent: Thursday, May 05, 2005 5:20 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How determine type keyboard connected to computer?
The ps2 driver (i8042prt) is loaded when there is a ps2 *port* on the
machine, not necessarily a device connected to that port. This is
controlled by the BIOS (some BIOSes perform PS2 device detection at boot
and will not enumerate the port if there is no device connected, but
that is becoming more rare).
The bigger question is why does this matter? There can be more
keyboards on the machine then just ps2 or HID. There are on screen
keyboard, virtual keyboards (for TS for instance). If all you want is
the number of keyboards, you can enumerate the keyboard device interface
GUID_DEVINTERFACE_KEYBOARD and count them (you cannot open them though).
In the end, all keyboards are merged into one stream by win32k.sys. You
can use WM_INPUT on XP and later to differentiate them if you want.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Shnaider
Sent: Thursday, May 05, 2005 9:00 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How determine type keyboard connected to computer?
Hello
The keyboard PS2 and USB keyboard can be connected to my computer
The two device *pnp030b and hid_device_sytem_keybord exist in this
case.
The device manager always begin load I8042prt driver connect or not
PS2 keyboard to this computer.
I do not know how application program can recognize what keyboard PS2 or
USB (or both)
connected to computer.
Thanks for any help
Mark
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
No, you can’t really. PS2 is not a detectable bus. Furthermore,
“vampire” type devices which attach to the bus are even less detectable.
I have recommended in the past to always install a smart card ps2 reader
b/c there is no way to detect your device. I hope that your smart card
reader is a filter on the keyboard stack (there are callbacks which can
be registered which were created specifically to handle this type of
device) and can handle your device not responding to your initialization
requests.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Shnaider
Sent: Thursday, May 05, 2005 10:19 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How determine type keyboard connected to computer?
Thanks Doron,
If I uderstand correctly I can enumerate keyboard devices and I perform
enumeration during installation
our keyboard smart card reader.
But can I recognize in my install programm connected PS2 keyboard
or not if BIOS does not perform PS2 device detection ?.
Mark
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Doron Holan
Sent: Thursday, May 05, 2005 5:20 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How determine type keyboard connected to computer?
The ps2 driver (i8042prt) is loaded when there is a ps2 *port* on the
machine, not necessarily a device connected to that port. This is
controlled by the BIOS (some BIOSes perform PS2 device detection at boot
and will not enumerate the port if there is no device connected, but
that is becoming more rare).
The bigger question is why does this matter? There can be more
keyboards on the machine then just ps2 or HID. There are on screen
keyboard, virtual keyboards (for TS for instance). If all you want is
the number of keyboards, you can enumerate the keyboard device interface
GUID_DEVINTERFACE_KEYBOARD and count them (you cannot open them though).
In the end, all keyboards are merged into one stream by win32k.sys. You
can use WM_INPUT on XP and later to differentiate them if you want.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Shnaider
Sent: Thursday, May 05, 2005 9:00 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How determine type keyboard connected to computer?
Hello
The keyboard PS2 and USB keyboard can be connected to my computer
The two device *pnp030b and hid_device_sytem_keybord exist in this
case.
The device manager always begin load I8042prt driver connect or not
PS2 keyboard to this computer.
I do not know how application program can recognize what keyboard PS2 or
USB (or both)
connected to computer.
Thanks for any help
Mark
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Doron,
Thank you very much .
Now I understand that I cannot determine connected PS2 keyboard in install program.
You right,my driver is a filter on the keyboard stack .
Best regards
Mark
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]On Behalf Of Doron Holan
Sent: Thursday, May 05, 2005 6:30 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How determine type keyboard connected to computer?
No, you can’t really. PS2 is not a detectable bus. Furthermore,
“vampire” type devices which attach to the bus are even less detectable.
I have recommended in the past to always install a smart card ps2 reader
b/c there is no way to detect your device. I hope that your smart card
reader is a filter on the keyboard stack (there are callbacks which can
be registered which were created specifically to handle this type of
device) and can handle your device not responding to your initialization
requests.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Shnaider
Sent: Thursday, May 05, 2005 10:19 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How determine type keyboard connected to computer?
Thanks Doron,
If I uderstand correctly I can enumerate keyboard devices and I perform
enumeration during installation
our keyboard smart card reader.
But can I recognize in my install programm connected PS2 keyboard
or not if BIOS does not perform PS2 device detection ?.
Mark
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Doron Holan
Sent: Thursday, May 05, 2005 5:20 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How determine type keyboard connected to computer?
The ps2 driver (i8042prt) is loaded when there is a ps2 *port* on the
machine, not necessarily a device connected to that port. This is
controlled by the BIOS (some BIOSes perform PS2 device detection at boot
and will not enumerate the port if there is no device connected, but
that is becoming more rare).
The bigger question is why does this matter? There can be more
keyboards on the machine then just ps2 or HID. There are on screen
keyboard, virtual keyboards (for TS for instance). If all you want is
the number of keyboards, you can enumerate the keyboard device interface
GUID_DEVINTERFACE_KEYBOARD and count them (you cannot open them though).
In the end, all keyboards are merged into one stream by win32k.sys. You
can use WM_INPUT on XP and later to differentiate them if you want.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Shnaider
Sent: Thursday, May 05, 2005 9:00 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How determine type keyboard connected to computer?
Hello
The keyboard PS2 and USB keyboard can be connected to my computer
The two device *pnp030b and hid_device_sytem_keybord exist in this
case.
The device manager always begin load I8042prt driver connect or not
PS2 keyboard to this computer.
I do not know how application program can recognize what keyboard PS2 or
USB (or both)
connected to computer.
Thanks for any help
Mark
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com