[sane-devel] Umax Astra 2400S w/ AEC-6712D hanging
abel deuring
a.deuring@satzbau-gmbh.de
Thu, 26 Feb 2004 22:56:42 +0100
Oliver Rauch wrote:
> No, the scsi command in the block is send.cmd (0x2a), the DCF?.cmd is not
> an scsi command, it is the beginning of the data structure that is sent
> with the send command:
>
> memcpy(dev->buffer[0], send.cmd, send.size);
> set_S_datatype_code(dev->buffer[0], S_datatype_gamma);
> dest = dev->buffer[0] + send.size;
> if (dev->inquiry_gamma_DCF == 0)
> {
> DBG(DBG_info, "using gamma download curve format type 0\n");
> memcpy(dest, gamma_DCF0.cmd, gamma_DCF0.size);
Ouch. I should learn again to read entire functions...
Abel