# backtracking problem

From: Ivo (death@metalfield.com)
Date: Tue Sep 19 2000 - 15:13:13 PDT

- Next message: Oliver Schwartz: "Re: whereabouts of snapscan-usb.[c,h]"
  - Previous message: Scott Moseman: "Good 2nd PCI SCSI Card?"
  - Next in thread: Henning Meier-Geinitz: "Re: backtracking problem"
  - Reply: Henning Meier-Geinitz: "Re: backtracking problem"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  Hi,
  I'd like to report a problem with backtracking and ask you for advice.

  Here's the information:

  - Scanner name: ScanMagic 9636 S
  (but it's recognized as a Mustek ScanExpress 12000SP by SANE-- why?)
  - Debug output from scanimage:

  [sanei_debug] Setting debug level of mustek to 4.
  [mustek] SANE Mustek backend version 1.0 build 96 (SANE 1.0.3)
  [mustek] sane_init: reading config file `mustek.conf'
  [mustek] sane_init: config file line 7: trying to attach `scsi MUSTEK * Scanner'
  [mustek] sane_init: config file line 9: option buffersize ignored, was set before any device name
  [mustek] sane_init: config file line 10: option lineart-fix ignored, was set before any device name
  [mustek] sane_init: config file line 12: trying to attach `scsi SCANNER'
  [mustek] attach: trying device /dev/sgc
  [mustek] dev_open: /dev/sgc is a SCSI device
  [mustek] dev_open: wanted 8 kbytes, got 8 kbytes buffer
  [mustek] attach: SCSI Vendor: `SCANNER ' Model: ` ' Rev.: `2.02'
  [mustek] attach: SCSI Type: Scanner; ANSI rev.: 1
  [mustek] attach: SCSI flags:
  [mustek] attach: inquiry output:
  [mustek] 06 00 01 01 5b 01 00 00 53 43 41 4e 4e 45 52 20 ....[...SCANNER
  [mustek] 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
  [mustek] 32 2e 30 32 4d 55 53 54 45 4b 20 20 20 43 30 36 2.02MUSTEK C06
  [mustek] 20 53 31 32 49 44 57 4d 31 32 33 37 39 37 01 40 S12IDWM123797.@
  [mustek] 01 03 01 01 00 00 00 00 00 00 00 00 00 00 00 00 ................
  [mustek] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ................
  [mustek] attach: found Mustek scanner (new firmware format)
  [mustek] attach: old firmware revision system
  [mustek] attach: firmware revision 2.02
  [mustek] attach: scanner id: C06 S12IDW
  [mustek] attach: this is probably a ScanExpress series scanner
  [mustek] attach: this is a single-pass scanner
  [mustek] attach: found Mustek ScanExpress 12000SP flatbed scanner, 1-pass, SE
  [mustek] sane_init: config file line 14: buffersize set to 1024 kb for /dev/sgc
  [mustek] sane_init: config file line 15: enabling lineart-fix for /dev/sgc
  [mustek] sane_init: config file line 17: trying to attach `/dev/scanner'
  [mustek] attach: trying device /dev/scanner
  [mustek] dev_open: Invalid argument: can't open /dev/scanner as a SCSI device
  [mustek] dev_open: Invalid argument: can't open /dev/scanner as an AB306N device
  [mustek] dev_open: can't open /dev/scanner
  [mustek] sane_init: config file line 19: option buffersize ignored, was set before any device name
  [mustek] sane_init: config file line 20: option lineart-fix ignored, was set before any device name
  [mustek] sane_get_devices
  device `mustek:/dev/sgc' is a Mustek ScanExpress 12000SP flatbed scanner
  [mustek] sane_exit

  - Problem description:
  I've managed to get the SCSI ISA card working with the g_NCR5380 driver and
  ncr_addr=0x280 dtc_3181e=1 options. Scanning was very slow, so I changed the
  USLEEP_SLEEP value to a minimum (1). I also changed USLEEP_WAITLONG define to
  1. Now the speed is bearable, but with color scans, backtracking occurs. I've
  tried everything I could find on the Mustek troubleshooting page. The SCSI
  buffersize SG_BIG_BUFF in /usr/include/scsi/sg.h has been set to 130560
  (prior to compiling SANE) and as you can see in the debug output, buffersize
  is increased to 1024 kb by the mustek backend. Still, backtracking occurs the
  same. Force backtracking and scan speed options do not seem to be available
  for this scanner (have not seen them configurable in xsane) and increasing
  dpi by one does not help. I'd like very much to eliminate this backtracking
  problem. Apart from this, I've seen only good things from this scanner, SANE
  and the mustek backend.

  Hoping to hear from you,
  Ivo

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

  - Next message: Oliver Schwartz: "Re: whereabouts of snapscan-usb.[c,h]"
  - Previous message: Scott Moseman: "Good 2nd PCI SCSI Card?"
  - Next in thread: Henning Meier-Geinitz: "Re: backtracking problem"
  - Reply: Henning Meier-Geinitz: "Re: backtracking problem"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Tue Sep 19 2000 - 15:03:57 PDT