Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
I have tried now for a couple of days to get my HP4100c scanner to work under Suse 9.1. It just won't cooperate.
Non of the suggestions I have found so far seems to work. I'm quite new to linux, so I'm not exactly sure what I'm doing, but maybe someone can help me.
YAST doesn't seem to work. First time I set up a scanner everything looks ok, but when try to use the setup tool again it won't find the scanner I just set up.
my hp.conf file looks like this
Code:
scsi HP
# Uncomment the following if you have "Error during device I/O" on SCSI
# option dumb-read
#
# The usual place for a SCSI-scanner on Linux
#
#
# USB-scanners supported by the hp-backend
# HP ScanJet 4100C
usb 0x03f0 0x0101
# HP ScanJet 5200C
#usb 0x03f0 0x0401
# HP ScanJet 62X0C
#usb 0x03f0 0x0201
# HP ScanJet 63X0C
#usb 0x03f0 0x0601
# from usermap
#usb 0x03f0 0x0102
#usb 0x03f0 0x0105
#usb 0x03f0 0x0205
#usb 0x03f0 0x0305
#usb 0x03f0 0x0405
#usb 0x03f0 0x0705
#usb 0x03f0 0x0805
#usb 0x03f0 0x0901
#usb 0x03f0 0x0a01
#usb 0x03f0 0x1205
#usb 0x03f0 0x1305
#usb 0x03f0 0x2005
#usb 0x03f0 0x2205
#
# Uncomment the following if your scanner is connected by USB,
# but you are not using libusb
/dev/usb/scanner0
option connect-device
If I tre sane-find-scanner, I get the following result
Code:
rosebud:/etc/sane.d # sane-find-scanner
# 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, product=0x0101) at libusb:002: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.
# Scanners connected to the parallel port or other proprietary ports can't be
# detected by this program.
And if I try scanimage -L, I get
Code:
rosebud:/etc/sane.d # scanimage -L
device `hp:libusb:002:003' is a Hewlett-Packard ScanJet 4100C flatbed scanner
Any attempt to start a scan, both from comand line and X, fail. It cannot find any scanner.
I don't know if it means anything, but if I bring up usbview, the scanner is showing up in red. I have other usb devices (printer and keyboard/mouse) that is working well.
Also tried the vuescan software and it worked like a breeze, but it cost way too much.
Hope someone out there can help me solve this.
Thanks
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269
Rep:
Try commenting "scsi HP" also check /etc/sane.d/dll.conf and make sure "hp" is uncommented. You can comment the rest. Also check the output of lsmod to be sure your usb is being loaded.
I'm using kernel 2.6, so I guess libusb is the way to go.
Tried to uncomment those two lines in the hp.conf file, but that doesn't seem to make any difference. Is there anything else I should do to use libusb?
Do you have the usb filesystem mounted? I have this line in my fstab to load the FS:
Code:
none /proc/bus/usb usbfs defaults,auto, 0 0
In Suse, it might be "usbdevfs" instead of "usbfs"
If the FS is running, try running "xsane" from terminal. If it doesn't work, try running it as root. If it works in root, but not as user, you have a permissions problem. Read this thread.
What do you mean by "it doesn't help"? Is there an error message when you type "xsane" in terminal? Do you have xsane installed?
Check in /etc/sane.d that all backends are listed as read-only, except for hp, which should be executable. Kak mentioned the dll.conf file before, but this isn't the same thing.
Ah, sorry but I was in a bit of a rush yesterday.
When I start xsane from terminal (root), I get a warning that tells me this is extremely dangerous. I boldly ignore that message. Then a popup says it's searching for scanners for maybe 15 seconds, and last it tells me "No device found" before it terminates.
Executable hp.conf file was new information. I will try that tomorrow (I won't see my computer until then)
Tried that last thing about making hp.conf executable. Didn't make any difference.
XSane stilll can't locate any devices. I'm a bit fed up by this scanner right now. Think I'll come back to it in a a week or two.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.