XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    On-board serial port compatibility?

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    11 Posts 4 Posters 428 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      LuisRiveraSig
      last edited by

      Hey all. We are trying to enable two serial ports on a machine we are trying to migrate to XCP. The machine in question is a MOXA DA820 that has two on-board RS-232/RS-422 ports. We have not been successful on utilizing these ports to send or receive data. We are able, however, to utilize serial ports when passed through PCIE, USB or Ethernet.
      We have been reading that XCP is simply not able to utilize physical serial ports and that the only alterntives are the ones we already tried. Is this true? We would like to know more.

      A 1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        Can you tell more precisely what do you want to achieve functionally speaking?

        L 1 Reply Last reply Reply Quote 0
        • A Online
          Andrew Top contributor @LuisRiveraSig
          last edited by

          @LuisRiveraSig What chipset is used for the serial ports? My guess is that it's a special MOXA serial chipset (non-16550) and requires a special driver that XCP/Xen does not natively support.

          L 1 Reply Last reply Reply Quote 0
          • L Offline
            LuisRiveraSig @olivierlambert
            last edited by

            @olivierlambert We are trying to migrate from VMWare to XCP so we want to enable those two on-board serial ports, the goal here is to be
            able to communicate with them.

            1 Reply Last reply Reply Quote 0
            • L Offline
              LuisRiveraSig @Andrew
              last edited by

              @Andrew It uses ITE8786E. Where could we find drivers for this?

              A 1 Reply Last reply Reply Quote 0
              • A Online
                Andrew Top contributor @LuisRiveraSig
                last edited by

                @LuisRiveraSig What are you trying to use the serial ports for?

                • XCP console?
                • Dom0 Serial port (ie. UPS monitor)?
                • DomU/VM?
                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  LuisRiveraSig @Andrew
                  last edited by

                  @Andrew Its going to be used for digital I/O

                  A 1 Reply Last reply Reply Quote 0
                  • A Online
                    Andrew Top contributor @LuisRiveraSig
                    last edited by

                    @LuisRiveraSig Since the device is not need for Xen Console or Dom0 then you can try a PCI pass-thru to the VM or use a USB device and pass it to the VM and just use the needed driver in the VM directly.

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      Double-e @Andrew
                      last edited by

                      @Andrew
                      I too would like to pass thru a serial port on Dell R460 server host to a vm running linux. I would like to use this to talk to a lighting system with this VM rather than using a stand alone desktop.

                      A 1 Reply Last reply Reply Quote 0
                      • A Online
                        Andrew Top contributor @Double-e
                        last edited by

                        @Double-e If you serial ports show up as a PCI or USB device then you can pass it to a VM. Most normal on-board serial ports can not be directly used in a VM.

                        Use lspci and lsusb to check your devices.

                        D 1 Reply Last reply Reply Quote 0
                        • D Offline
                          Double-e @Andrew
                          last edited by

                          @Andrew I did not see a serial port listed. I'll just get a USB version and plug in to server and see if I can pass thru it. If it works, I can get rid of another Destop server and be fully virtual.
                          Thanks for your hellp.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post