LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-14-2021, 03:49 PM   #1
Steve R.
Member
 
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Mint 20.3
Posts: 521

Rep: Reputation: 98
Both "Document Scanner" and "Image Scan! for Linux" ask for Password


Both scanning programs that I have "Document Scanner" and "Image Scan! for Linux" ask for a password. Both scanning programs work correctly after entering the password. Is there a way to avoid having to enter a password?

Using Mint 20.1 with an Epson V600 scanner.
 
Old 06-14-2021, 04:28 PM   #2
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
Sorry if this is obvious: Password to what? Your user account? Or some other service?

If they're asking for your user account it means there is a priv escalation taking place, likely to access the scanner hardware itself, which is probably intended/expected behavior ('probably' because I haven't hooked up a scanner directly to a PC in over a decade). If it's connecting to some other service then it is whatever that service is (e.g. if you're outputting to dropbox or somesuch).
 
Old 06-14-2021, 04:51 PM   #3
Grobe
Member
 
Registered: Aug 2019
Location: Close to north
Distribution: Fedora
Posts: 117

Rep: Reputation: Disabled
Maybe this is the problem:

https://ubuntuforums.org/showthread.php?t=2180205
 
Old 06-14-2021, 05:58 PM   #4
Steve R.
Member
 
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Mint 20.3
Posts: 521

Original Poster
Rep: Reputation: 98
Quote:
Originally Posted by obobskivich View Post
Sorry if this is obvious: Password to what? Your user account? Or some other service?

If they're asking for your user account it means there is a priv escalation taking place, likely to access the scanner hardware itself, which is probably intended/expected behavior ('probably' because I haven't hooked up a scanner directly to a PC in over a decade). If it's connecting to some other service then it is whatever that service is (e.g. if you're outputting to dropbox or somesuch).
Providing the root (sudo) password allows the scanner to operate.
I also looked at my group permissions (as a possible stumbling block) I belong to the groups "root", "sudo", "scanner", and "saned". My "default keyring" didn't show anything informative.

PS: I'm going to investigate the (scanner) device permissions.
The scanner is located here:
"Bus 001 Device 013: ID 04b8:013a Seiko Epson Corp. GT-X820 [Perfection V600 Photo]"
Unfortunately that appears to be a dead-end as the device has read/write permissions for everyone.

Last edited by Steve R.; 06-15-2021 at 08:02 AM.
 
Old 06-15-2021, 03:18 AM   #5
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,506

Rep: Reputation: Disabled
Try adding to group wheel, that usually allows you root permissions.
 
Old 06-15-2021, 03:44 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,650
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Just out of interest, who owns that particular usb device? If it's an all-in-1, it probably belongs to the lp group, not scanner.
 
Old 06-15-2021, 07:53 AM   #7
Steve R.
Member
 
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Mint 20.3
Posts: 521

Original Poster
Rep: Reputation: 98
Quote:
Originally Posted by fatmac View Post
Try adding to group wheel, that usually allows you root permissions.
No such group for my configuration, Mint 20.1.

Quote:
Originally Posted by hazel View Post
Just out of interest, who owns that particular usb device? If it's an all-in-1, it probably belongs to the lp group, not scanner.
It is owned by "root". The group is also "root". In theory, I belong to the group "root". Additionally, the bus assignment for the scanner changes. Previously it was under "Bus 001 Device 013", now "Bus 001 Device 014". So a specific assignment of privileges may not be able to be made.

It is a flatbed scanner.

Last edited by Steve R.; 06-15-2021 at 08:03 AM.
 
Old 06-15-2021, 08:19 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,650
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Does the device assignment change repeatedly without notice? If so, check the kernel messages and see if it keeps disconnecting and reconnecting. I once had a scanner which did that and was unusable as a result; when I changed the usb cable, it worked.
 
Old 06-15-2021, 10:30 AM   #9
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
Does the device assignment change repeatedly without notice? If so, check the kernel messages and see if it keeps disconnecting and reconnecting. I once had a scanner which did that and was unusable as a result; when I changed the usb cable, it worked.
This may be (yet again) obvious, but also make sure the USB cable involved is not too long - USB is only rated out to 5M (beyond that you need an active cable). I've seen some devices get touchy as you approach that length (even if you do not exceed it), and will (as in hazel's example) disconnect/reconnect over and over.
 
Old 06-15-2021, 03:46 PM   #10
Steve R.
Member
 
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Mint 20.3
Posts: 521

Original Poster
Rep: Reputation: 98
Quote:
Originally Posted by hazel View Post
Does the device assignment change repeatedly without notice? If so, check the kernel messages and see if it keeps disconnecting and reconnecting. I once had a scanner which did that and was unusable as a result; when I changed the usb cable, it worked.
No. It changes as a result of being turned on/off.

Quote:
Originally Posted by obobskivich View Post
This may be (yet again) obvious, but also make sure the USB cable involved is not too long - USB is only rated out to 5M (beyond that you need an active cable). I've seen some devices get touchy as you approach that length (even if you do not exceed it), and will (as in hazel's example) disconnect/reconnect over and over.
The cable distance, probably 1.5M.

Something else to consider. I have not run across other internet posts with this type of issue. That probably reflects back on how my computer is set-up. The good news, the scanners work.

Last edited by Steve R.; 06-15-2021 at 03:54 PM.
 
Old 06-17-2021, 10:38 AM   #11
remmilou
Member
 
Registered: Mar 2010
Location: Amsterdam
Distribution: MX Linux (21)/ XFCE
Posts: 212

Rep: Reputation: 69
Try adding yourself to the group scanner.
If the group scanner does not exist, then create it.
 
Old 06-17-2021, 11:37 AM   #12
Steve R.
Member
 
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Mint 20.3
Posts: 521

Original Poster
Rep: Reputation: 98
Quote:
Originally Posted by remmilou View Post
Try adding yourself to the group scanner.
If the group scanner does not exist, then create it.
That was done, see post #4. Nevertheless, your post implies that I should further investigate my group permissions. They may not be working correctly. Thanks for responding.
 
Old 06-29-2021, 03:36 PM   #13
Artiken
LQ Newbie
 
Registered: Jul 2012
Location: Oregon
Distribution: Suse 12.04, Ubuntu.
Posts: 2

Rep: Reputation: Disabled
Try check to see if you are in the saned and scanner group. lp group probably won't help for scanning, but it won't hurt either.
 
Old 06-30-2021, 02:32 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Steve R. View Post
Something else to consider. I have not run across other internet posts with this type of issue. That probably reflects back on how my computer is set-up.
Yes, this surely sounds unusual:
Quote:
Originally Posted by Steve R. View Post
It is owned by "root". The group is also "root". In theory, I belong to the group "root".
Esp. on an end-user distro like Mint.

Quote:
Originally Posted by Steve R. View Post
The good news, the scanners work.
So the problem is SOLVED now?
 
Old 06-30-2021, 07:45 AM   #15
Steve R.
Member
 
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Mint 20.3
Posts: 521

Original Poster
Rep: Reputation: 98
Quote:
Originally Posted by ondoho View Post
So the problem is SOLVED now?
The issue is that a password is required to use the scanner. An unexpected issue, but one that can be lived with since the scanner works after the password is entered. Since the password issue has not been resolved, the issue is not solved. However, since no one else seems to be reporting as experiencing a similar issue, the password issue is probably unique to my computer configuration.
 
  


Reply

Tags
password, scanning



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Document scan not seeing scanner on my Officejet-7500-E910-09116A. Ubuntu 20.04. LiamH Linux - Newbie 11 08-07-2021 11:53 AM
[SOLVED] Maginon Scanner with/without Image Scan Tool Chris.Bristol Linux - Hardware 8 02-24-2019 01:57 PM
Having difficulty in ubunt saving a scan to "Document" file using a HP Scanjet 3500c. Gum Shoe Linux - Newbie 1 02-23-2010 04:28 AM
Scanner scan garbage along with image. surfer41 Linux - Hardware 0 10-02-2005 07:17 PM
how do i create a document, then a directory and save the document in it. jtdodge Linux - Newbie 9 06-15-2005 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration