[sane-devel] hp backend fails to detect HP SCSI scanner

m. allan noah kitno455 at gmail.com
Thu Mar 27 12:16:27 UTC 2008


can you get the original poster to put it back to stock, and get a
debug log like this:

SANE_DEBUG_SANEI_SCSI=5 SANE_DEBUG_HP=128 scanimage -L

allan

On 3/27/08, Johannes Meixner <jsmeix at suse.de> wrote:
>
>  Hello,
>
>  I got a bug report from a user where his HP SCSI scanner
>  was not found by default by the hp backend, see
>  https://bugzilla.novell.com/show_bug.cgi?id=350688
>  in particular starting at
>  https://bugzilla.novell.com/show_bug.cgi?id=350688#c8
>
>  It worked with openSUSE 10.2 but fails for openSUSE 10.3.
>  Both 10.2 and 10.3 provide sane-backends version 1.0.18.
>  I cannot reproduce it myself because I don't have the
>  needed hardware so that I can only guess that the
>  problem happens also for sane-backends 1.0.19.
>
>  Since openSUSE 10.3 we use libata for IDE devices
>  which makes IDE devices appear as generic SCSI devices.
>  The user has a HP disk drive which gets /dev/sg2
>  and his HP C2520A 3503 ScanJet gets /dev/sg4.
>
>  It seems the hp backend detects the HP disk drive
>  and of course fails to access it as a SCSI scanner
>  but then it seems the hp backend gives up to further
>  scan the SCSI bus for the HP SCSI scanner.
>
>  It helps when the user changes the default entry
>  scsi HP
>  in /etc/sane.d/hp.conf to a more specific entry
>  scsi HP C2520A
>  so that the hp backend detects only the SCSI scanner.
>
>
>  The problem might not happen only with libata
>  but also when there is another real HP SCSI device
>  before the HP SCSI scanner.
>
>  I am really no SCSI expert so that I don't know
>  if the root cause of the problem is within the hp backend
>  or if it is perhaps a general problem in the lower-level
>  SANE SCSI functions.
>
>
>  Perhaps it is possible to work around the problem
>  with a better default entry in /etc/sane.d/hp.conf
>  so that only HP SCSI scanners are detected or perhaps
>  one might have by default a complete explicite list
>  according to the SCSI models in "man sane-hp" like
>  scsi HP C1130A
>  scsi HP C1750A
>  scsi HP C1790A
>  scsi HP C2500A
>  scsi HP C2520A
>  scsi HP C2570A
>  scsi HP C5100A
>  scsi HP C5110A
>  scsi HP C6270A
>  scsi HP C7670A
>
>  What do you think?
>
>
>  Kind Regards
>  Johannes Meixner
>  --
>  SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
>  AG Nuernberg, HRB 16746, GF: Markus Rex
>
>
>  --
>  sane-devel mailing list: sane-devel at lists.alioth.debian.org
>  http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>  Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
>


-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list