Colin Carter wrote:
Thanks Ti, On Thursday 05 May 2005 21:51, Ti Kan wrote:
Colin Carter writes:
Sorry to be a pain, but can somebody explain the output of lsmod. I am trying to get better management of my SuSE 9.1 A doc reference would do fine, if it explains what each line does. I understand lsmod (I think) . What I need is an explanation of each line so I know what is going on in my system. For example I don't know (I know - ignorant) when CUPS is running.
lsmod shows the _kernel modules_ that are currently loaded, and which other loaded kernel modules are dependent on it.
lsmod is not the correct command to check whether "CUPS is running", because CUPS is a user-space service, not provided by a kernel module.
If the host on which you're logged in is the CUPS server, then a "ps aux | grep cupsd" should show the /usr/sbin/cupsd daemon process running.
yep - this worked - so it is running but I actually thought this because I had tried the previous suggestion to restart it snip>
"lpstat -t" command should show whether the printer(s), whether
I tried this and got: printer OfficejetColor disabled since Jan 01 00:00 - Unable to open USB device "usb://Hewlett-Packard/OfficeJet%20600%20Series?serial=MY33AF20J42R" No such device
This is interesting because I have used the printer recently; as recently as 14 April. snip>
-Ti
Regards, Colin Your server is running, good, but it can't see the printer.
# lpstat -t scheduler is running system default destination: deskjet840c device for deskjet840c: usb://HP/DeskJet%20840C?serial=HU05V1T104KV deskjet840c accepting requests since Jan 01 00:00 printer deskjet840c is idle. enabled since Jan 01 00:00 Does it show up with "lsusb"?. # ls -l /dev/.udevdb/*lp* -rw-r--r-- 1 root root 56 2005-05-04 02:08 /dev/.udevdb/class@printer@lp0 -rw-r--r-- 1 root root 58 2005-05-04 17:03 /dev/.udevdb/class@usb@lp0 Check the module is loaded. # lsmod|grep usblp usblp 12672 0 Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux for all Computing Tasks