LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Fedora 18 x64, xsane won't detect scanner even though sane-find-scanner does (http://www.linuxquestions.org/questions/linux-hardware-18/fedora-18-x64-xsane-wont-detect-scanner-even-though-sane-find-scanner-does-4175452309/)

SharpyWarpy 03-01-2013 03:37 PM

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.

camorri 03-02-2013 08:41 AM

Your scanner is supported by the HPLIP driver package, according to this link:

-->http://hplipopensource.com/hplip-web...es.html#note11

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:

-->http://hplipopensource.com/hplip-web...dora_core.html

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.

DavidMcCann 03-02-2013 11:48 AM

It's also a good idea to set up HP devices with their own tool rather than the usual printer and scanner configuration methods.
http://hplipopensource.com/hplip-web...ges/setup.html

utoddl 03-05-2013 07:10 AM

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:

yum -y install sane-backends-drivers-scanners

That should fix you right up.

SharpyWarpy 03-06-2013 01:25 PM

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.

SharpyWarpy 03-07-2013 12:45 AM

Okay I have the following HPLIP packages installed:

hplip-3.12.11-1.fc18.x86_64
hplip-gui-3.12.11-1.fc18.x86_64
hplip-common-3.12.11-1.fc18.x86_64
hplip-libs-3.12.11-1.fc18.x86_64

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.

camorri 03-07-2013 08:02 AM

Only thing I can suggest at this point, is go to this link

-->http://hplipopensource.com/node/333

It lists some trouble shooting that may help.

SharpyWarpy 03-07-2013 08:21 PM

Quote:

Originally Posted by camorri (Post 4906684)
Only thing I can suggest at this point, is go to this link

-->http://hplipopensource.com/node/333

It lists some trouble shooting that may help.

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.

SharpyWarpy 03-17-2013 06:18 PM

Quote:

Originally Posted by SharpyWarpy (Post 4907133)
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!


All times are GMT -5. The time now is 09:04 AM.