Gentoo Archives: gentoo-user

From: Steven Lembark <lembark@×××××××.com>
To: gentoo-user@l.g.o
Cc: lembark@×××××××.com
Subject: Re: [gentoo-user] scanner problem
Date: Tue, 17 Jul 2018 14:19:38
Message-Id: 20180717091848.20329745@wrkhors.com
In Reply to: [gentoo-user] scanner problem by Philip Webb
1 > Since then, I've updated my kernel & some other pkgs.
2
3 You build your own kernel or rely on modules to handle it all?
4
5 Any idea what modules you've rebuilt since the last use of the
6 scanner?
7
8 As a sanity check you might want to take a look at VueScan. Hamerick
9 does a nice to of just making things work. Might give some better
10 error messages -- it's also a nice package, worth a few bucks to
11 have something that Just Works and also helps support someone who
12 actually releases software for Linux.
13
14 Depending on which syslogger you use, create /var/log/debug with
15 debug-level output (no idea how to do this with systemd), zero the
16 log, and tail -f it while you plug in the scanner, try to use it.
17
18 I normally keep /var/log/messages w/ *.info, auth.none and have
19 logrotate switch it out frequently (daily) at 1MiB. You only need it
20 once to make it worth the disk space :-)
21
22 Try:
23
24 ( strace sane <what you expect to work ) >
25 /var/tmp/sane.strace.out 2>&1;
26
27 and see what it's trying to open when it fails to get the file. It
28 might not be the device itself that is botching the process but a
29 secondary file that got stepped on.
30
31 Try:
32
33 find /etc -name '._cfg*';
34
35 any of them affect scanning, dbus, usb (anything else that might
36 be used by sane)?
37
38 --
39 Steven Lembark 1505 National Ave
40 Workhorse Computing Rockford, IL 61103
41 lembark@×××××××.com +1 888 359 3508