[SOLVED] Scanning not possible in Mint 19 Cinnamon but working in 18.3 Cinnamon?!
Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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)
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.