[cups.bugs] [MOD] STR #3801: linux backend usb libusb fails to detect Epson Stylus Photo R360, interface 0 claimed by usb-storage

Mark Huijgen mark.sf.net at huijgen.tk
Wed Feb 23 07:05:44 PST 2011


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

[STR New]

Linux, kernel 2.6.35 without usblp module, cups compiled with libusb
support.
Connected a Epson Stylus Photo R360 via USB, lsusb -vv output for this
device attached as lsusb-epson-stylus-photo-r360.txt

Summary: printer *not* found by cups using libusb, but is found on system
using cups with usblp.

The issue seems to be that in usb-libusb.c: open_device() function it
always claims interface 0 besides the interface which carries the printer
class. In case of this Epson printer, interface 0 is an mass-storage class
interface and is already claimed by the usb-storage module.

Removing the code section in open_device() which claims interface 0 allows
this printer to be detected and print. I'm wondering why it always tries to
claim interface 0?

Link: http://www.cups.org/str.php?L3801
Version: 1.4-current
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lsusb-epson-stylus-photo-r360.txt
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20110223/0c3de04f/attachment.txt>


More information about the cups-devel mailing list