first I would like to thank everyone contributed to sane!
Unfortunately I have a problem with a Microtec ScanMaker x6.
After nights and days of testing I have decided to ask you for advice.
I would be very grateful for any hint.
I tested the scanner with sane 1.0 (as distributed with SuSE 6.1)
and sane 1.0.1 as well.
The behaviour is as follows:
I start xscanimage - seemingly with success.
The log-window shows, that xscanimage is able to identify the scanner
(see log-file below).
I open the preview window and try to aquire the preview.
The only result is, that the scanner gives some noise (for a few
seconds) and xscanimage hangs. My impression is, that the whole
system becomes very slow after the operation.
Killing and restarting xscanimage does not show any result,
i.e. xscanimage does not issue anything on the terminal.
I played around with different IRQ-configurations.
The configuration shown below seems to be the only one,
which (at least) allows identification of the scanner.
For some strane reason IRQ11 seems to be the only one
working. (I tried different settings with the DOS tool,
which comes with the scanner to configure the scsi-card.)
My Hardware configuration is
Pentium II
SCSI-Interface Adaptec AVA 1505 AE/AI (jumpered to IO-Port 0x140)
Microtec ScanMaker X6
Software configuration is:
SuSE Linux 6.1 (i386) - Kernel 2.2.5 with AHA152x support compiled into kernel
boot with parameters aha152x="0x140,11,7,0,1"
sane V1.0 / sane V1.0.1
I commented out all lines in microtec.conf
and added /dev/scanner to microtec2.conf (in /etc/sane.d)
The system seems to find and identify the scanner correctly:
cat /proc/scsi/aha152x/0 gives the following result:
===
Adaptec 152x SCSI driver; $Revision: 1.7 $
ioports 0x0140 to 0x015f
interrupt 0x0b
disconnection/reconnection disabled
parity checking enabled
synchronous transfers disabled
0 commands currently queued
enabled debugging options: (abort) (reset)
queue status:
no not yet issued commands
no current command
no disconnected commands
waiting: SCSISEQ (); SCSISIG (DATA OUT); INTSTAT (lo); SSTAT (BUSFREE PHASECHG ); SSTAT (); SXFRCTL0 (CH1 ); SIGNAL (); SELID
enabled interrupts ()
===
The following is the output of 'scanimage -L'
(output of xscanimage is identical , except last line)
===
Scanner attributes from device structure
========================================
Scanner ID...
~~~~~~~~~~~~~
Vendor Name: ' '
Model Name: 'Scanner 636A4 '
Revision: '1.30'
Model Code: 0x91 (X6)
Device Type Code: 0x06 (Scanner),
Scanner type: Flatbed scanner
Supported options: Automatic document feeder: Yes
Transparency media adapter: Yes
Auto paper detecting: Yes
Advanced picture system: No
Stripes: No
Slides: No
Scan button: Yes
Imaging Capabilities...
~~~~~~~~~~~~~~~~~~~~~~~
Color scanner: Yes
Number passes: 1 pass
Resolution: X-max: 600 dpi
Y-max: 1200 dpi
Geometry: Geometric width: 5100 pts (8.50'')
Geometric height: 7020 pts (11.70'')
Optical resol. : 600
Modes: Lineart: Yes
Halftone: No
Gray: Yes
Color: Yes
Depths: Nibble Gray: Yes
10-bit-color: No
12-bit-color: yes
d/l of HT pattern: No
Builtin HT patt.: 0
LUT capabilities: 4096 words
Miscellaneous capabilities...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Data format: Chunky data, R, G & B in one pixel
Color Sequence: R - G - B
CCD gap: 8 lines
CCD pixels: 5100
Calib wh str loc: -288
Max calib space: 80
Number of lens: 1
Max no of windows: 64
Sh trnsf func equ: 1
Buffer type: Ring
FEPROM: No
device `microtek2:/dev/sg0' is a Microtek ScanMaker X6 / Phantom 636 flatbed scanner
===
The configuration of ioports and interrupts seems to be correct
(at least, that's my impression)
cat /proc/ioports results in:
===
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0140-015f : aha152x
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
d800-d807 : ide0
d808-d80f : ide1
===
cat /proc/interrupt results in:
===
CPU0
0: 22123 XT-PIC timer
1: 500 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 2 XT-PIC rtc
11: 912 XT-PIC aha152x
12: 0 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 66943 XT-PIC ide0
15: 6 XT-PIC ide1
NMI: 0
===
Many thanks in advance and let me know, if you need more information
Harald
-- Windows is not the answer. Windows is the question. The answer is LINUX! Harald Finster
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com