LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-16-2018, 08:04 AM   #1
stardustdk
Member
 
Registered: Mar 2006
Distribution: Linuxmint 18.3 Cinnamon
Posts: 167

Rep: Reputation: 15
Scanning not possible in Mint 19 Cinnamon but working in 18.3 Cinnamon?!


Hey all.

I have a Intel NUC installed with Linux Mint 19 Cinnamon, and almost everything here, including printing is possible on my HP Photosmart 6510 scanner/printer/copier etc.
The all-in-one machine is via Wi-Fi connected to the router.


I did search the Net for clues and tried everything I thought might help, nothing.
The PC can't even see the Photosmart when I try to scan??
But printing is working like a charm...??????

After tried everything I found, I tested a USB flash key with 18.3 Cinnamon and booted on that.
Scanning was working 100% like it used to.. (!)

So I am sure that it is a software problem.

Any suggestion - besides going back to 18.3?

If not I am going back, but that is to me a short time solution.

Thanks in advance.

Stardustdk/John
 
Old 10-16-2018, 10:07 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
First thought is the kernel is different, or hplip maybe isn't installed?
or something?
Following that hunch....

https://forums.linuxmint.com/viewtop...rt=20#p1049671 yaks about Mint 17 and "HP Photosmart 6510" twice with "3.16-series kernel"
Pjotr is a knowledgable contributor to the Linux Mint heritage.
His site is a pretty good one. Lots of tips. You can trust what he puts there.

Have you installed the hplip package?

Do scanners show up in http://localhost:631 ?

I googled "HP Photosmart 6510 wifi " and it offered up ePrint
Model B211a? The HP Photosmart 6510 e-All-in-One Printer - B211a? (also known as an "MFP", or multifunction printer)
Is so, even if not, I'd visit https://support.hp.com/us-en/drivers and see what's "new and improved"?
I'd connect it physically if I had to be in this situation. (for detection at https://support.hp.com/us-en/drivers)

That or master google.fu

Good Luck.

Last edited by Habitual; 10-16-2018 at 10:07 AM. Reason: s/kk/k
 
Old 10-16-2018, 11:37 AM   #3
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 4,480
Blog Entries: 11

Rep: Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568
HP All-in-1 printers use the hpaio driver for sane. This is part of hplip so sane doesn't provide it. If printing works, then presumably hplip is installed.

It's worth checking for hpaio using the locate command. There should be a sane module of that name in /usr/lib and a configuration file for it in /etc/sane.d.

I have found the debugging options in sane very useful for this kind of problem. There are man pages describing them. You can set debug levels for both the sane usb interface and the hpaio back end, and that will usually show where the problem is.

Last edited by hazel; 10-16-2018 at 11:38 AM.
 
Old 10-16-2018, 02:16 PM   #4
stardustdk
Member
 
Registered: Mar 2006
Distribution: Linuxmint 18.3 Cinnamon
Posts: 167

Original Poster
Rep: Reputation: 15
The scanners do not show in http://localhost:631/ and

locate hpaio gives this:
Quote:
/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1
/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1.0.0
/usr/share/doc/libsane-hpaio
/usr/share/doc/libsane-hpaio/changelog.Debian.gz
/usr/share/doc/libsane-hpaio/copyright
/usr/share/doc/libsane-hpaio/hpaio.desc.gz
/var/lib/dpkg/info/libsane-hpaio:amd64.conffiles
/var/lib/dpkg/info/libsane-hpaio:amd64.list
/var/lib/dpkg/info/libsane-hpaio:amd64.md5sums
/var/lib/dpkg/info/libsane-hpaio:amd64.shlibs
in /etc/sane.d

ls hp* gives this:

Quote:
hp3900.conf hp4200.conf hp5400.conf hp.conf hpsj5s.conf
 
Old 10-17-2018, 06:15 AM   #5
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 4,480
Blog Entries: 11

Rep: Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568
Aha! You have the driver but no configuration file. Well, that is easily corrected.

First you will need to find the usb vendor and product numbers for your device. You can use the sane-find-scanner command for this, or you can look through the boot messages using dmesg. For example, my dmesg shows:
Code:
[    1.513059] usb 4-1: New USB device found, idVendor=04a9, idProduct=2220, bcd
Device= 1.00
[    1.513944] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.514775] usb 4-1: Product: CanoScan
[    1.515604] usb 4-1: Manufacturer: Canon
For an HP scanner, the vendor code will be 0350.

Then, as root, create a file in /etc/sane.d called hpaio.conf and put the two usb numbers into it. I have one left over from an HP scanner that I got rid of and it reads:
Code:
#HP Photosmart C4700
usb 0x0350 0x7551
Your product number will be different of course. Also check that the file /etc/sane.d/dll.conf contains an entry for hpaio. If not, edit one in.

After that try again.
 
Old 10-17-2018, 07:18 AM   #6
stardustdk
Member
 
Registered: Mar 2006
Distribution: Linuxmint 18.3 Cinnamon
Posts: 167

Original Poster
Rep: Reputation: 15
Thanks hazel

Now I need to make it work on my LAN (Wifi), because that I was used to that with 18.3 Cinnamon.

Normally the HP Photosmart is in another room, that is why.

Regards

John
 
Old 10-17-2018, 09:32 AM   #7
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 4,480
Blog Entries: 11

Rep: Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568
I don't know what you have to put in hpaio.conf for a wifi connection, but other people here will.

You might find this useful too.

Last edited by hazel; 10-17-2018 at 09:35 AM.
 
Old 10-17-2018, 10:59 AM   #8
stardustdk
Member
 
Registered: Mar 2006
Distribution: Linuxmint 18.3 Cinnamon
Posts: 167

Original Poster
Rep: Reputation: 15
Thanks again

As your link among other says that since 2017 there has been some bugs regarding HP Scanners

From your link:

Quote:
sharing a network HP aio scanner is not possible due to bugs 807427 and 838212. Network scanners from other vendors might work in sharing mode though.
 
Old 10-25-2018, 10:44 AM   #9
stardustdk
Member
 
Registered: Mar 2006
Distribution: Linuxmint 18.3 Cinnamon
Posts: 167

Original Poster
Rep: Reputation: 15
I have bought a new Brother all-in-one. Same result:
No scanning possible but prints are OK - in Linux Mint 19.
Besides Intel NUC I also have a Lenovo T500. That has the same problem.
My T61 with 18.3 and a laptop with Win 10 has no problems with scanning.
Both 18.3 and 19 are 64-bit Cinnamon
 
Old 10-25-2018, 11:09 AM   #10
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 4,480
Blog Entries: 11

Rep: Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568
Yesterday I got an old Brother all-in-1 belonging to a friend to scan by creating a couple of symbolic links. Sane requires back-end driver libraries to be in /usr/lib/sane but the Brother installation script had put the library and its links somewhere else. I think it was /usr/lib/x86_64_gnu_linux/sane but I'm not sure now. Anyway, I left the actual library file where it was but duplicated the links, putting them where they belonged, and that was all that was necessary.
 
Old 10-25-2018, 11:28 AM   #11
stardustdk
Member
 
Registered: Mar 2006
Distribution: Linuxmint 18.3 Cinnamon
Posts: 167

Original Poster
Rep: Reputation: 15
If you got a Brother all-in-one.
Please check this first:

[https://support.brother.com

I got updated *.DEB drivers there

Last edited by stardustdk; 10-26-2018 at 03:16 AM.
 
Old 10-30-2018, 11:40 AM   #12
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Hazel Rocks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
xbacklight stopped working - Mint 18.1 Cinnamon wingman358 Linux - Software 4 10-28-2018 05:17 PM
Orca Screen Reader not working on Mint 18.1 64-bit Cinnamon J0atm0n Linux - Software 1 02-20-2017 05:37 PM
LXer: Linux Mint 17.3 "Rosa" Cinnamon Edition Beta Officially Released with Cinnamon 2.8 LXer Syndicated Linux News 0 11-18-2015 11:29 PM
Linux Mint 13 Cinnamon wireless not working taythewhiteguy Linux - Networking 0 06-23-2012 10:06 PM

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

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