unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: divoplade <d@divoplade.fr>
To: help-guix@gnu.org
Subject: Scanner is only detected with root user, printer cannot be added through GNOME
Date: Fri, 05 Mar 2021 21:21:09 +0100	[thread overview]
Message-ID: <d9af8cc558a54e1f50c2eaacc4d80629474adcbc.camel@divoplade.fr> (raw)

Dear guix,

When running simple-scan, 

$ LANG=C simple-scan

I get a dialog showing "No scanners detected".

However, when I run the same with sudo,

$ LANG=C sudo simple-scan

I don’t get the icons, but the scanner is detected and usable.

I am currently in the following supplementary-groups:

'("wheel" "netdev" "audio" "video" "lpadmin" "scanner")

Is it not enough?

Running: 
$ hp-scan -ldebug

I get:
HP Linux Imaging and Printing System (ver. 3.20.11)
Scan Utility ver. 2.2

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

hp-scan[9905]: debug: getDeviceUri(None, None, ['hpaio'], {'scan-type': 
(<built-in function gt>, 0)}, , True)
hp-scan[9905]: debug: Mode=0
error: No device selected/specified or that supports this
functionality.


Also, when I try to add it as a printer in the GNOME control center, I
can select the printer but then I get a dialog "Failed to add new
printer.", with a console message that seems relevant: 

(gnome-control-center:9651): printers-cc-panel-WARNING **:
21:08:07.779: cups-pk-helper: addition of printer Deskjet-2050-J510
failed: cups-authentication-canceled

What do I do wrong? What can I do to debug it?

Best regards,

divoplade



             reply	other threads:[~2021-03-05 20:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-05 20:21 divoplade [this message]
2021-03-05 20:47 ` Scanner is only detected with root user, printer cannot be added through GNOME Jelle Licht

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=d9af8cc558a54e1f50c2eaacc4d80629474adcbc.camel@divoplade.fr \
    --to=d@divoplade.fr \
    --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).