Subject: Re: HP SJ 5P SCANNER on IPX NetBSD-current
To: Kenneth Stailey <kstailey@disclosure.com>
From: Rob Healey <rhealey@altair.norstar.com>
List: current-users
Date: 08/03/1997 09:34:40
> > Jul 28 11:12:49  /netbsd: scsibus0 targ 5 lun 0: <HP, C5110A, 3638> SCSI
> > 2 3/processor fixed not configured
> 
> in sys/scsi/ss_scanjet.c look for:
> 
>         if (!bcmp(sa->sa_inqbuf->product, "C1130A", 6)) {
>                 ss->sio.scan_scanner_type = HP_SCANJET_IIC;
>                 printf("HP ScanJet 4p");
>         }
> 
> add
>         if (!bcmp(sa->sa_inqbuf->product, "C5110A", 6)) {
>                 ss->sio.scan_scanner_type = HP_SCANJET_IIC;
>                 printf("HP ScanJet 5p");
>         }
> 
> in sys/scsi/ss.c look for:
> 
> struct scsi_inquiry_pattern ss_patterns[] = {
>         {T_SCANNER, T_FIXED,
>          "",         "",                 ""},
>         {T_SCANNER, T_REMOV,
>          "",         "",                 ""},
>         {T_PROCESSOR, T_FIXED,
>          "HP      ", "C1750A          ", ""},
>         {T_PROCESSOR, T_FIXED,
>          "HP      ", "C2500A          ", ""},
>         {T_PROCESSOR, T_FIXED,
>          "HP      ", "C1130A          ", ""},
> };
> 
> add
> 
>         {T_PROCESSOR, T_FIXED,
>          "HP      ", "C5110A          ", ""},
> 
> Test and send me the results.
> 
> Thanks,
> Ken

	Worked fine for me weeks ago other than the 5P locks up the
	SCSI bus solid as a rock. I tried initializing it with codes
	suggested by the HP development package for the 5p but no luck.
	After SCSI inquiry ANY attempt to write to the scanner will lock
	up the SCSI bus.

	This might be due to the low level Amiga scsi driver but the driver
	seems to support every other device just fine. I also checked
	out the scanner under the native OS and everything works just fine
	so it isn't a hardware problem with the scsi bus.

	Anyways, if you could add the above to the main tree it WILL id
	the scanner and get to the IIC routines. Hopefully it won't lock
	up on the SPARC like it does on the Amiga. B^(.

	Just another data point...

	-Rob