From: Luigi Salamone <lg.salamone@gmail.com>
To: Guillaume Le Vaillant <glv@posteo.net>, help-guix@gnu.org
Subject: Re: Unable to find wireless printer/scanner (Canon Pixma MG2950) on Guix.
Date: Sat, 11 Mar 2023 11:26:34 +0000 [thread overview]
Message-ID: <CAMD_u56R6LNc_qRrAtnM4cxyKjM1=kzJkbEb02y_BmNig3trLg@mail.gmail.com> (raw)
In-Reply-To: <87r0tv1xbm.fsf@kitej>
Thanks!
Yes, I have '(name-service-switch %mdns-host-lookup-nss)' in my
/etc/config.scm.
Now...as for the scanner:
On Parabola I need to edit the file /etc/sane/pixma.conf (not present in
Guix) to add such a line: bjnp://MyPixmaPrinter.local. See
https://wiki.archlinux.org/title/SANE/Scanner-specific_problems#Canon
I also edit the file /etc/nsswitch.conf as indicated here:
https://wiki.archlinux.org/title/Avahi#Using_Avahi.
As for the printer:
I need the gutenprint drivers, which are not packaged for Guix. I've seen a
patch for this: https://issues.guix.gnu.org/45725
But unfortunately I have no idea which file to patch.
Greetings!
Luigi
On Sat, Mar 11, 2023 at 8:55 AM Guillaume Le Vaillant <glv@posteo.net>
wrote:
> Luigi Salamone <lg.salamone@gmail.com> skribis:
>
> > Hi!
> >
> > My Canon Pixma MG2950 works fine on Parabola, after configuring avahi
> with
> > nss-mdns. But on Guix I can't find neither the printer nor the scanner.
> > Tried with "system-config-printer" and via "lpinfo". What can I do? Here
> > the salient lines of my /etc/config.scm:
> >
> > ...
> > (use-package-modules cups scanner)
> > ....
> >
> > (packages (append (list (specification->package "cups")
> > (specification->package "cups-filters")
> > (specification->package "cups-filters")
> > (specification->package "cups-pk-helper")
> > (specification->package "foomatic-filters")
> > (specification->package "ghostscript")
> > (specification->package "sane-backends")
> > (specification->package "simple-scan")
> > (specification->package "nss-mdns")
> > (specification->package "avahi")
> > ....
> > (services
> > (const* (service cups-service-type
> > (cups-configuration
> > (extensions
> > (list cups-filters foomatic-filters hplip))
> > (web-interface? #t)
> > (default-paper-size "A4")))
> > (modify-services %desktop-services
> > (sane-service-type _ =>
> > sane-backends)
> >
> > Thanks!
> >
> > Luigi
>
> Hi,
>
> Did you put '(name-service-switch %mdns-host-lookup-nss)' in your
> 'operating-system' definition to activate name resolution using mDNS?
>
> There's a chapter about it in the manual:
> https://guix.gnu.org/manual/en/html_node/Name-Service-Switch.html
>
next prev parent reply other threads:[~2023-03-11 11:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-07 20:49 Unable to find wireless printer/scanner (Canon Pixma MG2950) on Guix Luigi Salamone
2023-03-11 8:47 ` Guillaume Le Vaillant
2023-03-11 11:26 ` Luigi Salamone [this message]
2023-03-12 14:10 ` Felix Lechner via
2023-03-14 3:30 ` Gary Johnson
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='CAMD_u56R6LNc_qRrAtnM4cxyKjM1=kzJkbEb02y_BmNig3trLg@mail.gmail.com' \
--to=lg.salamone@gmail.com \
--cc=glv@posteo.net \
--cc=help-guix@gnu.org \
/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.
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).