Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-12892

COM1 is not accessible with ACPI HAL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.14
    • NTCore
    • None

    Description

      Hello
      How to use CreateFile for open serial port COM1 ?
      I created the exe program for testing, see the picture and
      GetLastError() return 2, ERROR_FILE_NOT_FOUND
      OS version 0.4.3

      Thank
      PS:COM1 driver will be updated on the Device manager.
      -----------------------------------------

               hCom = CreateFile(
                          "COM1",
                             GENERIC_READ| GENERIC_WRITE,
                              0,    /* comm devices must be opened w/exclusive-access */
                              NULL, /* no security attrs */
                              OPEN_EXISTING, /* comm devices must use OPEN_EXISTING */
                              0,    /* not overlapped I/O FILE_FLAG_OVERLAPPED*/ 
                              NULL  /* hTemplate must be NULL for comm devices */
                           );
          if( hCom==INVALID_HANDLE_VALUE)
              eFilerr  =  GetLastError( );
      

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          223 kB
        2. ROS_ACPI.jpg
          ROS_ACPI.jpg
          130 kB
        3. COM1_ok.jpg
          COM1_ok.jpg
          145 kB

        Issue Links

          Activity

            People

              ThFabba ThFabba
              visualprog visualprog
              Votes:
              6 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: