Hi, On Mon, Feb 17, 2003 at 10:40:03AM -0500, Fernando Trias wrote: > I've got a Brother MFC 6800 multi-function printer/scanner/fax and plan > to do some work on the scanning backend of sane. I already got > information from Dmitri Katchalov, who has done a lot of work to > decipher the proprietary protocol.
Can you give a bit more information? So we could enter it in the SANE database and it would be displayed on www.mostang.com. E.g. vendor/product ids, chipset of the scanner part? Any other scanners with similar chipset? Is there any imformation on the web yet? I could link to that. Or shall I at least add your email address so interested users or developers can find you? > The USB device provides three interfaces. The first one is the printer > and the second one is the scanner. > > However, I'm having problems with sane even looking at the device. > Perhaps I'm misreading the code, but it seems that there are a few > problems for this device. > > First, in sanei_usb_init(), the part that enumerates USB devices with > libusb only looks at the first interface, which in the case of this > device is the printer (class 7, USB_CLASS_PRINTER), whereas the scanner > is on interface 2 and is class 0xff (USB_CLASS_VENDOR_SPECIFIC). You are right. Nobody needed more than one interface until now so I haven't implemented that because I couldn't test it anyway. > Perhaps sane could enumerate the interfaces and test each one? Please try the attached code. If it doesn't work, please find out, why it breaks :-) Happy hacking, Henning
