diff options
Diffstat (limited to 'recipes-extended/rxtx/files/ttyACM_port.patch')
-rw-r--r-- | recipes-extended/rxtx/files/ttyACM_port.patch | 28 |
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 @@ | |||
1 | Description: Allows for the enumeration of many additional ports, including ttyACM for Arduino Unos | ||
2 | Author: Scott Howard <showard314@gmail.com> | ||
3 | |||
4 | Index: 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. | ||