Re: want only 1 lp

2000-04-10 Thread Wayne Topa

Subject: Re: want only 1 lp
Date: Sun, Apr 09, 2000 at 01:11:11PM -0700

In reply to:Kenneth Scharf

Quoting Kenneth Scharf([EMAIL PROTECTED]):
Kenneth The ',none' is to ignore IRQ's, thus freeing up an IRQ
Kenneth for other
Kenneth uses.
Kenneth --
Kenneth I tried the above but it does not seem to work.  See
Kenneth the output of dmesg when my kernel boots. (attachment)
Kenneth Note that lp0, 1 and 2 are still attached.
Kenneth 

Dmesg shows the same here.  I am running a stepper control program off
of lp1 and it works fine.  Alltho I did have to change the mode to get
it to work.

73
 Wayne  WA1BBB
 N 42 32.776
 W 74 41.201
 

-- 
Real software engineers work from 9 to 5, because that is the way the
job is described in the formal spec.  Working late would feel like
using an undocumented external procedure.
___


Re: want only 1 lp

2000-04-10 Thread David Wright
Quoting Kenneth Scharf ([EMAIL PROTECTED]):
 I've posted this question before, but the digest lists
 went down for a few weeks before I could get any
 answers to this question.
 
 I have 3 lp cards in my computer at dos addresses
 lpt1, lpt2, and lpt3.  I only want the one at lpt1 to
 be attached to the lp driver(s).  I want the other two
 ports free for my own software.  I am running potato
 now, the options entered for the modules in slink
 don't work here, on boot up the initial feedback shows
 all three lpt ports being grabbed by the lp driver
 nomatter what I've tried.  Something is different in
 2.2.x I think.

You could reserve the addresses with a kernel parameter.

 Any ideas out there?  I will be writting my own driver
 to talk to the other two ports. One for a home brew
 prom burner, the other for an 8052 ICE that was
 written up in byte some years ago. 

Once they're written, you could load them earlier than lp,
in which case the addresses will have been used up.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


Re: want only 1 lp

2000-04-09 Thread Wayne Topa

Subject: want only 1 lp
Date: Sat, Apr 08, 2000 at 03:00:24PM -0700

In reply to:Kenneth Scharf

Quoting Kenneth Scharf([EMAIL PROTECTED]):
Kenneth 
Kenneth I have 3 lp cards in my computer at dos addresses
Kenneth lpt1, lpt2, and lpt3.  I only want the one at lpt1 to
Kenneth be attached to the lp driver(s).  I want the other two
Kenneth ports free for my own software.  I am running potato

I only use one lp port for debian.  As the 2.2.x and above kernels
have renumbered the ports (lp1 now is lp0) I have this in my lilo.
config.

append  = hdd=cdrom lp=parport0 parport=0x378,none

The ',none' is to ignore IRQ's, thus freeing up an IRQ for other
uses.


 Wayne  WA1BBB
 N 42 32.776
 W 74 41.201
 
-- 
Real programmers don't comment their code.  It was hard to write, it
should be hard to understand.
___


Re: want only 1 lp

2000-04-09 Thread Kenneth Scharf
---
In reply to:Kenneth Scharf

Quoting Kenneth Scharf([EMAIL PROTECTED]):
Kenneth 
Kenneth I have 3 lp cards in my computer at dos
addresses
Kenneth lpt1, lpt2, and lpt3.  I only want the one at
lpt1 to
Kenneth be attached to the lp driver(s).  I want the
other two
Kenneth ports free for my own software.  I am running
potato

I only use one lp port for debian.  As the 2.2.x and
above kernels
have renumbered the ports (lp1 now is lp0) I have this
in my lilo.
config.

append  = hdd=cdrom lp=parport0 parport=0x378,none

The ',none' is to ignore IRQ's, thus freeing up an IRQ
for other
uses.
--
I tried the above but it does not seem to work.  See
the output of dmesg when my kernel boots. (attachment)
Note that lp0, 1 and 2 are still attached.



=
Amateur Radio, when all else fails!

http://www.qsl.net/wa2mze

Debian Gnu Linux, Live Free or .



__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

lphelp
Description: lphelp


want only 1 lp

2000-04-08 Thread Kenneth Scharf
I've posted this question before, but the digest lists
went down for a few weeks before I could get any
answers to this question.

I have 3 lp cards in my computer at dos addresses
lpt1, lpt2, and lpt3.  I only want the one at lpt1 to
be attached to the lp driver(s).  I want the other two
ports free for my own software.  I am running potato
now, the options entered for the modules in slink
don't work here, on boot up the initial feedback shows
all three lpt ports being grabbed by the lp driver
nomatter what I've tried.  Something is different in
2.2.x I think.

Any ideas out there?  I will be writting my own driver
to talk to the other two ports. One for a home brew
prom burner, the other for an 8052 ICE that was
written up in byte some years ago. 

=
Amateur Radio, when all else fails!

http://www.qsl.net/wa2mze

Debian Gnu Linux, Live Free or .



__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com