<div dir="ltr">Hi,<div><br></div><div>I'd like to set my Raspberry Pi 2 as a scanning workstation with my Epson Perfection V500 Photo. This is listed as unsupported by SANE and Epson has long-since deprecated Linux support for it.</div><div><br></div><div>That doesn't really deter me, but I have gotten stuck and could use some pointers. :)</div><div><br></div><div>I found this blog post describing doing almost exactly what I want to:</div><div><br></div><div><a href="http://www.johndstech.com/2016/linux/raspberry-pi/geek-friday-setting-up-epson-scanning-on-raspberry-pi/">http://www.johndstech.com/2016/linux/raspberry-pi/geek-friday-setting-up-epson-scanning-on-raspberry-pi/</a></div><div><br></div><div>TL;DR: The company that wrote the Linux driver has released the source for the driver and about half of the UI and it's not too hard to compile the driver for new architectures. (It's a USB scanner and, from what I can tell, the driver works through libUSB.)</div><div><br></div><div>Source can be found here:</div><div><a href="http://download.ebz.epson.net/dsc/search/01/search/searchModule">http://download.ebz.epson.net/dsc/search/01/search/searchModule</a><br></div><div>using search terms Perfection v500 .</div><div><br></div><div>That article and a little research has scanimage loading my locally compiled libepkowa. sane-find-scanner sees it:</div><div><br></div><div>found USB scanner (vendor=0x04b8 [EPSON], product=0x0130 [EPSON Scanner]) at libusb:001:010</div><div><br></div><div>I've tweaked epson*.conf as the article suggests and even added my own epkowa.conf, but scanimage -L it doesn't recognize my scanner. I was wondering about the installation paths, so I ran scanimage under strace and tweaked that a bit, so it now loads libepkowa.so.</div><div><br></div><div>Still:</div><div>$ sudo scanimage -L<br></div><div>No scanners were identified. [...]<br></div><div><br></div><div>I did notice that NEWS file only mentions sane-backends-1.0.22 while my Pi's libsane version is 1.0.25 (assuming those numbers are comparable). The main source file only mentions sane-backends-1.0.15. Version mismatches can get ugly, so I'm wondering about that.</div><div><br></div><div>Changing the log_info calls in the driver to DBG produces segfaults. I'm not sure how to get better debugging messages out of it.</div><div><br></div><div>Any hints on what I'm missing?<br></div><div><br></div><div>Thanks,</div><div>Jon</div><div><br></div></div>