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

    cannot passthrough serial port to vm

    Scheduled Pinned Locked Moved Hardware
    3 Posts 2 Posters 109 Views 1 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.
    • A Offline
      aprado
      last edited by

      I have a dell poweredge r515 with xcp-ng 8.3 installed. I want to passthrough the serial port to connect a windows vm for a software thats logs door access using that particular port. As you can see in the screenshot that port is not listed in the pci devices passthough in the web ui. Can you help me? 2025-02-03 15_01_26-ret-xcpng1 (ret-xcpng1) and 2 more pages - School - Microsoft​ Edge.png

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        Andrew Top contributor @aprado
        last edited by

        @aprado The onboard "serial port" is not a PCI device. You could try adding a USB serial port or a PCIe card with a serial port.

        1 Reply Last reply Reply Quote 0
        • A Offline
          aprado
          last edited by

          I had the same problem with a proxmox node that I'm using and the solution to this issue was solved by adding the serial port using the command qm set 102 --serial0 /dev/ttyS0. I thought that the same thing could be done here using xe or xl command; I just don't know how to achieve it in xcp-ng. The windows 11 vm shows a com1 port that has the same irq and i/o range numbers than the host; is this suppose to work?2025-02-04 13_13_16-Windows 11 Test Com 1 Properties.png 2025-02-04 13_15_05-ret-xcpng1 (ret-Resource Pool) node.png

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