[sane-devel] Mac OS X, USB HP ScanJet 3300c (niash) issues
Mattias Ellert
mattias.ellert@tsl.uu.se
Sun, 30 Jan 2005 16:54:30 +0100
--=-LIXOKzUi3AT7ef3RJ+nQ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Mon, 2005-01-03 at 10:49 -0700, Anthony Agelastos wrote:
> Hello all and thank you for your help. I am new to SANE, so please=20
> forgive me if the answers to my questions are obvious; I read as much=20
> documentation as I could, but still could not get it to work. I have a=20
> USB HP ScanJet 3300C (sane-niash) and it is not found at all by sudo=20
> sane-find-scanner (it says no USB scanners found). Since this scanner=20
> has no power button, to "turn it on" as sane-find-scanner wanted of me,=20
> I unplugged it and plugged it back in, which causes the scanning lights=20
> to illuminate.
>=20
> Here are my specs:
>=20
> Mac OS X 10.3.7 / 640 MB RAM / Apple's X11.app / PowerBook G4 400 MHz=20
> (fully updated)
> XCode 1.5 + X11SDK + GCC31 + November Update (fully updated)
> libusb 0.1.8 (installed via DarwinPorts @ darwinports.opendarwin.org)
> sane-backends 1.0.15 (./configure ; make ; sudo make install) /=20
> sane-frontends 1.0.13 (./configure ; make ; sudo make install)
>=20
> Any assistance would be greatly appreciated. Thanks again for all of=20
> your help.
>=20
> Regards,
>=20
> Anthony Agelastos
What patches have been applied to your libusb. Without patches the MacOS
X libusb has problems with error handling, timeouts and interface
switching. The version on http://www.ellert.se/twain-sane/ has the
proper patches. The patch applied in that version can be found in the
source tarball on that site if you want to check it against the patches
that have applied to your version.
Is your SANE build properly linked to libusb? Check e.g. the scanimage
binary using otool -L:
Mattias-Ellerts-dator:~ ellert$ otool -L /usr/local/bin/scanimage
/usr/local/bin/scanimage:
/usr/local/lib/libsane.1.dylib (compatibility version 2.0.0,
current version 2.15.0)
/usr/local/lib/libusb-0.1.4.dylib (compatibility version 9.0.0,
current version 9.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 71.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/Core=
Foundation (compatibility version 150.0.0, current version 294.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
(compatibility version 1.0.0, current version 170.0.0)
Running sane-find-scanner with some debugging output from the niash
backend and from the SANE usb internals would also help.
SANE_DEBUG_NIASH=3D255 SANE_DEBUG_SANEI_USB=3D255 sane-find-scanner
Mattias
--=-LIXOKzUi3AT7ef3RJ+nQ
Content-Type: application/x-pkcs7-signature; name=smime.p7s
Content-Disposition: attachment; filename=smime.p7s
Content-Transfer-Encoding: base64
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIDNjCCAzIw
ggKboAMCAQICAgJ2MA0GCSqGSIb3DQEBBAUAME8xDTALBgNVBAoTBEdyaWQxEjAQBgNVBAoTCU5v
cmR1R3JpZDEqMCgGA1UEAxMhTm9yZHVHcmlkIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA0
MDUwNDE0MjY0MVoXDTA1MDUwNDE0MjY0MVowUDENMAsGA1UEChMER3JpZDESMBAGA1UEChMJTm9y
ZHVHcmlkMRIwEAYDVQQLEwl0c2wudXUuc2UxFzAVBgNVBAMTDk1hdHRpYXMgRWxsZXJ0MIGfMA0G
CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDV8f0oE9EY8Zc7W18PuyjcZAZUPXqwDqMJigz+FKIy2Tqy
3Xcv8hAXk/VM+wU+RZMpfwwRihb0TFYAvqsuHn6rV6Z4xUhnB5uUjlNp4vBomtPcXOwVBSpflFyM
VdkUCTQls+rIoHo/jO07W1NZMRXxBTWoSC/YXfbV9MsP+6MsFwIDAQABo4IBGjCCARYwCQYDVR0T
BAIwADARBglghkgBhvhCAQEEBAMCBaAwCwYDVR0PBAQDAgXgMCwGCWCGSAGG+EIBDQQfFh1PcGVu
U1NMIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUHC2rjql+Xupjzclc4OC8+kH0iQUw
dwYDVR0jBHAwboAUGA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