[sane-devel] Plustek M12 passes "scanimage -T" but doesn't work
Perry Hutchison
pluto at agora.rdrop.com
Fri Jun 7 00:26:03 BST 2019
I recently picked up a NeatReceipts Scanalyzer, which SANE recognizes
as a Plustek OpticSlim M12, at a thrift store. I have gotten as far as:
# scanimage -L
device `gt68xx:libusb:/dev/usb0:/dev/ugen0' is a Plustek OpticSlim M12 flatbed scanner
# scanimage --help -d gt68xx:libusb:/dev/usb0:/dev/ugen0 | less
Usage: scanimage [OPTION]...
Start image acquisition on a scanner device and write PNM image data to
standard output.
-d, --device-name=DEVICE use a given scanner device (e.g. hp:/dev/scanner)
--format=pnm|tiff file format of output file
<snip>
Options specific to device `gt68xx:libusb:/dev/usb0:/dev/ugen0':
Scan Mode:
--mode Color|Gray|Lineart [Gray]
Selects the scan mode (e.g., lineart, monochrome, or color).
<snip>
# scanimage -T -p -v -d gt68xx:libusb:/dev/usb0:/dev/ugen0
scanimage: scanning image of size 2575x3531 pixels at 8 bits/pixel
scanimage: acquiring gray frame, 8 bits/sample
scanimage: reading one scanline, 2575 bytes... PASS
scanimage: reading one byte... PASS
scanimage: stepped read, 2 bytes... PASS
scanimage: stepped read, 4 bytes... PASS
scanimage: stepped read, 8 bytes... PASS
scanimage: stepped read, 16 bytes... PASS
scanimage: stepped read, 32 bytes... PASS
scanimage: stepped read, 64 bytes... PASS
scanimage: stepped read, 128 bytes... PASS
scanimage: stepped read, 256 bytes... PASS
scanimage: stepped read, 512 bytes... PASS
scanimage: stepped read, 1024 bytes... PASS
scanimage: stepped read, 2048 bytes... PASS
scanimage: stepped read, 4096 bytes... PASS
scanimage: stepped read, 4095 bytes... PASS
scanimage: stepped read, 2047 bytes... PASS
scanimage: stepped read, 1023 bytes... PASS
scanimage: stepped read, 511 bytes... PASS
scanimage: stepped read, 255 bytes... PASS
scanimage: stepped read, 127 bytes... PASS
scanimage: stepped read, 63 bytes... PASS
scanimage: stepped read, 31 bytes... PASS
scanimage: stepped read, 15 bytes... PASS
scanimage: stepped read, 7 bytes... PASS
scanimage: stepped read, 3 bytes... PASS
but when I try to actually scan something:
# scanimage -p -v -d gt68xx:libusb:/dev/usb0:/dev/ugen0 > scantest.pnm
scanimage: scanning image of size 2575x3531 pixels at 8 bits/pixel
scanimage: acquiring gray frame
Progress: 0.4%
Progress: 0.7%
Progress: 1.1%
<snip>
Progress: 99.8%
Progress: 100.0%
Progress: 100.0%
scanimage: min/max graylevel value = 123/132
scanimage: read 9092325 bytes in total
the scanner's motor does not run and I get a solid gray "image"
file. (The LED between the scanner's two buttons is on when the
scanner is connected to the USB port, and it blinks while the
all-gray image is being acquired.)
I am using
# scanimage -V
scanimage (sane-backends) 1.0.17; backend version 1.0.17
on FreeBSD.
I think the firmware file is in the proper location, since installing
it (as /usr/local/share/sane/gt68xx/cism216.fw) cleared up a
[gt68xx] Couldn't open firmware file (`/usr/local/share/sane/gt68xx/cism216.fw'): No such file or directory
message from "scanimage --help".
Am I doing something wrong, or do I have a dead scanner?
More information about the sane-devel
mailing list