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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
02-04-2021, 08:14 AM
|
#1
|
Member
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598
Rep: 
|
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 08:15 AM.
|
|
|
02-04-2021, 08:33 AM
|
#2
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,072
|
In the previous installs when it worked, had you installed SANE and the SANE tools?
|
|
|
02-04-2021, 12:57 PM
|
#3
|
Member
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598
Original Poster
Rep: 
|
Quote:
Originally Posted by wpeckham
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.
|
|
|
02-04-2021, 02:11 PM
|
#5
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,961
|
BTW, please you also confirm the printing URI as reported by
The HPLIP (hpaio) scanner driver required that the 'hp' printing backend is configured before it can work.
|
|
|
02-04-2021, 04:50 PM
|
#6
|
Member
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598
Original Poster
Rep: 
|
Quote:
Originally Posted by ferrari
|
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:~$
|
|
|
02-04-2021, 04:52 PM
|
#7
|
Member
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598
Original Poster
Rep: 
|
Quote:
Originally Posted by ferrari
BTW, please you also confirm the printing URI as reported by
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:~$
|
|
|
02-04-2021, 04:55 PM
|
#8
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,961
|
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
|
|
|
02-04-2021, 06:16 PM
|
#9
|
Member
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598
Original Poster
Rep: 
|
Quote:
Originally Posted by ferrari
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
|
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:~$
|
|
|
02-04-2021, 06:45 PM
|
#10
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,961
|
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).
|
|
|
02-04-2021, 10:36 PM
|
#11
|
Member
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598
Original Poster
Rep: 
|
Quote:
Originally Posted by ferrari
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:~$
|
|
|
02-05-2021, 12:10 AM
|
#12
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,961
|
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.
|
|
|
02-05-2021, 12:25 AM
|
#13
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,961
|
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?
|
|
|
02-05-2021, 06:53 AM
|
#14
|
Member
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598
Original Poster
Rep: 
|
Quote:
Originally Posted by ferrari
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?
|
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 07:20 AM.
|
|
|
02-05-2021, 12:29 PM
|
#15
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,961
|
You're going to need to run 'hp-doctor' command to find whats missing or wrong I think.
|
|
|
All times are GMT -5. The time now is 02:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|