GNU bug report logs - #38929
sane-hpaio not found by simple-scan?

Previous Next

Package: guix;

Reported by: Arne Babenhauserheide <arne_bab <at> web.de>

Date: Sat, 4 Jan 2020 22:39:01 UTC

Severity: normal

To reply to this bug, email your comments to 38929 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#38929; Package guix. (Sat, 04 Jan 2020 22:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arne Babenhauserheide <arne_bab <at> web.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 04 Jan 2020 22:39:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arne Babenhauserheide <arne_bab <at> web.de>
To: bug-guix <at> gnu.org
Subject: sane-hpaio not found by simple-scan?
Date: Sat, 04 Jan 2020 23:38:46 +0100
I have a scanner in HP Photosmart C3100 series. Using simple-scan I get
the information that I need to install the driver sane-hpaio.

But simple-scan has sane-backends as input for which the Guix source file
says "This variant links in the hpaio backend, provided by hplip".

So somehow simple-scan does not find ~/.guix-profile/lib/sane/hpaio.so.1
(which exists).

It actually works when I call it as follows:

LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$HOME/.guix-profile/lib" simple-scan

But this cannot be the proper solution.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken




Information forwarded to bug-guix <at> gnu.org:
bug#38929; Package guix. (Wed, 10 Feb 2021 12:33:01 GMT) Full text and rfc822 format available.

Message #8 received at 38929 <at> debbugs.gnu.org (full text, mbox):

From: raid5atemyhomework <raid5atemyhomework <at> protonmail.com>
To: "38929 <at> debbugs.gnu.org" <38929 <at> debbugs.gnu.org>
Subject: Re: sane-hpaio not found by simple-scan?
Date: Wed, 10 Feb 2021 12:32:44 +0000
I have a USB-connected HP DeskJet Ink Advantage 1515 printer/scanner.

On my own system (this is a full Guix System, not Guix on a foreign distro) I modified the configuration.scm:

```scheme
(use-package-modules #;... scanner)

(operating-system
  #;...
  (services
    (append
      #;...
      (modify-services %desktop-services
        (sane-service-type _ => sane-backends))))
  #;...)
```

After `sudo guix system reconfigure configuration.scm`, `simple-scan` still could not find it.  However, on reboot, it was able to find my already-connected USB printer/scanner without any issues.

Perhaps only some kind of force-trigger of `udev` would be needed after the above setup, but `udev` is pretty early in the Shepherd tree.

On the other hand the `sane-service-type` documentation in `info guix` is ***severely*** lacking, and the documentation is somehow lost in the middle of documentation about geolocation services, so it should probably be fixed.

Thanks
raid5atemyhomework




This bug report was last modified 3 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.