Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364129 - media-gfx/iscan-network-nt-1.1.1.1 - EPSON Image Scan! Network Plugin
Summary: media-gfx/iscan-network-nt-1.1.1.1 - EPSON Image Scan! Network Plugin
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://download.ebz.epson.net/dsc/sea...
Whiteboard:
Keywords:
: 517824 610792 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-19 13:30 UTC by sphakka
Modified: 2021-01-08 10:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild iscan-network-nt (iscan-network-nt-1.1.0.ebuild,1.05 KB, text/plain)
2011-04-19 13:32 UTC, sphakka
Details
ebuild (iscan-network-nt-1.1.0.ebuild,1.05 KB, text/plain)
2011-04-19 15:37 UTC, sphakka
Details
updated ebuild for iscan-network-nt (iscan-network-nt-1.1.1.1.ebuild,1.29 KB, text/plain)
2014-07-22 22:28 UTC, Allen Holl
Details
Updated ebuild for iscan-network-net (iscan-network-nt-1.1.1.1-r1.ebuild,1.58 KB, text/plain)
2016-10-29 15:07 UTC, Allen Holl
Details
diff file for updated ebuild (diff-file,4.23 KB, patch)
2016-10-29 15:08 UTC, Allen Holl
Details | Diff
New ebuild v1.1.2.1 (iscan-network-nt-1.1.2.1.ebuild,1.57 KB, text/plain)
2019-09-22 17:10 UTC, sphakka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sphakka 2011-04-19 13:30:58 UTC
Hi there,

Please find attached an ebuild for Epson sane-epkowa-based network MFC scanners -- iscan-network-nt driver. It works fine with my Stylus SX620FW.

Cheers,

  ^s

Reproducible: Always
Comment 1 sphakka 2011-04-19 13:32:11 UTC
Created attachment 270521 [details]
ebuild iscan-network-nt
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-19 15:28:19 UTC
http://www.avasys.jp/lx-bin2/linux_e/spc/DL2.do redirects for me, i.e. doesn't work for everyone.
Comment 3 sphakka 2011-04-19 15:37:06 UTC
Created attachment 270561 [details]
ebuild

update with correct home URL
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-05 19:06:22 UTC
If you can update this to be more similar to the gt-x770 ebuild (which I added today to the tree) I would proxy maintain it if you're up to and have the hardware.
Comment 5 Robin Bankhead 2013-04-23 21:39:40 UTC
Just to note that the Avasys link is now stale, as the drivers have moved to the Epson site. Here's the current download-page URL for iscan-network-nt-1.1.0-2:

http://download.ebz.epson.net/dsc/du/02/DriverDownloadInfo.do?LG2=EN&CN2=&DSCMI=16326&DSCCHK=6f7dc0db3287007a42276137232fc563db8b3f33

I recently got a Workforce Pro WP-4535DWF and can confirm the "network" binary in the above i386 download as working with current iscan-2.29.1.5 when extracted to /usr/lib/iscan/network.

I'll have a shot at an ebuild at some point, but it'll have to be fetch-restricted because the page above now has a click-through EULA.

The page offers both RPMs and DEBs, I dunno if there's any preference from Portage's point of view?
Comment 6 Robin Bankhead 2013-04-23 22:24:39 UTC
I have to correct the above. On closer investigation, the status for this package seems to be the same as for iscan and iscan-data, so these direct URLs could be used:

http://a1227.g.akamai.net/f/1227/40484/1d/download.ebz.epson.net/dsc/f/01/00/01/63/26/86185d5195bcf6809e1001ab72248e13ebc5f50a/iscan-network-nt-1.1.0-2.i386.rpm

http://a1227.g.akamai.net/f/1227/40484/1d/download.ebz.epson.net/dsc/f/01/00/01/63/26/9e42fcfa803769c5cd89123b89af96c92bdb56af/iscan-network-nt-1.1.0-2.x86_64.rpm

(Shorter versions direct from the epson domain are possible, but it seems polite to use the akamai ones given their purpose.)
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-22 20:14:47 UTC
*** Bug 517824 has been marked as a duplicate of this bug. ***
Comment 8 Allen Holl 2014-07-22 22:27:20 UTC
Hello,
Attached is an updated verision of this ebuild based on iscan-network-nt 1.1.1-1. The homepage and download links have been updated as they are no longer hosted at avasys.jp. The new homepage is http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX. I have also updated this ebuild to be more similar to the gt-x770 ebuild. I tested this ebuild on an amd64 system with an Epson Workforce 610 series printer. This is the same ebuild that was marked as a duplicate bug.
Comment 9 Allen Holl 2014-07-22 22:28:02 UTC
Created attachment 381398 [details]
updated ebuild for iscan-network-nt
Comment 10 sphakka 2014-08-02 15:29:12 UTC
Thanks for the update! This is working with my Stylus SX620FW :-)
Comment 11 sphakka 2016-10-29 10:43:24 UTC
This used to work fine up to kernel-4.1.15 then broke since kernel 4.4.x. I have no idea why!? strace shows that `scanimage -L` hangs on connection to 127.0.0.1, though that's not the real scanner IP address. 

Kernel config's diff (4.1 vs 4.4) shows no major differences... Any idea?
Comment 12 Allen Holl 2016-10-29 15:07:02 UTC
Check and make sure your config files haven't changed. I am on kernel 4.8.4 and don't have any issues, scanimage -L lists my scanner. What version of iscan do you have? There is a 2.30.2.2 ebuild posted at bug #596942 which I am using. My iscan-data is version 1.36.0.1. I noticed that the iscan-network-nt was bundled into another package by epson, I have an updated ebuild I will attach that will resolve the broken link, you can give that a try but it has the same version number so I don't think anything changed.
Comment 13 Allen Holl 2016-10-29 15:07:54 UTC
Created attachment 451868 [details]
Updated ebuild for iscan-network-net
Comment 14 Allen Holl 2016-10-29 15:08:38 UTC
Created attachment 451870 [details, diff]
diff file for updated ebuild
Comment 15 sphakka 2017-02-24 10:27:31 UTC
I finally found the culprit! It has nothing to do with the sane/epkowa setup: the kernel was dropping network requests because of its SYN flooding protection mechanism AND syncookies were *disabled* (which might have changed from 4.1 to 4.4 kernel lines -- didn't verified though...). Indeed (now with kernel 4.9.10) if syncookies are not enabled, a socket's backlog overflow will always cause the packet to get dropped -- this looks a bit fishy, as a bigger net.ipv4.tcp_max_syn_backlog doesn't make any difference. Symptoms are kernel messages like:

  TCP: request_sock_TCP: Possible SYN flooding on port 38845. Dropping request.

Whereas, with syncookies *enabled*, the message is

  TCP: request_sock_TCP: Possible SYN flooding on port 43523. Sending cookies.  

...and the packet goes through :-)

There still might be a bug either in sane (see this old bug report https://bugs.launchpad.net/ubuntu/+source/procps/+bug/57091/comments/27) or in the kernel (backlog problem?). On top of my head, I never had to enable syncookies before...  

Otherwise, I confirm that the following setup is working:

  sys-kernel/gentoo-sources  4.9.10  (with net.ipv4.tcp_syncookies=1 !!!)
  media-gfx/iscan            2.30.2.2
  media-gfx/iscan-data       1.36.0.1
  media-gfx/iscan-network-nt 1.1.1.1
Comment 16 Pacho Ramos gentoo-dev 2018-02-14 14:05:18 UTC
*** Bug 610792 has been marked as a duplicate of this bug. ***
Comment 17 sphakka 2019-09-22 17:10:29 UTC
Created attachment 590654 [details]
New ebuild v1.1.2.1

New ebuild :-)
Comment 18 Marcin Deranek 2021-01-08 10:24:32 UTC
Ebuild (version 1.1.2.1) landed in Portage repo and later was removed due to #719470