From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirgazil via Bug reports for GNU Guix Subject: bug#38064: Simple Scan: Scanner is not detected Date: Tue, 05 Nov 2019 10:17:35 -0500 Message-ID: <16e3c247fd9.c239190a2173.5519822901621100017@zoho.com> References: <16e38daadc1.d52b99db11197.8616324851526648573@zoho.com> Reply-To: sirgazil Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36257) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS0at-0001zN-7d for bug-guix@gnu.org; Tue, 05 Nov 2019 10:18:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iS0ao-0006Yr-89 for bug-guix@gnu.org; Tue, 05 Nov 2019 10:18:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58367) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iS0ao-0006Yk-3C for bug-guix@gnu.org; Tue, 05 Nov 2019 10:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iS0an-0000LU-TY for bug-guix@gnu.org; Tue, 05 Nov 2019 10:18:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Jack Hill Cc: 38064 <38064@debbugs.gnu.org> Hi, Jack. ---- On Mon, 04 Nov 2019 23:16:09 -0500 Jack Hill 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/