* Scanner / SANE driver support
@ 2020-04-19 18:39 Pierre Neidhardt
2020-04-19 22:51 ` sirgazil
0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2020-04-19 18:39 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 653 bytes --]
Hi!
I'm trying to installer a scanner on Guix System and
--8<---------------cut here---------------start------------->8---
scanimage -L
--8<---------------cut here---------------end--------------->8---
does not find anything.
A few drivers are available in sane-backends.
I've enabled the sane-service.
Questions:
- Are we supposed to add the desired users to the 'scanner' group?
- How are the backends found? I don't see any environment variable.
According to https://nixos.wiki/wiki/Scanners, SANE would look up
LD_LIBRARY_PATH.
Any success running scanners on Guix?
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Scanner / SANE driver support
2020-04-19 18:39 Scanner / SANE driver support Pierre Neidhardt
@ 2020-04-19 22:51 ` sirgazil
2020-04-20 9:36 ` Pierre Neidhardt
0 siblings, 1 reply; 5+ messages in thread
From: sirgazil @ 2020-04-19 22:51 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix
---- On Sun, 19 Apr 2020 18:39:30 +0000 Pierre Neidhardt <mail@ambrevar.xyz> wrote ----
> Hi!
>
> I'm trying to installer a scanner on Guix System and
>
> --8<---------------cut here---------------start------------->8---
> scanimage -L
> --8<---------------cut here---------------end--------------->8---
>
> does not find anything.
>
> A few drivers are available in sane-backends.
> I've enabled the sane-service.
>
> Questions:
>
> - Are we supposed to add the desired users to the 'scanner' group?
>
> - How are the backends found? I don't see any environment variable.
> According to https://nixos.wiki/wiki/Scanners, SANE would look up
> LD_LIBRARY_PATH.
>
> Any success running scanners on Guix?
Yes. I use a scanner and I don't have to add anything special to my OS configuration. I just start Simple Scan, and the application detects the scanner. My user is not in the "scanner" group.
But the scanner works like this only recently. Before, I had to follow these instructions: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38064#11
Also, check that all cables are plugged properly.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Scanner / SANE driver support
2020-04-19 22:51 ` sirgazil
@ 2020-04-20 9:36 ` Pierre Neidhardt
2020-05-15 16:49 ` Pierre Neidhardt
0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2020-04-20 9:36 UTC (permalink / raw)
To: sirgazil; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
sirgazil <sirgazil@zoho.com> writes:
> But the scanner works like this only recently. Before, I had to follow these instructions: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38064#11
As far as I understand, we now have a sane-service-type as part of the
%desktop-services, so this should work out of the box.
> Also, check that all cables are plugged properly.
lsusb reports my scanner.
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Scanner / SANE driver support
2020-04-20 9:36 ` Pierre Neidhardt
@ 2020-05-15 16:49 ` Pierre Neidhardt
2020-05-19 6:16 ` Pierre Neidhardt
0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2020-05-15 16:49 UTC (permalink / raw)
To: sirgazil; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 815 bytes --]
sane-service-type seems to only support the minimal backends package:
--8<---------------cut here---------------start------------->8---
(define sane-service-type
(service-type
(name 'sane)
(description
"This service provides access to scanners @i{via}
@uref{http://www.sane-project.org, SANE} by installing the necessary udev
rules.")
(default-value sane-backends-minimal)
(extensions
(list (service-extension udev-service-type list)
(service-extension account-service-type
(const %sane-accounts))))))
--8<---------------cut here---------------end--------------->8---
The value of the service is a single package, not a list of packages.
So how does one add support for other scanner?
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Scanner / SANE driver support
2020-05-15 16:49 ` Pierre Neidhardt
@ 2020-05-19 6:16 ` Pierre Neidhardt
0 siblings, 0 replies; 5+ messages in thread
From: Pierre Neidhardt @ 2020-05-19 6:16 UTC (permalink / raw)
To: sirgazil; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
I believe another reason why our current sane service would not work for
extra backends is because we need to populate etc/sane.d/dll.conf with the
new backends. Or maybe etc/sane.d/dll.d/. To be confirmed.
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-19 6:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-19 18:39 Scanner / SANE driver support Pierre Neidhardt
2020-04-19 22:51 ` sirgazil
2020-04-20 9:36 ` Pierre Neidhardt
2020-05-15 16:49 ` Pierre Neidhardt
2020-05-19 6:16 ` Pierre Neidhardt
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).