Greetings,
You're well on the way, I think.  As far as I know no one has tested
with an 8080 yet.  The code is being a bit too fussy about the strings
coming back from the SCSI inquiry command.  You can make the following
change to the code to get past this.
Change this:
      if (ibuf.devtype != 6
         || strncmp ((char *)ibuf.vendor, "B&H SCSI", 8) != 0
         || strncmp ((char *)ibuf.product, "COPISCAN II", 11) != 0)
       {
         DBG (1, 
              "attach: device is not a recognized Bell and Howell scanner\n");
         sanei_scsi_close (fd);
         return SANE_STATUS_INVAL;
       }
to this (and rebuild):
      if (ibuf.devtype != 6
         || strncmp ((char *)ibuf.vendor, "B&H SCSI", 8) != 0
         || strncmp ((char *)ibuf.product, "COPISCAN", 8) != 0)
       {
         DBG (1, 
              "attach: device is not a recognized Bell and Howell scanner\n");
         sanei_scsi_close (fd);
         return SANE_STATUS_INVAL;
       }
Happy scanning and let me know how things go.
Thanks, Tom
Mark Temple wrote:
> 
> Hello SANE Enthusiasts,
> 
> I've gotten a Bell & Howell 8080d for one week to test.  I am eager to
>  get SANE to work with it.  I have tested SANE on an HPscanjet
>  with the ADF and it worked pretty well.  I have connected the B&H
>  scanner to my Linux (RedHat 7.0) computer and checked the SCSI port
>  with find-scanner.  Here is the output:
> 
> find-scanner: found scanner "B&H SCSI COPISCAN 8080D 0120" at device
> /dev/scanner
> find-scanner: found scanner "B&H SCSI COPISCAN 8080D 0120" at device
> /dev/sg0
> find-scanner: found scanner "B&H SCSI COPISCAN 8080D 0120" at device
> /dev/sga
> 
> so far so good.  (I also made sure the /dev... were world accessible)
> 
> When I issue the command: scanimage -L, all I get is a blank stare. :-(
> scanimage doesn't know about this scanner.
> 
> Next I issued the commands:
> 
> export SANE_DEBUG_BH=15
> scanimage -d bh:/dev/scanner > bh.lis 2>&1
> 
> Here is the output from the above command:
> 
> [sanei_debug] Setting debug level of bh to 15.
> [bh] sane_init called
> [bh] Bell+Howell SANE backend 1.0 build 4 little endian
> [bh] attach called
> [bh] attach: opening /dev/scanner
> [bh] attach: sending TEST_UNIT_READY
> [bh] test_unit_ready called
> [bh] attach: sending INQUIRY (standard data)
> [bh] inquiry called
> [bh] attach: reported devtype='6', vendor='B&H SCSI', product='COPISCAN
> 8080D  ', revision='0120'
> [bh] attach: device is not a recognized Bell and Howell scanner
> [bh] sane_open called
> [bh] attach called
> [bh] attach: opening /dev/scanner
> [bh] attach: sending TEST_UNIT_READY
> [bh] test_unit_ready called
> [bh] attach: sending INQUIRY (standard data)
> [bh] inquiry called
> [bh] attach: reported devtype='6', vendor='B&H SCSI', product='COPISCAN
> 8080D  ', revision='0120'
> [bh] attach: device is not a recognized Bell and Howell scanner
> scanimage: open of device bh:/dev/scanner failed: Invalid argument
> [bh] sane_exit called
> 
> SANE is talking to the scanner! :-)
> 
> My question: can I make a change in the bh.conf file to make it
> recognize this scanner?  Where do I go from here?  Any help will
> be greatly appreciated.
> 
> Thanks in advance.
> --
> 
> --------------------------------------------------
>  Mark Temple, Information Technology Manager
>  ABC Labs, Columbia, Missouri 65202
>  voice:573.876.8198  fax:573.443.9033
> --------------------------------------------------
> 
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Tue Dec 12 2000 - 20:40:02 PST