Re: [Hp5400backend-devel] hp5400c/freebsd-4.8/
Status: Alpha
Brought to you by:
soumarmt
From: Thomas S. <sou...@ne...> - 2003-06-14 09:01:00
|
I only see at this moment 3 options : * it might be a problem with big and little endian. Commands sent to the=20 scanner are array of chars and could be affected by the byte order your=20 system use. If it is that it would explain that the scanner does receive wh= at=20 we think we do and therefore does not reply as we expect * it could be a problem with permissioning ? * the scanner has not the same chipset. To check that you would have to get= a=20 USB log from its communication under a supported OS (e.g. Windows). Your=20 could log just the startup of a scanning program, then send it to me so I=20 could tell you if it talks the same way. Do you have knowledge about C programming ? Le Samedi 14 Juin 2003 10:02, vous avez =C3=A9crit : > Removed the /dev/uscanner0 line from hp5400.conf, same thing: > > root@tachka# scanimage -L > [sanei_debug] Setting debug level of dll to 256. > [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 256. > [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] Discarding line 14 > [dll] init: backend `hp5400' is version 1.0.2 > [hp5400] sane_get_devices > [dll] sane_get_devices: found 0 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 > --------------------------------------------- > > What does it mean? No luck? :-) > Can it be an OS-dependent problem? > > > Hi, > > > > looking at the debug log, it looks like your scanner does not respond to > > the hp5400 backend as it would be expected. > > > > Have a try removing the "/dev/uscanner0" line from hp5400.conf so it ju= st > > tries with the "usb 0x03F0 0x1005" line. > > > > I hope it will solve your problem because, other way, it could mean your > > scanner has another chipset inside than the one we saw till now, so the > > communication protocol may not work with it. > > > > Le Samedi 14 Juin 2003 08:12, Vitaminoid a =D0=98crit : > > > 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, ad= dr > > > 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 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 differen= t, > > > 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? > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: eBay > > Great deals on office technology -- on eBay now! Click here: > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > Hp5400backend-devel mailing list > > Hp5...@li... > > https://lists.sourceforge.net/lists/listinfo/hp5400backend-devel |