LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-01-2015, 11:17 AM   #1
notadoc
Member
 
Registered: Jan 2015
Posts: 85

Rep: Reputation: Disabled
HP ENVY 4500 Scan Issue


The issue is that xsane doesn't see the device. Works as printer configured with CUPS. The hplip package is installed (VectorLinux 7.0) Now connected with USB; could be switched to local network.

Here's the question: Does anyone have this model, or a similar one, with the scan function working? Or is the 4500 scan function limited to the Windows driver set?

notadoc
 
Old 03-01-2015, 06:28 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,182

Rep: Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991
Have you tried scanning with the following (HPLIP) command?
Code:
hp-scan
 
Old 03-01-2015, 06:33 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,182

Rep: Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991
Another thought that I had is that any proprietary SANE driver may need to be explicitly uncommented/added in /etc/sane.d/dll.conf, so make sure that 'hpaio' is listed there and not commented. See how that goes.
 
Old 03-02-2015, 10:36 AM   #4
notadoc
Member
 
Registered: Jan 2015
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
/etc/sane.d/dll.conf, so make sure that 'hpaio' is listed there and not commented.
That looks promising. Both xsane and hp-scan fail to see a scanner, possibly because I'm screwing up the URI syntax. I just discovered the hp-makeuri tool, which may help. According to the HP site the ENVY 4500 is supported by hplip in scan mode.

Thanks for the advice.

notadoc
 
Old 03-02-2015, 01:27 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,182

Rep: Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991
Quote:
That looks promising. Both xsane and hp-scan fail to see a scanner, possibly because I'm screwing up the URI syntax. I just discovered the hp-makeuri tool, which may help.
The URI and 'hp-makeuri' just applies to the printer configuration. For the scanner, did you make the required change /etc/sane.d/dll.conf yet?

Quote:
According to the HP site the ENVY 4500 is supported by hplip in scan mode.
Yes, that is correct. Just confirming that you are trying to connect via USB?

For usb-connected scanner, HPLIP includes udev rules (/etc/udev/rules.d/56-hpmud.rules) to help with getting the device recognised configured for printing and scanning.

For the scanner, it has
Code:
# ENV{ID_HPLIP}="1" is for Ubuntu udev-acl
ATTR{idVendor}=="03f0", ATTR{idProduct}=="????", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes", ENV{hp_test}="yes", ENV{ID_HPLIP}="1"
and 2 additional rules that is supposed to take care of adding 'hpaio' to dll.conf, and disabling USB autosuspend if necessary.
 
Old 03-02-2015, 01:47 PM   #6
notadoc
Member
 
Registered: Jan 2015
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
did you make the required change /etc/sane.d/dll.conf yet?
I'm embarrassed to say that I have access to this machine only on weekends. It's definitely on my to-do list.

Quote:
Just confirming that you are trying to connect via USB?
Yes, at present, and it prints OK via CUPS. I can switch the device to a LAN if it is preferred. I'm totally new to scanning (not to linux though), and I'm getting the idea that CUPS printing (and faxing) is totally separate from a device's scan function.

Quote:
For usb-connected scanner, HPLIP includes udev rules (/etc/udev/rules.d/56-hpmud.rules)
I assume that an install of hplip provides the rule file you referenced, but it's worth a look.

Thank you again for giving my problem some thought.

notadoc
 
Old 03-02-2015, 02:30 PM   #7
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19.3, antiX, EndeavourOS
Posts: 3,286
Blog Entries: 17

Rep: Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230
VectorLinux 7.0 uses kernel 3.0.8.

You may have success with a more recent kernel in a different distro such as Ubuntu 14.10:

http://ubuntuforums.org/showthread.php?t=2255660

Last edited by beachboy2; 03-02-2015 at 02:38 PM.
 
Old 03-02-2015, 02:32 PM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,182

Rep: Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991
Quote:
I'm embarrassed to say that I have access to this machine only on weekends. It's definitely on my to-do list.
Okay, well this really can't be progressed until you have access to the machine for configuration and testing then.
Quote:
I'm totally new to scanning (not to linux though), and I'm getting the idea that CUPS printing (and faxing) is totally separate from a device's scan function.
Yes, that is correct. CUPS subsystem and drivers used for printing, and SANE subsystem and drivers used for scanning - even when it concerns a multi-function device.
Quote:
I assume that an install of hplip provides the rule file you referenced, but it's worth a look.
Correct. There should be no need for further configuration if HPLIP is installed. The use of 'hp-scan' (or other scanning application) should do the necessary.
 
Old 03-25-2015, 10:58 AM   #9
notadoc
Member
 
Registered: Jan 2015
Posts: 85

Original Poster
Rep: Reputation: Disabled
Solved by the simple expedient of replacing the VectorLinux 7.0 with Peppermint 5. The Vector distro seemed to have incomplete installs of the hplip app. BTW, Peppermint is a super (lightweight) distro. Thanks again for the ideas.
 
Old 03-08-2018, 10:32 PM   #10
Burdicda
LQ Newbie
 
Registered: Dec 2004
Location: Melbourne Florida
Distribution: Debian
Posts: 12

Rep: Reputation: 1
Quote:
Originally Posted by notadoc View Post
The issue is that xsane doesn't see the device. Works as printer configured with CUPS. The hplip package is installed (VectorLinux 7.0) Now connected with USB; could be switched to local network.

Here's the question: Does anyone have this model, or a similar one, with the scan function working? Or is the 4500 scan function limited to the Windows driver set?

notadoc
I just got my HP Envy 4500 working 100% including scanning and I wanted to tell the world my results...
I have been miserable for years using a windows box to use an Epson 3170
Today I had enough and found a mint condition HP Envy 4500 in a thrift shop for $25 and thought "What I got to lose"?
I run a standard Debian Stretch installed from the normal issue
and I install the TDE-Trinity desktop because I f**king hate hate hate what they've done to my beautiful kde 3 from the past...anyways...

So just like the hundreds of google searched whining about the HP Envy 4500 [Solved] that still don't work after they're done...LOL

lsusb finds it
scanimage -L does not
simple scanner fails miserably
Xscan fails miserably
I must have installed hplip at least 25 times every version I could find...that was either through Synaptic, apt-get, apt or through the browser as a ".run" file from sourceforge and the opensource download site.
None worked at all...

I finally out of desperation removed every single piece of hplip
apt remove hplip
apt autoremove

stripped her clean

Then went to sourceforge and insisted/downloaded hplip-3.17.11 the tar file
unpacked it
opened up a root terminal
cd to where it was sitting
./configure
make
make install

Damn thing works beautifully...like god put his hands on me and my maching...LOL
stupid synaptic still say's hplip is not installed...

Prints
Scans
Everything and brings up Xsane perfectly....
Xsane installed version still won't run directly
but when hp device manager is run from hplip wow I'm in....
Everything about this scanner/printer works perfectly...no complications...no problems...
I scanned a color magazine cover at 2400x2400 pdf'd it jpeg'd it saved em
Brought the product up in gimp/digikam...everything working....

I just couldn't keep it to myself and leave the search engines showing all those failures
and not one single person anywhere actually happy with Debian Stretch and an HP Envy 4500
working....
 
1 members found this post helpful.
Old 03-09-2018, 01:45 AM   #11
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19.3, antiX, EndeavourOS
Posts: 3,286
Blog Entries: 17

Rep: Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230
Burdicda,

Although this is a 3 year old thread, it is good of you to let others know of your success with the HP Envy 4500.

I am sure that fellow strugglers will be grateful for your detailed response.

Many thanks.
 
  


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
Keyboard issue -- HP Envy m4-1115dx Ghost0100 Linux - Laptop and Netbook 2 10-03-2013 12:10 PM
[SOLVED] ClamAV issue Scan warnings mahi_nix Linux - Newbie 1 11-24-2011 03:36 AM
[SOLVED] WiFi issue and iwlist scan Torline Linux - Networking 1 09-28-2011 08:33 AM
USB hplip scanner - user permissions issue - only root can scan djeeke Linux - General 21 05-30-2011 03:00 AM
Ubuntu on Dell Dimension 4500, Keyboard and mouse Issue afullmetalwar Linux - Hardware 2 05-19-2010 06:49 PM

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

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