Skip to contentSkip to conversation

parport not detected

DISCUSSION Michael B. Allen 3 participants 5 messages Mar 16, 2001 – Mar 17, 2001

lore
Share & tools
lore
#0 lore raw

The parallel port is not being detected on my ABIT KT7A KT133 w/ Athlon 900 running 2.2.17 w/ Hendricks IDE patches and RH 6.2. I tried most of the settings in the bios.

BIOS options are:

728/IRQ5
378/IRQ7
3BC/IRQ7

with the possible modes:

Normal
EPP

	1.9 or 1.7
ECP
	DMA 3 or 1
ECP+EPP
	1.9 or 1.7 and DMA 3 or 1

Of the above what's optimal?

[miallen@nano /etc]$ cat conf.modules
alias eth0 3c59x
alias char-major-6 parport_pc
alias parport_lowlevel parport_pc

Also, the module is loading with depmod:

[miallen@nano 0]$ for i in /proc/parport/0/*; do echo $i; cat $i; done /proc/parport/0/autoprobe
/proc/parport/0/devices
/proc/parport/0/hardware

base:   0x3bc
irq:    none
dma:    none
modes:  SPP

/proc/parport/0/irq
none

I also tried an options line in modules.conf. I believe it was:

options parport_pc io=0x3bc irq=7

That was reflected in /proc but no difference in actually "detecting" the parallel port. I did see the light come on on the printer once though. Also, if I build parpart into the kernel I get nothing but a hard lockup on 'Starting kswapd v 1.5'.

Any ideas?

Thanks,
Mike

#1 lore raw
Quoted 1 line

The parallel port is not being detected on my ABIT KT7A KT133 w/ Athlon

Also try comp.os.linux.hardware.

BIOS
----
278/irq5
378/irq7
EPP 1.9

.config
-------
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PNP=y
CONFIG_PNP_PARPORT=y
CONFIG_PRINTER=y
CONFIG_PRINTER_READBACK=y

kernal boot params
------------------
append="parport=0x378,7 parport=0x278,5"

options for /etc/rc.d/rc.local
------------------------------

# abort on error, careful error check, trust IRQ.
# see tunelp(8) & /usr/src/linux/drivers/misc/lp.c

/usr/sbin/tunelp /dev/lp0 -a on -o on -T on
/usr/sbin/tunelp /dev/lp1 -a on -o on -T on

looks like this (lp1 was powered down at boot time)

Feb 25 02:57:39 dell kernel: parport0: PC-style at 0x378, irq 7
[SPP,PS2,EPP] 
Feb 25 02:57:39 dell kernel: parport0: Printer, Hewlett-Packard HP
LaserJet 1100 
Feb 25 02:57:39 dell kernel: parport1: PC-style at 0x278, irq 5
[SPP,PS2,EPP] 
Feb 25 02:57:39 dell kernel: parport1: no IEEE-1284 device present. 
Feb 25 02:57:40 dell kernel: lp0: using parport0 (interrupt-driven). 
Feb 25 02:57:40 dell kernel: lp1: using parport1 (interrupt-driven). 

--

#2 lore raw
In reply to Michael B. Allen

Yup!

nano kernel: parport0: PC-style at 0x378, irq 7 [SPP,PS2,EPP] nano kernel: parport0: Printer, Hewlett-Packard HP LaserJet 6L

I setup everything as you describe below. I don't remember having to do all this stuff before(on other machines anyway). I guess I'm used to RH's fluffed-up stock kernels.

Thanks,
Mike

Quoted 45 lines · Tim Moore
Quoted 1 line

The parallel port is not being detected on my ABIT KT7A KT133 w/ Athlon

Also try comp.os.linux.hardware.

BIOS
----
278/irq5
378/irq7
EPP 1.9

.config
-------
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PNP=y
CONFIG_PNP_PARPORT=y
CONFIG_PRINTER=y
CONFIG_PRINTER_READBACK=y

kernal boot params
------------------
append="parport=0x378,7 parport=0x278,5"

options for /etc/rc.d/rc.local
------------------------------

# abort on error, careful error check, trust IRQ.
# see tunelp(8) & /usr/src/linux/drivers/misc/lp.c

/usr/sbin/tunelp /dev/lp0 -a on -o on -T on
/usr/sbin/tunelp /dev/lp1 -a on -o on -T on

looks like this (lp1 was powered down at boot time)

Feb 25 02:57:39 dell kernel: parport0: PC-style at 0x378, irq 7
[SPP,PS2,EPP] 
Feb 25 02:57:39 dell kernel: parport0: Printer, Hewlett-Packard HP
LaserJet 1100 
Feb 25 02:57:39 dell kernel: parport1: PC-style at 0x278, irq 5
[SPP,PS2,EPP] 
Feb 25 02:57:39 dell kernel: parport1: no IEEE-1284 device present. 
Feb 25 02:57:40 dell kernel: lp0: using parport0 (interrupt-driven). 
Feb 25 02:57:40 dell kernel: lp1: using parport1 (interrupt-driven). 

--

#3 lore raw
In reply to Michael B. Allen
Quoted 1 line · Michael B. Allen

The parallel port is not being detected on my ABIT KT7A KT133 w/ Athlon

Need dmesg output to see what parport is being told and what is finding out for itself.

Quoted 3 lines

BIOS options are:

728/IRQ5

^^^ 278, probably

Quoted 2 lines

378/IRQ7
3BC/IRQ7

But which one is it actually set to?

Quoted 1 line

Of the above what's optimal?

It depends what you're doing, really.

Quoted 3 lines

I also tried an options line in modules.conf. I believe it was:

options parport_pc io=0x3bc irq=7

Take that out and see what happens.

Quoted 2 lines

That was reflected in /proc but no difference in actually "detecting" the parallel port.

I don't know what you mean really. Are you saying that you can't print, or just that the device ID probe (to get the printer name) isn't working?

Quoted 2 lines

Also, if I build parpart into the kernel I get nothing but a hard lockup on 'Starting kswapd v 1.5'.

That's quite strange.

Which kernel version are you using? Take a look at the 'troubleshooting' section of Documentation/parport.txt.

Tim.
*/

#4 lore raw
In reply to Michael B. Allen
Quoted 3 lines · Michael B. Allen

I setup everything as you describe below. I don't remember having to do all this stuff before(on other machines anyway). I guess I'm used to RH's fluffed-up stock kernels.

Which stock kernel didn't work for you?

Tim.
*/