Unable to connect to scanner

Hello,

I installed Zorin 16 yesterday. I have the HP MFP M148fdw all-in-one printer.
I am able to print. But when I try to scan, it returns the message window 'Failed To Scan. Unable to connect to scanner.'

Here are the hardware and peripheral device results of a couple Linux commands below:
bluesbreaker@bluesbreaker-Z170XP-SLI:~$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1b.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #17 (rev f1)
00:1b.2 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #19 (rev f1)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 (rev f1)
00:1d.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #13 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Z170 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31)
02:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
04:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
bluesbreaker@bluesbreaker-Z170XP-SLI:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 03f0:ed2a HP, Inc HP LaserJet Pro M148f-M149f
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 015: ID 0b05:5602 ASUSTek Computer, Inc. ASUS_Z01RD
Bus 001 Device 002: ID 044f:b10a ThrustMaster, Inc. T.16000M Joystick
Bus 001 Device 005: ID 046d:c513 Logitech, Inc. MX3000 Cordless Desktop Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I downloaded the Zorin Hplip drivers for my HP all-in-one. But I don't know if I want to download all those drivers if the printer works fine. What is the next step to troubleshoot this?

Gday @turnawrench , Welcome to the community!
Have a look here, may help.

Keep us informed.

1 Like

Thanks. I'll report back later this week.

1 Like

I installed the GUI package. Then I attempted to install the plug-in 3 times and it seems to be saying I am entering the wrong root superuser password. I know I entered the correct one. Root password is the same as Zorin log-in password......correct? This is the response I got from terminal.

(By the way, printer works ok
But still no scanner.)

note: Using PyQt5
error: License agreement not accepted. Exiting.
error: Python gobject/dbus may be not installed
error: Plug-in install failed.

Done.
error: Failed to install Plug-in.
Either you have chosen to skip the Plug-in installation or entered incorrect Password.

Have you tried sane-airscan package?

Thanks for the suggestion. But I'm not interested in sane-airscan. I want to find out why this plug-in won't install. Maybe I never granted myself root access?

I'll have to look at this again Thursday night after work.

Why do I need 'superuser' root password to install a plug-in? In fact, I don't see any need at all for an administrator root password. No one else uses my desktop PC. I think the key here is to eliminate or bypass root administrator password. Just get rid of it. There is probably a terminal command to do this. I'll check.

While not a definitive answer, this is what I've found works for me...although unfortunately I have to do this everytime I want to use my scanner.

(ensure the scanner is switched on)

Right click the desktop and select open in terminal.
Type sane-find-scanner then press enter.

If your scanner is found then in the list of text that comes up you'll see something like this...

found USB scanner (vendor=0x04a9 [Canon], product=0x1802 [TS5000 series]) at libusb:002:005

In this case the numbers needed are the libusb:002:005

Now type sudo chmod a+rw /dev/bus/usb/002/005 (or whatever numbers show for your scanner)

Now, try scanning and it should work. As I scan once in a blue moon then this is a workaround that works for me when I need to scan. I'm not saying it will work for you but it's worth a try!

Hope this helps.

Andy.

1 Like

Because installing anything to Root requires root privileges. Anything installed on Root can affect your Whole System.

Type in all those terminal commands every time I want to use the scanner....no thanks. I'll keep looking for another way.

You should not need to type in a bunch of commands every time you need to use the scanner.
It would be a one-time thing.

Gday @turnawrench ,
No.

In most Distro's the Root account isn't configured.
So you will need to add a p/w to use root privileges.

To set root p/w (password)
1st test if you have root privileges type

su

then try your p/w.

if it returns "failed", then next type.

sudo -i

Enter your login p/w.
When successful then enter:

passwd

Now enter the new Root p/w.

It should say "Successful", To test this use:

su

Then enter your new root p/w.

Sorry it took me so long to reply. You're correct. All I needed to do was create a root administrator password. Once I did that, I was able to install the printer plug-in. Now I am able to scan documents

Problem solved. Thanks

2 Likes

Gday @turnawrench ,

Glad to see the issue is fixed.
Could i ask you to update your profile Please, to show the "Edition" of Zorin OS your using.
This helps us in helping with any future help, if needed.

Thank you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.