[sane-devel] Device with two USB bulk IN endpoints? (Was: Rising project: Support of Konica-Minolta Magicolor 2480MF)

Reinhold Kainhofer reinhold at kainhofer.com
Mon Sep 6 18:25:50 UTC 2010

Am Sonntag, 8. August 2010, 19:21:31 schrieb Ilia Sotnikov:
> Several months ago almost finished implementing the backend for
> Konica-Minolta devices (BizHub 162/132, DiMage 1611 to name them).
> Basic command structure is:
> 03 [1  byte] (could be counted as 'signature')
> command [1 byte]
> argument1 size [4 byte]
> argument1 [argument1 size]
> ...
> argumentN size [4 byte]
> argumentN [argumentN size]
> end-of-record [4 byte] 00 00 00 00

Of course, you were correct with that command structure. I was missing one 
byte somewhere in my documentation, so the size arguments didn't align 

> - device has several endpoints of same type in one interface
> descriptor (3 and 5 being OUT, 4 and 6 being IN, uses 5 and 6 for
> scanning functions). SANE USB layer ignores them all but first. This
> is the reason I didn't submit the backend - didn't finish the USB
> layer changes. As I see MagiColor devices have separate
> descriptors/configurations for different functions, though.

Actually, I'm running into the same problem with the magicolor 1690MF. It has 
one USB interface for the scanner and two for the printer. The problem is that 
the scanner interface has 3 bulk endpoints: #3 OUT, #4 IN and #5 IN. 
Unfortunately, the scanner uses endpoint #5 to send data, while SANE always 
takes the first bulk IN endpoint, which is #4 in this case.

So, we are back to your problem

Has anything happened in this direction?


Reinhold Kainhofer, reinhold at kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org

More information about the sane-devel mailing list