Re: [Hp5400backend-devel] hp5400c/freebsd-4.8/
Status: Alpha
Brought to you by:
soumarmt
From: Thomas S. <sou...@ne...> - 2003-06-14 07:53:36
|
Hi, looking at the debug log, it looks like your scanner does not respond to th= e=20 hp5400 backend as it would be expected. Have a try removing the "/dev/uscanner0" line from hp5400.conf so it just=20 tries with the "usb 0x03F0 0x1005" line. I hope it will solve your problem because, other way, it could mean your=20 scanner has another chipset inside than the one we saw till now, so the=20 communication protocol may not work with it. Le Samedi 14 Juin 2003 08:12, Vitaminoid a =E9crit : > 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 somethi= ng > different, make sure 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 identified > 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 > can'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 except > 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 > [sanei_debug] Setting debug level of dll to 128. > [dll] sane_init: SANE dll backend version 1.0.10 from sane-backends 1.0.12 > [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? |