Skip to content

Scanner found in terminal and in simplescan, but does not work for xsane in simplescan or gimp, says “unable to connect to scanner”

Scanner found in terminal and in simplescan, but does not work for xsane in simplescan or gimp, says “unable to connect to scanner” Printing works fine HP Color LaserJet Pro MFP M177fw multi-function All functions, including scan, works in windows on same system. Scanner used to work fine a couplethree months ago, went to use it a few days ago, does not work I made no changes except for regular Ubuntu updates.

found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x332a [HP Color LaserJet Pro 
Bus 003 Device 003: ID 03f0:332a Hewlett-Packard 

roger@roger-desktop:~$ sane-find-scanner
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x332a [HP Color LaserJet Pro MFP M177fw]) at libusb:003:003

roger@roger-desktop:~$ scanimage -L
device `hpaio:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6J1J7WD' is a Hewlett-Packard HP_Color_LaserJet_Pro_MFP_M177fw all-in-one

roger@roger-desktop:~$ scanimage -T
scanimage: open of device hpaio:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6J1J7WD failed: Error during device I/O

roger@roger-desktop:~$ scanimage -V
scanimage (sane-backends) 1.0.27; backend version 1.0.27

Attempts at fixing this shown below - no luck

roger@roger-desktop:~$ sudo apt-get install sane sane-utils libsane-extras xsane
[sudo] password for roger: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
xsane is already the newest version (0.999-5ubuntu2).
sane-utils is already the newest version (1.0.27-1~experimental3ubuntu2.4).
The following packages were automatically installed and are no longer required:
  libllvm9 libllvm9:i386 linux-hwe-5.4-headers-5.4.0-42 linux-hwe-5.4-headers-5.4.0-45 linux-hwe-5.4-headers-5.4.0-47 linux-hwe-5.4-headers-5.4.0-48 linux-hwe-5.4-headers-5.4.0-51
  linux-hwe-5.4-headers-5.4.0-52 linux-hwe-5.4-headers-5.4.0-53 linux-hwe-5.4-headers-5.4.0-54 linux-hwe-5.4-headers-5.4.0-56 linux-hwe-5.4-headers-5.4.0-58 linux-hwe-5.4-headers-5.4.0-59
  linux-hwe-5.4-headers-5.4.0-60 linux-hwe-5.4-headers-5.4.0-62 linux-hwe-5.4-headers-5.4.0-64 linux-hwe-5.4-headers-5.4.0-65 linux-hwe-5.4-headers-5.4.0-66 linux-hwe-5.4-headers-5.4.0-67
  linux-hwe-5.4-headers-5.4.0-70 linux-hwe-5.4-headers-5.4.0-71 linux-hwe-5.4-headers-5.4.0-72 linux-hwe-5.4-headers-5.4.0-73 linux-hwe-5.4-headers-5.4.0-74
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libsane-extras-common
The following NEW packages will be installed:
  libsane-extras libsane-extras-common sane
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 137 kB of archives.
After this operation, 468 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libsane-extras-common all 1.0.22.5 [7,520 B]
Get:2 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libsane-extras amd64 1.0.22.5 [47.6 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 sane amd64 1.0.14-12build1 [82.2 kB]
Fetched 137 kB in 1s (138 kB/s)
Selecting previously unselected package libsane-extras-common.
(Reading database ... 731505 files and directories currently installed.)
Preparing to unpack .../libsane-extras-common_1.0.22.5_all.deb ...
Unpacking libsane-extras-common (1.0.22.5) ...
Selecting previously unselected package libsane-extras:amd64.
Preparing to unpack .../libsane-extras_1.0.22.5_amd64.deb ...
Unpacking libsane-extras:amd64 (1.0.22.5) ...
Selecting previously unselected package sane.
Preparing to unpack .../sane_1.0.14-12build1_amd64.deb ...
Unpacking sane (1.0.14-12build1) ...
Setting up sane (1.0.14-12build1) ...
Setting up libsane-extras-common (1.0.22.5) ...
Setting up libsane-extras:amd64 (1.0.22.5) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
roger@roger-desktop:~$ Applications > Graphics > XSane
Applications: command not found
roger@roger-desktop:~$ hp-setup

HP Linux Imaging and Printing System (ver. 3.17.10)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 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.

Searching... (bus=usb, search=(None), desc=0)
Exiting the setup...

Done.
roger@roger-desktop:~$ 

Thanks!

Edited by Ralph Little
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information