Debian Codegraph @

debian/patches/ttyACM_port.patch

raw symbols SCIP
1 Description: Allows for the enumeration of many additional ports, including ttyACM for Arduino Unos
2 Author: Scott Howard <[email protected]>
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.