parallel_port

"OCTAVIO VEGA REINOSO" <[email protected]>
Newsgroups gmane.linux.drivers.hpofficejet.devel
Message-ID <000801c4a8a8$aaf56ec0$b3e4143e@oemcomputer>
Problem:
The "/usr/sbin/ptal-init setup" command fails recognizing the parallel port.
Please, see below.
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Probe parallel port "-base 0x378 -porttype bpp" (y/[n])?  y

    *** ptal-mlcd failed to start!  Check syslog file for error messages.

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 --->
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Note.
I did not test with parameter "-basehigh 0x778", but "ptal-mlcd" seems take it anyway.

System information:

# cat /var/log/messages | grep ptal-mlcd
Oct  1 11:48:37 linux ptal-mlcd: FATAL ERROR at ExMgr.cpp:3115, dev=<mlc:par:probe>, pid=1199, e=2
llioInit: No parallel port detected at baseLow=0x378, baseHigh=0x778!

# cat /var/log/messages | grep parport
Oct  1 11:29:43 linux kernel: parport 0x378 (WARNING): CTR: wrote 0x0c, read 0xff
Oct  1 11:29:43 linux kernel: parport 0x378 (WARNING): DATA: wrote 0xaa, read 0xff
Oct  1 11:29:43 linux kernel: parport 0x378: You gave this address, but there is probably no parallel port there!
Oct  1 11:29:43 linux kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE]
Oct  1 11:29:43 linux kernel: lp0: using parport0 (polling).

In modules.conf:
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=none

# cat /proc/ioports | grep parport
0378-037a : parport0

# cat /proc/modules | grep parport
parport_pc             25544   1 (autoclean)
parport                22528   1 (autoclean) [parport_pc lp]

# uname -a
Linux linux 2.4.19-4GB #1 Fri Sep 13 13:14:56 UTC 2002 i686 unknown

# rpm -qa | grep hp-officeJet
hp-officeJet-0.90-10065

(This is the version of Jarl Friis  for Suse 8.1,installed as 
an updating of "hp-office-0.90-33" which come with Linux Suse 8.1.)
-------------------------------------------------------------
Hardware:
Compaq Presario 5670 , Pentium II(450Mhz),512 Mb RAM.
Bios settings(parallel port):
IO-address 378, irq 7, Mode: bidirectional, DMA disabled.

Software-OS:
Suse Linux 8.1 Profesional.

# rpm -q -l hp-officeJet-0.90-33
package hp-officeJet-0.90-33 is not installed
 # rpm -q -l hp-officeJet-0.90-10065
/etc/init.d/ptal
/usr/bin/hpojip-test
/usr/bin/ptal-connect
/usr/bin/ptal-device
/usr/bin/ptal-devid
/usr/bin/ptal-hp
/usr/bin/ptal-pml
/usr/bin/ptal-print
/usr/bin/xojpanel
/usr/include/hpojip.h
/usr/include/ptal.h
/usr/lib/cups/backend/ptal
/usr/lib/libhpojip.so
/usr/lib/libhpojip.so.0
/usr/lib/libhpojip.so.0.1
/usr/lib/libptal.so
/usr/lib/libptal.so.0
/usr/lib/libptal.so.0.1
/usr/lib/libsane-hpoj.so
/usr/lib/libsane-hpoj.so.1
/usr/lib/libsane-hpoj.so.1.0
/usr/lib/sane/libsane-hpoj.so
/usr/lib/sane/libsane-hpoj.so.1
/usr/lib/sane/libsane-hpoj.so.1.0
/usr/sbin/ptal-cups
/usr/sbin/ptal-init
/usr/sbin/ptal-mlcd
/usr/sbin/ptal-photod
/usr/sbin/ptal-printd
/usr/sbin/rcptal
/usr/share/doc/packages/hp-officeJet
/usr/share/doc/packages/hp-officeJet/COPYING
/usr/share/doc/packages/hp-officeJet/LICENSE
/usr/share/doc/packages/hp-officeJet/LICENSE.OpenSSL
/usr/share/doc/packages/hp-officeJet/README
/usr/share/doc/packages/hp-officeJet/index.html
/usr/share/doc/packages/hp-officeJet/info-devname.html
/usr/share/doc/packages/hp-officeJet/info-pml-objects.html
/usr/share/doc/packages/hp-officeJet/info-protocols.html
/usr/share/doc/packages/hp-officeJet/libptal.html
/usr/share/doc/packages/hp-officeJet/libsane-hpoj.html
/usr/share/doc/packages/hp-officeJet/ptal-connect.html
/usr/share/doc/packages/hp-officeJet/ptal-device.html
/usr/share/doc/packages/hp-officeJet/ptal-devid.html
/usr/share/doc/packages/hp-officeJet/ptal-hp.html
/usr/share/doc/packages/hp-officeJet/ptal-init.html
/usr/share/doc/packages/hp-officeJet/ptal-mlcd.html
/usr/share/doc/packages/hp-officeJet/ptal-photod.html
/usr/share/doc/packages/hp-officeJet/ptal-pml.html
/usr/share/doc/packages/hp-officeJet/ptal-printd.html
/usr/share/doc/packages/hp-officeJet/setup-build-details.html
/usr/share/doc/packages/hp-officeJet/setup-build.html
/usr/share/doc/packages/hp-officeJet/setup-connect-details.html
/usr/share/doc/packages/hp-officeJet/setup-connect.html
/usr/share/doc/packages/hp-officeJet/setup-photo-details.html
/usr/share/doc/packages/hp-officeJet/setup-photo.html
/usr/share/doc/packages/hp-officeJet/setup-print-details.html
/usr/share/doc/packages/hp-officeJet/setup-print.html
/usr/share/doc/packages/hp-officeJet/setup-scan-details.html
/usr/share/doc/packages/hp-officeJet/setup-scan.html
/usr/share/doc/packages/hp-officeJet/xojpanel.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.