Scanner HP don't work....

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
feinwerkbau
Level 1
Level 1
Posts: 23
Joined: Sun Feb 28, 2021 6:56 am

Scanner HP don't work....

Post by feinwerkbau »

Hello to all who will read this request for help,
I recently bought an HP scanner model “scanjet pro 2500 f1”, but MINT 20.2, it doesn't see it, it's as if it were blind !!!! despite being connected to the USB port !!
with the result that to use the scanner I have to use Windows, then bring the files produced by the scanner to mint, wasting time. Since I opted for Mint, I have no desire to return to WIN, can someone suggest me some tests to do?
Pc in use new one year (i5), SSD nvme, SSD with Win etc. etc.
thanks in advance for the suggestions you will give me.
Rik
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
coffee412
Level 8
Level 8
Posts: 2260
Joined: Mon Nov 12, 2012 7:38 pm
Location: I dont know
Contact:

Re: Scanner HP don't work....

Post by coffee412 »

According to HP's website the ScanJet pro 2500 is supported in version 3.19.1 of HPlip

https://developers.hp.com/hp-linux-imag ... ices/index

HPLIP is currently looking like 3.21.8

https://developers.hp.com/hp-linux-imag ... g/gethplip

I recommend that you install the hplip package from HP on the link above and then there is a link below that for installation instructions.

Let us all know how it goes.
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710
- List your hardware Profile: inxi -Fxpmrz
MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
User avatar
majpooper
Level 8
Level 8
Posts: 2084
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Scanner HP don't work....

Post by majpooper »

coffee412 wrote: Wed Oct 27, 2021 10:55 am According to HP's website the ScanJet pro 2500 is supported in version 3.19.1 of HPlip

https://developers.hp.com/hp-linux-imag ... ices/index

HPLIP is currently looking like 3.21.8

https://developers.hp.com/hp-linux-imag ... g/gethplip

I recommend that you install the hplip package from HP on the link above and then there is a link below that for installation instructions.

Let us all know how it goes.
The easy way to install hplip is to go to the synaptic package manager (click on the menu then start to type in the search bar synaptic - it will come up) enter your password then seach on hplip.
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Scanner HP don't work....

Post by pdc_2 »

so feinwerkbau; welcome to the forum;

all recent printers seem to be airprint-compatible, and can be called "driverless":

if you paste this command into a terminal: ask if you need more help;

Code: Select all

sudo apt install ipp-usb sane-airscan
if you reboot your system, and see if it recognises the scanner

I would suggest doing the above before attempting to install an external version of hplip;

as Mint comes with a recent version of hplip already installed; and that version would be fine; if you elected to activate it;
feinwerkbau
Level 1
Level 1
Posts: 23
Joined: Sun Feb 28, 2021 6:56 am

Re: Scanner HP don't work....

Post by feinwerkbau »

Many thanks to everyone
I tried everything possible this afternoon but I'm scanner not being detected by the OS !!!
HPLIP TO VERSION 3.21.2
I am really angry, I suspect that, in the driver if it does not see a hdd / ssd formatted with NTFS, this will not be detected.
I installed a ssd with windows, and by the way, my shopkeeper that I usually use told me: Windows does not see the linux disk, but on the contrary the linux disk sees the windows disk !!!!
I guess I'll have to keep both discs.
I sincerely thank all those who have provided me with help.
Rik
User avatar
majpooper
Level 8
Level 8
Posts: 2084
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Scanner HP don't work....

Post by majpooper »

feinwerkbau wrote: Thu Oct 28, 2021 4:29 pm Many thanks to everyone
I tried everything possible this afternoon but I'm scanner not being detected by the OS !!!
HPLIP TO VERSION 3.21.2
I am really angry, I suspect that, in the driver if it does not see a hdd / ssd formatted with NTFS, this will not be detected.
I installed a ssd with windows, and by the way, my shopkeeper that I usually use told me: Windows does not see the linux disk, but on the contrary the linux disk sees the windows disk !!!!
I guess I'll have to keep both discs.
I sincerely thank all those who have provided me with help.
Rik
It looks to me like you are missing the plug-in
Here is a post from a similar thread from a while back
Remember when you go to the HP develpers sites to then click on Downloads
just replace 3.19.12 with 3.21.2
majpooper wrote: Wed Jan 08, 2020 10:21 pm You indeed need the plugin and the min hplip is 3.18.5 - below is the HP development site on which to verify which hplip version you need and if you need the plugin
https://developers.hp.com/hp-linux-imag ... ices/index

Download the latest version of hplip and the plugin 3.19.12
https://developers.hp.com/hp-linux-imag ... g/gethplip (hplip)
https://developers.hp.com/hp-linux-imag ... ng/plugins (you want the 3.19.12 .run file)
cut and paste these commands into the terminal

Code: Select all

chmod +x ~/Downloads/hplip-3.19.12.run

Code: Select all

chmod +x ~/Downloads/hplip-3.19.12-plugin.run
These will solve the permission needed to execute the .run files

Code: Select all

./Downloads/hplip-3.19.12.run
use the defaults marked with a *
At the end you will see a notice that the plugin needs to be installed - there are two ways to do this the gui (u) or interactive (i). The gui may be the easiest even though you have already downloaded the plugin.run file. Personally I prefer the interactive (i) so I input i and then q (to quit) and install the plugin directly.

Code: Select all

./Downloads/hplip-3.19.12-plugin.run
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Dedicated HP flatbed scanner not working

Post by pdc_2 »

so this is a Dedicated FlatBed Scanner:

It appears in this bug report https://bugs.launchpad.net/hplip/+bug/1847142 where brian_p played a key role in helping to manage the problem;

so the comment from 2019 was

Code: Select all

"SJ2500 is fully supported from 3.19.1 version.
Looks like plugin installation failed.
Please download hplip-3.19.8-plugin.run from below path

https://developers.hp.com/hp-linux-imaging-and-printing/plugins

and install plugin using below command

$sh hplip-3.19.8-plugin.run

Please let me if you still face the issue.

Regards,"
........ gosh ........ it's a torrid bug report;

...... conclusion ......... the Ubuntu folks felt that plugin 3.19.1 or newer should work; so Maj Pooper's advice seems spot-on;
feinwerkbau
Level 1
Level 1
Posts: 23
Joined: Sun Feb 28, 2021 6:56 am

Re: Scanner HP don't work....

Post by feinwerkbau »

Hi everyone who helped me solve the mystery of the undetected scanner, even though the USB port is connected. Reading on the site http://www.sane-project.org/man/sane-fi ... ner.1.html
i tried this interesting step, I edited terminal
sane-find-scanner -v
of which I am attaching the answer obtained from the OS.
Someone can give me some explanations on this, as I am not a programmer, but a simple hobbyist. Thanks 1000 for your help, riccardo.

response text from OS:

rik@rik-desktop:~$ sane-find-scanner -v
This is sane-find-scanner from sane-backends 1.0.29

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

searching for SCSI scanners:
checking /dev/scanner... failed to open (Invalid argument)
checking /dev/sg0... failed to open (Invalid argument)
checking /dev/sg1... failed to open (Access to resource has been denied)
checking /dev/sg2... failed to open (Access to resource has been denied)
checking /dev/sg3... failed to open (Access to resource has been denied)
checking /dev/sg4... failed to open (Invalid argument)
checking /dev/sg5... failed to open (Invalid argument)
checking /dev/sg6... failed to open (Invalid argument)
checking /dev/sg7... failed to open (Invalid argument)
checking /dev/sg8... failed to open (Invalid argument)
checking /dev/sg9... failed to open (Invalid argument)
checking /dev/sga... failed to open (Invalid argument)
checking /dev/sgb... failed to open (Invalid argument)
checking /dev/sgc... failed to open (Invalid argument)
checking /dev/sgd... failed to open (Invalid argument)
checking /dev/sge... failed to open (Invalid argument)
checking /dev/sgf... failed to open (Invalid argument)
checking /dev/sgg... failed to open (Invalid argument)
checking /dev/sgh... failed to open (Invalid argument)
checking /dev/sgi... failed to open (Invalid argument)
checking /dev/sgj... failed to open (Invalid argument)
checking /dev/sgk... failed to open (Invalid argument)
checking /dev/sgl... failed to open (Invalid argument)
checking /dev/sgm... failed to open (Invalid argument)
checking /dev/sgn... failed to open (Invalid argument)
checking /dev/sgo... failed to open (Invalid argument)
checking /dev/sgp... failed to open (Invalid argument)
checking /dev/sgq... failed to open (Invalid argument)
checking /dev/sgr... failed to open (Invalid argument)
checking /dev/sgs... failed to open (Invalid argument)
checking /dev/sgt... failed to open (Invalid argument)
checking /dev/sgu... failed to open (Invalid argument)
checking /dev/sgv... failed to open (Invalid argument)
checking /dev/sgw... failed to open (Invalid argument)
checking /dev/sgx... failed to open (Invalid argument)
checking /dev/sgy... failed to open (Invalid argument)
checking /dev/sgz... failed to open (Invalid argument)
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.

searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid argument)
checking /dev/usb/scanner0... failed to open (Invalid argument)
checking /dev/usb/scanner1... failed to open (Invalid argument)
checking /dev/usb/scanner2... failed to open (Invalid argument)
checking /dev/usb/scanner3... failed to open (Invalid argument)
checking /dev/usb/scanner4... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner7... failed to open (Invalid argument)
checking /dev/usb/scanner8... failed to open (Invalid argument)
checking /dev/usb/scanner9... failed to open (Invalid argument)
checking /dev/usb/scanner10... failed to open (Invalid argument)
checking /dev/usb/scanner11... failed to open (Invalid argument)
checking /dev/usb/scanner12... failed to open (Invalid argument)
checking /dev/usb/scanner13... failed to open (Invalid argument)
checking /dev/usb/scanner14... failed to open (Invalid argument)
checking /dev/usb/scanner15... failed to open (Invalid argument)
checking /dev/usbscanner... failed to open (Invalid argument)
checking /dev/usbscanner0... failed to open (Invalid argument)
checking /dev/usbscanner1... failed to open (Invalid argument)
checking /dev/usbscanner2... failed to open (Invalid argument)
checking /dev/usbscanner3... failed to open (Invalid argument)
checking /dev/usbscanner4... failed to open (Invalid argument)
checking /dev/usbscanner5... failed to open (Invalid argument)
checking /dev/usbscanner6... failed to open (Invalid argument)
checking /dev/usbscanner7... failed to open (Invalid argument)
checking /dev/usbscanner8... failed to open (Invalid argument)
checking /dev/usbscanner9... failed to open (Invalid argument)
checking /dev/usbscanner10... failed to open (Invalid argument)
checking /dev/usbscanner11... failed to open (Invalid argument)
checking /dev/usbscanner12... failed to open (Invalid argument)
checking /dev/usbscanner13... failed to open (Invalid argument)
checking /dev/usbscanner14... failed to open (Invalid argument)
checking /dev/usbscanner15... failed to open (Invalid argument)
could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x054c/0x05ba at 003:004: Access denied (insufficient permissions)
could not open USB device 0x054c/0x05ba at 003:003: Access denied (insufficient permissions) what are you talking about??
could not open USB device 0x05e3/0x0608 at 003:002: Access denied (insufficient permissions) someone can give me explanations?
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions) to solve the mystery of the scanner ....
could not open USB device 0x1d6b/0x0003 at 002:001: Access denied (insufficient permissions) Thank you very much.
could not open USB device 0x0461/0x0010 at 001:003: Access denied (insufficient permissions) <=================================
could not open USB device 0x046d/0xc05a at 001:002: Access denied (insufficient permissions)
could not open USB device 0x03f0/0x6005 at 001:004: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.

# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
done
# found the scanner devices, be sure to adjust access permissions as
# necessary.
User avatar
coffee412
Level 8
Level 8
Posts: 2260
Joined: Mon Nov 12, 2012 7:38 pm
Location: I dont know
Contact:

Re: Scanner HP don't work....

Post by coffee412 »

Perhaps running it with root privileges ?

Code: Select all

sudo sane-find-scanner -v
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710
- List your hardware Profile: inxi -Fxpmrz
MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
feinwerkbau
Level 1
Level 1
Posts: 23
Joined: Sun Feb 28, 2021 6:56 am

Re: Scanner HP don't work....

Post by feinwerkbau »

Hi
even in root mode, I got the same answer.
thanks to all who have read and advised me what to do, unfortunately with negative results.
Thank you with all my heart
Rik
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Scanner HP don't work....

Post by pdc_2 »

so a couple of posts up, I mentioned this bug report thread from Ubuntu https://bugs.launchpad.net/hplip/+bug/1847142

the final comment was
Hi all, I went through this about a year ago and what I remember that all this scanner needs to work with sane is to find two libs in /usr/lib/x86_64-linux-gnu/sane: - hpgt2500_ntdcmsdll-x86_64.so - libsane-hpgt2500-x86_64.so.1.0.27 It doesn't even need to install hplip (that wasn't working for me anyhow)

To extract those files download "hplip-3.21.2-plugin.run (or newer version) here: https://developers.hp.com/sites/default ... plugin.run
Then change attribute for execution permission: chmod +x hplib-3.21.2-plugin.run Then run: ./hplip-3.21.2-plugin.run --target hplip-plugin
Go to newly created hplip-plugin directory and you will find the two libs. Copy those libs to sane lib directory:
sudo cp hpgt2500_ntdcmsdll-x86_64.so /usr/lib/x86_64-linux-gnu/sane
sudo cp libsane-hpgt2500-x86_64.so.1.0.27 /usr/lib/x86_64-linux-gnu/sane
Go to sane libs directory: cd /usr/lib/x86_64-linux-gnu/sane and Create the symbolic links with version:
sudo ln -s libsane-hpgt2500-x86_64.so.1.0.27 libsane-hpgt2500-x86_64.so
sudo ln -s libsane-hpgt2500-x86_64.so.1.0.27 libsane-hpgt2500-x86_64.so.1
so to separate it out: they feel you need the hp-plugin and get it from here https://developers.hp.com/hp-linux-imag ... ng/plugins so work out which version of hplip you might have; and get the same version number; it should arrive into your Downloads folder so do

Code: Select all

cd Downloads

Code: Select all

chmod +x hplib-3.21.2-plugin.run

Code: Select all

./hplip-3.21.2-plugin.run --target hplip-plugin
and if I understand that, a folder called hplip-plugin will be in Downloads

so

Code: Select all

cd hplip-plugin

Code: Select all

sudo cp hpgt2500_ntdcmsdll-x86_64.so /usr/lib/x86_64-linux-gnu/sane

Code: Select all

sudo cp libsane-hpgt2500-x86_64.so.1.0.27 /usr/lib/x86_64-linux-gnu/sane
then create symbolic links

Code: Select all

sudo ln -s libsane-hpgt2500-x86_64.so.1.0.27 libsane-hpgt2500-x86_64.so

Code: Select all

sudo ln -s libsane-hpgt2500-x86_64.so.1.0.27 libsane-hpgt2500-x86_64.so.1
then reboot: any joy?
User avatar
coffee412
Level 8
Level 8
Posts: 2260
Joined: Mon Nov 12, 2012 7:38 pm
Location: I dont know
Contact:

Re: Scanner HP don't work....

Post by coffee412 »

@pdc_2 :) Just as I go to post this - you beat me to it. lol....

Good Evening...

So, I did some extensive research on your scanner. It appears that it is not supported in linux by HP without a "plugin" file that would need to be installed. There is a bit of work after that though.

Below is the thread I was reading thru that might bring you relief on this problem. Specifically post # 47 on this link:

https://bugs.launchpad.net/hplip/+bug/1847142

I think if you are now fully frustrated and thinking of bashing this scanner with an axe then this might be worth a try. It appears that it can work with a bit of work.

According to Francis Hauber in post #47:
Finally to get this scanner work under Linux I downloaded the HPLIP plugin for the ScanJet Pro 2500F1 from HP and extracted the relevant files:
- libsane-hpgt2500.so.1.0.27
- hpgt2500_ntdcmsdll.so
I then copied both files into /usr/lib/x86_64-linux-gnu/sane and generated the symbolic links such as libsane-hpgt2500.so and libsane-hpgt2500.so.1)
I made sure the UDEV required file are installed within /ulib/udev/rules.d
Scanner is now working well with xsane or simple-scan (hplip doesn't bring much more I think)
This might be a bit more tinkering than what you want to do but I think following his approach - and asking questions here if you get stuck - will probably get it working.

Worth a shot?
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710
- List your hardware Profile: inxi -Fxpmrz
MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
feinwerkbau
Level 1
Level 1
Posts: 23
Joined: Sun Feb 28, 2021 6:56 am

Re: Scanner HP don't work....

Post by feinwerkbau »

Hello everyone,
I tried all the suggestions you proposed but without result, these were the various phases:

1. I downloaded the latest version of hplip, 3.21.10
2. I have installed hplip
3. I went to look for the two famous files that are needed to start I'm blessed scanner, (scanjet pro 2500 f1; only SCANNER NO MULTIFUNCTION), they do not exist in the folder generated during the installation of hplip; so I stopped at this point.
4. I enclose, as proof of the successful installation of hplip, the hp check log file
5. I am also attaching the files.so generated during installation, as report in old post....
6. I ask what are the files to put in the folder

I hope you can give me a concrete hand, I repeat I am not a programmer, but a good user. Thanks to everyone for the help and the time wasted in solving this question.

riccardo
Attachments
plugins.tar.gz
(154.15 KiB) Downloaded 30 times
hp-check.log
(13.45 KiB) Downloaded 21 times
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Scanner HP don't work....

Post by pdc_2 »

I am sorry: I am not clear that you followed all the steps that I detailed in that post a few back:

there will be a version of hplip installed already; so I don't think we told you to do a fresh install of hplip: you have done that yourself; we did not tell you to do it;

all that I can suggest was that you do what I copied from the ubuntu page:

and it was all around just installing the hp-plugin; and then modifying things as detailed in what I copied from the ubuntu post; that was all;

if you look, you can see there were files that need to be copied; and then symbolic links created: please tell us if you did exactly what was cited in that earlier post I did;

(karlchen detailed a year or two back; that if you just installed a new version of hplip; over an earlier and already installed version; that it could cause issues)
feinwerkbau
Level 1
Level 1
Posts: 23
Joined: Sun Feb 28, 2021 6:56 am

Re: Scanner HP don't work....

Post by feinwerkbau »

Good morning / good evening who will read this post, to "PDC2", but I do not exclude that others can provide me with the answer to my question:
--- how can I save the hplip-3.21.2-plugin.run file on PC; like as my hplip version installed; since if I click on it it opens the file and does not allow me to download it ?? the file is available at https://developers.hp.com/hp-linux-imag ... ng/plugins
Riccardo
User avatar
majpooper
Level 8
Level 8
Posts: 2084
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Scanner HP don't work....

Post by majpooper »

feinwerkbau wrote: Sat Nov 27, 2021 5:19 am Good morning / good evening who will read this post, to "PDC2", but I do not exclude that others can provide me with the answer to my question:
--- how can I save the hplip-3.21.2-plugin.run file on PC; like as my hplip version installed; since if I click on it it opens the file and does not allow me to download it ?? the file is available at https://developers.hp.com/hp-linux-imag ... ng/plugins
Riccardo
It looks like the site is broken - I am having the same problem that you are having. I have downloaded plugins from the site many times in the past. Hopefully the site will be fixed soon.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Scanner HP don't work....

Post by brian_p »

This scanner is a troublesome device for other users. However at https://bugs.launchpad.net/hplip/+bug/1847142 we see
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x6005 [HP ScanJet Pro 2500 f1]) at libusb:001:003
Your sane-find-scanner -v does not show this. Interesting!

The outcome of sane-find-scanner hasn't anything to do with the scanner itself but with the state of the user's system. Perhaps you could explore permissions at https://wiki.debian.org/Scanner.

Code: Select all

ls -l /dev/bus/usb/*/*
is the command to look at.
--
Brian.
feinwerkbau
Level 1
Level 1
Posts: 23
Joined: Sun Feb 28, 2021 6:56 am

Re: Scanner HP don't work....

Post by feinwerkbau »

Thanks for the reply,
I am very disheartened, I think but I hope I am wrong, no one, but I mean no one, will take the burden of putting an end to this bug. It seems easy to me, but maybe it is not, to set HPLIP again, eliminating the bug that deletes the files. It seems that it is easy, but it is not, as the great poet Dante Alighieri said.
I will continue to use it with window, despite myself.
thanks again for all the wasted time.
rik
Locked

Return to “Printers & Scanners”