git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6066
7a7537e8-13f0-0310-91df-
b6672ffda945
CHANGES IN CUPS V1.2.6
+ - The serial backend did not support the new USB serial
+ filenames on Linux (STR #2061)
- The parallel backend did not support bidirectional I/O
properly (STR #2056)
- The network backends now log the numeric address that
printf("serial serial:%s?baud=230400 \"Unknown\" \"USB Serial Port #%d\"\n",
device, i + 1);
}
+
+ sprintf(device, "/dev/ttyUSB%d", i);
+ if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) >= 0)
+ {
+ close(fd);
+ printf("serial serial:%s?baud=230400 \"Unknown\" \"USB Serial Port #%d\"\n",
+ device, i + 1);
+ }
}
for (i = 0; i < 64; i ++)