LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2018, 09:22 PM   #1
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Rep: Reputation: 33
problem to get Vuescan software work with Hewlett Packard HP Scanjet N6310 scanner


Does anybody know how to get a Hewlett Packard HP Scanjet N6310 USB scanner to work with Hamrick's VueScan software under Slackware 14.2 ? According to VueScan's website one needs to
Quote:
"On Linux, you need to set up libusb device protections."
whatever that may mean. in any case, my OS appears to recognize the scanner :

Code:
lsusb | grep Hewlett
Bus 002 Device 043: ID 03f0:4705 Hewlett-Packard
I followed some old udev instructions and created a file called 50-scanner.rules in /etc/udev/rules.d :

Code:
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="4705", ENV{libsane_matched}="yes", GROUP="scanner", MODE="0660"
I tried to run VueScan as root and as regular user (group member of 'scanner') - without success : VueScan does not recognize the HP scanner.

btw, my other USB scanner, a Fujitsu ScanSnap S510 works flawlessly for years under VueScan on my current setup.

Do you know of help here ? Any advice will be greatly appreciated, I try for years to get HP scanners to work on linux and VueScan !
 
Old 03-11-2018, 12:18 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
What is reported when you first attach the scanner device?
Code:
dmesg|tail
Are you trying to connect via a USB 2.0 or 3.0 port? Some scanner devices with USB 2.0 interfaces are not properly handled by XHCI controllers.

It might be useful to watch the kernel output on the fly. That can be done with...
Code:
dmesg -w
 
Old 03-11-2018, 12:32 AM   #3
Burdicda
LQ Newbie
 
Registered: Dec 2004
Location: Melbourne Florida
Distribution: Debian
Posts: 12

Rep: Reputation: 1
Try getting the tar source for hplip and
Install that...
Only way I got mine to work....
 
Old 03-11-2018, 03:22 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
HPLIP supports various HP printers and multi-function devices but not many ScanJet scanners supported AFAIU.

Last edited by ferrari; 03-11-2018 at 03:23 AM.
 
Old 03-11-2018, 08:14 AM   #5
Burdicda
LQ Newbie
 
Registered: Dec 2004
Location: Melbourne Florida
Distribution: Debian
Posts: 12

Rep: Reputation: 1
Yes...it's muddy waters out there
I wacked on the code and the box for years trying to get an Epson 3170 to work with anything including vuescan...nothing worked. Finally just bumped into an all in one Envy 4500 and it worked with Vuescan out of the box but no native linux acknowledgment. Installed everything, tried every version, then stripped all of hplip out and installed source...works now..after spending the $90 on Pro Vuescan....don't need it now...latest hplip kicked in and runs natively.
Might try latest hplip and also...hpijs-ppd.

That's the Linux life...running since Linus wrote it, hard hard headed...I think a scanner is the only thing I ever had to buy a different for to get it to work...LOL

Danny
Melbourne Florida

Keep in touch
 
Old 03-11-2018, 12:17 PM   #6
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 33
thank you all for your replies. dmesg|tail gives :
Code:
[903983.709464] usb 2-1.2: new high-speed USB device number 47 using ehci-pci
[903983.810920] usb 2-1.2: New USB device found, idVendor=03f0, idProduct=4705
[903983.810926] usb 2-1.2: New USB device strings: Mfr=10, Product=11, SerialNumber=12
[903983.810930] usb 2-1.2: Product: HP Scanjet N6310
[903983.810934] usb 2-1.2: Manufacturer: Hewlett-Packard
[903983.810937] usb 2-1.2: SerialNumber: CN427EF0DK05
with dmesg -w i get the same message except that my USB device number keeps stepping up (like i saw it earlier too), now 48 :
Code:
[905302.918976] usb 2-1.2: new high-speed USB device number 48 using ehci-pci
[905303.020694] usb 2-1.2: New USB device found, idVendor=03f0, idProduct=4705
[905303.020701] usb 2-1.2: New USB device strings: Mfr=10, Product=11, SerialNumber=12
[905303.020705] usb 2-1.2: Product: HP Scanjet N6310
[905303.020708] usb 2-1.2: Manufacturer: Hewlett-Packard
[905303.020712] usb 2-1.2: SerialNumber: CN427EF0DK05
i wasn't aware that hplip is installed by default with slack14.2, but now trying to us its tools things are still not ok. using hp-diagnose_plugin a 1st time for the plugin installation, and then a 2nd time gives :
Code:
HP Linux Imaging and Printing System (ver. 3.16.5)
Diagnose Plugin Utility ver. 1.0
Device Plugin is already installed
which is fine as expected. now, the OS clearly locates the HP scanner with lsusb -s 002:048 :
Code:
Bus 002 Device 048: ID 03f0:4705 Hewlett-Packard
but hp-setup or hp-check or hp-scan don't work at all :
Code:
error: No devices found on bus: usb
sigh ! i am not even sure if i need to get hplip running for VueScan...? guess why i kept avoiding HP products over the years... but here i am screwed - i need to get this running; this Scanjet sits on my office desk.
 
Old 03-11-2018, 12:35 PM   #7
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 33
switching hplip from 3.16 to 3.17 doesn't seem to help here - hp-diagnose_plugin :
Code:
warning: python-dbus not installed.

HP Linux Imaging and Printing System (ver. 3.17.11)
Diagnose Plugin Utility ver. 1.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-diagnose_plugin requires GUI support . Is Qt4 installed?
PyQt is installed, see :
Code:
find /var/log/packages/ -iname "*pyqt*"
  /var/log/packages/PyQt-4.11.4-x86_64-1
is this perhaps a python v2/3 problem ? i have both versions installed...
 
Old 03-11-2018, 12:47 PM   #8
Burdicda
LQ Newbie
 
Registered: Dec 2004
Location: Melbourne Florida
Distribution: Debian
Posts: 12

Rep: Reputation: 1
Did you install the .tar source file ?

https://sourceforge.net/projects/hpl...ar.gz/download

All the other versions...gave me that stupid error msg about py* missing or not installed

"GUI Modules PyQt4 and PyQt5 are not installed"

I still don't have them installed and stupid synaptic still doesn't even show hplip as being installed...LOL

Run lsusb and see if it doesn't find your usb port address assignment for that printer...

It looks like it should work with Vuescan...but even Vuescan, iscan, and sane all claim they supported my machine but didn't work because
the printer needed a firmware upload just prior to using it which is not released by epson (my previous scanner). HP's do not to my knowledge...I have never seen any HP that wasn't good out the box
with Linux...but there's always a first...



But I'm up and running and scanning....

Let me know...I will help if I can even if over the phone...

Last edited by Burdicda; 03-11-2018 at 12:53 PM.
 
Old 03-11-2018, 02:17 PM   #9
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
The HPLIP supported scanners page does not contain this model in the list. VueScan support is probably your only realistic option here.

Last edited by ferrari; 03-11-2018 at 02:19 PM.
 
Old 03-11-2018, 02:18 PM   #10
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Here you go:
https://www.hamrick.com/support/
 
Old 03-11-2018, 02:33 PM   #11
Burdicda
LQ Newbie
 
Registered: Dec 2004
Location: Melbourne Florida
Distribution: Debian
Posts: 12

Rep: Reputation: 1
Better yet....

https://www.hamrick.com/vuescan/hp_s...al-information
 
Old 03-11-2018, 03:20 PM   #12
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Yes, the device pages for various supported devices are present (and I'd also reviewed that during my initial reply), but I think contacting VueScan is the only way forward here.
 
Old 03-11-2018, 06:41 PM   #13
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 33
yes, i thought that too, i just wrote to Ed Hamrick at VueScan and asked him what is meant with :
Quote:
"On Linux, you need to set up libusb device protections."
and how one is supposed to get the HP Scanjet N6310 up and running with VueScan under Slackware Linux.

regarding hplip, it's only good for HP printing devices or a combination thereof, but is of no use for HP's scanner-only devices.

it's a pain with these Scanjets : i never got my 4670 running under linux...
 
Old 03-12-2018, 09:30 PM   #14
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 33
i got answers from Vuescan/Hamrick :
Quote:
"Does SANE work with the N6310?"
and
Quote:
"I use the SANE code for this scanner, which is why I was asking if SANE worked with it."
so, sane needs to work but my problem persists with the Scanjet N6310 - though my other scanner, the Fujitsu ScanSnap S510, works fine with scanimage/sane/xsane/Vuescan.

now, it seems that even the newest (just upgraded) sane-1.0.27-x86_64-1 doesn't want to work with the N6310. what to do next ???

could is be a USB2/3 problem ? i use here a pretty old Dell Optiplex 980 SFF but i didn't play yet in its BIOS with USB settings (in case there is such).

moreover, i keep observing that each time i connect the N6310 it receives a new USB ID - which meanwhile arrived at 53 :

Code:
lsusb | grep 4705
Bus 002 Device 053: ID 03f0:4705 Hewlett-Packard
is that normal ? don't get USB IDs recycled ? is the culprit here ?
 
Old 03-12-2018, 10:58 PM   #15
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
i got answers from Vuescan/Hamrick :
You say you got answers, but I only see questions. Can you elaborate. What is Ed's thoughts on the matter?

Quote:
moreover, i keep observing that each time i connect the N6310 it receives a new USB ID - which meanwhile arrived at 53 :
Don't be concerned about that - it's normal behaviour. When you reboot the count will drop gain.
 
  


Reply



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
[SOLVED] HP ScanJet N6310 scanner under linux ? pisti Linux - Hardware 4 04-23-2014 09:55 PM
Hewlett Packard DM4 WiFi smudge|lala Linux - Hardware 1 02-21-2011 07:22 PM
Scanner/xsane/vuescan nothing wants to work kak Linux - Hardware 8 08-28-2004 04:10 PM
Hewlett-Packard printer problem lordshipmayhem Mandriva 0 07-25-2004 08:51 PM
Hewlett Packard HP712 Printer rick3581 Linux - Software 0 09-17-2001 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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