LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-04-2021, 07:14 AM   #1
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Rep: Reputation: 43
Scanner not working


I did a clean system install of Ubuntu 20.04 lts. Scanner is on the LaserJet Pro MFP M127fn.

The scanner worked with 2 software apps before, now it doesn't.
HPLIP is installed I believe. It does print.

michael@michael-HP-EliteDesk-800-G1-SFF:~$ dpkg -l hplip
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-==============-============-================================>
ii hplip 3.20.3+dfsg0-2 amd64 HP Linux Printing and Imaging Sy>
lines 1-6/6 (END)

Last edited by Michael Piziak; 02-04-2021 at 07:15 AM.
 
Old 02-04-2021, 07:33 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,794

Rep: Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775
In the previous installs when it worked, had you installed SANE and the SANE tools?
 
Old 02-04-2021, 11:57 AM   #3
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by wpeckham View Post
In the previous installs when it worked, had you installed SANE and the SANE tools?
Sane utilities was already installed. I installed "sane" with synaptic.
Rebooted. Still no luck.
 
Old 02-04-2021, 01:09 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,859

Rep: Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151
Do you have the plugin (proprietary firmware) installed?
https://developers.hp.com/hp-linux-i...ry_plugin.html

If not, open a terminal and run
Code:
hp-plugin
 
Old 02-04-2021, 01:11 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,859

Rep: Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151
BTW, please you also confirm the printing URI as reported by
Code:
lpstat -t
The HPLIP (hpaio) scanner driver required that the 'hp' printing backend is configured before it can work.
 
Old 02-04-2021, 03:50 PM   #6
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by ferrari View Post
Do you have the plugin (proprietary firmware) installed?
https://developers.hp.com/hp-linux-i...ry_plugin.html

If not, open a terminal and run
Code:
hp-plugin
michael@michael-HP-EliteDesk-800-G1-SFF:~$ hp-plugin

HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.1

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 Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.1

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.

warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-plugin requires GUI support (try running with --qt3). Try using interactive (-i) mode.
michael@michael-HP-EliteDesk-800-G1-SFF:~$
 
Old 02-04-2021, 03:52 PM   #7
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by ferrari View Post
BTW, please you also confirm the printing URI as reported by
Code:
lpstat -t
The HPLIP (hpaio) scanner driver required that the 'hp' printing backend is configured before it can work.
michael@michael-HP-EliteDesk-800-G1-SFF:~$ lpstat -t
scheduler is running
system default destination: HP-LaserJet-Pro-MFP-M127fn
device for HP-LaserJet-Pro-MFP-M127fn: hp:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9H7FDXQ
device for HP-LaserJet-Pro-MFP-M127fn-Fax-2: hpfax:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9H7FDXQ
HP-LaserJet-Pro-MFP-M127fn accepting requests since Thu 04 Feb 2021 04:43:43 PM EST
HP-LaserJet-Pro-MFP-M127fn-Fax-2 accepting requests since Wed 03 Feb 2021 07:02:23 PM EST
printer HP-LaserJet-Pro-MFP-M127fn is idle. enabled since Thu 04 Feb 2021 04:43:43 PM EST
printer HP-LaserJet-Pro-MFP-M127fn-Fax-2 is idle. enabled since Wed 03 Feb 2021 07:02:23 PM EST
michael@michael-HP-EliteDesk-800-G1-SFF:~$
 
Old 02-04-2021, 03:55 PM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,859

Rep: Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151
Ok, that confirms the hp backend is in use as expected.
Code:
hp:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9H7FDXQ
Is the scanner enumerated via
Code:
scanimage -L
 
Old 02-04-2021, 05:16 PM   #9
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by ferrari View Post
Ok, that confirms the hp backend is in use as expected.
Code:
hp:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9H7FDXQ
Is the scanner enumerated via
Code:
scanimage -L
not scan. this is the result

michael@michael-HP-EliteDesk-800-G1-SFF:~$ scanimage -L
device `hpaio:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9H7FDXQ' is a Hewlett-Packard HP_LaserJet_Pro_MFP_M127fn all-in-one
michael@michael-HP-EliteDesk-800-G1-SFF:~$
 
Old 02-04-2021, 05:45 PM   #10
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,859

Rep: Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151
So scanner is detected by scanimage. Good.

From a terminal, do
Code:
scanimage > image.pnm
Report back with any errors. If none, check image.pnm (for a successful scan).
 
Old 02-04-2021, 09:36 PM   #11
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by ferrari View Post
So scanner is detected by scanimage. Good.

From a terminal, do
Code:
scanimage > image.pnm
Report back with any errors. If none, check image.pnm (for a successful scan).
michael@michael-HP-EliteDesk-800-G1-SFF:~$ scanimage > image.pnm
Output format is not set, using pnm as a default.
scanimage: open of device hpaio:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9H7FDXQ failed: Error during device I/O
michael@michael-HP-EliteDesk-800-G1-SFF:~$
 
Old 02-04-2021, 11:10 PM   #12
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,859

Rep: Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151
You should enclose output within CODE tags when posting output like this
Code:
michael@michael-HP-EliteDesk-800-G1-SFF:~$ scanimage > image.pnm
Output format is not set, using pnm as a default.
scanimage: open of device hpaio:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9H7FDXQ failed: Error during device I/O
michael@michael-HP-EliteDesk-800-G1-SFF:~$
Type like this...
[code]
output
[/code]


Refer to the '#' button in the advanced forum editor.
 
Old 02-04-2021, 11:25 PM   #13
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,859

Rep: Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151
BTW, I've read that this error can occur when the plugin is not installed. Referring back to your reply in post #6...you reported...
Code:
warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-plugin requires GUI support (try running with --qt3). Try using interactive (-i) mode.
michael@michael-HP-EliteDesk-800-G1-SFF:~$
...so did you try running in interactive mode as it suggested?

Code:
hp-plugin -i
 
Old 02-05-2021, 05:53 AM   #14
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by ferrari View Post
BTW, I've read that this error can occur when the plugin is not installed. Referring back to your reply in post #6...you reported...
Code:
warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-plugin requires GUI support (try running with --qt3). Try using interactive (-i) mode.
michael@michael-HP-EliteDesk-800-G1-SFF:~$
...so did you try running in interactive mode as it suggested?

Code:
hp-plugin -i
I did that and it installed the plug in.
Still not luck. Scanner application says Sane can't find device.

p.s. thank you for continuing to help me

Last edited by Michael Piziak; 02-05-2021 at 06:20 AM.
 
Old 02-05-2021, 11:29 AM   #15
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,859

Rep: Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151
You're going to need to run 'hp-doctor' command to find whats missing or wrong I think.
 
  


Reply



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
scanner seen by sane-find-scanner but not by scanimage doublehp Linux - Hardware 7 03-06-2019 11:24 AM
Canon Pixma MG6600 Color Printer/Scanner ~ scanner not working bobbypee47 Linux - Hardware 14 12-25-2017 10:00 PM
[SOLVED] Epson Perfection 350 Scanner driver will not recognize the scanner Mikech Linux - Hardware 4 10-25-2012 12:09 PM
Scanner not recognized in Ubuntu Epson Stylus NX510 printer/scanner all2473 Linux - Hardware 7 01-04-2011 09:16 PM
Scanner/Printer Combo Unit - Scanner Works - Printer Does Not rrrssssss Linux - Hardware 1 03-04-2007 10:49 PM

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

All times are GMT -5. The time now is 08:21 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