Andy> Everything is working just fine now. As I've mentioned before,
Andy> the mustek-driver complained about INQUIRY being not
Andy> supported. After fiddling around with the scsi-adapters,
Andy> kernel modules and all that stuff without significant
Andy> successes, I've took a look at the sane sources. From there
Andy> I've figured out that SANE_STATUS_UNSUPPORTED is returned by
Andy> sanei_scsi_cmd() if - and only if - neither of the
Andy> scsi-include-files (scsi.h scsi/sg.h sys/scsi.h sys/scsiio.h)
Andy> were found. adding the appropriate links in /usr/include fixed
Andy> the problem. I've already scanned some images and I'm really
Andy> fascinated :-)
Ouch...
Andy> I'd suggest to make configure print out a really _huge_
Andy> warning in case it can't find any of the scsi-include-files or
Andy> at least visibly disable mustek (and any other scsi-devices)
Andy> support. It was quite a pain till I've realized the problem's
Andy> nature.. ;-)
That's what used to happen (it refused to compile). But I think a
better solution still is to simply check for
/usr/src/linux/include/scsi/sg.h (in addition to checking for
/usr/include/scsi/sg.h). I have made this change and hope it will
cover the user's running older distributions.
--david
-- Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/ To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com