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 properly... > - 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 http://lists.alioth.debian.org/pipermail/sane-devel/2009-March/024266.html Has anything happened in this direction? Cheers, Reinhold -- ------------------------------------------------------------------ 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