[cups-devel] [UNKN] STR #4439: On non Darwin OS configure script ignores --disable-libusb flag

Raimonds Cicans noreply at cups.org
Wed Jun 18 09:24:48 PDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

On any OS except Darwin configure script ignores --disable-libusb flag and
does libusb autodetection.

At least on Linux this cause problems with printing on usb multifunctional
devices.
If cups uses libusb then it tries access printer through /dev/bus/usb/...
device. But offen this device is ocuppied by scanner software and device is
assigned to scanner group but not lp group which is default for cups, so
cups in this configuration do not have access to printer.

In this situation cups should be compiled with --disable-libusb flag, and
cups should acces printer only through /dev/usblp devices

IMHO this problem affects not only 1.7.1 version of cups but all recent
versions

I attached patch which fixes problem for me, but I am not 100% sure it is
correct.

Link: https://www.cups.org/str.php?L4439
Version: 1.7.1
Attachment: https://www.cups.org/strfiles.php/3344/cups-1.7.1-fix-libusb-detection.patch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJTob1QAAoJENujp6sI12IjKb8QAIEnLjNhjx3kDbn2XkG8EVUF
cBz683m9QjMes5h7+r6cdUQS0DwBsUslMECaWJLkJkCu3MNADg3iDm3QOqf5g8gY
ejKQHIHAKSwg612Ig/R5ci3ySgrujvq40jWF6h+f5dIE5XBLK0Lqplu9rp42Nq+v
iC/OuXkvmwG6ePL8TMNABC5g9Nr4xDNwvaszgMK1zaHfaetfW3FPlBM5P7hHhkZs
h6gt1JHlkPe4WlWGUvoA8U8VJ2/z7l1jEDNpWUVJePpb41YU47ijzvhsV2GsvVeD
6NO9NvLuhoATMyQiG1bn3IuRjstEJdES/ukZYYPDGgKlSv0IlGskw6UOdXG9FQLf
jEAdwjwWub/B+O6U7RbLEqt7cf8n3kII2wOI9TQl7vDH+Q0zqELHvSMuu1XGgRF/
DK4U5MR2vdo3PUa3eU/Ex9YJmFYdwi4KsVFUEd9sYMN+sxnQrRL8XALCgfxaKHDh
16j8PWWMj83t02kGX/ZRk5GJ/ZzQvuGSC/PiJdrE45bZLSfofz8cYF3Wn4Py/szy
wqOAsga9gjbl/VdtqJN71qaI6h4Ch4KProhHQmeE0CBGZVwi0/+F4fvcJvyAlMuC
tQZCmTJKg6DGH2wLXjjnB9/q7Oo6FvTfTaFXUripUPt/e4BxhOiUy/C9Vrg40f0A
QqXZeCwxeGsX63hm5tPG
=RgYf
-----END PGP SIGNATURE-----




More information about the cups-devel mailing list