Re: Interrupts and serial ports

1998-01-22 Thread W Paul Mills
On Wed, 21 Jan 1998 [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 
 On Tue, 20 Jan 1998, W Paul Mills wrote:
 
  I have my modem and my UPS both connected to serial ports with the same
  interupt. Seems to work OK. These are both on the same card which was
  modified (not a lot of fun) to share the interupt. JDR Microdevices
  sells a 4-port serial board that is supposed to support shared interupts.
 
 OK Paul, but a *normal* standard serial port card has two 16550xx UARTs a
 two connectors. These cards are AFAIK not able to share interupts
 correctly. It works sometimes, when you don't use the corresponding port
 at the same time, but this is not my thing. And if you have a
 AMD-586DX/120 in an old VESA local bus motherboard, it could be
 impossible (like it was for me). 

I modified a standard board with two 16650's and used it with the standard
linux driver.

 
 Now for something completely different!
 
 You talk about a JDR Microdevices card with 4 ports. is it supported by
 linux??? How much does it cost??? Because I could use some more ports at a
 communication box at work, which should run Debian, if everything goes
 right.

I would expect it to work, but have not tried it. It is a part no. MCT-4S. 
Says that it supports unix shared interrupt mode. Uses standard 16550 chips.

They have a web site at http://www.jdr.com.

I have bought equipment from them for home and work. Good luck
with them over the last 5 or 6 years.

/*** Running Debian Linux ***
*   For God so loved the world that He gave his only begotten Son,  *
*   that whoever believes in Him should not perish...John 3:16  *
* W. Paul Mills  * Topeka, Kansas, U.S.A.   *
* [EMAIL PROTECTED] * http://homepage.midusa.net/~wpmills/ *
* [EMAIL PROTECTED]  * http://www.sound.net/~wpmills/   *
* Bill, I was there several years ago, why would I want to go back? *
/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Interrupts and serial ports

1998-01-21 Thread W Paul Mills
I have my modem and my UPS both connected to serial ports with the same
interupt. Seems to work OK. These are both on the same card which was
modified (not a lot of fun) to share the interupt. JDR Microdevices
sells a 4-port serial board that is supposed to support shared interupts.

On Sun, 11 Jan 1998, Dan Hugo wrote:

 [EMAIL PROTECTED] wrote:
 
  0setserial confused me to. But after all I've figuered out, that linux (on
  my machine) does NOT support 2 serials on the same interupt. What happens
  is, that they both are not useable. I have set the jumpers on my ... hmmm
  ... let me look ... AdLib ISA POWER 221 card (which has 2 serial, 2
  parallel and 1 game port) to have the two extra serials as /dev/ttyS2 and
  /dev/ttyS3 (COM3: and COM4:) with interupts 11 and 12. And I have edited
  the 0setserial file as shown below:
  
  -  /etc/rc.boot/0setserial --- [snip] -
  ...
  
  #
  # The typical user will only have 2 serial ports. To try and minimise
  # problems, all other configurations have been commented out!
  #
  ${SETSERIAL} -b /dev/ttyS2 ${AUTO_IRQ} skip_test autoconfig ${STD_FLAGS}
  ${SETSERIAL} -b /dev/ttyS3 ${AUTO_IRQ} skip_test autoconfig ${STD_FLAGS}
  
  ...
  -  /etc/rc.boot/0setserial --- [snap] -
  
  As you can see, I have taken the '#' out. That's all.
 
 I have a Bo-unstable drop from about almost a year ago, and that comment
 is not in there... thought I did get everything working just right for
 my current setup, which is
 
 ttyS0 - Modem
 ttyS1 - PalmPilot (or whatever it's called now).
 
 I just got a BestPower Fortress (needed it), and I would like to hook up
 a serial laser printer and, if it works, leave it hooked up.
 
 I'm not necessarily short on interrupts yet, but I figured it would be
 interesting of the slower items could just share an interrupt.
 
 Oh well...
 
 -dh
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 

/*** Running Debian Linux ***
*   For God so loved the world that He gave his only begotten Son,  *
*   that whoever believes in Him should not perish...John 3:16  *
* W. Paul Mills  * Topeka, Kansas, U.S.A.   *
* [EMAIL PROTECTED] * http://homepage.midusa.net/~wpmills/ *
* [EMAIL PROTECTED]  * http://www.sound.net/~wpmills/   *
* Bill, I was there several years ago, why would I want to go back? *
/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Interrupts and serial ports

1998-01-21 Thread dg
-BEGIN PGP SIGNED MESSAGE-

On Tue, 20 Jan 1998, W Paul Mills wrote:

 I have my modem and my UPS both connected to serial ports with the same
 interupt. Seems to work OK. These are both on the same card which was
 modified (not a lot of fun) to share the interupt. JDR Microdevices
 sells a 4-port serial board that is supposed to support shared interupts.

OK Paul, but a *normal* standard serial port card has two 16550xx UARTs a
two connectors. These cards are AFAIK not able to share interupts
correctly. It works sometimes, when you don't use the corresponding port
at the same time, but this is not my thing. And if you have a
AMD-586DX/120 in an old VESA local bus motherboard, it could be
impossible (like it was for me). 

Now for something completely different!

You talk about a JDR Microdevices card with 4 ports. is it supported by
linux??? How much does it cost??? Because I could use some more ports at a
communication box at work, which should run Debian, if everything goes
right.

Thanx in advance!

Daniel

- -
- - Daniel Gross [EMAIL PROTECTED] -
- - Ingolstadt, Germany  [EMAIL PROTECTED] -
- - If Win95 is the answer, it must have been a real foolish question ! -
- -

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv
Comment: Requires PGP version 2.6 or later.

iQEVAwUBNMZj7wnLrgqPNGtBAQGvzAgArmTunPzm22hmaYllmuBMkFJu+QqWi9GY
gMk1U45WubxIAUuysUyfBbXjsfpJWvPrPqNGVrFHU0C201uMTuxGnNIQaodcgjwb
wydqSEI0HmDiFo3iemorE3mJYR14/C5kRpKBHVym4Pv+fs70Zmf7lHLWDrYbynQh
JtRK0i6LjvJi7KFIht5EScMiI18l10V1xt/7znbwDWwtXCvGPDP0RThOitoIIQPw
6XFzKFOjLo2o6iCOIwFQfPW20MLPvspO7kSTeyoQNjuUd0L6Kmw5qSkg7FqZXGxO
a4JBmSVdPF58yEX/ib7kiOJUh6aAOScvQOl2touTuq70nR/ufWgnBQ==
=XZTY
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Interrupts and serial ports

1998-01-21 Thread Tim Sailer
[EMAIL PROTECTED] wrote:
 You talk about a JDR Microdevices card with 4 ports. is it supported by
 linux??? How much does it cost??? Because I could use some more ports at a
 communication box at work, which should run Debian, if everything goes
 right.

AST used to make a 4 port card that used 1 interrupt. There are a few
clones out there. DFI makes/made one, and I think JDR does too. The
setserial script has support for the cards.

Tim

-- 
 (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps
  Madness takes its toll...
  Please have exact change!
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Interrupts and serial ports

1998-01-12 Thread Dan Hugo
[EMAIL PROTECTED] wrote:

 0setserial confused me to. But after all I've figuered out, that linux (on
 my machine) does NOT support 2 serials on the same interupt. What happens
 is, that they both are not useable. I have set the jumpers on my ... hmmm
 ... let me look ... AdLib ISA POWER 221 card (which has 2 serial, 2
 parallel and 1 game port) to have the two extra serials as /dev/ttyS2 and
 /dev/ttyS3 (COM3: and COM4:) with interupts 11 and 12. And I have edited
 the 0setserial file as shown below:
 
 -  /etc/rc.boot/0setserial --- [snip] -
 ...
 
 #
 # The typical user will only have 2 serial ports. To try and minimise
 # problems, all other configurations have been commented out!
 #
 ${SETSERIAL} -b /dev/ttyS2 ${AUTO_IRQ} skip_test autoconfig ${STD_FLAGS}
 ${SETSERIAL} -b /dev/ttyS3 ${AUTO_IRQ} skip_test autoconfig ${STD_FLAGS}
 
 ...
 -  /etc/rc.boot/0setserial --- [snap] -
 
 As you can see, I have taken the '#' out. That's all.

I have a Bo-unstable drop from about almost a year ago, and that comment
is not in there... thought I did get everything working just right for
my current setup, which is

ttyS0 - Modem
ttyS1 - PalmPilot (or whatever it's called now).

I just got a BestPower Fortress (needed it), and I would like to hook up
a serial laser printer and, if it works, leave it hooked up.

I'm not necessarily short on interrupts yet, but I figured it would be
interesting of the slower items could just share an interrupt.

Oh well...

-dh


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Interrupts and serial ports

1998-01-12 Thread dg
-BEGIN PGP SIGNED MESSAGE-

On Sun, 11 Jan 1998, Dan Hugo wrote:

 ttyS1 - PalmPilot (or whatever it's called now).

Cool! I've got a Psion S3a on a ttySx port attached.

 I'm not necessarily short on interrupts yet, but I figured it would be
 interesting of the slower items could just share an interrupt.

Sorry, I've tested it with with my Psion S3a and an old 9600 bps modem. 
Even if the modem has no connection, it does not work. I think, that the
kernel does not know, which port has data when the shared interupt occurs.

So I have taken every port to it's own interupt. But my question is: Why
can I share interupt with parallel ports? I have lp1 and lp3 on the same
interupt, and printing and the access to my Zip drive works fine!

Bye

Daniel Gross

- -
- - Daniel Gross [EMAIL PROTECTED] -
- - Ingolstadt, Germany  [EMAIL PROTECTED] -
- - If Win95 is the answer, it must have been a real foolish question ! -
- -

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv
Comment: Requires PGP version 2.6 or later.

iQEVAwUBNLpYsAnLrgqPNGtBAQEDgAgAhGURqGhgmyOw4vRCNUAX92pMvV8OZ7mX
9wsmiJbSNsOEyzqSHfTNp3IDdhQJZqXp4gqt7Ziw+alPMXf32Gi1E0hEpgrNj+y4
BDIUgcf3n7DubM5usOtxIElSu+TFy8QNbn7H6Zc+dT5zifykCUWBLALMtuXFBfGC
Onj28m+iyX9nZ59v7pyYrEAiMO7nu1e7a3+fPK8tqt4J6Em/Fv/ardixM7PIM/OW
IGjV/LgHl7Vgkz11dqzkHDt/gWiI61DPrKKfWsbkOJy8xR432RuOCyn0KcvuUAww
hJ4S4hpAZBHLWbl6md4mDyqCL66x8di9Ogf/UnirnU6+XeDD4S/c8g==
=nbw7
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Interrupts and serial ports

1998-01-12 Thread Jens B. Jorgensen
The parallel port kernel driver doesn't use the interrupt by default, it uses
polling. (It even says so in the boot messages, at least with my kernel.)

[EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-

 On Sun, 11 Jan 1998, Dan Hugo wrote:

  ttyS1 - PalmPilot (or whatever it's called now).

 Cool! I've got a Psion S3a on a ttySx port attached.

  I'm not necessarily short on interrupts yet, but I figured it would be
  interesting of the slower items could just share an interrupt.

 Sorry, I've tested it with with my Psion S3a and an old 9600 bps modem.
 Even if the modem has no connection, it does not work. I think, that the
 kernel does not know, which port has data when the shared interupt occurs.

 So I have taken every port to it's own interupt. But my question is: Why
 can I share interupt with parallel ports? I have lp1 and lp3 on the same
 interupt, and printing and the access to my Zip drive works fine!

 Bye

 Daniel Gross

 - -
 - - Daniel Gross [EMAIL PROTECTED] -
 - - Ingolstadt, Germany  [EMAIL PROTECTED] -
 - - If Win95 is the answer, it must have been a real foolish question ! -
 - -

 -BEGIN PGP SIGNATURE-
 Version: 2.6.3ia
 Charset: noconv
 Comment: Requires PGP version 2.6 or later.

 iQEVAwUBNLpYsAnLrgqPNGtBAQEDgAgAhGURqGhgmyOw4vRCNUAX92pMvV8OZ7mX
 9wsmiJbSNsOEyzqSHfTNp3IDdhQJZqXp4gqt7Ziw+alPMXf32Gi1E0hEpgrNj+y4
 BDIUgcf3n7DubM5usOtxIElSu+TFy8QNbn7H6Zc+dT5zifykCUWBLALMtuXFBfGC
 Onj28m+iyX9nZ59v7pyYrEAiMO7nu1e7a3+fPK8tqt4J6Em/Fv/ardixM7PIM/OW
 IGjV/LgHl7Vgkz11dqzkHDt/gWiI61DPrKKfWsbkOJy8xR432RuOCyn0KcvuUAww
 hJ4S4hpAZBHLWbl6md4mDyqCL66x8di9Ogf/UnirnU6+XeDD4S/c8g==
 =nbw7
 -END PGP SIGNATURE-

 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] .
 Trouble?  e-mail to [EMAIL PROTECTED] .



--
Jens B. Jorgensen
[EMAIL PROTECTED]



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Interrupts and serial ports

1998-01-12 Thread Ben Pfaff
   So I have taken every port to it's own interupt. But my question is: Why
   can I share interupt with parallel ports? I have lp1 and lp3 on the same
   interupt, and printing and the access to my Zip drive works fine!

Chances are that, under Linux, lp1 is not really using an interrupt.
The default for printer ports is to use polling, which does not make
use of an interrupt.

You can tell whether a port is using polling or interrupt-driven
output by executing `tunelp portname'.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Interrupts and serial ports

1998-01-11 Thread dg
-BEGIN PGP SIGNED MESSAGE-

On Sun, 11 Jan 1998, Dan Hugo wrote:

 I was looking through /etc/rc.boot/0setserial to see how everything is
 configured, and I noticed that in the manual configuration section, it
 attempts to setup the COM1/3 and COM2/4 ports to irq's 4 and 3,
 respectively.  I've read the howto's and the docs that came with the
 card, and everything is quite clear... One serial port, one interrups.
 
 My question-- does Linux support shared serial port interrupts in any
 way?
 
 The 0setserial file confused me a bit on this.

Hi Dan!

0setserial confused me to. But after all I've figuered out, that linux (on
my machine) does NOT support 2 serials on the same interupt. What happens
is, that they both are not useable. I have set the jumpers on my ... hmmm
... let me look ... AdLib ISA POWER 221 card (which has 2 serial, 2
parallel and 1 game port) to have the two extra serials as /dev/ttyS2 and
/dev/ttyS3 (COM3: and COM4:) with interupts 11 and 12. And I have edited
the 0setserial file as shown below:

-  /etc/rc.boot/0setserial --- [snip] -
...

#
# The typical user will only have 2 serial ports. To try and minimise
# problems, all other configurations have been commented out!
#
${SETSERIAL} -b /dev/ttyS2 ${AUTO_IRQ} skip_test autoconfig ${STD_FLAGS}
${SETSERIAL} -b /dev/ttyS3 ${AUTO_IRQ} skip_test autoconfig ${STD_FLAGS}

...
-  /etc/rc.boot/0setserial --- [snap] -

As you can see, I have taken the '#' out. That's all.

Try it, and mail me, if you need further help!

Bye

Daniel

P.S. The two-serials-on-one-interupt-solution works fine with DOS and
systems, that can only access one port at a time. But I had problems with
Windows and Linux. My configuration was ttyS0 = modem and ttyS2 = terminal
(local attached Psion S3a) and I couldn't get this to work with both on
the same interupt. 

- -
- - Daniel Gross [EMAIL PROTECTED] -
- - Ingolstadt, Germany  [EMAIL PROTECTED] -
- - If Win95 is the answer, it must have been a real foolish question ! -
- -

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv
Comment: Requires PGP version 2.6 or later.

iQEVAwUBNLlHGQnLrgqPNGtBAQE6Fgf/dHjhtJF+UP+wO+3ELW84XITKgXKIXzOi
7j2zErEEbmmDyz57rKbxm8ybkE2HTyjU+r9eNwGzxf8j4ugRFhulhzyL+VWet21O
7RKEMR8HXGam2xftFGhE5OYOqd8WaeZaTKwWI8gZ1NsHfeOlbcouIYGAF8kmAm6e
3Cj9ZUYjyZXpwIjZX5jRpjlQL3+LHFpvNXCiG93WBErP9Xs+rq+3ETuLHgFfcIgs
4mqbmn2+1TcXbgzhjE0A/Iqd8YleRGsrnftEFcnW/kof30CZ0ZHiibNlF5j7GHMH
NrH5rHiEGuuhvCgnw7DqKAeSfwwrWfdOGjvZ6tdoJvm2rKmKOal6lA==
=KEhu
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .