steveohara / j2mod

Enhanced Modbus library implemented in the Java programming language
Apache License 2.0
265 stars 111 forks source link

[Modbus RTU error] Port [ttyUSB0] cannot be opened or does not exist - Valid ports are: [ttyUSB0] #89

Closed yangchengjian closed 5 years ago

yangchengjian commented 5 years ago

https://github.com/thingsboard/thingsboard-gateway/issues/133

steveohara commented 5 years ago

I left some ideas on the thingsboard repo so I'm closing this now. If someone has a similar problem on Linux, take a look at the permissions advice here http://fazecast.github.io/jSerialComm/