Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version: 1.2.5 CUPS.org User: twaugh.redhat
The serial backend needs to search /dev/ttyUSB%d as well as /dev/usb/ttyUSB%d as both have been used at various times. FC6 uses /dev/ttyUSB%d FWIW.
The text was updated successfully, but these errors were encountered:
CUPS.org User: mike
Fixed in Subversion repository.
Gotta love how the kernel developers change things for no good reason...
I committed a slightly different patch (attached)...
Sorry, something went wrong.
"cups-ttyUSB.patch":
--- cups-1.2.5/backend/serial.c.ttyUSB 2006-10-27 13:01:51.000000000 +0100 +++ cups-1.2.5/backend/serial.c 2006-10-27 13:01:52.000000000 +0100 @@ -769,14 +769,17 @@ } }
close(fd);
printf("serial serial:%s?baud=230400 \"Unknown\" \"USB Serial Port #%d\"\n",
device, i + 1);
sprintf(device, "/dev/%sttyUSB%d", i ? "" : "usb/", j);
if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) >= 0)
{
device, j + 1);
}
"str2061.patch":
--- serial.c (revision 6065) +++ serial.c (working copy) @@ -778,6 +778,14 @@ printf("serial serial:%s?baud=230400 "Unknown" "USB Serial Port #%d"\n", device, i + 1); } +
for (i = 0; i < 64; i ++)
No branches or pull requests
Version: 1.2.5
CUPS.org User: twaugh.redhat
The serial backend needs to search /dev/ttyUSB%d as well as /dev/usb/ttyUSB%d as both have been used at various times. FC6 uses /dev/ttyUSB%d FWIW.
The text was updated successfully, but these errors were encountered: