Skip to content
Advertisement

Tag: rxtx

CommPortIdentifier.getPortIdentifiers with zero ports on Linux

i am trying to connect serial port on ubuntu. However, It doesn’t work for me. I succesfully run the same project on Windows just with different drivers. The problem is that I can’t load any ports while I am using this: CommPortIdentifier.getPortIdentifiers(); // i am using rxtx 2.1.7 It always return zero ports. I would like to use port ttyS0

Advertisement