From: Phil D. <ph...@ip...> - 2005-07-05 06:00:43
|
I get this when I run '/etc/init.d/hpoj setup': *** Found "DESKJET 895C" but failed to communicate with it! *** Elapsed time for this attempt was 0 second(s). *** Check syslog file for ptal-mlcd error messages. *** See hpoj documentation for troubleshooting information. I checked syslog and I see: Jul 4 22:54:16 alt ptal-mlcd: SYSLOG at ExMgr.cpp:3524, dev=<mlc:par:probe>, pid=5889, e=2, t=1120542856 Using parallel port '-porttype bpp -base 0x378'. Jul 4 22:54:16 alt ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=<mlc:par:probe>, pid=5890, e=2, t=1120542856 ptal-mlcd successfully initialized. Hm.... "successfully initialized" looks like a GOOD thing, I see no errors... It's right, however, I have an HP Deskjet 895C setup in CUPS and it works just fine - but I can't get hpoj to see it properly. The setup output looks like this: [root@alt ~]# /etc/init.d/hpoj setup Stopping the HP OfficeJet Linux driver. ---------------------------------------------------------------------- This program manages devices controlled by the HP OfficeJet Linux driver (hpoj). It attempts to probe your computer for local parallel- and USB-connected devices, and allows you to specify network addresses for remote JetDirect-connected devices. If you experience any difficulties in detecting your device(s), then refer to the hpoj documentation for troubleshooting information. ---------------------------------------------------------------------- Currently defined device names ([*]=default): (none) ---------------------------------------------------------------------- Probe for parallel-connected devices ([y]/n)? y Successfully loaded kernel module "lp" for the device probe. Warning: Probing incorrect I/O port addresses could result in system instability and/or data loss! Consult your hardware documentation, BIOS setup and/or kernel messages to verify correct base addresses in the following prompts. Also, take care not to probe parallel ports that have non-printer devices (such as disk or tape drives) connected. Probe parallel port "-base 0x378 -basehigh 0x778 -device /dev/lp0" (y/[n])? y *** Found "DESKJET 895C" but failed to communicate with it! *** Elapsed time for this attempt was 0 second(s). *** Check syslog file for ptal-mlcd error messages. *** See hpoj documentation for troubleshooting information. Press <Enter> alone to continue, or if you would like to probe an undetected parallel port, then enter its hexadecimal base address (such as "378", "278", or "3BC") here ---> ---------------------------------------------------------------------- Probe for USB-connected devices ([y]/n)? n ---------------------------------------------------------------------- Press <Enter> alone to continue, or if you would like to add a JetDirect-connected device, then enter its dotted-decimal IP address or hostname here ---> ---------------------------------------------------------------------- Done updating device configuration files stored under /etc/ptal. If you make manual changes to those files, then be sure to run "/etc/init.d/hpoj start" so they will take effect. ---------------------------------------------------------------------- Starting the HP OfficeJet Linux driver. No hpoj devices have been configured. As root, run "/etc/init.d/hpoj setup". [root@alt ~]# I'm running debian unstable, cups 1.1.23, hpoj 0.91. -- Phil Dibowitz ph...@ip... Freeware and Technical Pages Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759 |