Developing drivers for input devices on Serial Ports

  • Thread starter Thread starter James_Parsons
  • Start date Start date
J

James_Parsons

Guest
I'm trying to understand Windows driver development, particularly to write a driver for a serial port mouse. On the particular target machine, there is no inbuilt serial port, but a PCIe card containing multiple ports, however the ports do not use the Serial.sys driver, but instead a custom, vendor driver, from the PCIe card manufacturer. I've been doing some early reading trying to understand how I would build such a driver, but I have a few questions:


  1. I don't think this will be an HID driver, because the HID spec is primarily USB, and supports a few other buses, none of which are serial. If this is the case, how would a driver for this device tie into controlling the cursor / clicks / etc. in the operating system? If I'm incorrect in my assumption, however, please do correct me.
  2. I've been reading a handful of pages on serial drivers, and am trying to understand if I would be writing a kernel driver with the SerCx2. It's noted a number of times, that that particular framework is for permanently connected devices (which I'm not sure exactly what that means) and since this isn't something that would be permanently connected, but as noted before using Serial.sys as mentioned here isn't an option because the actual serial port controller is a PCIe controller using a custom driver. What's the proper way to develop a driver that will work with a serial peripheral in such a case?

Continue reading...
 
Back
Top