[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sane] how to scan using sane-airscan?
From: |
Giovanni Biscuolo |
Subject: |
[sane] how to scan using sane-airscan? |
Date: |
Tue, 03 Sep 2024 16:26:29 +0200 |
Hello,
I'm forwarding my message here, maybe someone on guix-devel can help me.
Sorry for the cross-post!
-------------------- Start of forwarded message --------------------
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
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, help-guix mailing list
[...]
-------------------- End of forwarded message --------------------
--
Giovanni Biscuolo
Xelera IT Infrastructures
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [sane] how to scan using sane-airscan?,
Giovanni Biscuolo <=