Berend Reitsma wrote:
> Hello folks,
>
> I have a Canon IX-4015 which I want to use with SANE under Linux.
> I have asked Canon Benelux for technical information on this scanner, but
> they could not give this directly. They only could send an official
> request to their 'research organisation' if we were an company with a
> research department.
>
> My question is now, should I continue this through Canon Benelux or should
> I contact another department of Canon. This will be a private development
> and not supported directly from our company.
>
> Maybe a better question is if someone already has this information and
> would like to get in contact with me. I already sent a message to Helmut
> Koeberle (the maintainer of the canon backend) some time ago, but I did
> not get an answer from him.
>
> My results until now:
>
> By disabling the check on results for setting the window, resolution and
> so on, I am able to get a picture from the scanner, which resembles in
> some manner to the picture I did expect ;-).
>
> BTW: I have changed sanei_scsi to display the sense key in case of
> errno=0. Maybe this is usefull for other people too, so I have attached a
> diff.
>
> Regards,
> Berend.
>
> --
>
> Berend Reitsma
>
> Asset Control International | Phone: +31 (0)513 469100
> P.O. Box 10 | Fax: +31 (0)513 461588
> 8408 ZH Lippenhuizen | Email: berend@asset-control.com
> The Netherlands | Web: www.asset-control.com
>
> ------------------------------------------------------------------------
> --- sanei/sanei_scsi.c.orig Tue Jul 14 13:35:22 1998
> +++ sanei/sanei_scsi.c Tue Jun 30 16:27:32 1998
> @@ -1123,10 +1123,24 @@
> SANEI_SCSI_Sense_Handler handler
> = fd_info[req->fd].sense_handler;
> void *arg = fd_info[req->fd].sense_handler_arg;
> -
> - DBG(1, "sanei_scsi_req_wait: SCSI command complained: %s\n",
> - strerror (req->cdb.hdr.result));
> -
> +
> + if (req->cdb.hdr.result != 0)
> + {
> + DBG(1, "sanei_scsi_req_wait: SCSI command complained: %s\n",
> + strerror (req->cdb.hdr.result));
> + }
> + else
> + {
> + DBG(1, "sanei_scsi_req_wait: SCSI sense: %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x\n",
> + req->cdb.hdr.sense_buffer[0], req->cdb.hdr.sense_buffer[1],
> + req->cdb.hdr.sense_buffer[2], req->cdb.hdr.sense_buffer[3],
> + req->cdb.hdr.sense_buffer[4], req->cdb.hdr.sense_buffer[5],
> + req->cdb.hdr.sense_buffer[6], req->cdb.hdr.sense_buffer[7],
> + req->cdb.hdr.sense_buffer[8], req->cdb.hdr.sense_buffer[9],
> + req->cdb.hdr.sense_buffer[10], req->cdb.hdr.sense_buffer[11],
> + req->cdb.hdr.sense_buffer[12], req->cdb.hdr.sense_buffer[13],
> + req->cdb.hdr.sense_buffer[14], req->cdb.hdr.sense_buffer[15]);
> + }
> if (req->cdb.hdr.result == EBUSY)
> status = SANE_STATUS_DEVICE_BUSY;
> else if (handler)
Hi,
sorry for answering so late, but i'm very busy at the moment.
i already got the documentation for an IX-4015 and i will send
you an e-mail, how to get it.
Bye
H. Koeberle
--------------C4C530E33C9EE658CC553EAD
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Helmut Koeberle
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Helmut Koeberle
n: Koeberle;Helmut
org: BYTEC GmbH
adr: Karlstraße 17;;;Tettnang;;D-88069;Germany
email;internet: helmut.koeberle@bytec.de
title: Diplom-Mathematiker
tel;work: +49 7542 9306 30
tel;fax: +49 7542 9306 90
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
--------------C4C530E33C9EE658CC553EAD--
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com