Fazecast / jSerialComm

Platform-independent serial port access for Java
GNU Lesser General Public License v3.0
1.35k stars 287 forks source link

Port list is empty on RedHat 8 #342

Closed tom10422 closed 2 years ago

tom10422 commented 3 years ago

Getting an empty list from SerialPort.getCommPorts() on RedHat 8 on an x86_64 system. I am running as "root", but did those permission commands for root anyway. I am able to open named port and use it. Any suggestions?

hedgecrw commented 3 years ago

What type of serial ports are you expecting to see? You say you can successfully open the port and use it...what is the port path you are using to do so ("/dev/...??")? What type of device is this that you are connecting to?

hedgecrw commented 3 years ago

Also, please test the attached library version and see if it works any better for you. There have been a ton of recent changes that have not made it into an actual release yet. Thanks!

https://drive.google.com/file/d/1hH2hXCEj39WUN1iz3F1TzLrpNvUro_aL/view?usp=sharing

hedgecrw commented 3 years ago

Please test using this version of the library (all OS's are enabled): https://drive.google.com/file/d/1QzWPJg5MU_2YrnsB1MsOWeTbjYD84D2h/view?usp=sharing

hedgecrw commented 2 years ago

Solved in release of jSerialComm v2.8.0.