LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 02-04-2020, 10:10 PM   #1
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 513

Rep: Reputation: 21
Xsane Not Seeing Scanner.


Linux Mint 64bit 18.0, HP Officejet-Pro-6970
I get no devices available when I run Xsane when I do $ sudo xsane
I can print wirelessly to the printer scanner, but not scan. I can scan from from the HP to USB.
Scanner was working previously.

I did get a notice:
HPLIP cannot detect devices in your network. This may be due to existing firewall settings blocking the required ports like (5353/udp). When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.

http://hplipopensource.com/node/375

Should I do what that link says or something else. I did remove and reinstall the HP after Xsane did not see it.
 
Old 02-05-2020, 02:31 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
For a USB connected device, the firewall advice is not applicable. Check that the user is a member of the 'lp' group (for r/w access to the USB interface).
 
Old 02-05-2020, 02:37 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
FWIW, I recall a recent thread where a user described similar symptoms (scanning as root only), and reported the following workaround...
https://www.linuxquestions.org/quest...ml#post6083457
 
Old 02-05-2020, 03:20 PM   #4
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 513

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by ferrari View Post
For a USB connected device, the firewall advice is not applicable. Check that the user is a member of the 'lp' group (for r/w access to the USB interface).
Printer/scanner has wireless connection. Not connected w/USB. Will from the HP to USB stick. Will not scan from the scanner to computer with wireless or Ethernet.
 
Old 02-05-2020, 04:37 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Ok, then it is worth checking the firewall. If active, try disabling it temporarily, and attempt to scan.
 
Old 02-05-2020, 04:50 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Also you should know that in order for the hpaio (scanner backend) to function, the printer URI must be configured to use the 'hp' CUPS backend. That can be checked using
Code:
lpstat -t
The 'hp-setup' utility should be capable of discovering and configuring the network-attached multifunction device.
 
Old 02-05-2020, 04:51 PM   #7
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 513

Original Poster
Rep: Reputation: 21
What firewall? Where is the Firewall? How do I check it? I am using Linksys WRT54 G wireless router. It is totally open. (I am in remote location)
 
Old 02-05-2020, 04:58 PM   #8
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 513

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by ferrari View Post
Also you should know that in order for the hpaio (scanner backend) to function, the printer URI must be configured to use the 'hp' CUPS backend. That can be checked using
Code:
lpstat -t
The 'hp-setup' utility should be capable of discovering and configuring the network-attached multifunction device.
$ lpstat -t
scheduler is running
system default destination: HP-OfficeJet-Pro-6970
device for HP-OfficeJet-Pro-6970: dnssd://HP%20OfficeJet%20Pro%206970%20%5BD79C4B%5D._ipp._tcp.local/?uuid=d7a2558b-5629-7026-ff06-efca17342cb6
device for XP-400-Series: http://localhost:631/admin
HP-OfficeJet-Pro-6970 accepting requests since Wed 05 Feb 2020 01:52:55 PM CST
XP-400-Series accepting requests since Mon 21 May 2018 11:24:39 AM CDT
printer HP-OfficeJet-Pro-6970 is idle. enabled since Wed 05 Feb 2020 01:52:55 PM CST
printer XP-400-Series disabled since Mon 21 May 2018 11:24:39 AM CDT -
Rendering completed

How do I run the 'hp-setup' utility?
 
Old 02-05-2020, 05:07 PM   #9
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
There may be an icon for it in your menu. Otherwise, open a terminal and type...
Code:
hp-setup
 
Old 02-05-2020, 05:08 PM   #10
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
May need to add user to the scanner group.

This link may also help troubleshoot: https://wiki.debian.org/Scanner
 
Old 02-05-2020, 05:10 PM   #11
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
BTW, the lpstat output you shared confirms that the CUPS dnssd backend is being used....
Code:
device for HP-OfficeJet-Pro-6970: dnssd://HP%20OfficeJet%20Pro%206970.....
That utilises Avahi 'auto-discovery', and while that is suitable for most network printers, I think you'll need to use the HPLIP utilities (eg hp-setup) to configure CUPS with the appropriate 'hp' URI. It should look more like this....
Code:
hp:/net/HP%20OfficeJet%20Pro%206970?ip=X.X.X.X
Once that is configured correctly, you'll likely find that the hpaio (scanner backend) works too.

Last edited by ferrari; 02-05-2020 at 09:05 PM.
 
  


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
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
[SOLVED] Fedora 18 x64, xsane won't detect scanner even though sane-find-scanner does SharpyWarpy Linux - Hardware 8 03-17-2013 06:18 PM
XSane does not recognize scanner! kenny1948 Linux - Newbie 4 05-24-2009 10:23 AM
HP Scanner 2400c not responding to xsane norm.h Linux - Hardware 1 11-02-2008 05:20 AM
Parrallel Port Scanner with xsane not working Old_Fogie Slackware 7 07-17-2006 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

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