From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oCJlAI5lDGQB6gAASxT56A (envelope-from ) for ; Sat, 11 Mar 2023 12:27:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yLQpO41lDGTjZgEAG6o9tA (envelope-from ) for ; Sat, 11 Mar 2023 12:27:09 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BB650CF60 for ; Sat, 11 Mar 2023 12:27:09 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=cL9xJA26; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678534029; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4k9DCD3M3eqxwuvSUAZHtphSpnBOmK5DUd1GKjTMgc4=; b=blSrsV79eHKgljAeNvv6cgGAm2imcMnklrJHfe+7JwUxoYAK4Uqcs1TSqSz5tvwoSuVzyd DHTSLxW4C9aZG/GgdkW6vM62KzQ6nPIDY+llCoPRo/G1hIupFiWEXbI7l/UqSijYqAsjV6 1kjpdh7ZTJ8dNT3aDm4gJ81uy2DAcJ3UOs6j3MgkYqdNSMLiIdVDiyFssrK+lKQXAoHPCr FMFS8Xc96/uFKYz/TFKPiAkU/D6aVc9gJlUIMtL6qjVFKadwVo6chBWDc46yAF2s2302Lm rsBdKYYd49frKZMSOOCsNrAPQKGBXNj/dLx88OHF8pabniMIk+VqumD16dBFEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=cL9xJA26; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678534029; a=rsa-sha256; cv=none; b=c0AF0rXelfFkWtdKJPFaFd7yYZed5bM8zYvz6n/XCoHDsImZwPGk0fvdYUvRRH0zvM18NY E4wI7TlCNFSqEARYVTC+Wh32gJ3nugQBnXhp75k0nZbfqx5YoC2NeNHc2+7YK4p/fyQfzE z0zvjPobkZolJ4qsQh7XjITQXpd6PgE6Ur8ikZOXlQ5BLUh4XGyeaAVMXIkS1S/YUkmnBN yUsFEl8752LCFuI8DBjteADJ2P3+kQ+nQUneI98ssaKqRlFReCicRKfKOA/OlkmJduuvuW uX+MNBg2UEpSpRS+xtUC08i4WBznLnmREYrX69RY5o4VLFxqWud2DKxpFSDKcQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paxND-0007TW-EU; Sat, 11 Mar 2023 06:26:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paxNC-0007TH-7l for help-guix@gnu.org; Sat, 11 Mar 2023 06:26:50 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paxNA-0008Go-6Y for help-guix@gnu.org; Sat, 11 Mar 2023 06:26:49 -0500 Received: by mail-ed1-x535.google.com with SMTP id da10so30875663edb.3 for ; Sat, 11 Mar 2023 03:26:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678534006; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=uC+wXa6m9dSs42NkwF0eqF15wySFjaWDq/x8WDtRfRk=; b=cL9xJA26F4i0QBRehLApRT/FyOwz/0rbjVApV+Sx35FuN0p6iqwFSPcahs1vLgh8U5 7LRnNb13qnRzd1NgkoUbAQtuGeEmSmbc2BHvxlYHIzaCOo1XvbK7EAwbS02QvCKDH+O8 PwYmvv855gLVzGuGOBP+uPEuPcFFXuv9Ya+RZA12nGp3D8dD+P7PdQsjeiOMIEgiEnsr l1bYOkrHmFXtZszdzAy2rgAokRj0+SoBFrZyerMzk8Z3Q5vz57/eyHYT2qMOilfWRFJC Y9aHQ/F6/3h1MEm7Ghckr/u68QR6szQ5cWreNOjBssC7hgO2Q9rWe/gqsc3qqDg70aLs vkXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678534006; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uC+wXa6m9dSs42NkwF0eqF15wySFjaWDq/x8WDtRfRk=; b=a1056VnrWsAjHgSn3rc94R/n1lbZFPF+tiVGCxfoQdgYyHYCe+a6qhpiOXP5bo2dGR oBBGFQkMbesoXd0+5qVICLD70k3HLB0oxrzd3ye4+ITZozCqgmAVmygpZ5R4YmGp76qZ hqL+EiphHy0zCScL7VWyrBfYE6oq3gyBKQm+q+OZSQ7/ySbXN13v3TLMnkMAIBsD/AOk JK6DxJpha6stDHQJoRvf9/9oj2YTXA9KcY+86qGzjEhkJ7bMb8WIqzn5imCxFzAbX2dW EdoZ691vmm9PZ7p5vEahFxJLPwQLfZ1hV6kTwGA6ez8Nvrx15W4edvVCpcpC8stc4lhg dmYg== X-Gm-Message-State: AO0yUKWrZ80uW739im876ElGqbkSrWCf88NP0oNfpKvhipvOuqMC1+Qy QVVIkH7bCTTG/7LRwr5VYx3ipxlhLGE9F4F2sp8= X-Google-Smtp-Source: AK7set8Hmr193Vk/UPQSE0Tm19wiqBPhMTyW1EWhDTZvVqFIcAEGFHQIflDxhYFsMXxjkgGTtmqBQl+QLbJI2XXJaUQ= X-Received: by 2002:a50:c04b:0:b0:4ab:c702:656 with SMTP id u11-20020a50c04b000000b004abc7020656mr15616026edd.1.1678534005629; Sat, 11 Mar 2023 03:26:45 -0800 (PST) MIME-Version: 1.0 References: <87r0tv1xbm.fsf@kitej> In-Reply-To: <87r0tv1xbm.fsf@kitej> From: Luigi Salamone Date: Sat, 11 Mar 2023 11:26:34 +0000 Message-ID: Subject: Re: Unable to find wireless printer/scanner (Canon Pixma MG2950) on Guix. To: Guillaume Le Vaillant , help-guix@gnu.org Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=lg.salamone@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: BB650CF60 X-Spam-Score: -2.20 X-Migadu-Spam-Score: -2.20 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: 0dSc8jIDaFu8 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=E2=80=AFAM Guillaume Le Vaillant wrote: > Luigi Salamone 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? Her= e > > 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 _ =3D> > > 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 >