[sane-devel] How to make a network scanner Oki MC261 work

Ralph Little skelband at gmail.com
Sat Jun 21 19:14:23 BST 2025


Hi,

On Sat, Jun 21, 2025 at 10:55 AM JPT via sane-devel <
sane-devel at alioth-lists.debian.net> wrote:

> Thanks Ralph
>
> Seems to be installed just fine.
>
> SANE_DEBUG_DLL=5 scanimage-L 2>>(grep-i oki)
> [19:46:44.589164] [dll] add_backend: adding backend `oki'
> [19:46:44.589192] [dll] load: searching backend `oki' in `/usr/lib/sane'
> [19:46:44.589199] [dll] load: trying to load
> `/usr/lib/sane/libsane-oki.so.1'
> [19:46:44.589215] [dll] load: dlopen()ing `/usr/lib/sane/libsane-oki.so.1'
> [19:46:44.591812] [dll] init: initializing backend `oki'
> [19:46:44.592042] [dll] init: backend `oki' is version 1.0.0
>
> Next step would be either to attach via USB (some effort ;) or tell it
> the IP address.
>
> recently I added an IP address to xerox_mfp.conf which made the old
> scanner work.
>
> But the exact syntax was extremely hard to find because most network
> topics deal with making network access to an USB scanner connected to a
> remote PC.
>
> and I fear the syntax for the Oki would be different.
>
> any idea how I could solve this?
>
>
>
I'm not entirely sure. I just had a quick scan through the code. There
appears to be reference to a UNIX socket at /dev/okiscand for devices.
This would suggest that there is another daemon at play here in addition to
the backend itself. Presumably, this loads up and maintains a list of known
devices in the background. That would have the advantage of making startup
very quick.

There is some Python (python 2) that is used to configure scanners and
during installation. It might be worth having a look at that.

Cheers,
Ralph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20250621/c9fa7a4f/attachment-0001.htm>


More information about the sane-devel mailing list