[prev in list] [next in list] [prev in thread] [next in thread]
List: caldera-users
Subject: Re: Printer IRQ
From: Daniel C Marvin <danielm () cs ! pdx ! edu>
Date: 1997-09-30 23:33:07
[Download RAW message or body]
Hmm... you can use tunelp to set lpd to use interrupt of your choice.
Something like tunelp /dev/lp0 -i 7
if your printer burps when you do this your problem you've got the right
irq and lp..
DM
On Tue, 30 Sep 1997, Sean Utt wrote:
>
> I haven't noticed that it matters. The IO port matters for which /dev/lp?
> you use, but linux doesn't use the interrupt on the parallel port, it
> polls the port status lines instead.
>
> If you look in /proc
>
> cat /proc/devices
> Character devices:
> 1 mem
> 2 pty
> 3 ttyp
> 4 ttyp
> 5 cua
> 6 lp
> 7 vcs
>
> Block devices:
> 2 fd
> 7 loop
> 8 sd
>
> cat /proc/interrupts
> 0: 38465520 timer
> 1: 6 keyboard
> 2: 0 cascade
> 3: 7331355 NE2000
> 11: 107675 aha1542
> 13: 0 math error
>
> 0000-001f : dma1
> 0020-003f : pic1
> 0040-005f : timer
> 0060-006f : keyboard
> 0080-009f : dma page reg
> 00a0-00bf : pic2
> 00c0-00df : dma2
> 00f0-00ff : npu
> 02f8-02ff : serial(set)
> 0300-031f : NE2000
> 0330-0333 : aha1542
> 03bc-03be : lp
> 03c0-03df : vga+
> 03e8-03ef : serial(auto)
> 03f0-03f5 : floppy
> 03f7-03f7 : floppy DIR
> 03f8-03ff : serial(set)
>
>
> As you can see, lp shows up in devices, and ioports, but not in
> interrupts.
>
> If you are not able to print, it is most likely that you are printing to
> the wrong /dev/lp? device.
>
> Try doing
>
> cat > /dev/lp0
> cat > /dev/lp1
> cat > /dev/lp2
>
> and see which one doesn't come back with
> bash: /dev/lp1: No such device or address
> or
> bash: /dev/lp2: No such device or address
>
>
>
> Sean
>
>
> On Tue, 30 Sep 1997, william woods wrote:
>
> > Folks, my printer is on default IRQ 7, I can change that in BIOS set up
> > with no prob, and win95 will print fine. Question is, how do I tell
> > Linux that I have changed IRQ's?
> >
> > William
> >
> >
> >
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic