[SOLVED] Fedora 18 x64, xsane won't detect scanner even though sane-find-scanner does
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.
Fedora 18 x64, xsane won't detect scanner even though sane-find-scanner does
Did a search here and found a similar post from '06 so I need some help getting xsane to find my HP PSC1200 series scanner. It prints fine, just doesn't scan.
Code:
cat /etc/sane.d/dll.conf
# enable the next line if you want to allow access through the network:
net
abaton
agfafocus
apple
avision
artec
artec_eplus48u
as6e
bh
canon
canon630u
canon_dr
#canon_pp
cardscan
coolscan
#coolscan2
coolscan3
#dc25
#dc210
#dc240
dell1600n_net
dmc
epjitsu
#epson
epson2
fujitsu
#gphoto2
genesys
gt68xx
hp
hp3900
hpsj5s
hp3500
hp4200
hp5400
hp5590
hpljm1005
hs2p
ibm
kodak
kodakaio
kvs1025
kvs20xx
leo
lexmark
ma1509
magicolor
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
#p5
pie
pint
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
#umax_pp
umax1220u
v4l
xerox_mfp
Code:
cat /etc/sane.d/hp.conf
# 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
/dev/scanner
#
# 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
usb 0x03f0 0x2f11
#
# Uncomment the following if your scanner is connected by USB,
# but you are not using libusb
# /dev/usb/scanner0
# option connect-device
There are other HP configuration files in /etc/sane.d but isn't editing /etc/sane.d/hp.conf enough? The line "usb 0x03f0 0x2f11" in /etc/sane.d/hp.conf I got from running "sane-find-scanner":
Code:
sane-find-scanner
# 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 kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x2f11 [psc 1200 series]) at libusb:002:004
# 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.
I should mention here the printer will copy fine using the panel on the printer. Thanks in advance.
Last edited by SharpyWarpy; 03-01-2013 at 03:45 PM.
Reason: additional info
I'm assuming you have a recent version of HPLIP installed. Check the version, make sure you have the minimum version 0.9.5 installed. If not, you will need to get a newer version.
Follow the download link above, there are instructions on how to download and install HPLIP on various distros. Fed 18 is listed. See this link:
There are dependencies. Make sure you have them. Note your user(s) have to added to the lp and sys groups. You might try accessing the scanner as root, if that works, adding the user to the correct groups is most likely the all that is needed.
It's a packaging issue. For some reason the actual sane drivers for the scanners aren't installed. You need to issue the following command as root or under sudo:
Thank you guys, I don't have access to my computer right now but as soon as I can I'll report back here after I've tried your suggestions. Thanks again.
I also installed sane-backends-drivers-scanners with yum. I used the hp-setup utility. Now xsane starts, prompting for a choice of devices, USB camera and the hp 1200 MFP. When I choose the hp 1200 it freezes and I have to kill it.
I read the page for which you provided a link. I ran hp-check then hp-check --fix and xsane still hangs when choosing the scanner instead of USB camera. The package "polkit" is reported as missing or incompatible. I installed a BUNCH of packages hp-check said were missing, a large part being development packages. I don't understand why it asks for development packages, I'm not compiling anything.
I read the page for which you provided a link. I ran hp-check then hp-check --fix and xsane still hangs when choosing the scanner instead of USB camera. The package "polkit" is reported as missing or incompatible. I installed a BUNCH of packages hp-check said were missing, a large part being development packages. I don't understand why it asks for development packages, I'm not compiling anything.
I got xsane to work with this scanner by disabling the USB camera (webcam). I just wish I could get iscan to work with my film negative scanner now, an Epson Photo 3170 Perfection. Thanks to everyone for the help!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.