all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [sane] how to scan using sane-airscan?
@ 2024-08-30 13:59 Giovanni Biscuolo
  2024-09-03 14:26 ` Giovanni Biscuolo
  2024-11-06 14:25 ` Kristoffer Ström
  0 siblings, 2 replies; 3+ 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] 3+ messages in thread

* [sane] how to scan using sane-airscan?
  2024-08-30 13:59 [sane] how to scan using sane-airscan? Giovanni Biscuolo
@ 2024-09-03 14:26 ` Giovanni Biscuolo
  2024-11-06 14:25 ` Kristoffer Ström
  1 sibling, 0 replies; 3+ messages in thread
From: Giovanni Biscuolo @ 2024-09-03 14:26 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 3513 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 3+ 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-09-03 14:26 ` Giovanni Biscuolo
@ 2024-11-06 14:25 ` Kristoffer Ström
  1 sibling, 0 replies; 3+ 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] 3+ messages in thread

end of thread, other threads:[~2024-11-06 14:26 UTC | newest]

Thread overview: 3+ 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-09-03 14:26 ` Giovanni Biscuolo
2024-11-06 14:25 ` Kristoffer Ström

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.