---2040820479-1255864037-882195105=:81194
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi SaneDevel,
we added support for user-level SCSI under AIX using the generic SCSI
driver gsc written by Matthew Jacob <mjacob@feral.com>. We tested SANE
under AIX 4.1.5 with a HP-ScanJet IIc, it works fine.
We have used configure as
% CC=cc configure --disable-shared
as shared libs failed to build. The latest version of GIMP does work,
too, but is a little bit unstable.
The appended context diffs are based on SANE 0.68.
One remark to the program tools/find-scanner:
The HP ScanJet failed to respond to the inquiry command
{INQUIRY, 0x00, 0x02, 0x00, 0xff, 0x00},
while the command
{INQUIRY, 0x00, 0x00, 0x00, 0xff, 0x00}
worked well.
We changed this, but we don't know if it still will work with other
scanners...
Have fun
Fred & Michael
Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany
Email: fred@thp.Uni-Duisburg.DE http://WWW.thp.Uni-Duisburg.DE/
"Der Koerper der algebraischen Zahlen ist kein algebraischer Zahlkoerper"
(E.. Landau, Zahlentheorie (1927), Satz 718)
---2040820479-1255864037-882195105=:81194
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=diffs
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.A32.3.95.971215151145.81194B@hal6000.thp.Uni-Duisburg.DE>
Content-Description: Context diffs
KioqIC4vZnJvbnRlbmQvc2FuZWQuYy5vcmkJU3VuIE5vdiAyMyAwNTo1NDo1
OCAxOTk3DQotLS0gLi9mcm9udGVuZC9zYW5lZC5jCVRodSBEZWMgMTEgMTY6
MzQ6NTQgMTk5Nw0KKioqKioqKioqKioqKioqDQoqKiogMjAsMjUgKioqKg0K
LS0tIDIwLDI3IC0tLS0NCiAgICAgYmFja2VuZC4NCiAgICovDQogIA0KKyAj
aW5jbHVkZSA8bGFsbG9jYS5oPgkvKiBNVVNUIGNvbWUgZmlyc3QgZm9yIEFJ
WCEgKi8NCisgDQogICNpbmNsdWRlIDxzYW5lL2NvbmZpZy5oPg0KICAjaW5j
bHVkZSA8c2FuZS9zYW5laV9jb25maWcua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KyANCisgCSogTW92ZWQgJyNpbmNsdWRl
IDxsYWxsb2NhLmg+JyB0byB2ZXJ5IGJlZ2lubmluZyBpbiBhbGwgc291cmNl
DQorIAlmaWxlcyBhcyBBSVggbmVlZHMgaXQgdGhlcmUuDQorIA0KKyAJKiBB
ZGRlZCBkZWZpbmUgT1VURklMRU5BTUUgdG8gZnJvbnRlbmQveHNjYW5pbWFn
ZS5jLg0KKyANCisgCSogRml4ZWQgd3JvbmcgZW52aXJvbm1lbnQgcmVmZXJl
bmNlIGluIC9kb2Mvc2FuZS1zY3NpLm1hbi4NCisgDQorIAkqIFNldmVyYWwg
Y2hhbmdlcyBpbiB0b29scy9maW5kLXNjYW5uZXIuYyB0byBydW4gdXNpbmcN
CisgCWFib3ZlIG1lbnRpb25lZCBkcml2ZXIuDQorIAlGaXhlZCB3cm9uZyBJ
Tl9wZXJpcGhfZGV2dHlwZV9jcHUgKHdhcyAxLCBzaG91bGQgYmUgMykuCQ0K
KyANCiAgMTk5Ny0xMi0wMyAgRGF2aWQgTW9zYmVyZ2VyLVRhbmcgIDxEYXZp
ZC5Nb3NiZXJnZXJAYWNtLm9yZz4NCiAgDQogIAkqIFZlcnNpb24gMC42OCBy
ZWxlYXNlZC4NCg==
---2040820479-1255864037-882195105=:81194--
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com