[sane-devel] ScanJet 4C

Ted Parks tparks@linuxmail.org
Mon, 28 Mar 2005 22:44:16 +0800


Peter,

Thanks so much for your helpful reply, also for the link to the
hp-backend page.

The problems continue. The scanner does not appear under "Attached Devices"=
 in /proc/scsi/scsi. And sane-find-scanner fails to list the scanner also. =
Should the 4C show up as an attached SCSI device?

I will follow Allan's advice on the list to get a terminator. However, the =
4C has a terminator switch on the back, which I have tried in both the + an=
d - positions.

Thanks,
Ted

----- Original Message -----
From: "Peter Kirchgessner" <peter@kirchgessner.net>
To: "Ted Parks" <tparks@linuxmail.org>
Subject: Re: [sane-devel] ScanJet 4C
Date: Mon, 28 Mar 2005 08:10:29 +0200

>
> Hi,
>
> the SCSI-ID 7 has a special meaning. I don't remember what, but=20
> maybe it is the SCSI-ID of the controller itself. SCSI-ID 0 may=20
> als be reserved. So I would recommend to use 1 to 6 only.
> Usually the hp-backend is configured to find the SCSI scanner=20
> automatically or at least at /dev/scanner. This requires that=20
> /dev/scanner is a link to the device where the scanner is really=20
> located. Run the tool sane-find-scanner from SANEs=20
> tools-directory. This will print a list of device names where the=20
> scanner is found. If for example /dev/sg0 is in that list (this=20
> is what your log says), become root, create a link and set=20
> permissions with the commands
>
> ln -s /dev/sg0 /dev/scanner
> chmod 666 /dev/sg0
>
> You also can try to force scanimage to use the correct device:
>
> scanimage -d hp:/dev/sg0 > scan.ppm
>
> For further informations how to configure the hp-backend have a look at
>
> http://www.kirchgessner.net/sanehpfaq.html#HPFAQ0A
>
> --Peter
>
> Ted Parks schrieb:
> > Checking the place in the SCSI chain indicated on the small=20
> dial > on my ScanJet 4C, I discovered the scanner was set on 7. I=20
> > changed it to 0 and 1, but Sane still cannot find the scanner.
> >
> > My continuing questions:
> > 1) What should the SCSI setting be for the ScanJet? 0? It is=20
> the > only device I have connected to the SCSI port. As Martin >=20
> suggested, changing the setting from 7 cleared up the repetitions=20
> > in dmesg, where the machine found the scanner 7 times! But Sane=20
> > still does not see the ScanJet.
> >
> > 2) Dmesg still has two entries associated with the scanner:
> >
> > First:
> >
> > SCSI subsystem initialized
> > PCI: Found IRQ 9 for device 0000:00:10.0
> > PCI: Sharing IRQ 9 with 0000:00:07.2
> > scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
> >         <Adaptec 2940 SCSI adapter>
> >         aic7870: Single Channel A, SCSI Id=3D7, 16/253 SCBs
> >
> >   Vendor: HP        Model: C2520A            Rev: 3503
> >   Type:   Processor                          ANSI SCSI revision: 02
> > Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 3
> >
> > Then:
> >
> >   Vendor: HP        Model: C2520A            Rev: 3503
> >   Type:   Processor                          ANSI SCSI revision: 02
> > Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0,  type 3
> >
> > This seems to me, perhaps because of my inexperience with SCSI,=20
> > that FedoraCore is attaching the scanner in two places. Why is=20
> > sg0 found at scsi0 in the first entry, then at scsi1 in the >=20
> second? If this is an error, how do I correct it?
> >
> > 3) Finally, to provide a fuller account of my problem, the=20
> output > from sane-find-scanner follows. Is it normal for a usb=20
> scanner to > appear, even though none is attached?
> >
> > [root@localhost tparks]# sane-find-scanner
> >
> >   # No SCSI scanners found. If you expected something=20
> different, > make sure that
> >   # you have loaded a SCSI driver for your SCSI adapter.
> >
> > found USB scanner (vendor=3D0x049f, product=3D0x505a) at libusb:001:002
> >   # Your USB scanner was (probably) detected. It may or may not=20
> > be supported by
> >   # SANE. Try scanimage -L and read the backend's manpage.
> >
> >   # Scanners connected to the parallel port or other=20
> proprietary > ports can't be
> >   # detected by this program.
> >
> > Thanks,
> > Ted Parks
> >
> >
> > ----- Original Message -----
> > From: "Martin Collins" <martin@mkcollins.org>
> > To: sane-devel@lists.alioth.debian.org
> > Subject: Re: [sane-devel] ScanJet 4C
> > Date: Sun, 27 Mar 2005 04:34:16 +0100
> >
> >
> >> On Sun, 27 Mar 2005 08:41:42 +0800
> >> "Ted Parks" <tparks@linuxmail.org> wrote:
> >>
> >>
> >>> Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 3
> >>
> >> ...
> >>
> >>> Attached scsi generic sg6 at scsi0, channel 0, id 6, lun 0,  type 3
> >>>
> >>> But, when I run sane-find-scanner, sane reports that there are no
> >>> SCSI scanners attached, instead finding a USB scanner that does not
> >>> exist. I created a symbolic link between /dev/scanner and >>>=20
> /dev/sg0. What am I doing wrong?
> >>
> >> The scanner should only be found once not seven times. Have you set
> >> the ID on the scanner and terminated the chain properly?
> >>
> >> Martin
> >>
> >> --
> >> sane-devel mailing list: sane-devel@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@lists.alioth.debian.org
> >
> >
>
> -- Peter Kirchgessner
> http://www.kirchgessner.net
> mailto:peter@kirchgessner.net

--=20
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org=20
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze