serialport / serialport-rs

A cross-platform serial port library in Rust. Provides a blocking I/O interface and port enumeration including USB device information.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USB ports detected as unknown in docker

dignifiedquire opened this issue · comments

When running inside of docker (base image: rust:1.75-buster) and trying to list the detected ports, I am getting this

Found 3 ports:
  /dev/ttyUSB0
    Type: Unknown
  /dev/ttyUSB1
    Type: Unknown
  /dev/ttyUSB2
    Type: Unknown

Things work fine when running on the same machine outside of docker.

Any ideas how to debug/fix this?