Re: HP 6350C support?

Peter Kirchgessner (peter@kirchgessner.net)
Sun, 10 Oct 1999 13:21:10 +0200

Hi Rob,

please try hp-backend V0.83 from http://www.kirchgessner.net.
The problem is the answer of the scanner to an image extent inquiry:

> [hp] hp_device_support_probe: 10481 supported (2550..2550, 2550)

This tells that the possible window x-extent is from 2550 to 2550 with
its current value at 2550. For non-ADF scans it would be 0..2550, 2550.
This problem should be fixed in the v0.83 backend.
On the other hand, the response of the scanner may indicate that for
ADF-scans you will always get the maximum scan width back. Even if you
have specified a scan window in (x)scanimage.

--Peter

Rob Komar wrote:
>
> Hi,
> we recently purchased an HP 6350C scanner with ADF and set
> it up via SCSI on our Linux box. The SANE installation seemed
> to go smoothly. tools/find-scanner locates the scanner
> properly (/dev/scanner is a link to /dev/sga):
>
> find-scanner: found processor "HP C7670A 3925" at device /dev/scanner
> find-scanner: found processor "HP C7670A 3925" at device /dev/sg0
> find-scanner: found processor "HP C7670A 3925" at device /dev/sga
>
> However, when I run `xscanimage hp', I get:
>
> [sanei_init_debug]: Setting debug level of dll to 128.
> [dll] adding backend net
> [dll] adding backend hp
> [dll] loading backend hp
> [dll] dlopen()ing `/usr/local/lib/sane/libsane-hp.so.1'
> [dll] init: initializing backend `hp'
> [sanei_init_debug]: Setting debug level of hp to 2.
> [hp] hp_read_config: hp backend v0.82 starts reading config file
> [hp] hp_read_config: processing line <scsi HP>
> [hp] hp_read_config: processing line </dev/scanner>
> [hp] hp_read_config: attach scsi HP
> [hp] probe_scanner: Probing /dev/sga
> [hp] probing Plus
> [hp] probe_scanner: Scanjet Plus compatible
> [hp] probing IIc
> [hp] probing IIp
> [hp] probing IIcx
> [hp] probing 4c/3c
> [hp] probing 3p
> [hp] probing 4P
> [hp] probe_scanner: Scanjet 4P compatible
> [hp] probing 5P
> [hp] probe_scanner: Scanjet 5P compatible
> [hp] probing Photo Scanner
> [hp] probing 6200C/6250C
> [hp] probe_scanner: Scanjet 6200C/6250C compatible
> [hp] hp_device_support_probe: Check supported commands for /dev/sga
> [hp] hp_device_support_probe: 10307 supported (0..1, 0)
> [hp] hp_device_support_probe: 10308 supported (0..1, 0)
> [hp] hp_device_support_probe: 10309 supported (0..12, 0)
> [hp] hp_device_support_probe: 10310 supported (4..200, 100)
> [hp] hp_device_support_probe: 10311 supported (4..800, 100)
> [hp] hp_device_support_probe: 10312 supported (1..1, 1)
> [hp] hp_device_support_probe: 10314 supported (0..1, 0)
> [hp] hp_device_support_probe: 10315 supported (-1..3, 0)
> [hp] hp_device_support_probe: 10316 supported (-127..127, 0)
> [hp] hp_device_support_probe: 10317 supported (-127..127, 0)
> [hp] hp_device_support_probe: 10318 supported (0..1, 0)
> [hp] hp_device_support_probe: 10323 supported (12..3200, 300)
> [hp] hp_device_support_probe: 10324 supported (12..3200, 300)
> [hp] hp_device_support_probe: 10325 supported (0..5, 0)
> [hp] hp_device_support_probe: 10468 not supported
> [hp] hp_device_support_probe: 10469 not supported
> [hp] hp_device_support_probe: 10481 supported (2550..2550, 2550)
> [hp] hp_device_support_probe: 10482 supported (1..3508, 3508)
> [hp] hp_device_support_probe: 10489 supported (0..2549, 0)
> [hp] hp_device_support_probe: 10490 supported (0..3507, 0)
> [hp] hp_device_support_probe: 10950 supported (0..4, 0)
> [hp] hp_device_support_probe: 10951 not supported
> [hp] hp_device_support_probe: 10956 supported (-2..0, 0)
> [hp] hp_device_support_probe: 10965 supported (-2..5, 2)
> [hp] hp_device_support_probe: 10966 not supported
> [hp] hp_device_support_probe: 10969 supported (0..0, 0)
> [hp] hp_device_support_probe: 10970 not supported
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_scanner: Probing /dev/sga
> [hp] probe_change_doc: inquire ADF capability
> [hp] probe_change_doc: check if change document is supported
> [hp] probe_scanner: Probing /dev/sga
> [hp] read_calib_file: Error opening calibration file /root/.sane/calib-hp:+-dev+-sga.dat for reading
> xscanimage: hp-option.c:2979: hp_optset_fix_geometry_options: Assertion `tl_x && tl_y && br_x && br_y' failed.
>
> (followed by a core dump)
>
> Is this due to the HP 6350C being unsupported or because of some
> error on my part when setting it up? Any info would be greatly
> appreciated.
>
> Cheers,
> Rob Komar
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

-- 
Peter Kirchgessner
WWW:    http://www.kirchgessner.net
e-mail: peter@kirchgessner.net

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com