hplip-0.8.4

Joe Piolunek <[email protected]> Fri, 17 Dec 2004 22:47:04 -0500
Newsgroups gmane.linux.drivers.hpofficejet.devel
Message-ID <[email protected]>
Cory:

I'm happy to see a new version of hplip (hplip-0.8.4) available on the 
hpinkjet site. It seems to have improved enough to be a replacement for hpoj 
on my FC1 system.

In hplip-0.8.2, I was seeing a very high CPU usage from the hpguid process 
that occurred when /usr/hplip/toolbox was opened. It doesn't seem to be 
happening now.

Scanning over ethernet is working now for me, but only if I start xsane 
directly. Starting xsane from /usr/hplip/toolbox results in a "device is 
busy" message.

'/etc/init.d/hplip status' can tell now if hpssd.py is running, but now it 
can't tell if the process has died.

Another problem (now) when running 'hplip status' is the need to run it as 
root, or if running it as a user, give the root password twice. 
My /root/.bash_profile is modified to change the keymap on login, so when I 
run 'hplip status', extraneous text appears.

]# ps ax | grep hpssd
 8238 ?        S      0:00 python ./hpssd.py
 8278 pts/2    S      0:00 grep hpssd
]# kill 8238
]# ps ax | grep hpssd
 8280 pts/2    S      0:00 grep hpssd
]# /etc/init.d/hplip status
Loading //lib/kbd/keymaps/i386/dvorak/dvorak.map.gz
hpiod (pid 8230) is running...
Loading //lib/kbd/keymaps/i386/dvorak/dvorak.map.gz
hpssd (pid 8238) is running...  (But it's actually dead)


The snippet below works in getting the status of hpssd.py, though it isn't 
meant to be a patch, and you probably would not want to use it verbatim. It 
greps for hpssd.py in the output of 'ps', then throws away the line referring 
to the grep process. Whatever is left would (I expect) be an hpssd process.

#!/bin/bash
if [ "`ps ax | grep hpssd.py | sed -e '/grep/d'`" ]; then
        echo hpssd is running.
else
        echo hpssd is dead.
fi


-- 
Joe Piolunek


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/