* [sane] how to scan using sane-airscan?
@ 2024-08-30 13:59 Giovanni Biscuolo
2024-11-06 14:25 ` Kristoffer Ström
0 siblings, 1 reply; 2+ messages in thread
From: Giovanni Biscuolo @ 2024-08-30 13:59 UTC (permalink / raw)
To: help-guix
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sane] how to scan using sane-airscan?
2024-08-30 13:59 [sane] how to scan using sane-airscan? Giovanni Biscuolo
@ 2024-11-06 14:25 ` Kristoffer Ström
0 siblings, 0 replies; 2+ messages in thread
From: Kristoffer Ström @ 2024-11-06 14:25 UTC (permalink / raw)
To: Giovanni Biscuolo, help-guix
Did anyone get this to work in the meantime? I have been trying as well
and i cannot understand how it's supposed to work.
Kristoffer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-06 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 13:59 [sane] how to scan using sane-airscan? Giovanni Biscuolo
2024-11-06 14:25 ` Kristoffer Ström
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).