unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: sirgazil via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Jack Hill <jackhill@jackhill.us>
Cc: 38064 <38064@debbugs.gnu.org>
Subject: bug#38064: Simple Scan: Scanner is not detected
Date: Tue, 05 Nov 2019 10:17:35 -0500	[thread overview]
Message-ID: <16e3c247fd9.c239190a2173.5519822901621100017@zoho.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1911042309470.11560@marsh.hcoop.net>

Hi, Jack.


---- On Mon, 04 Nov 2019 23:16:09 -0500 Jack Hill <jackhill@jackhill.us> wrote ----

 > On Mon, 4 Nov 2019, sirgazil via Bug reports for GNU Guix wrote: 
 >  
 > > I can't use the scanner because Simple Scan (a.k.a. Document Scanner) does not detect it. 
 >  
 > That's unfortunate. I think the follow information might help in 
 > troubleshooting: 
 >  
 > What scanner is it, and how is it connected (e.g. USB)? What does running 
 > `scanimage -L` from the terminal report? scanimage can be found in the 
 > sane-backends package (yes, it contains frontends too :)) I expect this to 
 > also report no scanners found just like simple-scan, but it's worth 
 > checking just to be sure. 


It's an HP Scanjet 2200c (connects using USB). Scanimage can't find it either:

$ scan-image -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).


 > I've added `(simple-service 'custom-udev-rules udev-service-type (list sane-backends))` 
 > to my system services, which may help the scanning tools have permission 
 > to access your scanner. 

But that SOLVED the issue :) I did the following:

1. Open my system configuration file.
2. Import (gnu packages scanner) to be able to use sane-backends in step 3.
3. Add (simple-service 'custom-udev-rules udev-service-type (list sane-backends)) to the list of services.
4. Save the changes.
5. Reconfigure the system with

      $ sudo guix system reconfigure ~/path/to/my-config.scm

6. Reboot.

After this, when I start the Document Scanner application it reports:

```
Ready to scan
HP Scanjet 2200c
```

And I can scan successfully. 

Thanks, Jack.


P. S.: Now I wonder if https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35584  can be solved in a similar way...


---
https://sirgazil.bitbucket.io/

  reply	other threads:[~2019-11-05 15:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 23:58 bug#38064: Simple Scan: Scanner is not detected sirgazil via Bug reports for GNU Guix
2019-11-05  4:16 ` Jack Hill
2019-11-05 15:17   ` sirgazil via Bug reports for GNU Guix [this message]
2019-11-06 16:50 ` sirgazil via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16e3c247fd9.c239190a2173.5519822901621100017@zoho.com \
    --to=bug-guix@gnu.org \
    --cc=38064@debbugs.gnu.org \
    --cc=jackhill@jackhill.us \
    --cc=sirgazil@zoho.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).