unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / 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

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

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git