Folks,
I am new to this list; I have been having no luck getting my Microtek
X6 USB scanner to work, and after some correspondence with Oliver
Neukum, we determined that it might be a bug with the SANE code.
Oliver recommends that I post this message here; would be grateful for any
help you can provide!
# export SANE_SG_BUFFERSIZE=32768; scanimage -L
device `microtek2:/dev/scanner' is a Microtek ScanMaker X6USB flatbed scanner
device `microtek2:/dev/sga' is a Microtek ScanMaker X6USB flatbed scanner
Running SANE under debug mode reveals a floating point exception. I have
attached a full transcript of the debug mode log:
# export SANE_DEBUG_MICROTEK2=128; scanimage -d microtek2:/dev/sga -T
...
[microtek2] sane_get_parameters: depth=8, ppl=0, bpl=0
Floating point exception
...
My System:
linux 2.4-test12 (slackware 7.1)
Pentium II 233Mhz
SANE backend 1.0.4 (also fails with 1.0.3)
Microtek X6 USB scanner
UHCI chipset (alternate driver)
root@darkstar:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Model: Scanner 636A4 Rev: 1.30
Type: Scanner ANSI SCSI revision: 02
# dmesg
...
SCSI subsystem driver Revision: 1.00
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver microtek
PCI: Found IRQ 10 for device 00:04.2
uhci.c: USB UHCI at I/O 0xd400, IRQ 10
uhci.c: detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
8139too Fast Ethernet driver 0.9.12 loaded
PCI: Found IRQ 11 for device 00:0c.0
eth0: SMC1211TX EZCard 10/100 (RealTek RTL8139) at 0xc8845000,
00:e0:29:4a:72:66, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139A'
uhci.c: root-hub INT complete: port1: 80 port2: 93 data: 4
hub.c: USB new device connect on bus1/2, assigned device number 2
microtek usb (rev 0.2.4): model Scanmaker X6 is not known to be fully
supported, reports welcome!
scsi0 : microtek
Vendor: Model: Scanner 636A4 Rev: 1.30
Type: Scanner ANSI SCSI revision: 02
...
root@darkstar:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Model: Scanner 636A4 Rev: 1.30
Type: Scanner ANSI SCSI revision: 02
root@darkstar:~# cat /proc/scsi/sg/*
dev_max(currently)=7 max_active_device=1 (origin 1)
scsi_dma_free_sectors=32 sg_pool_secs_aval=320 def_reserved_size=32768
32768
host chan id lun type bopens qdepth busy
Scanner 636A4 1.30
0 0 0 0 6 0 1 0
uid busy cpl scatg isa emul
microtek
0 0 1 0 0 1
30117 Version: 3.1.17 (20001002)
root@darkstar:~# lsmod
Module Size Used by
8139too 15328 1
uhci 18544 0 (unused)
microtek 5424 0
usbcore 45552 0 [uhci microtek]
sg 21136 0
scsi_mod 81824 2 [microtek sg]
Thanks for your help.
Roy Mathew.
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.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 : Sat Feb 03 2001 - 13:14:13 PST