none
Which Driver is responsible for RS-232? RRS feed

  • Question

  • Which Device Drivers are responsible for handling RS232 Cable and it's Port ?

    Thanks in advance. 

    Friday, May 6, 2016 8:47 PM

Answers

  • Serial.sys is the driver, the WDK has the serial port sample which is the source code for this.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    • Marked as answer by Thomas Hopes Friday, May 6, 2016 9:03 PM
    Friday, May 6, 2016 8:49 PM
  • So the root USB Device driver will be in change no matter what driver  they provide with their USB.

    Basically, yes.

    • Marked as answer by Thomas Hopes Friday, May 6, 2016 11:43 PM
    Friday, May 6, 2016 11:31 PM

All replies

  • Serial.sys is the driver, the WDK has the serial port sample which is the source code for this.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    • Marked as answer by Thomas Hopes Friday, May 6, 2016 9:03 PM
    Friday, May 6, 2016 8:49 PM
  • Serial.sys is the driver, the WDK has the serial port sample which is the source code for this.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Is Serial Driver port for Data transfer or Communication like Ethernet sending and receiving Packets?

    Please help. I will appreciate! 

     
    Friday, May 6, 2016 9:03 PM
  • Well serial communications isn't always packets, but in the sense that you are shipping data in and out on then yes.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Friday, May 6, 2016 9:06 PM
  • Well serial communications isn't always packets, but in the sense that you are shipping data in and out on then yes.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Can you Please give me the Link Of Github source code of WDM windows 10 and 8 source code package link ? 
    Friday, May 6, 2016 9:11 PM
  • https://github.com/Microsoft/Windows-driver-samples/tree/master/serial/serial


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Friday, May 6, 2016 9:59 PM
  • This question is actually complicated.  For a real old-style "16650" serial controller, the driver is serial.sys, as Mr.Burn told you.

    There are several variants of such controllers, including PCI cards with several 16650-like ports,  multi-port controllers and so on.

    The problem is that PCs rarely have any of these controllers these days. Serial cables and ports may be connected over USB adapters (variety of chips and vendors).

    These adapters use drivers from their vendors instead of serial.sys.

    Yes, Mr. Hopes, I always have some bad news for you ;)

    -- pa

    Friday, May 6, 2016 11:03 PM
  • This question is actually complicated.  For a real old-style "16650" serial controller, the driver is serial.sys, as Mr.Burn told you.

    There are several variants of such controllers, including PCI cards with several 16650-like ports,  multi-port controllers and so on.

    The problem is that PCs rarely have any of these controllers these days. Serial cables and ports may be connected over USB adapters (variety of chips and vendors).

    These adapters use drivers from their vendors instead of serial.sys.

    Yes, Mr. Hopes, I always have some bad news for you ;)

    -- pa

    So the root USB Device driver will be in change no matter what driver  they provide with their USB.

    Correct me if i am wrong!

     
    Friday, May 6, 2016 11:19 PM
  • Well if it is USB then Microsoft provides a different driver.  For the PCI drivers that Pavel mentions most of them nowadays emulate a 16550, but unfortunately a lot of them don't do it in a way that is compatible with the multi-function requirements for PCI.  For the ones that do, they use Serial.sys, for the rest they use a modified Serial source, with a different name.  I've actually done these for a bunch of firms.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Friday, May 6, 2016 11:30 PM
  • So the root USB Device driver will be in change no matter what driver  they provide with their USB.

    Basically, yes.

    • Marked as answer by Thomas Hopes Friday, May 6, 2016 11:43 PM
    Friday, May 6, 2016 11:31 PM
  • So the root USB Device driver will be in change no matter what driver  they provide with their USB.

    Basically, yes.

    Can you give me link of development guide for serial device driver ? ( Non USB)
    Tuesday, May 10, 2016 1:57 AM
  • the serial sample in the wdk git repo is the definitive starting  point. this is not a simple project, it can get quite complicated, especially if you are targeting broad compat across many applications.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Tuesday, May 10, 2016 6:21 AM