4743e1
diff -up cups-1.5b1/backend/usb-unix.c.direct-usb cups-1.5b1/backend/usb-unix.c
4743e1
--- cups-1.5b1/backend/usb-unix.c.direct-usb	2011-05-20 05:49:49.000000000 +0200
4743e1
+++ cups-1.5b1/backend/usb-unix.c	2011-05-23 17:52:14.000000000 +0200
4743e1
@@ -102,6 +102,9 @@ print_device(const char *uri,		/* I - De
4743e1
              _cups_strncasecmp(hostname, "Minolta", 7);
eb99a8
 #endif /* __FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__ */
eb99a8
 
73d7a1
+    if (use_bc && !strncmp(uri, "usb:/dev/", 9))
73d7a1
+      use_bc = 0;
eb99a8
+
73d7a1
     if ((device_fd = open_device(uri, &use_bc)) == -1)
73d7a1
     {
eb99a8
       if (getenv("CLASS") != NULL)
4743e1
@@ -331,12 +334,7 @@ open_device(const char *uri,		/* I - Dev
46df88
   if (!strncmp(uri, "usb:/dev/", 9))
46df88
 #ifdef __linux
0bbee8
   {
0bbee8
-   /*
0bbee8
-    * Do not allow direct devices anymore...
0bbee8
-    */
0bbee8
-
0bbee8
-    errno = ENODEV;
0bbee8
-    return (-1);
46df88
+    return (open(uri + 4, O_RDWR | O_EXCL));
0bbee8
   }
46df88
   else if (!strncmp(uri, "usb://", 6))
46df88
   {