[Hp5400backend-devel] hp5400c/freebsd-4.8/
Status: Alpha
Brought to you by:
soumarmt
From: Vitaminoid <vit...@vi...> - 2003-06-14 06:12:45
|
I've got a HP Scanjet 5400C running under FreeBSD 4.8 Trying to make it work. Here's what I've got. root@tachka# dmesg|grep uscanner uscanner0: Hewlett-Packard HP Scanjet 5400C Series, rev 1.10/0.00, addr 2 root@tachka# sane-find-scanner -v -f /dev/uscanner0 searching for SCSI scanners: checking /dev/uscanner0 even though it looks like a USB device... failed = to open (Invalid argument) # No SCSI scanners found. If you expected something different, make sur= e that # you have loaded a SCSI driver for your SCSI adapter. searching for USB scanners: checking /dev/uscanner0... open ok, vendor and product ids were identifie= d found USB scanner (vendor=3D0x03f0, product=3D0x1005) at /dev/uscanner0 ignoring libusb devices # Your USB scanner was detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Scanners connected to the parallel port or other proprietary ports ca= n't be # detected by this program. done ----------------------------------------- So it's seen by the sane-find-scanner. In the file /usr/local/etc/sane.d/dll.conf I comment out everything excep= t hp5400. The contents of file /usr/local/etc/sane.d/hp5400.conf are: usb 0x03F0 0x1005 /dev/uscanner0 But scanimage doesn't work. ----------------------------------------- root@tachka# export SANE_DEBUG_HP5400=3D128 root@tachka# export SANE_DEBUG_DLL=3D128 root@tachka# scanimage -L =20 [sanei_debug] Setting debug level of dll to 128. [dll] sane_init: SANE dll backend version 1.0.10 from sane-backends 1.0.1= 2 [dll] sane_init: reading dll.conf [dll] add_backend: adding backend `hp5400' [dll] sane_get_devices [dll] load: searching backend `hp5400' in `/usr/local/lib/sane' [dll] load: trying to load `/usr/local/lib/sane/libsane-hp5400.so.1' [dll] load: dlopen()ing `/usr/local/lib/sane/libsane-hp5400.so.1' [dll] init: initializing backend `hp5400' [sanei_debug] Setting debug level of hp5400 to 128. [hp5400] sane_init: SANE hp5400 backend version 1.0-2 (from sane-backends= 1.0.12 ) [hp5400] Reading config file [hp5400] Discarding line 1 [hp5400] Discarding line 2 [hp5400] Discarding line 3 [hp5400] Discarding line 4 [hp5400] Trying to attach usb 0x03F0 0x1005 [hp5400] vendor/product 0x03F0-0x1005 opened [hp5400] Read: reqtype =3D 0xC0, req =3D 0x04, value =3D 1200 [hp5400] Read: reqtype =3D 0xC0, req =3D 0x04, value =3D C500 [hp5400] hp5400_command_verify failed, expected 0x1200, got 0xFCEC [hp5400] failed to read version string [hp5400] attach_one_device: couldn't attach /dev/uscanner0 [hp5400] Discarding line 6 [hp5400] Discarding line 7 [hp5400] Discarding line 8 [hp5400] Discarding line 9 [hp5400] Discarding line 10 [hp5400] Discarding line 11 [hp5400] Discarding line 12 [hp5400] Discarding line 13 [hp5400] Trying to attach /dev/uscanner0 [hp5400] vendor/product 0x03F0-0x1005 opened [hp5400] Read: reqtype =3D 0xC0, req =3D 0x04, value =3D 1200 [hp5400] Read: reqtype =3D 0xC0, req =3D 0x04, value =3D C500 [hp5400] hp5400_command_verify failed, expected 0x1200, got 0x605B [hp5400] failed to read version string [hp5400] attach_one_device: couldn't attach /dev/uscanner0 [dll] init: backend `hp5400' is version 1.0.2 [hp5400] sane_get_devices No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). [dll] sane_exit: exiting [dll] sane_exit: calling backend `hp5400's exit function [hp5400] sane_exit [dll] sane_exit: finished [dll] sane_get_devices: found 0 devices ---------------------------------------------------- Could you please help me to find out where the problem is? --=20 =FA=C5=D7=C1=D4=D8 =D7 =D0=D2=C9=D3=D5=D4=D3=D4=D7=C9=C9 =C4=D2=D5=C7=C9=C8= =CC=C0=C4=C5=CA =D0=D2=C9=DA=CE=C1=CB =D0=CC=CF=C8=CF=C7=CF =D4=CF=CE=C1= . =F6=C5=CC=C1=CE=C9=C5 =DA=C5=D7=CE=D5=D4=D8 =D0=D2=C5=CB=D2=C1=D4=C9=D4= =D3=D1, =C5=D3=CC=C9 =D0=D2=CF=D7=C5=D3=D4=C9 =CC=C1=C4=CF=CE=D8=C0 =D0=CF= =CC=C2=D5 =D3=CE=C9=DA=D5 =D7=D7=C5=D2=C8. =E5=D3=CC=C9 =DC=D4=CF =CE=C5= =D0=CF=CD=CF=C7=C1=C5=D4, =CF=C2=CC=C9=D6=C9 =C7=D5=C2=D9, =CE=C5 =CF=D4= =CB=D2=D9=D7=C1=D1 =D2=D4=C1, =C9=CC=C9 =D0=D2=CF=D3=D4=CF =DA=C1=CB=D2=CF= =CA=D3=D1 =D2=D5=CB=C1=D7=CF=CD, =DE=D4=CF=C2=D9 =CE=C9=CB=D4=CF =CE=C5 =D7= =C9=C4=C5=CC, =DE=D4=CF =D4=D9 =C4=C5=CC=C1=C5=DB=D8. =FE=C9=C8=C1=D1 =CE= =C1 =CC=C0=C4=D1=C8, =D4=D9 =CD=CF=D6=C5=DB=D8 =D0=CF=CB=C1=DA=C1=D4=D8=D3= =D1 =C7=CC=D5=D0=D9=CD. |