Andy Smith writes:
> Hi Martin,
>
> I have been using it successfully for a long time, but all I do is
> read whole lines from the serial device like:
>
> my $dev = '/dev/ttyUSB0';
> my $port = Device::SerialPort->new($dev);
>
> $port->baudrate(57600);
> $port->write_settings;
>
> open my $fh
On 27/10/17 15:38, Martin McCormick wrote:
> A perldoc of Device::SerialPort says that lookfor is
> supposed to block or hold until a character string emerges from
> the port as in /dev/ttyUSB0 or /dev/ttyS1. When I trace the
> code, it just loops as fast as it can and never holds to wait fo
Andy Smith writes:
> Hi Martin,
> I have been using it successfully for a long time, but all I do is
> read whole lines from the serial device like:
>
> my $dev = '/dev/ttyUSB0';
> my $port = Device::SerialPort->new($dev);
>
> $port->baudrate(57600);
> $port->write_settings;
>
> open my $fh,
") || die "something or other:$!\n";
This would open it for writing. You are using "sane" parameters that
serial ports default to so you wouldn't need to specify them.
Best regards,
Fred Boatwright
On Thu, Oct 26, 2017 at 07:37:07PM -0500, Martin McCormick wrote:
> The perl list I subscribe to seems to be on the fritz or I would
> take the question there. I want to write code that receives from
> a RS-232 port and I just can't seem to get it to do anything.
>
> The port I am reading i
Hi Martin,
On Thu, Oct 26, 2017 at 07:37:07PM -0500, Martin McCormick wrote:
> If anybody has gotten the perl Device::SerialPort to
> work, I am interested to know what I am doing or not doing.
I have been using it successfully for a long time, but all I do is
read whole lines from the seri
The perl list I subscribe to seems to be on the fritz or I would
take the question there. I want to write code that receives from
a RS-232 port and I just can't seem to get it to do anything.
The port I am reading is connected to a scanner radio and
produces generally short lines of text
Tapio,
From: Tapio Lehtonen
Date: Sat, 14 May 2011 18:51:37 +0300
> I changed the interrupts and now both serial ports work, ...
One more detail.
Typically com1 will have a DE-9 connector soldered to the mainboard
and com2 has a 9 or 10 pin header on the board. There is more
than
t.
Now I did check BIOS settings. Only one serial port was enabled, I now
enabled both just for the heck of it. But I suspect the reason the one
port did not work was a PCI slot using the same interrupt. I changed
the interrupts and now both serial ports work, checked with kermit and
gtkterm. A
rt was enabled, I now
enabled both just for the heck of it. But I suspect the reason the one
port did not work was a PCI slot using the same interrupt. I changed the
interrupts and now both serial ports work, checked with kermit and
gtkterm. Also getty allows logging in from ttyS0.
So than
Chris Brennan kirjoitti:
Sorry if this is slightly OT, I've often wondered about using
serial-console to access my 3 local headless servers here, Camaleón
link was very useful for the software side of it, what about the
hardware side, not the com devices, but what type of cabling is
require
From: peasth...@shaw.ca
Date: Fri, 13 May 2011 09:57:26 -0800
> May 13 08:56:14 dalton pppd[2046]: but I couldn't find any suitable secret
> (password) for it to use to do so.
>
> Previously, PPP would refer to /etc/passwd but seems to have forgotten that.
In setting up the fresh machine I pu
4
> /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
> root@phb:~#
>
> The computer has two serial ports, so I am a bit worried that only one
> shows in the above. Maybe the other is disabled in BIOS. I'll check next
> time I boot.
>
> No breakout box or any such fancy stuf
) is a 16550A
root@phb:~# setserial -g /dev/ttyS*
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
root@phb:~#
The computer has two serial ports, so I am a
On Fri, 13 May 2011 16:04:30 +0300, Tapio Lehtonen wrote:
> I try to connect two pc hosts with serial ports with a null modem cable.
> I assumed starting kermit on both ends, setting line, speed etc. to
> suitable values would allow me to see what I type on the other end. But
>
Tapio,
From: Tapio Lehtonen
Date: Fri, 13 May 2011 16:04:30 +0300
> I try to connect two pc hosts with serial ports with a null modem cable.
PPP over a null modem and through modems and telephone lines have worked
here for years. Configurations here.
http://carnot.yi.
Serial ports can be pretty opaque.
Do you know if both serial ports were enabled in your BIOS? Can you find out
if the relevant ports appear enabled in the system logs?
Do you have any hardware diagnostic tools? i.e. one of those LED-based serial
port monitors?
Do you have flow control (RTS
I try to connect two pc hosts with serial ports with a null modem cable.
I assumed starting kermit on both ends, setting line, speed etc. to
suitable values would allow me to see what I type on the other end. But
no such luck.
I admit it is 9 years since I last used serial ports for anything
John Lindsay wrote:
> I have installed Debian on my Thinkpad A22. Seems to be working fine
> except for the wireless. I also have Wine installed as I want to run an
> executable program that downloads a file to an FTA receiver via the
> serial port. Do I need to 'turn on' the serial port under Li
I have installed Debian on my Thinkpad A22. Seems to be working fine
except for the wireless. I also have Wine installed as I want to run an
executable program that downloads a file to an FTA receiver via the
serial port. Do I need to 'turn on' the serial port under Linux or would
it already b
statically or as
> modules. If it's the latter, are you sure the modules are loading?
>
Thanks for the pointer.
Some were static and some were loaded via modules. I've recompiled with
all of them statically in the kernel and that seems to have done the
trick. For some reason I thought
Tony Terlecki wrote:
Maybe there is something outside of the serial drivers support I need to
include in the kernel build?
I'm running 2.6.15 with the following serial options:
myth:~# grep SERIAL /usr/src/linux/.config
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_
I upgraded my kernel a few weeks ago and, because I rarely use my serial
ports (only for the odd FAX), I never noticed they were missing until
today. I'm running 2.6.15 on a Testing build and have compiled in most
of the serial driver support for good measure, i.e.:
CONFIG_SERIAL
Hello all,
I have no good idea where to start, so I opted for this
list (after google and yahoo). Please CC me on any replies,
as I'm not on the list.
I use a PCI card with 4 serial (and 1 parallel) ports, namely
an EXSYS 16950/954 card. The card is recognized by the kernel,
the ports (and whate
On Sun, 12 Jan 2003 21:15:30 -0800 (PST)
"nate" <[EMAIL PROTECTED]> wrote:
> Jacob S. said:
> > Yikes... I didn't realize how inexperienced I was with using my
> > serial ports in Linux until I started trying to play with a little
> > Intrinsyc CerfCube h
Jacob S. said:
> Yikes... I didn't realize how inexperienced I was with using my serial
> ports in Linux until I started trying to play with a little Intrinsyc
> CerfCube here.
>
> Kernel 2.4.18 with the serial module compiled into the kernel.
> dmesg | less shows mention
Yikes... I didn't realize how inexperienced I was with using my serial
ports in Linux until I started trying to play with a little Intrinsyc
CerfCube here.
Kernel 2.4.18 with the serial module compiled into the kernel.
dmesg | less shows mention of /dev/ttyS02 and /dev/ttyS03 on irq 4
hi ya
"setserial -options /dev/ttyS0"
is good for mucking around with /dev/tty*
c ya
alvin
and nope... i dont have nike shoes :-)
>
> Is there a good utility to "test" a serial port and also see how it is
> configured? The digi driver was supposed to build dpa and ditty, two
> specific
In muc.lists.debian.user, you wrote:
> If I run stty /dev/ttyD000 -a I do get a bunch of output
> including the buad rate (9600), however most of the other
> output I don't understand.
man stty
It explains what all that output means.
> Is there a good utility to "test" a serial port and also s
quot;
Jerry Gregoire - Former CIO at Dell
-Original Message-
From: deFreese, Barry [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 1:24 PM
To: '[EMAIL PROTECTED]'
Subject: Newbie question - Serial Ports
Hello,
I finally got the ecpa driver for my 8 port Dig
Hello,
I finally got the ecpa driver for my 8 port Digi board to compile and run.
It created the 8 serial devices ttyD000 through ttyD007. I have a modem on
port 1 and port 1 or ttyD000 and ttyD001. I installed minicom to see if I
could shoot some AT commands to them just to test and I get nada
Kent West <[EMAIL PROTECTED]> wrote:
> I need to use setserial to set the parms on /dev/ttyS3. I can do this,
> but the settings don't hold over a reboot.
>
> "man setserial" refers to "/etc/setserial.conf", but there is no such
> file. A "locate setserial.conf" doesn't return the location of suc
On Fri, Jun 28, 2002 at 04:02:03PM -0500, Kent West wrote:
> (Also, I understand it's a "bug" for a Debian package to ship without a
> man page; is it also a bug for the man page to be wrong?
Of course. I don't know the answer to your particular problem, although
for what it's worth 'dpkg -L sets
I need to use setserial to set the parms on /dev/ttyS3. I can do this,
but the settings don't hold over a reboot.
"man setserial" refers to "/etc/setserial.conf", but there is no such
file. A "locate setserial.conf" doesn't return the location of such a
file either, although there are similar
the serial port to verify
that it's working(e.g, enabled in bios, and kernel detects it properly
at the right i/o and irq address) that would be good. if your board
has 2 serial ports you could do a serial console to the other port,
with a null modem cable..just edit /etc/inittab, change the li
This is a followup to yesterday's attempt to get a CoStar Labelwriter XL
working under linux.
I plugged the thing into a windows laptop and it printed fine, so the
problem is not in the printer.
If I start statserial, point it at /dev/ttyS1, and plug/unplug the printer
from the computer, the CTS/
I think you must load a module to identify those ports.
I also think that serial.o does such.
Once I read something about multiport boards in setserial man pages. Try
that. Theres also the serial howto you can check
I've just installed a PCI I/O card to add some serial ports to a boc I want to
hang some modems off...
is there any trick to getting the pppd to recognise the exrt serial ports?
thanks muchly,
John
onfig-`uname -r`
you should see
CONFIG_SERIAL=y
if you see
CONFIG_SERIAL=m
then try 'modprobe serial'
if you see
CONFIG_SERIAL=n
then recompile your kernel. i believe all the default debian kernels come with
serial support enabled.
also it helps if your serial ports in the bios are hard
hello,
I am having some problems with my serial ports...
>From ls -l /dev/ttyS* shows..
crw-rw1 root dialout4, 64 Jul 5 23:14 /dev/ttyS0
crw-rw1 root dialout4, 65 Jul 5 23:14 /dev/ttyS1
crw-rw1 root dialout4, 66 Jul 5 23:14 /dev/ttyS2
crw
- Original Message -
From: "hogan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; ; "LUV-talk
mailing list" <[EMAIL PROTECTED]>
Sent: Sunday, February 18, 2001 1:44 AM
Subject: Re: Serial ports - how to get them to coexist peacefully...
Only proble
> What I did when presented with this problem was to do a bit of surgery on
the old
> ISA board and change its IRQ to a spare in the computer I was using. I cut
one
> track solder a wire the new interrupt pad to get it to work. With setserial
and
> this setup I was able to run four Serial Terminals
hogan wrote:
>
> Can I make the onboard and oncard ttyS's play nice on same IRQ?
> or should I play musical jumpers until they're on separate IRQs?
>
What I did when presented with this problem was to do a bit of surgery on the
old
ISA board and change its IRQ to a spare in the computer I
On Sat, Feb 17, 2001 at 03:16:44AM +1100, hogan wrote:
> Can I make the onboard and oncard ttyS's play nice on same IRQ?
no.
> or should I play musical jumpers until they're on separate IRQs?
yes.
> Read something in 2.4.1 kernel config about making serial ports nice to
On Friday 16 February 2001 17:27, Sean 'Shaleh' Perry wrote:
> > Can I make the onboard and oncard ttyS's play nice on same IRQ?
> > ... or should I play musical jumpers until they're on separate
> > IRQs?
>
> I would change the jumpers. Hoping the software ca multiplex is a
> recipe for disaster.
terminal on ttyS1
> Want mouse on ttyS3 but IRQ conflict ttyS1+ttyS3
>
> Can I make the onboard and oncard ttyS's play nice on same IRQ?
> ... or should I play musical jumpers until they're on separate IRQs?
Making onboard serial ports share interrupts is vudu. Basically the
>
> Can I make the onboard and oncard ttyS's play nice on same IRQ?
> ... or should I play musical jumpers until they're on separate IRQs?
>
I would change the jumpers. Hoping the software ca multiplex is a recipe for
disaster.
> Read something in 2.4.1 kernel config
27;s play nice on same IRQ?
... or should I play musical jumpers until they're on separate IRQs?
Read something in 2.4.1 kernel config about making serial ports nice to one
another when on same IRQ.. anything similar in 2.2.x? Should I go to 2.2.18 in
interim? Will I need a custom compile? ... Will Danger Mouse save Penfold in
time? :)
Quoting Alec Smith ([EMAIL PROTECTED]):
> I'm trying to set up an Apple LaserWriter IINT to run off a PC. So far I
> have the DB9-DB25 cable and null modem connected. However, I'm having some
> trouble getting the serial port configured. As I understand the Apple
> documentation, I need
>
> - X
I'm trying to set up an Apple LaserWriter IINT to run off a PC. So far I
have the DB9-DB25 cable and null modem connected. However, I'm having some
trouble getting the serial port configured. As I understand the Apple
documentation, I need
- XON/XOFF handshake
- 9600 baud
- no parity
- 7 data
Criggie writes:
> Does linux support serial ports (rather than modems) on the PCMCIA bus?
A modem is a serial port.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
At 07:08 PM 12/25/00 +, you wrote:
Anyone done two serial ports on a Linux laptop?
How did you do it?
You'll need to get a PCMCIA serial port card, probably quite expensive, to
get the second port.
Why do you need two? If one is for a mouse then consider getting a PS/2
mouse,
Are there laptops with two serial ports in this world?
Matth
Am Montag, 25. Dezember 2000 13:08 schrieb John Conover:
> Anyone done two serial ports on a Linux laptop?
>
> How did you do it?
>
> Thanks,
>
> John
Anyone done two serial ports on a Linux laptop?
How did you do it?
Thanks,
John
--
John ConoverTel. 408.370.2688 [EMAIL PROTECTED]
631 Lamont Ct. Cel. 408.772.7733 http://www.johncon.com/
Campbell, CA 95008 Fax. 408.379.9602
Anyone using a laptop with a dual serial port PCMCIA?
I need a brand that works.
Thanks,
John
--
John ConoverTel. 408.370.2688 [EMAIL PROTECTED]
631 Lamont Ct. Cel. 408.772.7733 http://www.johncon.com/
Campbell, CA 95008 Fax. 408.379.9602
I've just added two more serial ports into my computer (for a total of
six). I added support into the kernel for > than 4 serial ports. I added
more ports with the MAKEDEV command, but I get the following message when
I try to access the 5th or 6th port:
kerr:~# statserial /dev/ttyS4
st
re is
nothing connected in /dev/ttyS1?
I'll also give you dmesg output (only part concerningn PPP or serial ports):
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
PPP: version 2.3.7 (demand dialling)
TCP compression code copyright 1989 Regents of the Universi
>
>
> On Mon, 12 Jun 2000, Shaul Karl wrote:
> > Perhaps lock files in /var/lock/ can help?
>
> That's the problem, there's no LCK..ttyS0 or S1 in it.
>
Just speculating: maybe lsof?
> Oki
>
>
>
> --
> Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
--
On Mon, 12 Jun 2000, Shaul Karl wrote:
> Perhaps lock files in /var/lock/ can help?
That's the problem, there's no LCK..ttyS0 or S1 in it.
Oki
> Hi,
>
> How do you know what daemons that currently using the serial ports?
> My system behaves strangely; when it was init'ed to single user, the
> serial ports (/dev/ttyS0 and S1) can be probed using setserial -a. But
> when it was other than single user, setserial -
Hi,
How do you know what daemons that currently using the serial ports?
My system behaves strangely; when it was init'ed to single user, the
serial ports (/dev/ttyS0 and S1) can be probed using setserial -a. But
when it was other than single user, setserial -a said that the devices
were
Quoting John Conover ([EMAIL PROTECTED]):
>
> How do you make the serial ports in 2.1 go faster than 38,400? The arg
> spd_vhi doesn't work any more, (setserial claims its depreciated, and
> it doesn't work,) but the docs claim that that is the way to do it.
You said in
John writes:
> How do you make the serial ports in 2.1 go faster than 38,400?
By telling them to. Speeds to 115200 are supported.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
How do you make the serial ports in 2.1 go faster than 38,400? The arg
spd_vhi doesn't work any more, (setserial claims its depreciated, and
it doesn't work,) but the docs claim that that is the way to do it.
Thanks,
John
--
John Conover[EMAIL PROTECT
nux. Having
> monitored this newsgroup for some weeks now, I am aware that
> winmodems don't work w/ Linux. The modem is a Logicode 33H-P-CL,
> which I am told is not a winmodem, so that shouldn't be the
> cause of the problem. At boot time, a message does flash
> by
aware that
winmodems don't work w/ Linux. The modem is a Logicode 33H-P-CL,
which I am told is not a winmodem, so that shouldn't be the
cause of the problem. At boot time, a message does flash
by saying "Configuring serial ports failed". It doesn't
however show up as part of
Hello,
i have the following problem, i can't acces the serial ports on my portable...
support of the serial ports (dump) is compiled in the kernel, setserial gives
back the right info, i can connect to the serial port using kermit, but
nothing goes through, and after i made an echo to the po
-BEGIN PGP SIGNED MESSAGE-
On Tue, 10 Aug 1999, Nico De Ranter wrote:
>
> Howdy,
>
> I added a board with 4 serial ports to my PC. I can access the
> first two serial ports on that board but I do not succeed in connecting
> to the other 2 ports. I added suppo
0.08.1999 +0200, you wrote
> This was the original Message:
MK>
MK>Howdy,
MK>
MK>I added a board with 4 serial ports to my PC. I can access the
MK>first two serial ports on that board but I do not succeed in connecting
MK>to the other 2 ports. I added support for more
Howdy,
I added a board with 4 serial ports to my PC. I can access the
first two serial ports on that board but I do not succeed in connecting
to the other 2 ports. I added support for more then 4 serial ports
to the kernel and I added some setserial lines to /etc/rc.boot/0setserial
but it
-BEGIN PGP SIGNED MESSAGE-
On Mon, 2 Aug 1999, Johann Spies wrote:
> On Mon, 2 Aug 1999, Nico De Ranter wrote:
>
> > for a test setup I need a PC with 4 serial ports (ppp server).
> > Can I simply plugin any PCI board with 2 serial ports or will
> > I need any h
On Mon, 2 Aug 1999, Nico De Ranter wrote:
>
> Howdy,
>
> for a test setup I need a PC with 4 serial ports (ppp server).
> Can I simply plugin any PCI board with 2 serial ports or will
> I need any hardware specific drivers? I believe this used to work
> fine with an IS
On Mon, 2 Aug 1999, Nico De Ranter wrote:
> for a test setup I need a PC with 4 serial ports (ppp server).
> Can I simply plugin any PCI board with 2 serial ports or will
> I need any hardware specific drivers? I believe this used to work
> fine with an ISA board with 2 serial port
Howdy,
for a test setup I need a PC with 4 serial ports (ppp server).
Can I simply plugin any PCI board with 2 serial ports or will
I need any hardware specific drivers? I believe this used to work
fine with an ISA board with 2 serial ports but I have never tried
a PCI version and I can only
On Tue, 23 Feb 1999, Kevin Traas wrote:
> My big thing is that I want/need Dial- & Bandwidth-on-Demand support -
> very big requirements. I don't think these little ISDN routers
> provide the level of control that I want. (If you know different,
> please let me know.)
All of the "little ISDN ro
On Tue, 23 Feb 1999, Dimitri Patakidis wrote:
>> I want to connect an external ISDN to my system using the MB's
>> standard serial ports. However, everything's telling me I can only
>> push 115K through these serial ports - far less than the theoretical
>> m
On Tue, 23 Feb 1999, Kevin Traas wrote:
> I want to connect an external ISDN to my system using the MB's standard
> serial ports. However, everything's telling me I can only push 115K through
> these serial ports - far less than the theoretical max of an ISDN TA that
>
at a previous job.
Now, I too am actually in the market for a higher-speed ISDN configuration.
So here's the deal. Modern 16550A serial ports don't do more than 115.2kbps
even though theoretically the 16550A can go up to 460.8kbps (the chip uses
an input signal which is divided to come up wit
Dimitri Patakidis <[EMAIL PROTECTED]>To: Kevin
Traas <[EMAIL PROTECTED]>Cc:
debian-user@lists.debian.org
<debian-user@lists.debian.org>Date:
Tuesday, February 23, 1999 8:17 PMSubject: Re: Std. Serial
ports beyond 115K?Hi there Kevin :)The best way to
800, you wrote:
>>>>
I want to connect an external ISDN to my system using the MB's standard serial ports. However, everything's telling me I can only push 115K through these serial ports - far less than the theoretical max of an ISDN TA that does V.42bis.
Any comments/sug
I want to connect an external ISDN to my system using the MB's standard
serial ports. However, everything's telling me I can only push 115K through
these serial ports - far less than the theoretical max of an ISDN TA that
does V.42bis.
Any comments/suggestions on "overclocking&
I want to connect an external ISDN
to my system using the MB's standard serial ports. However, everything's
telling me I can only push 115K through these serial ports - far less than the
theoretical max of an ISDN TA that does V.42bis.
Any comments/suggestions on
&qu
Hello.
I just installed Debian Linux from CD, but after I
re-booted my machine hung while setting up the
serial ports. I found a script called 0setserial
and I removed the comments for the corresponding
serial ports that I have physically installed, but
it still tries to install more serial ports
On Thu, 12 Mar 1998, Graham Lillico +44 1785 248131 wrote:
> Does anyone know why on boot up my Serial ports are displayed as /dev/tty00
> and
> /dev/tty01?
Don't know about the "/dev/" but my kernel (serial built-in) says:
Serial driver version 4.13 with no serial
Hi,
Does anyone know why on boot up my Serial ports are displayed as /dev/tty00 and
/dev/tty01?
I have tried running the 0setserial script from /rc.boot/ (i think thats
correct) and that says they are /dev/ttyS0 and /dev/ttyS1 but it also produces
a wierd error, something like;
cannot
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 car
[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
-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 Mic
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
On Tue, Jan 13, 1998 at 07:38:33PM +0100, Wojtek Zabolotny wrote:
>
> Hi all!
>
> I've read a discussion about serial ports and interrupts and still have
> some doubts.
> WHY KERNEL'S SERIAL DRIVER IS WRITTEN IN THIS WAY THAT IT'S IMPOSSIBLE TO
> SHARE
Hi all!
I've read a discussion about serial ports and interrupts and still have
some doubts.
WHY KERNEL'S SERIAL DRIVER IS WRITTEN IN THIS WAY THAT IT'S IMPOSSIBLE TO
SHARE INTERRUPTS?
>From the hardware point of view it should be quite possible. The interrupt
line is
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 defa
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
-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 s
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
ook ... 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] -
I have a SIIG serial port ISA card so I can add on two more serial
ports.
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
I have some strange IRQ settings for my serial ports. Linux doesn't
autoprobe properly. I've read in the manual that this can be
corrected by via setserial. This seems a rather inelegant solution.
Is there a way similar to the "pas16=0x388,20" I use for my CD-ROM
contro
.
So, use ttyS devices for ALL of your serial ports, for all applications
- getty, mgetty, kermit, minicom etc.
If you are using mgetty then you do not need to use uugetty - mgetty can
do everything the getty_ps/uugetty can do and a whole lot more.
> Also, on another subject, is there any way
On Wed, 5 Mar 1997, Mark Lever wrote:
> getty processed on ttyS1 block modem access to cua1. When a getty is
> running (getty, agetty, uugetty or mgetty) and I try to run kermit (or
> minicom or statserial) I get a can't open device error. Why? They
> didn't used to. Is this a new kernel featu
1 - 100 of 116 matches
Mail list logo