diff options
author | Thilo Bangert <bangert@gentoo.org> | 2010-02-12 10:07:21 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2010-02-12 10:07:21 +0000 |
commit | 44c4a8767467c48633f53d7ae8e5ee612fb8c521 (patch) | |
tree | 224bddc9dcbea285d4cc862ee6690c516750e5e2 /dev-java/rxtx/files | |
parent | Version bump. Remove old. Update the compatibility patch. Drop old patches. (diff) | |
download | historical-44c4a8767467c48633f53d7ae8e5ee612fb8c521.tar.gz historical-44c4a8767467c48633f53d7ae8e5ee612fb8c521.tar.bz2 historical-44c4a8767467c48633f53d7ae8e5ee612fb8c521.zip |
add /dev/ttyACM type devices to list of know serial ports (#301126)
Package-Manager: portage-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.diff | 23 |
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 |