Subject: Re: HP SJ 5P SCANNER on IPX NetBSD-current
To: None <netbsd@hopf.math.purdue.edu>
From: Kenneth Stailey <kstailey@disclosure.com>
List: current-users
Date: 08/02/1997 17:33:07
> 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