[sane-devel] OS/2 version of Sane

Karl Heinz Kremer khk at khk.net
Fri Nov 23 20:59:11 GMT 2001


On Fri, Nov 23, 2001 at 01:58:20AM +0100, Franz Bakan wrote:
> 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'

Can you please edit the epson.c source file and disable the access() check and
try again. This may not work on OS/2.

Karl Heinz


-- 
Karl Heinz Kremer                                  khk at khk.net
PGP Key at http://www.freecolormanagement.com/download/khk.asc
EPSON Sane Backend:         http://www.freecolormanagement.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 292 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20011123/5db150a7/attachment.sig>


More information about the sane-devel mailing list