Using serial ports under Ubuntu 18

Welcome Forums General PowerShell Q&A Using serial ports under Ubuntu 18

Viewing 0 reply threads
  • Author
    • #231463
      Topics: 1
      Replies: 0
      Points: 12
      Rank: Member

      When I attempt to communicate with serial devices using PowerShell in Ubuntu 18, I get an “access denied” message when I try to open the port.  I can create the port object with no problem:

      $port = new-object ttyACM0

      And I can verify the created port:

      Echo $port

      …yields all the specifics.  But when I try to open the port so that I can begin reading or writing:


      …access is denied.  Is this a procedural error on my part, or a short-coming in the cross platform PowerShell itself?  I’ve tried this with onboard serial ports as well as USB to serial devices with no success.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.