summaryrefslogtreecommitdiffstats
path: root/recipes-extended/rxtx/files/ttyACM_port.patch
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2013-04-05 10:03:05 +0200
committerHenning Heinold <heinold@inf.fu-berlin.de>2013-04-05 10:04:35 +0200
commit499e44455e1c37f89dfb9be9e8a970c26e1311d0 (patch)
tree3482587c7d027e092a8a281b606a85dcd800fd6e /recipes-extended/rxtx/files/ttyACM_port.patch
parent25ddfefe665ae48291d2ef3c88f4f1a74bad8768 (diff)
downloadmeta-java-499e44455e1c37f89dfb9be9e8a970c26e1311d0.tar.gz
recipes-extended: split out recipes which are not needed for compiling openjdk
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Diffstat (limited to 'recipes-extended/rxtx/files/ttyACM_port.patch')
-rw-r--r--recipes-extended/rxtx/files/ttyACM_port.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-extended/rxtx/files/ttyACM_port.patch b/recipes-extended/rxtx/files/ttyACM_port.patch
new file mode 100644
index 0000000..da133c9
--- /dev/null
+++ b/recipes-extended/rxtx/files/ttyACM_port.patch
@@ -0,0 +1,28 @@
1Description: Allows for the enumeration of many additional ports, including ttyACM for Arduino Unos
2Author: Scott Howard <showard314@gmail.com>
3
4Index: rxtx/src/gnu/io/RXTXCommDriver.java
5===================================================================
6--- rxtx.orig/src/gnu/io/RXTXCommDriver.java 2010-10-04 23:14:47.236148507 -0400
7+++ rxtx/src/gnu/io/RXTXCommDriver.java 2010-10-04 23:18:56.976108303 -0400
8@@ -574,20 +574,7 @@
9 if(osName.equals("Linux"))
10 {
11 String[] Temp = {
12- "ttyS", // linux Serial Ports
13 "ttySA", // for the IPAQs
14- "ttyUSB", // for USB frobs
15- "rfcomm", // bluetooth serial device
16- "ttyircomm", // linux IrCommdevices (IrDA serial emu)
17- };
18- CandidatePortPrefixes=Temp;
19- }
20- else if(osName.equals("Linux-all-ports"))
21- {
22- /* if you want to enumerate all ports ~5000
23- possible, then replace the above with this
24- */
25- String[] Temp = {
26 "comx", // linux COMMX synchronous serial card
27 "holter", // custom card for heart monitoring
28 "modem", // linux symbolic link to modem.