Joerg Liedtke (liedtke2@t-online.de)
Wed, 17 Nov 1999 12:57:22 +0100
Hello, All!
Iīve trouble connecting a 2nd printer on my machine.
Hardware: 1st parallel port is onboard,2nd port as ISA card (serial
lines disabled).
1st printer HP Laserjet IIP Plus, 2nd is HP Deskjet 710C.
Printers are working fine under Windows with:
1) 0x3BC, IRQ 7 as LPT1:
2) 0x278 as LPT2:
Linux Version is 2.2.5
Output of "dmesg" tells me nothing about recognized printer ports, also
"lsmod" shows me that the "parport" module or "lp" is not loaded.
After "insmod lp" display of:
>Using /lib/modules/2.2.5/misc/lp.o
>/lib/modules/2.2.5/misc/lp.o: unresolved symbol parport_ieee1284_nibble_mode_ok
>/lib/modules/2.2.5/misc/lp.o: unresolved symbol parport_unregister_device
>/lib/modules/2.2.5/misc/lp.o: unresolved symbol parport_enumerate
>/lib/modules/2.2.5/misc/lp.o: unresolved symbol parport_claim_or_block
>/lib/modules/2.2.5/misc/lp.o: unresolved symbol parport_register_device
>/lib/modules/2.2.5/misc/lp.o: unresolved symbol parport_wait_peripheral
>/lib/modules/2.2.5/misc/lp.o: unresolved symbol parport_release
but "insmod parport" is working fine.
Typing of "cat /etc/printcap > /dev/lp0" makes the formfeed lamp of the
laserjet lighting for about 2 seconds, thatīs all.
Remark: Before installing a 2nd parallel card I had only the HPLJ on
/dev/lp0, and it had been working fine (IO 0x378, IRQ 7). To make the
two ports working I had to modify the IO address in the BIOS to 0x3BC.
In Windows itīs working still fine, but in LINUX nothing.
Can anybody help me?
Thanks,
Joerg
-------------------------------
Here are some extracts of my configuration files (only lines concerning
the parallel ports):
/etc/conf.modules:
-------------------------------
...
alias parport_lowlevel parport_pc
options parport_pc io=0x3bc,0x278 irq=none,none
# If you have multiple parallel ports, specify them this way:
# options parport_pc io=0x378,0x278 irq=none,none
# For parallel port devices, uncomment the following two lines and
change
# "frpw" to the protocol type you use
# post-install paride insmod frpw
# pre-remove paride rmmod frpw
...
alias char-major-6 lp
...
-------------------------------
/etc/printcap:
-------------------------------
### BEGIN apsfilter: ### ljetplus a4 mono 300 ###
# Warning: Configured for apsfilter, do not edit the labels!
# apsfilter setup Wed Nov 17 08:48:08 MET 1999
#
ascii|lp1|ljetplus-a4-ascii-mono-300|ljetplus a4 ascii mono 300:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/ljetplus-a4-ascii-mono-300:\
:lf=/var/spool/lpd/ljetplus-a4-ascii-mono-300/log:\
:af=/var/spool/lpd/ljetplus-a4-ascii-mono-300/acct:\
:if=/var/lib/apsfilter/bin/ljetplus-a4-ascii-mono-300:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
lp|lp2|ljetplus-a4-auto-mono-300|ljetplus a4 auto mono 300:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/ljetplus-a4-auto-mono-300:\
:lf=/var/spool/lpd/ljetplus-a4-auto-mono-300/log:\
:af=/var/spool/lpd/ljetplus-a4-auto-mono-300/acct:\
:if=/var/lib/apsfilter/bin/ljetplus-a4-auto-mono-300:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
raw|lp3|ljetplus-a4-raw|ljetplus a4 raw:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/ljetplus-a4-raw:\
:lf=/var/spool/lpd/ljetplus-a4-raw/log:\
:af=/var/spool/lpd/ljetplus-a4-raw/acct:\
:if=/var/lib/apsfilter/bin/ljetplus-a4-raw:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
### END apsfilter: ### ljetplus a4 mono 300 ###
### BEGIN apsfilter: ### cdjcolor a4 color 300 ###
# Warning: Configured for apsfilter, do not edit the labels!
# apsfilter setup Wed Nov 17 08:48:33 MET 1999
#
cdjcolor-ascii|lp4|cdjcolor-a4-ascii-mono-300|cdjcolor a4 ascii mono
300:\
:lp=/dev/lp1:\
:sd=/var/spool/lpd/cdjcolor-a4-ascii-mono-300:\
:lf=/var/spool/lpd/cdjcolor-a4-ascii-mono-300/log:\
:af=/var/spool/lpd/cdjcolor-a4-ascii-mono-300/acct:\
:if=/var/lib/apsfilter/bin/cdjcolor-a4-ascii-mono-300:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
cdjcolor|lp5|cdjcolor-a4-auto-color-300|cdjcolor a4 auto color 300:\
:lp=/dev/lp1:\
:sd=/var/spool/lpd/cdjcolor-a4-auto-color-300:\
:lf=/var/spool/lpd/cdjcolor-a4-auto-color-300/log:\
:af=/var/spool/lpd/cdjcolor-a4-auto-color-300/acct:\
:if=/var/lib/apsfilter/bin/cdjcolor-a4-auto-color-300:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
cdjcolor-mono|lp6|cdjcolor-a4-auto-mono-300|cdjcolor a4 auto mono 300:\
:lp=/dev/lp1:\
:sd=/var/spool/lpd/cdjcolor-a4-auto-mono-300:\
:lf=/var/spool/lpd/cdjcolor-a4-auto-mono-300/log:\
:af=/var/spool/lpd/cdjcolor-a4-auto-mono-300/acct:\
:if=/var/lib/apsfilter/bin/cdjcolor-a4-auto-mono-300:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
cdjcolor-raw|lp7|cdjcolor-a4-raw|cdjcolor a4 raw:\
:lp=/dev/lp1:\
:sd=/var/spool/lpd/cdjcolor-a4-raw:\
:lf=/var/spool/lpd/cdjcolor-a4-raw/log:\
:af=/var/spool/lpd/cdjcolor-a4-raw/acct:\
:if=/var/lib/apsfilter/bin/cdjcolor-a4-raw:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
### END apsfilter: ### cdjcolor a4 color 300 ###
-------------------------------
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2.0b3 on Wed 17 Nov 1999 - 07:00:28 EST