Discussion:
Fuji Xerox M225 dw scanner visible via avahi, sane-find-scanner but not scanimage (Ubuntu 17.04)
Add Reply
Jason Heeris
2017-08-05 11:22:51 UTC
Reply
Permalink
Raw Message
Hi,

I have a Fuji Xerox DocuPrint M225 dw printer/scanner. It's connected
to the same wifi network as my Ubuntu 17.04 system, as well as
physically connected via USB.

I was unable to get Simple Scan to see it (I get the "No scanners
detected" banner), so I did some more debugging. It's visible to avahi:

~ • avahi-browse -a
+ wlp3s0 IPv4 FX DocuPrint M225 dw Internet Printer local
+ wlp3s0 IPv4 FX DocuPrint M225 dw _scanner._tcp local
+ wlp3s0 IPv4 FX DocuPrint M225 dw PDL Printer local
+ wlp3s0 IPv4 FX DocuPrint M225 dw UNIX Printer local
+ wlp3s0 IPv4 FX DocuPrint M225 dw Web Site local

sane-find-scanner can see the USB but not the network interface:

~ • sudo sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make
sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x138a, product=0x0017) at libusb:001:006
found USB scanner (vendor=0x0550 [FX], product=0x0190 [DocuPrint]) at
libusb:001:002
# Your USB scanner was (probably) detected. It may or may not be
supported by
# SANE. Try scanimage -L and read the backend's manpage.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary
ports
# can't be detected by this program.

...and scanimage -L can't see it at all:

~ • SANE_DEBUG_NET=128 scanimage -L
[sanei_debug] Setting debug level of net to 128.
[net] sane_init: authorize != null, version_code != null
[net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6) from
sane-backends 1.0.27git
[net] sane_init: Client has little endian byte order
[net] sane_init: searching for config file
[net] net_avahi_browse_callback: CACHE_EXHAUSTED
[net] sane_init: done reading config
[net] sane_init: evaluating environment variable SANE_NET_HOSTS
[net] sane_init: evaluating environment variable SANE_NET_TIMEOUT
[net] sane_init: done
[net] sane_get_devices: local_only = 0
[net] sane_get_devices: finished (0 devices)
[net] net_avahi_browse_callback: ALL_FOR_NOW

No scanners were identified. If you were expecting something
different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[net] sane_exit: exiting
[net] net_avahi_cleanup: stopping thread
[net] net_avahi_cleanup: done
[net] sane_exit: finished.

I've tried installing the libsane*-dev packages and upgrading to the
packages in the rolfbensch/sane-git PPA, rebooting each time. No change
in detection. I've confirmed that net is present and uncommented in
/etc/sane.d/dll.conf. Currently libsane is at version
1.0.27+git20170729-zesty0 (from the rolfbensch PPA).

What else can I try?

Cheers,
Jason
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sane-dev
Dave Platt
2017-08-05 16:16:10 UTC
Reply
Permalink
Raw Message
Post by Jason Heeris
I have a Fuji Xerox DocuPrint M225 dw printer/scanner. It's connected
to the same wifi network as my Ubuntu 17.04 system, as well as
physically connected via USB.
I was unable to get Simple Scan to see it (I get the "No scanners
detected" banner), ...
Jason,

As far as I can tell, that scanner simply isn't supported by SANE
at this time. It will show up in a generic USB scan (since it
reports a device type of "scanner") but none of the SANE back-ends
say that they're aware of this model, and so none will "talk" to it.

The "net" backend isn't intended for accessing arbitrary scanners over
the net. Rather, it's used so that one host system that has a
SANE-supported scanner can "export" that scanner to other hosts on the
network via a single (SANE-specific, manufacturer-agnostic) protocol.

There was some discussion on the list last year that the M225 might
be using the same protocols as some of the Brother multi-function
scanner/printer models. It's even possible it's based on a re-badged
Brother engine. Unfortunately there's apparently little-to-no support
in SANE for any Brother scanners. It may be that there's simply
no information publicly available to allow a driver to be written for
these. Manufacturers often don't bother to document the protocols;
they simply ship a Windows-compatible driver or application, declare
victory, and leave for home. :-)

From what I read, the M225 is an all-in-one device which has a
built-in "scan to email" capability. In the short term, at least,
this is probably your best bet for gaining access to scanning
capabilities on Linux. Configure the printer to send scans via
email to your address, via your local on-network SMTP server (assuming
you have one; if you do not you'll need to install Exim or Courier-MTA
or some such SMTP server and mail delivery system), and do the scans
that way.

Apparently you can configure the scan-to-email via a web server built
into the M225. You might even be able to control the individual
scans that way (I haven't read the manual to see).
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sane-devel-***@lists.alioth.debian.org
Jason Heeris
2017-08-06 07:05:56 UTC
Reply
Permalink
Raw Message
Post by Dave Platt
Manufacturers often don't bother to document the protocols;
they simply ship a Windows-compatible driver or application, declare
victory, and leave for home. :-)
I'm not hugely surprised by that *eyeroll*. Not really anything anyone
else can do about it then.

For now I have an OS X machine in the house I can use, and if that
dies, I'll set things up for scan-to-email like you suggest.

Thanks for the info anyway.

- Jason
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sane-devel-***@lists.alioth.debian.org
Loading...