Red Hat Bugzilla – Bug 125770
"hpoj" line becomes commented out in /etc/sane.d/dll.conf
Last modified: 2007-11-30 17:10:44 EST
Description of problem:
Neither scanimage nor xsane works with my scanner. They worked last
time I scanned (some month ago) and now they don't.
Version-Release number of selected component (if applicable):
[~#] ptal-init status
ptal-init has been started.
Sane-find-scanner finds my scanner allright, however scanimage doesn't
# No SCSI scanners found. If you expected something different, make
# you have loaded a SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating
# If using Linux, try "modprobe sg".
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x3011 [psc
1100 series]) at libusb:003:002
# Your USB scanner was (probably) detected. It may or may not be
# 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
# can't be detected by this program.
[~#] scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
I'm running latest devel rpm's of everything, and a self-compiled
vanilla 2.6.6 kernel.
Found out what the problem was and now it's working allright. I think
this should be fixed though:
The problem was that the hpoj line was commented out of dll.conf. I
can't really tell why, it hasn't been commented out before. I guess
some rpm script should be fixed in the libsane-hpoj package? When that
package is installed hpoj should automatically be enabled in sane,
This line should be added (uncommented) when you install libsane-hpoj.
Perhaps it gets overwritten when sane is upgraded?
$ rpm -q --scripts libsane-hpoj
postinstall scriptlet (using /bin/sh):
# Add HPOJ driver to /etc/sane.d/dll.conf
if ! grep ^hpoj /etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \
echo hpoj >> /etc/sane.d/dll.conf; \
preuninstall scriptlet (using /bin/sh):
# Remove HPOJ driver from /etc/sane.d/dll.conf
if [ "$1" = 0 ]; then \
if grep ^hpoj /etc/sane.d/dll.conf >/dev/null 2>&1 ; then \
sed '/^hpoj$/d' /etc/sane.d/dll.conf > \
mv -f /etc/sane.d/dll.conf.rpmmod \
postuninstall program: /sbin/ldconfig
Doesn't seem so. Upgraded sane-backends today, it didn't change the
dll.conf file. Can't really understand how I got into the faulty state...
I also had a dll.conf file that had hpoj commented out somehow.
unfortunately, uncommenting it doesn't fix things for me.
HP PSC2175 printer connected to x86 via USB
kernel 126.96.36.199 and 2.6.9-rc1, custom configured
ptal-init setup finds it.
Printing works fine via cups.
It used to work 1-2 months ago, but I may have been using kernel 2.4
then. I never use rpm kernels.
sane-find-scanner finds the USB device.
but xsane doesn't find it (run as root or user). scanimage -L doesn't
You may need to 'service hpoj setup' after uncommenting that line.
Sorry, tried this, no effect.
I had evrything working fine with psc2175 under Fedora Core 2. When i
upgraded to FC3 it no work no more. Found that line commented out. I
noticed that there is a conflict between my usb memory stick and the
card reader in the psc2175. I try to do lsusb and it hangs. If I
unplug the psc and reboot, the try the memory stick, the udev system
finds the thing and it shows up reday to mount and works. Soon as I
plug in the psc to its usb port, things don't work so well. I gota
thread somewhere that stated that udev does not work so well with psc
type devices because they have multiple subnodes on one port.
Anyone have answers? Suggestions?
Jerry: this bug report is about /etc/sane.d/dll.conf. Please file a separate
bug report (against the kernel component) for the other issue you mention.
We've switched to hplip in Fedora Core devel.