--- 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 @@
     }
   }
 
-  for (i = 0; i < 16; i ++)
+  for (i = 0; i < 2; i ++)
   {
-    sprintf(device, "/dev/usb/ttyUSB%d", i);
-    if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) >= 0)
+    for (j = 0; j < 16; j++)
     {
-      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)
+      {
+        close(fd);
+        printf("serial serial:%s?baud=230400 \"Unknown\" \"USB Serial Port #%d\"\n",
+               device, j + 1);
+      }
     }
   }
 
