LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2022, 05:20 PM   #16
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,839

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148

Ok, and did you run 'hp-doctor' yet? That might provide more useful information, along with hazel's diagnostic advice.
 
Old 06-05-2022, 09:27 AM   #17
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,660
Blog Entries: 19

Rep: Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482
Quote:
Originally Posted by kernelhead View Post
ok, if you could provide me with a link to the Sane man (main?) page, I will attempt to do all that I can understand - is this it?: http://www.sane-project.org/
man is short for manual! It's the old Unix Manual, which is baked into Linux, into all Unix systems. You don't need a browser or a url for that! Just open a terminal, type man sane and you'll get the page I told you about. Page through it and you'll find the troubleshooting section. Similarly man sane_hpaio will give you a man page on debugging the hpaio scanner driver in particular. To learn how to read man pages in general use man man.
Quote:
Code:
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:~$
So scanimage finds it after all. That suggests you shouldn't have a problem. Try scanimage>outfile.pnm then see if that file will display in a viewer.
 
Old 06-05-2022, 02:38 PM   #18
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,988
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
kernelhead,

A similar scanning problem on the same HP printer was solved here:
https://www.linuxquestions.org/quest...ng-4175689857/
 
Old 06-06-2022, 07:14 PM   #19
kernelhead
Member
 
Registered: Jun 2022
Posts: 247

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by uteck View Post
Make sure your user is in the scanner group, Ubuntu has a history of not adding users to that group.
To list what groups you are in run the 'groups' command.
Thanks for your reply.
Could you, or someone, please tell me how to do this....
 
Old 06-06-2022, 07:19 PM   #20
kernelhead
Member
 
Registered: Jun 2022
Posts: 247

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by ferrari View Post
Ok, and did you run 'hp-doctor' yet? That might provide more useful information, along with hazel's diagnostic advice.
Code:
michael@michael-HP-EliteDesk-800-G1-SFF:~$ hp-doctor

HP Linux Imaging and Printing System (ver. 3.21.12)
Self Diagnse Utility and Healing Utility ver. 1.0

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.21.12)
Self Diagnse Utility and Healing Utility ver. 1.0

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.

-Traceback (most recent call last):
  File "/usr/bin/hp-doctor", line 276, in <module>
    dep.core.init()
  File "/usr/share/hplip/installer/core_install.py", line 523, in init
    self.get_distro()
  File "/usr/share/hplip/installer/core_install.py", line 661, in get_distro
    if 'MX' in distro_release_name:
NameError: name 'distro_release_name' is not defined
michael@michael-HP-EliteDesk-800-G1-SFF:~$
 
Old 06-06-2022, 07:23 PM   #21
kernelhead
Member
 
Registered: Jun 2022
Posts: 247

Original Poster
Rep: Reputation: 5
So scanimage finds it after all. That suggests you shouldn't have a problem. Try scanimage>outfile.pnm then see if that file will display in a viewer.

Code:
michael@michael-HP-EliteDesk-800-G1-SFF:~$ scanimage>outfile.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:~$
Considering this, that it finds it, do you still recommend that I figure out the "man sane" (?)


p.s. to all: The scanner worked fine up until the clean install of Ubuntu 22.04 lts

Last edited by kernelhead; 06-06-2022 at 08:20 PM.
 
Old 06-06-2022, 08:46 PM   #22
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
This howto shows the basics of adding a user to a group: https://wiki.debian.org/SystemGroups
add your user to the 'lp' and 'saned' groups.
 
Old 06-08-2022, 08:02 PM   #23
kernelhead
Member
 
Registered: Jun 2022
Posts: 247

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by uteck View Post
This howto shows the basics of adding a user to a group: https://wiki.debian.org/SystemGroups
add your user to the 'lp' and 'saned' groups.
hmm, I'm getting a "Forbidden

<p>You are not allowed to access this!</p>"

message
 
Old 06-09-2022, 04:57 AM   #24
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,660
Blog Entries: 19

Rep: Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482Reputation: 4482
Quote:
Originally Posted by kernelhead View Post
hmm, I'm getting a "Forbidden

<p>You are not allowed to access this!</p>"

message
You have to do it as root or using sudo.
 
  


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
printer/scanner combo -scanner missing ninian Linux - Hardware 27 03-27-2016 11:59 PM
Help buying a printer scanner combo j.curtis Linux - Hardware 4 10-27-2013 05:45 PM
Please recommend a network printer/scanner combo philipm Linux - Hardware 14 07-21-2007 07:45 PM
Scanner/Printer Combo Unit - Scanner Works - Printer Does Not rrrssssss Linux - Hardware 1 03-04-2007 10:49 PM
Combo,combo box and combo entry box diff santhosh.linux Programming 4 02-27-2006 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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