blob: 857c8342c371c75a4212c34317f9c3a98c7d30c6 [file] [log] [blame]
support /dev/ttyACMx devices natively
upstream bug report pending: http://bugzilla.qbang.org/show_bug.cgi?id=139
http://bugs.gentoo.org/show_bug.cgi?id=301126
Signed-off: Thilo Bangert <bangert@gentoo.org>
--- src/RXTXCommDriver.java.orig 2010-01-15 17:30:46.000000000 +0100
+++ src/RXTXCommDriver.java 2010-01-15 17:31:56.000000000 +0100
@@ -519,6 +519,7 @@
if(osName.equals("Linux"))
{
String[] Temp = {
+ "ttyACM", // linux USB Modems
"ttyS", // linux Serial Ports
"ttySA", // for the IPAQs
"ttyUSB" // for USB frobs
@@ -535,6 +536,7 @@
"holter", // custom card for heart monitoring
"modem", // linux symbolic link to modem.
"rfcomm", // bluetooth serial device
+ "ttyACM", // linux USB Modems
"ttyircomm", // linux IrCommdevices (IrDA serial emu)
"ttycosa0c", // linux COSA/SRP synchronous serial card
"ttycosa1c", // linux COSA/SRP synchronous serial card