Problem with parallel port probes

Phil Dibowitz <[email protected]> Mon, 04 Jul 2005 23:00:37 -0700
Newsgroups gmane.linux.drivers.hpofficejet.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigAD51CC394747BDC7388A2F79
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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                             [email protected]
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


--------------enigAD51CC394747BDC7388A2F79
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCyiIFN5XoxaHnMrsRAhzQAJwNZxmlatF9agSaH6Q5Lt4FAT2yAgCdFTKO
fbh1gPWtDqobSPGl/FJ2QZ0=
=NA/G
-----END PGP SIGNATURE-----

--------------enigAD51CC394747BDC7388A2F79--


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click