[sane-devel] Problems getting SANE to recognise an HP ScanJet 5P

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 3 Jul 2003 14:59:05 +0200


Hi,

On Thu, Jul 03, 2003 at 12:36:45PM +0100, Martin wrote:
> [martin@raphael martin]$ cat /proc/scsi/scsi
> Attached devices: 
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: QUANTUM  Model: QM39100TD-SW     Rev: N491
>   Type:   Direct-Access                    ANSI SCSI revision: 02
> Host: scsi0 Channel: 00 Id: 06 Lun: 00
>   Vendor: TEAC     Model: CD-ROM CD-532S   Rev: 1.0A
>   Type:   CD-ROM                           ANSI SCSI revision: 02
> Host: scsi1 Channel: 00 Id: 01 Lun: 00
>   Vendor: HP       Model: C5110A           Rev: 3701
>   Type:   Processor                        ANSI SCSI revision: 02

Looks fine for me. 

> > > sane-find-scanner: searching for SCSI scanners:
> > > sane-find-scanner: checking /dev/scanner... open ok
> > > sane-find-scanner: found SCSI disk "  " at device /dev/scanner
> > You have linked a disk to /dev/scanner, not the scanner. At least
> > that's what sane-find-scanner thinks.
> > 
> > > sane-find-scanner: checking /dev/sg0... open ok
> > > sane-find-scanner: found SCSI disk "  " at device /dev/sg0
> > > sane-find-scanner: checking /dev/sg1... open ok
> > > sane-find-scanner: found SCSI disk "  " at device /dev/sg1
> > > sane-find-scanner: checking /dev/sg2... open ok
> > > sane-find-scanner: found SCSI disk "  " at device /dev/sg2
> > > <snip>
> > Same here. On which sg device is the scanner ("processor") found?
> /dev/sg2 - that's why I posted the output of this.  It looked the
> closest thing to an error to me.

If you have installed cdrecord, try "cdrecord -scanbus". If that one
works, I guess it's a SANE problem.

> raphael:/u/martin# sane-find-scanner -v -v
> 
> sane-find-scanner: searching for SCSI scanners:
> sane-find-scanner: checking /dev/scanner... failed to open
> sane-find-scanner: checking /dev/sg0... open ok
> sane-find-scanner: found SCSI disk "  " at device /dev/sg0
> sane-find-scanner: checking /dev/sg1... open ok
> sane-find-scanner: found SCSI disk "  " at device /dev/sg1
> sane-find-scanner: checking /dev/sg2... open ok
> sane-find-scanner: found SCSI disk "  " at device /dev/sg2
> <snip (everything else says failed to open)>

Ok, SANE 1.0.7 doesn't print more details. When the problem still
occurs with 1.0.12, please try sane-find-scanner -v -v again. It
should pront the actual data that was send by the devices.

Bye,
  Henning