[sane-devel] OS/2 version of Sane
Franz Bakan
fbakan at gmx.net
Fri Nov 23 00:58:20 GMT 2001
On Thu, 22 Nov 2001 21:40:45 +0100, Henning Meier-Geinitz wrote:
...
>Lots of changes, so please everyone: try compiling and running.
I think the OS/2-specific changes which you comitted to CVS are
OK but there are some other problems:
1. sharp.c refuses to compile because of the last changes in CVS:
sharp.c: In function `do_cancel':
sharp.c:2262: storage size of `ds' isn't known
sharp.c:2264: warning: implicit declaration of function `shmctl'
I think that's because I compile without HAVE_SYS_SHM_H defined
in sharp and nec backends) and so sys/shm.h is not included...
(There is a sys/shm.h available for OS/2. I just renamed it some
time ago to avoid fork() so it can't be found by configure)
2. epson-backend no longer works:
for example
scanimage --device=epson --resolution=100 -x20 -y20
ends with SIGSEGV
Last lines of Debug-Output
(with SANE_DEBUG_SANEI_SCSI=1, SANE_DEBUG_EPSON=1) :
...
[sanei_scsi] sanei_scsi_cmd: Reading srb.u.cmd.data_len= 33
[sanei_scsi] OS/2: ASPI closed
[epson] set = 19.999985
[epson] set = 19.999985
[epson] sane_start: access(b1t6l0, R_OK | W_OK) failed
[epson] sane_start: Setting data format to 1 bits
[sanei_scsi] sanei_scsi_cmd: Writing srb.u.cmd.data_len= 2
Process terminated by SIGSEGV
With a version that works I get:
[sanei_scsi] sanei_scsi_cmd: Reading srb.u.cmd.data_len= 33
[sanei_scsi] OS/2: ASPI closed
[epson] set = 19.999985
[epson] set = 19.999985
[sanei_debug] Setting debug level of sanei_scsi to 1.
[sanei_scsi] OS/2: installed adapters 1
[sanei_scsi] OS/2: ASPI manager is 'OS2ASPI Dev Mgr SYM53C8XX OS/2 A'
[sanei_scsi] OS/2: host adapter is 'SYM53C8XX OS/2 A'
...
3. I think it's epson-specific, because the mustek-backend
works after the last changes.
So long
Franz
More information about the sane-devel
mailing list