unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38929: sane-hpaio not found by simple-scan?
@ 2020-01-04 22:38 Arne Babenhauserheide
  2021-02-10 12:32 ` raid5atemyhomework via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: Arne Babenhauserheide @ 2020-01-04 22:38 UTC (permalink / raw)
  To: 38929

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#38929: sane-hpaio not found by simple-scan?
  2020-01-04 22:38 bug#38929: sane-hpaio not found by simple-scan? Arne Babenhauserheide
@ 2021-02-10 12:32 ` raid5atemyhomework via Bug reports for GNU Guix
  0 siblings, 0 replies; 2+ messages in thread
From: raid5atemyhomework via Bug reports for GNU Guix @ 2021-02-10 12:32 UTC (permalink / raw)
  To: 38929@debbugs.gnu.org

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-10 12:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-04 22:38 bug#38929: sane-hpaio not found by simple-scan? Arne Babenhauserheide
2021-02-10 12:32 ` raid5atemyhomework via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

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

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).