[sane-devel] OS/2 version of Sane

Karl Heinz Kremer khk@khk.net
Fri, 23 Nov 2001 15:59:11 -0500


--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 23, 2001 at 01:58:20AM +0100, Franz Bakan wrote:
> 2. epson-backend no longer works:
>   for example=20
>    scanimage --device=3Depson --resolution=3D100 -x20 -y20
>   ends with SIGSEGV
>=20
> Last lines of Debug-Output
>  (with SANE_DEBUG_SANEI_SCSI=3D1, SANE_DEBUG_EPSON=3D1) :
>=20
> ...
> [sanei_scsi] sanei_scsi_cmd: Reading srb.u.cmd.data_len=3D 33
> [sanei_scsi] OS/2: ASPI closed
> [epson] set =3D 19.999985
> [epson] set =3D 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=3D 2
>=20
> Process terminated by SIGSEGV
>=20
>=20
> With a version that works I get:
>=20
> [sanei_scsi] sanei_scsi_cmd: Reading srb.u.cmd.data_len=3D 33
> [sanei_scsi] OS/2: ASPI closed
> [epson] set =3D 19.999985
> [epson] set =3D 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


--=20
Karl Heinz Kremer                                  khk@khk.net
PGP Key at http://www.freecolormanagement.com/download/khk.asc
EPSON Sane Backend:         http://www.freecolormanagement.com

--SUOF0GtieIMvvwua
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBO/64nh4KmkKPBVxtAQEpqgP8DtPIyYozizTAANZPqM0YyDiMJ0jUnkZT
Cv11SDwxdbfpeJfC5yM6y/8qdZ7f7qVIWL74ew/BngbbGe/b0D9v1RkhiYYo9lwn
Ysk6zoy4PBYX2DMc33ddZjC6B5OaoGUgd8VbTHQnJ9j3jPm6CYDo6YSPnu+KK+Uu
Y41yJIl9amI=
=7bus
-----END PGP SIGNATURE-----

--SUOF0GtieIMvvwua--