LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-23-2020, 08:44 PM   #16
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21

Code:
bla bla bla
OK I will comply
 
Old 11-23-2020, 11:22 PM   #17
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Returning to my reply back in post #8: Again, check that dll.conf contains an uncommented 'hpaio' entry on the host where scanning is not working.
 
Old 11-23-2020, 11:55 PM   #18
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
Don't see one.

Code:
/etc/sane.d $ cat dll.conf
# /etc/sane.d/dll.conf - Configuration file for the SANE dynamic backend loader
#
# Backends can also be enabled by configuration snippets under
# /etc/sane.d/dll.d directory -- packages providing backends should drop
# a config file similar to dll.conf in this directory, named after the package.
#

# The next line enables the network backend; comment it out if you don't need
# to use a remote SANE scanner over the network - see sane-net(5) and saned(8)
net
abaton
agfafocus
apple
avision
artec
artec_eplus48u
as6e
bh
canon
canon630u
canon_dr
#canon_pp
cardscan
coolscan
#coolscan2
coolscan3
#dc25
#dc210
#dc240
dell1600n_net
dmc
epjitsu
#epson
epson2
epsonds
fujitsu
#gphoto2
genesys
gt68xx
hp
hp3900
hpsj5s
hp3500
hp4200
hp5400
hp5590
hpljm1005
hs2p
ibm
kodak
kodakaio
kvs1025
kvs20xx
leo
lexmark
ma1509
magicolor
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
#p5
pie
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
#umax_pp
umax1220u
v4l
xerox_mfp
 
Old 11-24-2020, 12:10 AM   #19
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
I assume that you compared the file with the host where scanning is working? If it really is missing, add the entry.
 
Old 11-24-2020, 12:20 AM   #20
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
I did not see it there either.
 
Old 11-24-2020, 12:40 AM   #21
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Do you know the IP address of the multi-function device? If so, see if you can detect and communicate it as explained via the page linked to below...

https://wiki.archlinux.org/index.php...ork_HP_scanner
 
Old 11-24-2020, 12:56 AM   #22
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
From reading this Linux Mint thread and checking my own system (I have HPLIP installed but don't own such hardware), I note that HPLIP supplies a file /etc/sane.d/dll.d/hpaio...

Code:
ls -l /etc/sane.d/dll.d/
total 8
-rw-r--r-- 1 root root 6 Nov 18 18:30 epkowa.conf
-rw-r--r-- 1 root root 6 May 31 01:59 hpaio
This file contains 'hpaio'...
Code:
cat /etc/sane.d/dll.d/hpaio
hpaio
Perhaps you have the same? In any case it can be added manually if required.
 
Old 11-24-2020, 10:26 AM   #23
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by borgward View Post
I did not see it there either.
If you have hplip installed, do you know the version? It may be located in /etc/hp/hplip.conf.
If not installed it is available here.
If you do, then you can get the hplip plugin that manages the scanner directly from HP

You need to be sure the version of the plugin matches the hplip running version, but in my experience the only way to scan with an HP MFP is by having the plugin installed. Hplip only talks to the printer, the plugin allows it to talk to the scanner. Mine is installed from the distro repo and every time they update the hplip version in the repo I have to also manually update the plugin to match (the plugin is proprietary).

I install both hplip and the hplip gui by default, plus the plugin. The only thing I have ever needed to be able to talk to my network printer during setup and printing was the IP address of the printer to use during setup. As long as the printer has a static address it should just work.

Since you say that you can print but not scan I think installing the plugin is the only thing needed.
 
Old 11-24-2020, 10:42 AM   #24
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
Working:
Code:
$ ls -l /etc/sane.d/dll.d/
total 8
-rw-r--r-- 1 root root 42 Jan 28  2020 airscan
-rw-r--r-- 1 root root 38 Mar 29  2016 hplip

$ cat /etc/sane.d/dll.d/hpaio
cat: /etc/sane.d/dll.d/hpaio: No such file or directory
Non Working:
Code:
 $ ls -l /etc/sane.d/dll.d/
total 4
-rw-r--r-- 1 root root 38 Mar 29  2016 hplip
 
$ cat /etc/sane.d/dll.d/hpaio
cat: /etc/sane.d/dll.d/hpaio: No such file or directory
 
Old 11-24-2020, 10:51 AM   #25
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,366

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
Haha, I posted post#2 24(?) hours ago. Carry on guys - looks like you have all the help you need.
 
Old 11-24-2020, 10:56 AM   #26
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
When you list the directory contents and see that there is no fie called hpadio, there is little point in then doing 'cat /etc/sane.d/dll.d/hpaio' You have a named 'hplip' fie present (both hosts), so I would expect to see that they have the 'hpaio' entry within.
Code:
cat /etc/sane.d/dll.d/hplip
Some suggestions:

1. As per the advice I gave (arhwiki page I linked to)in post #21, try understanding and running the commands there, and see whether you can get the scanner to work (as per those instructions given in that archwiki page). You will need to know the IP address of your HP device of course.

2.You could try running the HPLIP diagnostic utility, to see if that shows any obvious differences between your working and non-working host...
Code:
hp-check
 
Old 11-24-2020, 10:57 AM   #27
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Quote:
Originally Posted by business_kid View Post
Haha, I posted post#2 24(?) hours ago. Carry on guys - looks like you have all the help you need.
@business_kid: It's not a USB-connected device.
 
Old 11-24-2020, 05:52 PM   #28
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
Tried to attach .txt of hp-check for working and non working but got error - invalid file. 12.6 KB each.
Both had lots of errors. As I remember 2 years ago I had to add the printer from the printer instead of from the printers gui

Code:
$ diff Working_hp-check Non-Working_hp-check
1,2c1,2
< $ hp-check
< Saving output in log file: /home/tom/hp-check.log
---
> maryellen@maryellen-MacBook ~ $ hp-check
> Saving output in log file: /home/maryellen/hp-check.log
13,25c13,25
< 1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to  
< determine if the proper dependencies are installed to successfully compile HPLIP.                                             
< 2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already 
< built HPLIP supplied tarball has the proper dependencies installed to successfully run.                                       
< 3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile-
< and run-time dependencies).                                                                                                   
< 
< Check types:                                                                                                                  
< a. EXTERNALDEP - External Dependencies                                                                                        
< b. GENERALDEP - General Dependencies (required both at compile and run time)                                                  
< c. COMPILEDEP - Compile time Dependencies                                                                                     
< d. [All are run-time checks]                                                                                                  
< PYEXT SCANCONF QUEUES PERMISSION                                                                                              
---
> 1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper  
> dependencies are installed to successfully compile HPLIP.                                                                                             
> 2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied    
> tarball has the proper dependencies installed to successfully run.                                                                                    
> 3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time           
> dependencies).                                                                                                                                        
> 
> Check types:                                                                                                                                          
> a. EXTERNALDEP - External Dependencies                                                                                                                
> b. GENERALDEP - General Dependencies (required both at compile and run time)                                                                          
> c. COMPILEDEP - Compile time Dependencies                                                                                                             
> d. [All are run-time checks]                                                                                                                          
> PYEXT SCANCONF QUEUES PERMISSION                                                                                                                      
39c39
<  Host: tom-Inspiron-1520120
---
>  Host: maryellen-MacBook
108,138d107
< [last_used]
< device_uri = hpfax:/net/Officejet_Pro_8600?zc=HPDDF402
< printer_name = Floating
< working_dir = .
< 
< [settings]
< systray_visible = 0
< systray_messages = 0
< 
< [commands]
< scan = /usr/bin/simple-scan %SANE_URI%
< 
< [refresh]
< rate = 30
< enable = false
< type = 1
< 
< [polling]
< enable = false
< interval = 5
< device_list = 
< 
< [fax]
< voice_phone = 
< email_address = 
< 
< [upgrade]
< notify_upgrade = false
< last_upgraded_time = 1536427576
< pending_upgrade_time = 0
< 
140c109
< date_time = 11/24/20 11:53:16
---
> date_time = 11/24/20 12:59:37
151,152d119
<  error: dbus          DBus - Message bus system                                    REQUIRED        -               1.10.6          MISSING    'DBUS may not be installed or not running'
<  avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.32          OK         -
153a121,123
>  avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.32          OK         -
>  scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.25          OK         -
>  error: dbus          DBus - Message bus system                                    REQUIRED        -               1.10.6          MISSING    'DBUS may not be installed or not running'
157d126
<  scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.25          OK         -
163,164c132,135
<  error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.2           MISSING    'libcrypto needs to be installed'
<  error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
---
>  python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.0           OK         -
>  libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.23'         OK         -
>  error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
>  error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
167,168c138
<  python3-pyqt4        PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.11.4          OK         -
<  error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
---
>  error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
170,174d139
<  libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.23'         OK         -
<  error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.5.2           MISSING    'python3-devel needs to be installed'
<  python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.0           OK         -
<  python3-pyqt4-dbus   PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             4.11.4          OK         -
<  sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
176,177c141
<  error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
<  python3-xml          Python XML libraries                                         REQUIRED        -               2.1.0           OK         -
---
>  error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
178a143
>  error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.5.2           MISSING    'python3-devel needs to be installed'
180c145,149
<  error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
---
>  error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.2           MISSING    'libcrypto needs to be installed'
>  sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
>  error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
>  error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
>  python3-xml          Python XML libraries                                         REQUIRED        -               2.1.0           OK         -
187d155
<  error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
188a157
>  error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
214,215c183
< device `airscan:HP OfficeJet Pro 6970 [D79C4B]' is a AirScan HP OfficeJet Pro 6970 [D79C4B] eSCL network scanner
< 
---
> No Scanner found.
235c203
< Printer status: printer HP-OfficeJet-Pro-6970 is idle.  enabled since Mon 23 Nov 2020 09:59:40 PM CST
---
> Printer status: printer HP-OfficeJet-Pro-6970 is idle.  enabled since Mon 23 Nov 2020 10:12:22 PM CST
238,239c206,207
< HP-OfficeJet-Pro-6970@maryellen-MacBook.local
< ---------------------------------------------
---
> HP-OfficeJet-Pro-6970@tom-Inspiron-1520120.local
> ------------------------------------------------
241c209
< Device URI: ipps://maryellen-MacBook.local:631/printers/HP-OfficeJet-Pro-6970
---
> Device URI: ipps://tom-Inspiron-1520120.local:631/printers/HP-OfficeJet-Pro-6970
257,260d224
< error: 'openssl' package is missing/incompatible 
< error: 'libjpeg8-dev' package is missing/incompatible 
< error: 'libusb-1.0.0-dev' package is missing/incompatible 
< error: 'python3-dev' package is missing/incompatible 
264,265c228,229
< error: 'libcupsimage2-dev' package is missing/incompatible 
< error: 'libsane-dev' package is missing/incompatible 
---
> error: 'libjpeg8-dev' package is missing/incompatible 
> error: 'python3-pyqt4' package is missing/incompatible 
267a232,236
> error: 'libcupsimage2-dev' package is missing/incompatible 
> error: 'python3-dev' package is missing/incompatible 
> error: 'libsane-dev' package is missing/incompatible 
> error: 'openssl' package is missing/incompatible 
> error: 'libusb-1.0.0-dev' package is missing/incompatible 
272a242
> error: 'python3-dbus.mainloop.qt' package is missing/incompatible 
275c245
< Total Errors: 13
---
> Total Errors: 15
279a250
 
Old 11-24-2020, 10:52 PM   #29
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
I can't make sense of that output. You could share lengthy output using https://pastebin.com/

Quote:
As I remember 2 years ago I had to add the printer from the printer instead of from the printers gui
I don't understand what you mean here.
 
Old 11-24-2020, 11:34 PM   #30
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
Meaning the networking had to be setup from the printers control panel instead of from the computer.
 
  


Reply

Tags
code



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
Yum Install samba "No package samba available" "No package samba-client available." young redhat Linux - Software 8 04-16-2019 08:05 PM
Any command available to find out the number of inodes available in the system? Marty21 Linux - Newbie 3 01-09-2009 07:31 PM
"Cannot create directory: No space left on device" but I have 7.1G available !!!! fr_laz Linux - General 3 12-09-2005 04:44 PM
HELP! Couldn't initialize SDL: No available video device orktes Linux - Software 6 03-24-2004 02:04 PM
No PPP device option available skopy Linux - Networking 3 09-16-2001 01:23 PM

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

All times are GMT -5. The time now is 01:08 PM.

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