SimulPiscator / AirSane

Publish SANE scanners to MacOS, Android, and Windows via Apple AirScan.
GNU General Public License v3.0
247 stars 26 forks source link

testing with multiple LAN based MFPs with no success #73

Closed markosjal closed 4 months ago

markosjal commented 3 years ago

I have now tested three different LAN based MFPs with some units even having both proprietary driver and using WSD (Sane-Airscan).

I have removed both eSCL and Airscan from the ignore list in AirSane

In no case am I able to successfully connect a LAN based MFP to AirSane and have it published as an eSCL scanner.

My tests with USB (non MFP) scanners have all been successful telling me that the install is working.

I have been unable to connect the MFPs with USB to test that way. This comment is only about these MFPs connected via LAN

Request the ability to at least attempt a manual (forced) scanner detection for network scanners .

Since most non-eSCL USB scanners are flatbed only in order to get compatibility with more ADF scanners this may be key.

SimulPiscator commented 3 years ago

What does sudo -u saned scanimage -L say?

markosjal commented 3 years ago

on this particular system (Raspberry Pi)I have:

device `genesys:libusb:001:006' is a Canon LiDE 200 flatbed scanner
device `airscan:w3:Brother MFC-8710DW' is a WSD Brother MFC-8710DW ip=192.168.0.251
device `airscan:e1:Canon LiDE 200' is a eSCL Canon LiDE 200 ip=192.168.0.50
device `airscan:w2:Samsung Electronics Co., Ltd. M288x Series' is a WSD Samsung Electronics Co., Ltd. M288x Series ip=192.168.0.143, 2601:1c2:1701:44b0::af28

As you can see the Canon USB scanner is publishied as Airscan.

The Samsung and Brothers are using the same Alexpevzner airscan driver but the WSD protocol.

On an x86-64 Linux Mint Mate clean install system I have the same plus the Brother Proprietary drivers as well as some other LAN MFC drivers I have tested. NONE of them work when they are connected via LAN

None of these systems have the bug where the scanners do not show up using saned user

markosjal commented 3 years ago

BTW finally I got a Samsung Xpress 2885FW working with this over a network. It is the only Network connected MFP scanner that has worked for me yet!

markosjal commented 3 years ago

Oddly enough, today

the Brother MFC 8710 scanner came up as published as eSCL using the Brother driver. The WSD driver version of it did not.

the Samsung WSD driver version of the Xpress M2885 also appeared today. The Samsung driver has always come up as (re) published over eSCL with this MFP

All rwemain connected over network, no USB. No changes to driver. I did disable and enable AirSane.

perhaps Airsane is checking for scanners before they are loaded/ready?

markosjal commented 3 years ago

Just a new update. Looks like it all died a big ugly death now

Aug 29 06:02:57 mark-Revo-RL80 systemd[1]: Started AirSane Imaging Service. Aug 29 06:08:55 mark-Revo-RL80 airsaned[100262]: Warning: Error 404 when requesting /favicon.ico Aug 29 06:08:58 mark-Revo-RL80 airsaned[100262]: Warning: Error 404 when requesting /favicon.ico Aug 29 11:17:40 mark-Revo-RL80 airsaned[100262]: Warning: Error 404 when requesting /favicon.ico Aug 29 11:19:05 mark-Revo-RL80 airsaned[100262]: Warning: Error 404 when requesting Aug 29 11:19:05 mark-Revo-RL80 airsaned[100262]: Warning: Error 404 when requesting Aug 29 11:21:07 mark-Revo-RL80 airsaned[100262]: Warning: Error 404 when requesting /favicon.ico Aug 29 11:21:18 mark-Revo-RL80 airsaned[100262]: double free or corruption (out) Aug 29 11:21:19 mark-Revo-RL80 systemd[1]: airsaned.service: Main process exited, code=killed, status=6/ABRT Aug 29 11:21:19 mark-Revo-RL80 systemd[1]: airsaned.service: Failed with result 'signal'.

After restarting the service the scanners that suddenly appeared are gone again.

SimulPiscator commented 3 years ago

Could it be that you created a loop by not excluding airscan:. and escl:. scanners?

SimulPiscator commented 4 months ago

No activity for more than two years