On Tue, Sep 18, 2001 at 12:56:43PM +0200, Oliver Neukum wrote:
> are you sure that this approach will work with several scanners of the same 
> type attached ?

        We were discussing printers, not scanners.  I may have misstyped
somewhere.  However, scanners are just as worthwhile.  Fundamentally,
there is no way that the software side can know that "01/01" is the
printer on the left of the monitor, and "01/02" is the printer on the
right of the monitor.  In the example I was using, if you have two HP
600C printers, they show up as a choice of "print on HP 600C" and "print
on HP 600C".  There isn't any more space information to provide the user
        However, once a selection has been made (eg, the first one), you
then have a specific Bus/Device combination to work off of (01/01).  You
can then look at the /dev/usb/lpX devices (or /dev/usb/scannerX if you
like) and try to match up the Bus/Device ids with something like
LPIOC_GET_BUS_ID and so on.  These ioctls are only to cover the case of
"what /dev maps to what bus/device, and vice versa".

Joel


-- 

Life's Little Instruction Book #314

        "Never underestimate the power of forgiveness."

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: [EMAIL PROTECTED]
Phone: (650) 506-8127

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to