English 中文(简体)
deviceID format for PS/2 mouse
原标题:

I would like to know the DeviceID and PNPDeviceID format for PS/2 Mouse. On my system Device ID for PS/2 mouse is ACPIPNP0F134&1F1D307&0. So is the format is ACPIPNPxxxx{something} or some thing else? I mean is ACPI is mandatory for PS/2 mouse?

问题回答

The PS/2 port is not on a bus that can discover all devices connected to it. i.e. it is not Plug-n-Play. Therefore the OS relies on the system s firmware to find all the devices that would otherwise be undiscoverable. On modern x86 systems, this mechanism is ACPI. However, older OSes such as Windows 95 used a different firmware interface called PNPBIOS to do the same thing. the PNP0F13 pnpid is a carry-over from PNPBIOS. The ACPI prefix is there to indicate that it was enumerated by the ACPI bus driver. The Windows driver model hides such details from the mouse driver -- it can just list the pnpid in its .inf, and get an AddDevice irrespective of what platform enumerator its device was found by.

Of course, PS/2 mice existed before ACPI and even Win95. Back when you used your mouse on DOS, the device driver just assumed the port was at a particular io or memory location, and probed those itself. Fun!





相关问题
Configuration of Java Developer s Notebook

For Java Platform, i use Eclipse Galileo IDE, Jboss Tools plugin, SpringSource IDE, MyEclipse IDE, Tomcat as Service, Mysql as Service, Oracle Sql Developer Client, Netbeans, Aptana Studio, also ...

deviceID format for PS/2 mouse

I would like to know the DeviceID and PNPDeviceID format for PS/2 Mouse. On my system Device ID for PS/2 mouse is ACPIPNP0F134&1F1D307&0. So is the format is ACPIPNPxxxx{something} or some ...

Java Hardware Interrupt Handling

I would like to know if it is possible to automatically invoke a Java method when a hardware interrupt is raised.

Determine VRAM size on windows

I need to determine roughly how much VRAM a system s graphics card has. I know all the reasons why I shouldn t but I do. It doesn t need to be perfect (some cards lie etc.) but I need a ballpark. On ...

Relation between USB and PCI

I m bit confused by the following statement in linux device drivers book. http://www.linuxdriver.co.il/ldd3/ 13.2. USB and Sysfs To help understand what this long device path means, we describe ...

Do bitwise operations distribute over addition?

I m looking at an algorithm I m trying to optimize, and it s basically a lot of bit twiddling, followed by some additions in a tight feedback. If I could use carry-save addition for the adders, it ...

热门标签