Summary: | hplip network printing probe error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ben Litton <ben.litton> |
Component: | [OLD] Printing | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | dynamotwain, elreydetodo, fraterm, heiko.baums, kenyon, lavish, namelesspirate, rockoo, samuel.robyr, tetromino |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 107665 | ||
Bug Blocks: | |||
Attachments: | /etc/init.d/hplip -- will work with future baselayout versions |
Description
Ben Litton
2005-06-25 06:13:28 UTC
try to killall hpssd/hpiod processes, run /etc/init.d/hplip zap and then /etc/init.d/hplip start Ben please give me some feedback about Heinrich comment. Sorry for the tardy response. I've been stuck on a deadline. I tried your suggestions but to no avail. I tried setting up Ubuntu on a different machine on the same network and installed hplip myself, but it also did not work. This leads me to believe that it is an upstream and/or configuration problem. It works fine in Windows, but that's no surprise. I'll revisit the issue after deadline in early September and let you know how I resolved the issue if I am able to. The probe command will not work because hpssd is not running. I am having the same problem with a DeskJet 5740. Entering the commands found in the hplip init script manually work fine, however the script always fails for me. I have a guess that the start-stop-daemon is reporting a failure falsely for hpssd causing runscript to stop hpliod and hpssd, but I may be wrong. Did anybody notice this in the output of /usr/share/hplip/probe --help: Bus to probe: -b<bus> or --bus=<bus> <bus>: cups*, usb*, net, bt, fw, par (*default) (Note: net, bt, fw, and par not supported) Net not supported? (In reply to comment #4) > The probe command will not work because hpssd is not running. I am having the > same problem with a DeskJet 5740. Entering the commands found in the hplip init > script manually work fine, however the script always fails for me. I have a > guess that the start-stop-daemon is reporting a failure falsely for hpssd > causing runscript to stop hpliod and hpssd, but I may be wrong. I'm seeing the same thing (using version 0.9.4). The init.d/hplip script won't start. But I can run hpiod and /usr/share/hplip/hpssd.py manually, then I did the hp-makeuri thing, made the printer in CUPS (which was also dumb because the hp backend says hp no_device_found, so I used the LPD backend and pasted in the URI generated by hp-makeuri), then started toolbox and printed a test page and everything seems to work. This won't work if I reboot though, since the init.d script fails! Also snmpd is a hassle since it doesn't come with a config file, so I copied the one from http://forums.gentoo.org/viewtopic-t-365403.html. HP's drivers have always been crap, even on Mac OS X and Windows. Highly annoying. Hplip is actually a very good driver, and I have had great results with it using many different linux distributions, excluding gentoo. It seems to me that this is more a gentoo baselayout problem as that includes runscript which is causing hplip to crap out. I know I am using the ~x86 masked baselayout, are either of you using that as the problem may lie there. (In reply to comment #7) > Hplip is actually a very good driver, and I have had great results with it > using many different linux distributions, excluding gentoo. It seems to me that > this is more a gentoo baselayout problem as that includes runscript which is > causing hplip to crap out. I know I am using the ~x86 masked baselayout, are > either of you using that as the problem may lie there. Yeah I'm using baselayout-1.12.0_pre6 and hplip won't start with the init script. Same problem here. Executing hpiod /usr/share/hplip/hpssd.py /etc/init.d/cupsd restart works fine but the startstop script for hplip does not work. ~x86 installation, baselayout-1.12.0_pre8-r2 can provide emerge --info if needed Created attachment 69533 [details] /etc/init.d/hplip -- will work with future baselayout versions Once bug #107665 is resolved, this init script should hopefully solve the hplip bug. (Basically, current baselayout has problems with daemons written in python and other scripting languages). *** Bug 108465 has been marked as a duplicate of this bug. *** I'm having the same problem described by some on this thread, that is the start-stop-daemon probably killing the hpssd.py thinking falsely it failed to start. I have this problem on an HP PSC1300 connected via USB. I checked that using the default init script provided by the package from http://hpinkjet.sourceforge.net everything works fine, but the portage version of the init script fails. Does it work for anyone? If not, then why isn't it hard masked? If it does work, how? (If it's as supposed by Alex Rostovtsev that the baselayout is incompatible with python scripts, why would it work for anyone?) I also tried the attachment "/etc/init.d/hplip -- will work with future baselayout versions" without success. The problem has nothing to do with network printing, my apologies if it's off topic but I don't think so. First, I'm sorry, I'm new to Bugzilla, I should've read all the related threads before posting. Second, please disregard my last post as the attachment in <a href="http://bugs.gentoo.org/show_bug.cgi?id=107665">bug #107665</a> fixes everything. Couldn't it be added to the next ebuild? This should be fixed in 0.9.7-r1. Please reopen if it's not. |