Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> HP Scanners don't work in 6.4
bjr
 Posted: May 14 2013, 01:53 AM
Quote Post


SLF Newbie


Group: Members
Posts: 11
Member No.: 563
Joined: 31-July 11









I have an HP Officejet Pro that worked fine until the 6.4 update, now SimpleScan and Xsane don't detect the scanner (printing works fine). Another system that I manage has a low end HP All in One, it has the same problem.

Is there a work around to get HP scanners to work again?
PMEmail Poster
^
tux99
 Posted: May 14 2013, 08:03 AM
Quote Post


SLF Moderator
********

Group: Moderators
Posts: 1273
Member No.: 224
Joined: 28-May 11









Can you please provide the output of:
lsusb (with the scanner connected and switched on)
and of:
rpm -qa|grep sane

--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
bjr
 Posted: May 15 2013, 12:33 AM
Quote Post


SLF Newbie


Group: Members
Posts: 11
Member No.: 563
Joined: 31-July 11









QUOTE (tux99 @ May 14 2013, 08:03 AM)
Can you please provide the output of:
lsusb (with the scanner connected and switched on)
and of:
rpm -qa|grep sane


Bus 003 Device 004: ID 03f0:2212 Hewlett-Packard OfficeJet Pro L7600

xsane-common-0.997-8.el6.x86_64
sane-backends-libs-1.0.21-3.el6.x86_64
sane-frontends-1.0.14-9.2.el6.x86_64
sane-backends-libs-gphoto2-1.0.21-3.el6.x86_64
xsane-gimp-0.997-8.el6.x86_64
sane-backends-1.0.21-3.el6.x86_64
xsane-0.997-8.el6.x86_64

hplip-3.12.4-4.el6.x86_64
PMEmail Poster
^
tux99
 Posted: May 15 2013, 08:15 AM
Quote Post


SLF Moderator
********

Group: Moderators
Posts: 1273
Member No.: 224
Joined: 28-May 11









You are the second person who is having problems with a HP scanner after the upgrade to 6.4 and the hplip package was updated in 6.4. I'm starting to think Redhat or HP introduced a new bug in the new hplip package...

Do you also have the package 'libsane-hpaio' installed?
If not try installing it.

Also try adding your user name to the lp group in /etc/group, like this:

lp:x:7:daemon,lp,yourusername

This solution did help for someone else recently:
http://scientificlinuxforum.org/index.php?showtopic=2292

--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
bjr
 Posted: May 16 2013, 12:09 AM
Quote Post


SLF Newbie


Group: Members
Posts: 11
Member No.: 563
Joined: 31-July 11









I've been running some experiments. I did a clean install of SL 6.2. After the install the scanner was detected and functioned in Xsane and SimpleScan. I then updated the kernel which dragged along a number of other packages but not the hplip packages. After the upgrade the scanner wasn't detected any more. I then did a clean install of 6.3. Once again the scanner worked after the install. I did a couple of reboots and it still worked. I then updated the hplip packages, and only the hplip packages. The scanner was no longer detected by Xsane after the updates. I then downgraded the hplip packages to the original 6.3 packages. That didn't fix the problem, the scanner still isn't detected. I did a reboot and still no scanner.

I'm suspecting that it might be a udev file that's getting messed up.
PMEmail Poster
^
bjr
 Posted: May 16 2013, 12:39 AM
Quote Post


SLF Newbie


Group: Members
Posts: 11
Member No.: 563
Joined: 31-July 11









On 6.3 downgrading hplip and libsane does fix the problem. There is a dependency missing for libsane-hpaio so it wasn't installed when I downgraded to the 3.10 versions of hplip. Installing the old libsane was all I needed to get it to work on 6.3.
PMEmail Poster
^
bjr
 Posted: May 16 2013, 01:15 AM
Quote Post


SLF Newbie


Group: Members
Posts: 11
Member No.: 563
Joined: 31-July 11









I removed hplip-3.12 from my 6.4 system and installed the 3.10 RPMS from 6.3,

hpijs-3.10.9-3.el6.x86_64.rpm
hplip-common-3.10.9-3.el6.x86_64.rpm
libsane-hpaio-3.10.9-3.el6.x86_64.rpm
hplip-3.10.9-3.el6.x86_64.rpm
hplip-libs-3.10.9-3.el6.x86_64.rpm

Now the scanner works in 6.4.
PMEmail Poster
^
tux99
 Posted: May 16 2013, 08:40 AM
Quote Post


SLF Moderator
********

Group: Moderators
Posts: 1273
Member No.: 224
Joined: 28-May 11









Ok, so there seems to be a bug/regression in the hplip-3.12 packages that breaks scanner detection.

I was just about to suggest to report this to Redhat when I saw there is a fresh bug report already, I guess that's yours:
https://bugzilla.redhat.com/show_bug.cgi?id=962606

--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
bjr
 Posted: May 16 2013, 01:47 PM
Quote Post


SLF Newbie


Group: Members
Posts: 11
Member No.: 563
Joined: 31-July 11









I have the solution, add the user to the lp group. I reported the bug to HP on their launchpad site, they suggested that I try the latest version of hplip, hplip-3.13.5_rhel-6.0.x86_64.rpm. That fixed the problem but not because of a code change. The HP RPM installs a checker to see if the user is a member of the lp group, if not it launches a diaglog asking to add the user to the lp group. To confirm this I did a fresh install of 6.4 on my laptop. With the default user setup the scanner wasn't detected. I then used system-config-users to add my user to the lp group, logged out and then logged back in, the scanner now works.
PMEmail Poster
^
tux99
 Posted: May 16 2013, 02:09 PM
Quote Post


SLF Moderator
********

Group: Moderators
Posts: 1273
Member No.: 224
Joined: 28-May 11









QUOTE (bjr @ May 16 2013, 02:47 PM)
I have the solution, add the user to the lp group.


Thanks for confirming that, but personally I would call that a workaround, not a solution.

Since HP scanners have always worked fine with older versions of 'hplip' without the need of adding any users to the 'lp' group this should still be the case with newer versions too. Having to add users to the 'lp' group is very user unfriendly, I don't think this is an intentional change.

--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
redman
 Posted: May 17 2013, 10:44 AM
Quote Post


Retired SLF Administrator
********

Group: Admins
Posts: 1276
Member No.: 2
Joined: 8-April 11









Thanks for your efforts bjr!
Since there is already a bugreport, there is nothing more to do except wait.
Untill Red Hat fixes this issue, good to know how to work around the problem.

--------------------
"Sometimes the best helping hand you can give is a good, firm push."
PM
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll