DebianThis forum is for the discussion of Debian Linux.
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.
# 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.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".
# No USB scanners found. If you expected something different, make sure that
# you have loaded a driver for your USB host controller and have installed a
# kernel scanner module.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
Have the same HP 5300 scanner, but haven't set it up with my new install yet. (Sarge with 2.6.8 kernel)
BUT, if it helps, I plugged it in and just did a quickie lsusb and got this:
:~$ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 005: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c
Bus 001 Device 002: ID 045e:0040 Microcrap Corp. Wheel Mouse Optical
Bus 001 Device 001: ID 0000:0000
So apparently it sees it o.k. Keep me posted how things work out, I'm curious.
I have the same problem with a canon scanner
I can get it to work with Xsane by unplugging the usb cable from the scanner then reconnecting it
Xsane then picks it up.
This problem occurred after an apt-get dist-upgrade
O.K., finally had a chance to try it out. Got my HP5300 working fine. Works better than it did under Windows in fact. Usual disclaimer, not sure if it will work for everyone else, but here's what I did:
I'm running the latest stable release of Sarge using the 2.6.8 kernel, and have hotplug 0.0.20040329-22 and libusb 2:0.1.10a-14.
I installed XSane using Synaptic (or use apt-get, or whatever apt flavor you prefer....)
While logged in as root, I ran sane-find-scanner in the console and got:
[COLOR=royal blue]
# 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.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x03f0 [Hewlett Packard], product=0x0701 [Hewlett Packard ScanJet 5300C/5370C ]) at libusb:001:003
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
[/COLOR]
Then I ran scanimage -L in the console and got:
[COLOR=royal blue]
device `avision:libusb:001:003' is a Hewlett-Packard ScanJet 5300C flatbed scanner
[/COLOR]
While logged in as root, I went over to the /etc/group file and found this line:
[COLOR=royal blue]
scanner:x:105:
[/COLOR]
And changed this line to read:
[COLOR=royal blue]
scanner:x:105:mike[/COLOR] (replace my username with whatever user name you login with)
Save the /etc/group file and log out, and log back in as a regular user, start XSane, and everything should work o.k.
By the way, if someone could e-mail me their /etc/sane.d/avision.conf file, I'd appreciate it.
avision.c:1828:2: #error "You must update include/sane/sanei_usb.h and sanei/sanei_usb.c
accordingly!"
trying to install hp5300c on fedora-core 3
sane-backends-1.0.15
scanimage -L doesnt find the device,
but
sane-fine-scanner does:
found USB scanner (vendor=0x03f0 [Hewlett Packard], product=0x0701 [Hewlett Packard ScanJet
5300C/5370C ]) at libusb:003:008
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
Well I was silently following this thread because I didn't know how to get my scanner workin either. At first I was having the same isuues as you all then I found this thread.http://www.linuxquestions.org/questi...5&pagenumber=1
I only got as far as the first few lines then went to make sure I had the hpijs and hpoj drivers installed along with libsane. It turns out that I didn't have hpoj installed. After that all was good.
Using a OfficeJet 6110 all in one print/scan/fax.
Maybe that thread can help you guys out. And hope it is as easy for you as it was for me.
With the stand-alone scanners like the 5300, you shouldn't need hpijs or hplip, etc. Just a working USB connection, and an application like XSane. I don't have any of the specialized HP packages installed, and mine works like a charm. I think you only run into issues and need them if you're using one of the all-in-one multifunction print/scan/copy machines.
Originally posted by JetJock With the stand-alone scanners like the 5300, you shouldn't need hpijs or hplip, etc. Just a working USB connection, and an application like XSane. I don't have any of the specialized HP packages installed, and mine works like a charm. I think you only run into issues and need them if you're using one of the all-in-one multifunction print/scan/copy machines.
I *vaguely* recall that with the 2.6 kernels, the manner in which SANE accesses the scanner changed - no longer uses /dev/usbscanner or similar, but uses libusb instead? Or something along those lines...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.