[Bug 261891] [NEW PORT] graphics/epsonscan2: scanner engine supporting many Seiko/Epson scanners

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 20 Feb 2022 22:34:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261891

--- Comment #37 from J.R. Oldroyd <fbsd@opal.com> ---
(In reply to Tatsuki Makino from comment #36)

Re the choice of armv7 or aarch64, it seems that this Epson software is 32-bit
arm, so I must use the FreeBSD name arm or armv7.  The FreeBSD names arm64 or
aarch64 are 64-bit arm.  Epson does not provide a version for 64-bit arm.

Re the libraries, there are three parts to this.  epsonscan2 is a native
FreeBSD binary.  It forks and execs a Linux binary, es2intif.  The Linux binary
then loads Linux shared libraries.  With my wrapper script that sets
LD_LIBRARY_PATH, this part is now all working.

We (Rainer and I) then spent some time this weekend with the Linux program not
being able to open the USB devices, despite the /dev/usb/* nodes being mode
0666.  Eventually, we discovered the separate /compat/linux/dev/usb/* nodes
which were not the right permission.  This is now solved and also working.

We are now looking into a firmware download problem for his scanner.  Hopefully
that will also be resolved soon.

Progress is slow due to timezone differences.

Once we resolve the remaining problem(s) or hit a dead-end, I will upload the
latest version of the port.

-- 
You are receiving this mail because:
You are the assignee for the bug.