summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2010-02-12 10:07:21 +0000
committerThilo Bangert <bangert@gentoo.org>2010-02-12 10:07:21 +0000
commitd6d01a236c18b7872a860a7210759d1b607932ce (patch)
tree10f062a6e84dd95ea106463f646524b0dcdc6d90 /dev-java/rxtx/files
parentVersion bump. Remove old. Update the compatibility patch. Drop old patches. (diff)
downloadgentoo-2-d6d01a236c18b7872a860a7210759d1b607932ce.tar.gz
gentoo-2-d6d01a236c18b7872a860a7210759d1b607932ce.tar.bz2
gentoo-2-d6d01a236c18b7872a860a7210759d1b607932ce.zip
add /dev/ttyACM type devices to list of know serial ports (#301126)
(Portage version: 2.2_rc62/cvs/Linux i686)
Diffstat (limited to 'dev-java/rxtx/files')
-rw-r--r--dev-java/rxtx/files/rxtx-2.1-7r2-add-ttyACM.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-java/rxtx/files/rxtx-2.1-7r2-add-ttyACM.diff b/dev-java/rxtx/files/rxtx-2.1-7r2-add-ttyACM.diff
new file mode 100644
index 000000000000..857c8342c371
--- /dev/null
+++ b/dev-java/rxtx/files/rxtx-2.1-7r2-add-ttyACM.diff
@@ -0,0 +1,23 @@
+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