Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #221072

Re: Serial Port Issues

From Joe <joe@jretrading.com>
Newsgroups linux.debian.user
Subject Re: Serial Port Issues
Date 2020-04-07 18:50 +0200
Message-ID <zSZAd-1TD-1@gated-at.bofh.it> (permalink)
References (4 earlier) <zSABP-3JK-1@gated-at.bofh.it> <zSPrc-4ds-3@gated-at.bofh.it> <zSPrc-4ds-1@gated-at.bofh.it> <zSQdA-4JY-3@gated-at.bofh.it> <zSWsF-7b-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 07 Apr 2020 08:24:50 -0500
"Martin McCormick" <martin.m@suddenlink.net> wrote:

> deloptes <deloptes@gmail.com> writes:
> > Chris Rhodin wrote:
> >   
> > > Tonight I'll look at the serial port ioctls and see if I can spot
> > > a difference there.  I also try enabling flow control and
> > > fiddling with   
> > the  
> > > signals to see if that unstops it.  
> > 
> > Are you sure that this is enabled in the BIOS, also some serial
> > ports like HP have special connectors and layouts.
> > Best would be to look at the manual first.
> > 
> > I have attached a USB to the server. From there I can log in to the
> > firewall. I can not use the same port in the opposite direction.
> > 
> > However it is strange that you do get the connection only in one 
> > direction.
> > It could be some kind of special connector
> > 
> > Otherwise I used those to enable the service
> > 
> > https://wiki.debian.org/systemd#Virtual_and_serial_console_changes
> > 
> > https://www.thegeekdiary.com/centos-rhel-7-how-to-configure-serial-getty-with-systemd/
> > https://wiki.archlinux.org/index.php/Working_with_the_serial_console
> >  
> 
> 	Another possible fly in the ointment could be a hardware
> issue.  Some RS-232 ports are old-school and aren't happy with
> any voltage range other than +12 for one state and -12 for the
> other while there are serial ports that can handle state changes
> of + or - 3 volts so they safely handle logic-level signals and
> also can handle the old-school RS-232 levels.  Then there are
> some that handle logic-level signals and would figuratively melt
> if you hit them with +-12 volts.

They're not 'old-school', they're badly designed. The spec says,
unequivocally, plus and minus 3V-15V and has done for a great many
years.

The 'logic' level data, quite common these days, is RS-422 or
RS-485. It should not ever be compatible with RS-232. Most serial data
originates at logic level (anything from 2.8V to 5V) and ends up at
logic level somewhere else, so there is little point in converting to
and from RS-232. But things like radio modules often run on 3.3V or
lower, so it may be necessary to convert to and from RS-422 levels.

Many modern 'RS-232' devices, particularly the really cheap USB-serial
modules, in fact use 3.3V/0V or 5V/0V logic levels, as the term 'RS-232'
has just come to mean 'low-speed serial' to many people.

-- 
Joe

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Serial Port Issues Chris Rhodin <cprhodin@gmail.com> - 2020-04-06 07:30 +0200
  Re: Serial Port Issues deloptes <deloptes@gmail.com> - 2020-04-06 09:00 +0200
    Re: Serial Port Issues Joe <joe@jretrading.com> - 2020-04-06 09:40 +0200
      Re: Serial Port Issues <tomas@tuxteam.de> - 2020-04-06 10:00 +0200
        Re: Serial Port Issues deloptes <deloptes@gmail.com> - 2020-04-06 10:10 +0200
        Re: Serial Port Issues rhkramer@gmail.com - 2020-04-06 16:00 +0200
          Re: Serial Port Issues <tomas@tuxteam.de> - 2020-04-06 16:10 +0200
            Fwd: Serial Port Issues Chris Rhodin <cprhodin@gmail.com> - 2020-04-07 08:00 +0200
              Re: Fwd: Serial Port Issues deloptes <deloptes@gmail.com> - 2020-04-07 08:50 +0200
                Re: Fwd: Serial Port Issues "Martin McCormick" <martin.m@suddenlink.net> - 2020-04-07 15:30 +0200
                Re: Serial Port Issues Joe <joe@jretrading.com> - 2020-04-07 18:50 +0200
              Re: Serial Port Issues Chris Rhodin <cprhodin@gmail.com> - 2020-04-07 09:00 +0200
                Re: Serial Port Issues <tomas@tuxteam.de> - 2020-04-07 09:10 +0200
                Re: Serial Port Issues Chris Rhodin <cprhodin@gmail.com> - 2020-04-07 09:10 +0200
                Re: Serial Port Issues songbird <songbird@anthive.com> - 2020-04-08 13:50 +0200
              Re: Serial Port Issues Joe <joe@jretrading.com> - 2020-04-07 09:30 +0200
      Re: Serial Port Issues Greg Wooledge <wooledg@eeg.ccf.org> - 2020-04-06 14:40 +0200
        Re: Serial Port Issues Joe <joe@jretrading.com> - 2020-04-06 15:30 +0200

csiph-web