Re: "scsi HP" in hp.conf

Nick Lamb (njl98r@ecs.soton.ac.uk)
Tue, 8 Jun 1999 21:12:02 +0100 (GMT)

On Tue, 8 Jun 1999, J. Milgram wrote:

> I find I have to remove the "scsi HP" line from hp.conf. Others have
> reported this too. But it sure would be nice to be able to specify the
> device with "scsi HP". The reason is I often insert and remove another
> scsi device (a CD-burner with an exceedingly noisy fan) so the
> /dev/sg? always changes. Is there some reason why "scsi HP" doesn't
> work as advertised in the man page (sane-scsi)? Maybe there's
> something else I need to know to make this work?

AFAIK This was fixed in SANE 1.0.1, wasn't it? Anyone?

If you are running SANE 1.0.0 then you need to upgrade anyway, because
SANE 1.0.0 has too many known bugs not to be scared of it.

Since you only have one removed device, you can avoid shuffling by
re-ordering the SCSI IDs on the two devices. IIRC Just making the
scanner say, ID 3 and the CD-burner ID 5 will be enough to make the
scanner stay on /dev/sga all the time.

Finally, there is a LIST in that configuration file, so just LIST all
the devices which might be a scanner. It will surely reject any that
don't appear to be HP PROCESSOR class devices.

Nick.

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