Update to my mailing below (I deleted it before it was approved to the list)....

It definitely has to do with what's going on during the sane_read API function.

If I issue scanimage -T,  it will start clicking instantly

# scanimage --output-file=scan.jpg -vvvvvv
[13:50:58.250725] [genesys] WARNING: Your scanner is not fully supported or at least....

scanimage: scanning image 1284 pixels wide and variable height at 8 bits/pixel
scanimage: acquiring gray frame
scanimage: min/max graylevel value = 0/227
scanimage: sane_read: Error during device I/O
Closing device
Calling sane_exit
scanimage: finished



-------- Forwarded Message --------
Subject:        DocketPORT 487 - Making loud noises
Date:   Thu, 9 Feb 2023 13:05:42 -0500
From:   Miss Tori <[email protected]>
To:     [email protected]



Device will scan with the scanimage command but towards the end of the sheet, when I assume transferring data, the scanner starts ticking and I get an I/O error. I will continue to troubleshoot, but wanted to get this out here in case someone has an answer



# cat /etc/debian_version
bookworm/sid

# uname -r
6.1.0-3-amd64

# lsusb
Bus 003 Device 009: ID 1dcc:4810 Document Capture Technologies Inc. DocketPORT 487

# sane-find-scanner
found possible USB scanner (vendor=0x1dcc [Document Capture Technologies Inc.], product=0x4810 [DocketPORT 487], chip=GL842) at libusb:002:020

# scanimage -V
scanimage (sane-backends) 1.1.1-debian; backend version 1.1.1

# scanimage -L
device `genesys:libusb:003:009' is a DCT DocketPORT 487 flatbed scanner
12:24:23.678043] [genesys] WARNING: Your scanner is not fully supported or at least had only limited testing. Please be careful and report any failure/success to [email protected]. Please provide as many details as possible, e.g. the exact name of your scanner and what does (not) work.

# demsg
usb 2-1: new high-speed USB device number 20 using xhci_hcd
usb 2-1: New USB device found, idVendor=1dcc, idProduct=4810, bcdDevice= 3.02
usb 2-1: New USB device strings: Mfr=10, Product=11, SerialNumber=12
usb 2-1: Product: DocketPORT 487
usb 2-1: Manufacturer: Document Capture Technologies Inc.
usb 2-1: SerialNumber: 487


SANE_DEBUG_GENESYS=1
scanimage -T
scanimage: scanning image 1284 pixels wide and variable height at 8 bits/pixel
scanimage: acquiring gray frame, 8 bits/sample
scanimage: reading one scanline, 1284 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, 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

Reply via email to