- In the call (line 634)
632 buf = (u_char *) head;
633 if (s->hw->is_scsi)
634 receive (s, buf, 4, status);
635 else
636 receive (s, buf, 1, status);
it is expected that the last two bytes read from the scanner form
a legal 16 bit integer.
This is not the case on a M680x0 processor.
- In line 849 (procedure 'attach')
dummy_dev.sane.model = (char *) memcpy (str, buf + 16 + 8, 8);
'buf' is not initialized if the scanner is a parallel port scanner.
(I have not tested it on a parallel scanner but my C compiler told
me that there is a potential problem).
The ported backend has been reported to work with the following SCSI
Epson scanners:
GT9000, GT8500, GT7000, GT6500 and Perfection636
A little addition around line 750 had to be made to make the backend
recognize the Perfection scanner.
Svend Daugaard Pedersen
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com