From: Giovanni Biscuolo <g@xelera.eu>
To: help-guix@gnu.org
Subject: [sane] how to scan using sane-airscan?
Date: Fri, 30 Aug 2024 15:59:43 +0200 [thread overview]
Message-ID: <878qwei01c.fsf@xelera.eu> (raw)
[-- Attachment #1: Type: text/plain, Size: 3079 bytes --]
Hello,
I'm using a system with %desktop-services installed (that includes
sane-service-type with sane-backends-minimal).
With sane-airscan installed I can get a list of devices:
--8<---------------cut here---------------start------------->8---
g@ken ~$ airscan-discover
[devices]
HP Color LaserJet MFP M181fw (0EEE0D) = http://192.168.1.20:8080/eSCL/, eSCL
HP Color LaserJet MFP M181fw (0EEE0D) = https://192.168.1.20:443/eSCL/, eSCL
HP Color LaserJet MFP M181fw (0EEE0D) = http://[fd56:feaa:cf06::20]:53048/, WSD
HP Color LaserJet MFP M181fw (0EEE0D) = http://[fd56:feaa:cf06::60e:3cff:fe0e:ee0d]:53048/, WSD
HP Color LaserJet MFP M181fw (0EEE0D) = http://192.168.1.20:53048/, WSD
HP Color LaserJet MFP M181fw (0EEE0D) = http://[fe80::60e:3cff:fe0e:ee0d%252]:53048/, WSD
--8<---------------cut here---------------end--------------->8---
But if I run simple-scan it cannot find any scanner.
I found an old (2023-01-14) message in this mailing list [1] suggesting
to do set some env but it does non work:
--8<---------------cut here---------------start------------->8---
env LD_LIBRARY_PATH=${HOME}/.guix-profile/lib/sane SANE_CONFIG_DIR=${HOME}/.guix-profile/etc/sane.d simple-scan
--8<---------------cut here---------------end--------------->8---
Also this does not work:
--8<---------------cut here---------------start------------->8---
LD_LIBRARY_PATH=${HOME}/.guix-profile/lib/sane; SANE_CONFIG_DIR=${HOME}/.guix-profile/etc/sane.d; simple-scan
--8<---------------cut here---------------end--------------->8---
I also tried 'scanimage -L' in place of 'simple-scan' but no scanner is
detected.
In my ${HOME}/.guix-profile/lib I find this symlink: "sane ->
/gnu/store/hls5vghgb9z4isrvrr28n0kjsbhk6i97-sane-airscan-0.99.27/lib/sane"
and in that directory I find "libsane-airscan.so.1"
In my ${HOME}/.guix-profile/etc/ I find this symlink: "sane.d ->
/gnu/store/hls5vghgb9z4isrvrr28n0kjsbhk6i97-sane-airscan-0.99.27/etc/sane.d"
and in that directory:
--8<---------------cut here---------------start------------->8---
/home/g/.guix-profile/etc/sane.d:
dr-xr-xr-x 1 root root 34 Jan 1 1970 .
dr-xr-xr-x 1 root root 34 Jan 1 1970 ..
-r--r--r-- 1 root root 3.3K Jan 1 1970 airscan.conf
dr-xr-xr-x 1 root root 14 Jan 1 1970 dll.d
/home/g/.guix-profile/etc/sane.d/dll.d:
dr-xr-xr-x 1 root root 14 Jan 1 1970 .
dr-xr-xr-x 1 root root 34 Jan 1 1970 ..
-r--r--r-- 1 root root 42 Jan 1 1970 airscan
--8<---------------cut here---------------end--------------->8---
the content of the "airscan" file in
/home/g/.guix-profile/etc/sane.d/dll.d is:
--8<---------------cut here---------------start------------->8---
# sane-dll entry for sane-airscan
airscan
--8<---------------cut here---------------end--------------->8---
Plase how can I set sane-airscan as a usable backend for sane scanimage
and allo other sane frontends like simle-scan?
Thanks, Gio'
[1] id:NLhdBQq--3-9@tutanota.com
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
next reply other threads:[~2024-08-30 14:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-30 13:59 Giovanni Biscuolo [this message]
2024-11-06 14:25 ` [sane] how to scan using sane-airscan? Kristoffer Ström
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878qwei01c.fsf@xelera.eu \
--to=g@xelera.eu \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).