Bug 125770
Summary: | "hpoj" line becomes commented out in /etc/sane.d/dll.conf | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Malmgren <dm> |
Component: | hpoj | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | amish |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-08-04 10:40:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Daniel Malmgren
2004-06-11 09:05:41 UTC
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, shouldn't it? 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): /sbin/ldconfig # 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; \ fi 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 > \ /etc/sane.d/dll.conf.rpmmod; \ mv -f /etc/sane.d/dll.conf.rpmmod \ /etc/sane.d/dll.conf; \ fi; \ fi 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 2.6.8.1 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 find it. rpm versions: hpoj-devel-0.91-7 hpoj-0.91-7 libsane-hpoj-0.91-7 sane-backends-1.0.14-4 xsane-gimp-0.92-13 sane-backends-devel-1.0.14-4 sane-frontends-1.0.12-3 xsane-0.92-13 Thanks, -- Amish 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. |