From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aHEwD3XQ0WYv7QAAqHPOHw:P1 (envelope-from ) for ; Fri, 30 Aug 2024 14:00:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id aHEwD3XQ0WYv7QAAqHPOHw (envelope-from ) for ; Fri, 30 Aug 2024 16:00:21 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=xelera.eu header.s=dkim header.b=apl4Ku5W; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=xelera.eu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725026421; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TQ9b5dSgDE7OJ5MyoA6yAYMAgosKPgz1Gj/Bum96/eI=; b=ILHFsOEKaOza3234tDqiQjm6vrs2xqSzsjGXgJNr6ehjpdmNax9lAQulJVUFgv1fhaqcAM UixdcAyy/Rw0fLhWNF367mDeRPox/WrA6UwT+4OQmn2o3ri/pnqLdR7BJYGqPL5Skv6aoj kJ+kaIYXBxlUp/g32sSsrtScpW/dfoFzpYriLQ9uW7uUfXOlUHmjsfXhBVTN1pxwrZPrCs V1ylGY3a/ax4nfmfcO5GJ4VD1mYdEX0EBC3oMz8R0XK6hf+boSpz2/MLq2k6IRipIYfWDT T6rRgbIYooqmk9buvJ6wRoYSrAcg6RVOz/WCsM/7FedD9kegY7MLG9Oko90TAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=xelera.eu header.s=dkim header.b=apl4Ku5W; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=xelera.eu ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725026421; a=rsa-sha256; cv=none; b=MkgAQ8DwZSq4LvecvheZhs/Ml2fWRqa5zVJdCcO3+V9V4sJ8O1kSFvo5QQ7KRdaxG0vzZE JbdlbNvJcpD9nR4+cj1/RVKZbdQwEXXWcMx/WmvEdgCJ14Wg5HgTBfGRaOoB9mWp/gBLgn Y9l5CWGpV6dL8Oox1pshCn5iBqtCstTiRyfKZfoD5kB7J5kiRj/RSbBiEZlaOJkjUiME45 wJP+hx04OKKbERyNrnWKOjMq7cbnrIlJq1x0jMN2/mibVKTA2s9N2DsV0rUeRHpJr+VFWP vbPETm6uCl2w2UOJHh+1dTZ4PAUGj4uKdIrv+Nl7rt7tUkAtAOvJGsYpJJJOQQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8AAE911E93 for ; Fri, 30 Aug 2024 16:00:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sk2AO-00010g-1L; Fri, 30 Aug 2024 09:59:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sk2AL-0000rE-6X for help-guix@gnu.org; Fri, 30 Aug 2024 09:59:53 -0400 Received: from mx1.meup.it ([162.55.88.253]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sk2AH-0007Fj-M4 for help-guix@gnu.org; Fri, 30 Aug 2024 09:59:51 -0400 Received: from bourrache.mug.xelera.it (unknown [93.56.171.185]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.meup.it (Postfix) with ESMTPSA id B97958105B for ; Fri, 30 Aug 2024 15:59:44 +0200 (CEST) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 277BF36E7A02 for ; Fri, 30 Aug 2024 15:59:44 +0200 (CEST) Received: (nullmailer pid 3442170 invoked by uid 1000); Fri, 30 Aug 2024 13:59:43 -0000 From: Giovanni Biscuolo To: help-guix@gnu.org Subject: [sane] how to scan using sane-airscan? Organization: Xelera.eu Date: Fri, 30 Aug 2024 15:59:43 +0200 Message-ID: <878qwei01c.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xelera.eu; s=dkim; t=1725026384; bh=TQ9b5dSgDE7OJ5MyoA6yAYMAgosKPgz1Gj/Bum96/eI=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=apl4Ku5Wp1UXz/NJYN5JIrVVEuRt+yyaF2kE59/ohF8VCGEAOjk0auMfAqy41e4+8oHxCeWtT8Ebkw++bQULtc1uzJbJTw3y0s4F5d6+T4NnRw5pr7gQpQCw9qDx4UKebGqSXJ/YYLs1WDs/95dGQQpZhsmu2t5nGW3c6EzCCoY= Received-SPF: pass client-ip=162.55.88.253; envelope-from=g@xelera.eu; helo=mx1.meup.it X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, WEIRD_PORT=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 8AAE911E93 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.28 X-Spam-Score: -8.28 X-TUID: 2y40Zwi+NHbQ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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: =2D-8<---------------cut here---------------start------------->8--- g@ken ~$ airscan-discover=20 [devices] HP Color LaserJet MFP M181fw (0EEE0D) =3D http://192.168.1.20:8080/eSCL/,= eSCL HP Color LaserJet MFP M181fw (0EEE0D) =3D https://192.168.1.20:443/eSCL/,= eSCL HP Color LaserJet MFP M181fw (0EEE0D) =3D http://[fd56:feaa:cf06::20]:530= 48/, WSD HP Color LaserJet MFP M181fw (0EEE0D) =3D http://[fd56:feaa:cf06::60e:3cf= f:fe0e:ee0d]:53048/, WSD HP Color LaserJet MFP M181fw (0EEE0D) =3D http://192.168.1.20:53048/, WSD HP Color LaserJet MFP M181fw (0EEE0D) =3D http://[fe80::60e:3cff:fe0e:ee0= d%252]:53048/, WSD =2D-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: =2D-8<---------------cut here---------------start------------->8--- env LD_LIBRARY_PATH=3D${HOME}/.guix-profile/lib/sane SANE_CONFIG_DIR=3D${HO= ME}/.guix-profile/etc/sane.d simple-scan =2D-8<---------------cut here---------------end--------------->8--- Also this does not work: =2D-8<---------------cut here---------------start------------->8--- LD_LIBRARY_PATH=3D${HOME}/.guix-profile/lib/sane; SANE_CONFIG_DIR=3D${HOME}= /.guix-profile/etc/sane.d; simple-scan =2D-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: =2D-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 .. =2Dr--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 .. =2Dr--r--r-- 1 root root 42 Jan 1 1970 airscan =2D-8<---------------cut here---------------end--------------->8--- the content of the "airscan" file in /home/g/.guix-profile/etc/sane.d/dll.d is: =2D-8<---------------cut here---------------start------------->8--- # sane-dll entry for sane-airscan airscan =2D-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 =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmbR0E8MHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSVloQAKO1dCFb5kzCZZ8nkzUp4EsvkdeNiHbsH7ZMDKFQ 9GbYwb9mw8qXTz7WuYc6vZuxOCMQZQq+W57VfXl1b2WdiaoO05YXCru/f2TiHiSz +exggbRmy0iar5PXEv98rBGu4Q93Fmim/3efEHJBk6rFyHsHisLCZKd1oCiGXBkg /Xm+ssX3oWBxMoGe+PxDWPxuax/Ia8/Xj/tKOXVhPJKGb2WI6zskSWkCTVj+WXLA un45dvKuXNQpDO1FpXEApKkh/qG5M4/P5VeLbCXlEApC45lkcomYPElnZw8dQwSf EwXyeYDRM9VY+z5GDTSbGehVgFwmgMf7LLcGxJHQYRPiJ1BlP2XME6mYgw4hj7Q1 Xf+LjYtlVUY7FplwEOez+ouWG0VikQZsNXKcKQcYiBZxU/9Sq0JyaQ8yGQIvqvcX RYSmPgLD1HlM/+gA8TaC7GoEu7dEyweWOQPXnM1SpRxy93+iC08AOl4hz59wJqgw +3w5IIgNwLvtiFdP6269EW5wYrPc/aeudgdGvFB1183DNu+Sm8AfuFbkEb9dJyaJ 9R0Sxy4ERVS6L668+Ue39uasE1bFupYoBhuGOawe1eWZqEwtrLcYIUGhmyugqQCc +tPN7b+zGNvEvKnzX1/GYBSKSY4bwhzYpFXpJb4DX/0TRQ4O6mOvrnkQEgfm2MD2 gVqK =1yNb -----END PGP SIGNATURE----- --=-=-=--