# Re: Scanmaker 636

From: Nils Gundelach (Nils@darktec.org)
Date: Thu Jan 25 2001 - 10:51:03 PST

- Next message: Max Vorobyev: "ASPI SDK"
  - Previous message: Nils Gundelach: "Re: Scanmaker 636"
  - In reply to: Nils Gundelach: "Scanmaker 636"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  Hi !

  it's me again ;)
  I have some additions to my microtek scanmaker 636 problem.
  This is _no_ misconfiguration on my site and i'll explain you why:

  If i run the scanner under win2000 and then boot linux on the same mashiene
  everything goes well, but if i switch off the scanner and then reboot
  linux it doesn't work anymore.
  ok, i decided to do this again 'cause it's incredible for me, but i can
  reproduce it. Windows must send a "magic" command to the scanner.
  (i tried it on a friend's computer too, winNT+debian woody)

  I used xsane 0.70 (debian woddy package).
  root@darkstar:~# cat /etc/sane.d/dll.conf
  microtek
  microtek2

  root@darkstar:~# cat /etc/sane.d/microtek2.conf
  # See sane-microtek2(5) for a description of the options

  option dump 1
  # option lightlid-35 on
  # option no-backtrack-option on
  scsi * * Scanner
  root@darkstar:~#

  Contact me, if you need additional information about my setup or something else.

  I hope anyone can help me out of this.

  On Thu, 25 Jan 2001, Nils Gundelach wrote:

  > Hello,
  >
  > I don't know if this is the right place to post, forgive me if it's not :)
  >
  > I run a Microtek Scanmaker 636 together with a Tekram dc-395.
  >
  > dc-395 -> scanner(TERM)
  >
  > If i don't disable "Allow disconnect" in the scsi bios i get the following
  > error message:
  >
  > Jan 22 03:21:13 darkstar kernel: scsi : aborting command due to timeout : p=
  > id
  > 0, scsi1, channel 0, id 6, lun 0 Read (10) 00 83 00 60 00 00 00 00 00
  > Jan 22 03:21:13 darkstar kernel: DC395x_abort: pid=3D0, target=3D06-0
  > Jan 22 03:21:13 darkstar kernel: DC395x: abort: Lower SyncFreq to for dev
  > 06-0!
  > Jan 22 03:21:13 darkstar kernel: pid 0(28666):28 00..(6-0) Start 00 60 MI=
  > P1
  > #MIP0(02).MIP1 #MIP0(04).DISC +abort (SN)!*
  > Jan 22 03:21:13 darkstar kernel: TmpSRB:
  > Jan 22 03:21:13 darkstar kernel: DC395x: Aborted pid 0 with status 0
  > Jan 22 03:21:14 darkstar kernel: DC395x: Disc: SRB_ABORT_SENT!
  > Jan 22 03:21:14 darkstar kernel: DC395x_DoingSRB_Done: pids (G)pid
  > 0(28666):28 00..(6-0) Start 00 60 MIP1 #MIP0(02).MIP1 #MIP0(04).DISC +abort
  > (SN)!RSel ##MOP1#(06 )DISC Reset(29749):00050000*
  >
  > The scanner doesn't allow synchronous scsi, so i set the asynchron option in
  > my scsi bios, no success :/
  > I tried this also with my adaptec 7890 (Asus P2B-s) and result was the same.
  > If i leave this option enabled, the scanner scans 1/4 of a page and then
  > stops. The image is full off red, green, blue lines... (the same with 7890)
  >
  > I thought the scanner is broken, but i tested the scanner by a friend and it
  > works fine. He also uses Debian (woody) with kernel 2.4.0.
  >
  > I played with several options in the scsi bios but nothing helped. I had th=
  > is
  > working some time ago...
  > Maybe anyone can kick me into the right direction.
  >
  > some information about the system:
  >
  > root@darkstar:~# cat /proc/ioports
  > 0000-001f : dma1
  > 0020-003f : pic1
  > 0040-005f : timer
  > 0060-006f : keyboard
  > 0080-008f : dma page reg
  > 00a0-00bf : pic2
  > 00c0-00df : dma2
  > 00f0-00ff : fpu
  > 01f0-01f7 : ide0
  > 02f8-02ff : serial(set)
  > 0378-037a : parport0
  > 03c0-03df : vga+
  > 03c0-03df : matrox
  > 03f6-03f6 : ide0
  > 03f8-03ff : serial(set)
  > 0cf8-0cff : PCI conf1
  > b000-b0ff : ESS Technology ES1968 Maestro 2
  > b000-b0ff : ESS Maestro 2
  > b400-b4ff : Tekram Technology Co.,Ltd. TRM-S1040
  > b400-b47f : DC395x_TRM
  > b800-b83f : 3Com Corporation 3c905 100BaseTX [Boomerang]
  > b800-b83f : eth0
  > d000-d0ff : Adaptec AHA-2940U2/W / 7890
  > d000-d0fe : aic7xxx
  > d400-d41f : Intel Corporation 82371AB PIIX4 USB
  > d800-d80f : Intel Corporation 82371AB PIIX4 IDE
  > e400-e43f : Intel Corporation 82371AB PIIX4 ACPI
  > e800-e81f : Intel Corporation 82371AB PIIX4 ACPI
  > root@darkstar:~#
  >
  >
  > t@darkstar:~# cat /proc/interrupts
  > CPU0
  > 0: 989203 XT-PIC timer
  > 1: 8615 XT-PIC keyboard
  > 2: 0 XT-PIC cascade
  > 5: 47045 XT-PIC eth0
  > 9: 14560 XT-PIC aic7xxx, bttv
  > 10: 18 XT-PIC DC395x_TRM
  > 11: 351761 XT-PIC ESS Maestro 2
  > 12: 111130 XT-PIC PS/2 Mouse
  > 14: 131712 XT-PIC ide0
  > NMI: 0
  > LOC: 0
  > ERR: 0
  > root@darkstar:~#
  >

  thx Nils

      --
      (°- Get my Key "gpg --keyserver wwwkeys.eu.pgp.net --recv-key 45CD0073"  -°)
      //\ Key fingerprint = F4D9 9274 6ED8 B227 A62A  33FA 0D2E 2414 45CD 0073 /\\
      V_/_   www.darktec.org /|\ eject@IRCNet on #irc.de #linux.de #linuxger  _\_V
          ***  Premature optimization is the root of all evil.  - D. Knuth ***
      --
      Source code, list archive, and docs: http://www.mostang.com/sane/
      To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

  - Next message: Max Vorobyev: "ASPI SDK"
  - Previous message: Nils Gundelach: "Re: Scanmaker 636"
  - In reply to: Nils Gundelach: "Scanmaker 636"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Thu Jan 25 2001 - 11:01:08 PST