fu-tyan / java-simple-serial-connector

Automatically exported from code.google.com/p/java-simple-serial-connector
0 stars 0 forks source link

Linux Virtual COMs #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Try to list the coms on a linux enviroment with SerialPortList.getPortNames()
Virtual COMs will not apear

using 0.9.0

Original issue reported on code.google.com by pedrohma...@gmail.com on 28 Mar 2012 at 6:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
i added 
if(value.endsWith(":")) value = value.replace(":", " ").trim();
on line 110 of SerialPortList.java

and added ttyACM to the regex

Original comment by pedrohma...@gmail.com on 28 Mar 2012 at 7:07

Attachments:

GoogleCodeExporter commented 9 years ago
Its working for me but i really dont know if what i did is ok for everyone 
under linux or just for my situation.

Original comment by pedrohma...@gmail.com on 30 Mar 2012 at 2:27

GoogleCodeExporter commented 9 years ago
Thank you for this issue, I'll read more about this question.

Original comment by scream3r.org@gmail.com on 4 Apr 2012 at 4:07

GoogleCodeExporter commented 9 years ago
Fixed in 2.1.0

Original comment by scream3r.org@gmail.com on 11 Apr 2013 at 5:59