[sane-devel] SANE crashes when scanning 16-bit color with the Epson 'epkowa' driver

Camil Băncioiu ioan.camil.bancioiu at gmail.com
Sun Aug 5 03:12:20 BST 2018


Hello,

I have an Epson v370 which, due to a driver error, can only scan colors at
8-bit color depth in Linux (Fedora 27). When selecting 16-bit depth from
the Xsane options and pressing "Scan", the scanner pauses as if it is
sending data to the computer, while Xsane crashes. Note that 16-bit depth
works with grayscale. I need 16-bit depth to work for color mode so I can
scan film negatives, which is the sole reason I bought the scanner.

This topic has also been discussed in this mailing list:
https://alioth-lists.debian.net/pipermail/sane-devel/2008-June/022224.html
, where someone says that the driver assumes 8-bit color RGB, therefore it
crashes when it receives 16-bit RGB. That person managed to fix this in a
patch, but I couldn't find that specific patch.

I currently have the following packages installed:
iscan-2.30.2-2.x86_64
iscan-data-1.30.0-1.x86_64

iscan-plugin-perfection-v370-1.0.0-2.x86_64
sane-backends-1.0.27-17
xsane version 0.999

I would have no issue modifying the source code myself, if I would know
where to look. I already downloaded the source code packages for iscan and
iscan-data from Epson. At a first glance, I think I should look into the
iscan package, in the file backend/epkowa.c. Which function is the one
receiving RGB data from the scanner?

Kind regards,
Camil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20180805/17e387a2/attachment.html>


More information about the sane-devel mailing list