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

JPT j-p-t at gmx.net
Sat Jun 21 18:55:57 BST 2025


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?



Am 21.06.25 um 19:26 schrieb Ralph Little:
> Hi,
>
> On Sat, Jun 21, 2025 at 10:18 AM JPT via sane-devel 
> <sane-devel at alioth-lists.debian.net> wrote:
>
>     Hi,
>
>     I was able to compile the code without problem. But how to I feed the
>     driver to sane?
>
>
> If you have the backend .so file, you can add "oki" to the 
> /etc/sane.d/dll.conf and let SANE able to find the .so by adding the 
> path that directory in LD_LIBRARY_PATH env variable.
>
> Then try a "scanimage -L".
>
> If you want to know where SANE is looking and to make sure that it 
> finds your new backend, you can do: "SANE_DEBUG_DLL=5 scanimage -L"
>
> I can't remember off the top of my head if you need to configure the 
> machine in a config file. This should get you started though,
>
> Cheers,
> Ralph



More information about the sane-devel mailing list