LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-28-2019, 10:02 AM   #16
thestaz
LQ Newbie
 
Registered: May 2018
Posts: 13

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled

Well, now the print function has decided not to work as well.

Found this - may be the problem (posted 10 days ago):

https://bugs.launchpad.net/hplip/+bug/1853002
 
Old 11-28-2019, 12:18 PM   #17
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Code:
root@abox ~]# hp-scan
warning: hp-scan should not be run as root/superuser.
Run it as user!

This means the scanner is found (as expected)...
Code:
found USB scanner (vendor=0x03f0 [HP], product=0xc511 [ENVY 4500 series]) at libusb:001:012
...the problem may just be with HPLIP itself.
 
Old 11-29-2019, 10:16 AM   #18
thestaz
LQ Newbie
 
Registered: May 2018
Posts: 13

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
SOLVED -

I uninstalled hplip-3.19.10 (which is latest in fedora repo). Went to the HPLIP website:
https://developers.hp.com/hp-linux-i...nting/gethplip

Downloaded hplip-3.19.11.run, and ran it.

Second time I did this ... but, this time it worked. Both printer & scanner work as advertised.

I expect problems in the future since I always update with "dnf update". When we get to hplip-3.19.12, dnf won't know I need that. Guess I'll cross that bridge when I get to it.

Thanks for all your help and patience.
 
Old 11-29-2019, 12:48 PM   #19
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Thanks for the update.
 
Old 12-14-2019, 09:24 PM   #20
HughRed
LQ Newbie
 
Registered: Aug 2016
Location: Toronto, Canada
Posts: 3

Rep: Reputation: Disabled
I have an HP PhotoSmart C4180 All-In-One.
simplescan stopped working when I upgraded from Fedora 28 to 30.
So I have a similar problem.

Key observation: "sane-find-scanner" didn't find the scanner but "sudo sane-find-scanner" did. So this looks like a permissions problem.

Quote:
found USB scanner (vendor=0x03f0 [HP], product=0x5711 [Photosmart C4100 series]) at libusb:003:006
libusb:003:006 means that it is using /dev/bus/usb/003/006. This would change if the AIO were moved to a different USB socket.

Quote:
$ ls -l /dev/bus/usb/003/006
crw-rw-r--+ 1 root lp 189, 261 Dec 14 21:38 /dev/bus/usb/003/006
A temporary fix: "sudo chmod o+w /dev/bus/usb/003/006". After this, simplescan works. I'm pretty sure that it will again fail after a reboot since this device node will be recreated.

I'm not sure what the correct fix would be.

Perhaps adding the user to the "lp" group. But I don't know what being in the lp group is supposed to mean. Perhaps it is intended only for trusted daemons and the like.

Perhaps some program(s) should be setgid lp. Which program(s)?

Perhaps adding udev rules. I don't know how to do that appropriately.
 
Old 12-14-2019, 09:58 PM   #21
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Code:
$ ls -l /dev/bus/usb/003/006
crw-rw-r--+ 1 root lp 189, 261 Dec 14 21:38 /dev/bus/usb/003/006
Those are the permissions that I would expect. The user needs to be a member of the 'lp' group for rw access to the USB-connected scanner. To do this, open a terminal and type
Code:
su -c 'usermod -a -G lp <username>'
*Replace <username> with the real account name

It will take effect the next time the user logs out and back in again.
 
  


Reply

Tags
xsane



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
New Printer Scanner in Xsane finds new printer/scanner (Brother MFC-6520DW) with error message TrinityBeing Linux - Newbie 23 03-29-2016 10:27 AM
What scanner program to use with Brothers printer/scanner? jbander Linux - Software 1 08-03-2013 11:11 AM
Scanner not recognized in Ubuntu Epson Stylus NX510 printer/scanner all2473 Linux - Hardware 7 01-04-2011 09:16 PM
HP C5100 printer/scanner - making the scanner work??? rholme Linux - Hardware 1 11-27-2010 10:48 AM
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 - Distributions > Fedora

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