Both "Document Scanner" and "Image Scan! for Linux" ask for Password
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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).
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.
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
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.
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.
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.
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
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.
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.
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.
It is owned by "root". The group is also "root". In theory, I belong to the group "root".
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.