Re: Serial Port Issues

2020-04-08 Thread songbird
Chris Rhodin wrote: > I figured it out. It was user error. When I diff'd the output of "stty" > from my laptop and server I saw the server had "-crtscts" and laptop had > "crtscts". It turns out minicom enables hardware flow control by default > and I had changed that default on my laptop somew

Re: Serial Port Issues

2020-04-07 Thread Joe
On Tue, 07 Apr 2020 08:24:50 -0500 "Martin McCormick" wrote: > deloptes 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

Re: Fwd: Serial Port Issues

2020-04-07 Thread Martin McCormick
deloptes 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 se

Re: Serial Port Issues

2020-04-07 Thread Joe
On Mon, 6 Apr 2020 22:53:25 -0700 Chris Rhodin wrote: > > Q: Is "stty" the right command line tool to check all of a serial > ports settings? > It Works For Me. I had a very simple serial requirement recently, and this did the job. Oh, as to 9600 Baud, if you plug a USB serial port into stre

Re: Serial Port Issues

2020-04-07 Thread tomas
On Mon, Apr 06, 2020 at 11:59:14PM -0700, Chris Rhodin wrote: > I figured it out. It was user error. When I diff'd the output of "stty" > from my laptop and server I saw the server had "-crtscts" and laptop had > "crtscts" [...] Ah... I see. Thanks for posting the resolution, much appreciated :

Re: Serial Port Issues

2020-04-07 Thread Chris Rhodin
e it work. > > Chris > > > On Mon, Apr 6, 2020 at 10:53 PM Chris Rhodin wrote: > >> >> >> -- Forwarded message ----- >> From: Chris Rhodin >> Date: Mon, Apr 6, 2020 at 7:28 PM >> Subject: Re: Serial Port Issues >> To: >>

Re: Serial Port Issues

2020-04-07 Thread Chris Rhodin
> From: Chris Rhodin > Date: Mon, Apr 6, 2020 at 7:28 PM > Subject: Re: Serial Port Issues > To: > > > I have two devices I'm trying to connect to, a UPS and a network switch. > By default the UPS runs at 2400 baud and the switch runs at 9600 baud. > Befor

Re: Fwd: Serial Port Issues

2020-04-06 Thread deloptes
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 con

Fwd: Serial Port Issues

2020-04-06 Thread Chris Rhodin
-- Forwarded message - From: Chris Rhodin Date: Mon, Apr 6, 2020 at 7:28 PM Subject: Re: Serial Port Issues To: I have two devices I'm trying to connect to, a UPS and a network switch. By default the UPS runs at 2400 baud and the switch runs at 9600 baud. Before connecting

Re: Serial Port Issues

2020-04-06 Thread tomas
On Mon, Apr 06, 2020 at 09:51:15AM -0400, rhkra...@gmail.com wrote: > On Monday, April 06, 2020 03:50:59 AM to...@tuxteam.de wrote: > > Besides, a wrong baud rate would much less explain that writing is > > possible, but reading isn't. Not for classical "serials" (i.e. RS-232). > > From the OP: "

Re: Serial Port Issues

2020-04-06 Thread rhkramer
On Monday, April 06, 2020 03:50:59 AM to...@tuxteam.de wrote: > Besides, a wrong baud rate would much less explain that writing is > possible, but reading isn't. Not for classical "serials" (i.e. RS-232). From the OP: " On this system a serial port can only receive data and not transmit." Wouldn

Re: Serial Port Issues

2020-04-06 Thread Joe
On Mon, 6 Apr 2020 08:32:53 -0400 Greg Wooledge wrote: > On Mon, Apr 06, 2020 at 08:38:58AM +0100, Joe wrote: > > I doubt it's that. 9600 is a sort of default these days [...] > > ... 25 years ago. > You'd be surprised how much serial stuff there is around. A lot of it is based around low-po

Re: Serial Port Issues

2020-04-06 Thread Greg Wooledge
On Mon, Apr 06, 2020 at 08:38:58AM +0100, Joe wrote: > I doubt it's that. 9600 is a sort of default these days [...] ... 25 years ago.

Re: Serial Port Issues

2020-04-06 Thread deloptes
to...@tuxteam.de wrote: > What has agetty to do with not being able to access a port? > >> I doubt it's that. 9600 is a sort of default these days, and a serial >> port which could not use it would be of limited use. The XBee radio >> modules, for example, come from the factory running at 9600, t

Re: Serial Port Issues

2020-04-06 Thread tomas
On Mon, Apr 06, 2020 at 08:38:58AM +0100, Joe wrote: > On Mon, 06 Apr 2020 08:53:05 +0200 > deloptes wrote: > > > Chris Rhodin wrote: > > > > > I checked the permissions and group memberships but they're already > > > correct.  I also tried executing at root privilege, no luck. > > > > 'R you

Re: Serial Port Issues

2020-04-06 Thread Joe
On Mon, 06 Apr 2020 08:53:05 +0200 deloptes wrote: > Chris Rhodin wrote: > > > I checked the permissions and group memberships but they're already > > correct.  I also tried executing at root privilege, no luck. > > 'R you sure about the baud rate (9600)? It might be something higher > ... al

Re: Serial Port Issues

2020-04-05 Thread deloptes
Chris Rhodin wrote: > I checked the permissions and group memberships but they're already > correct.  I also tried executing at root privilege, no luck. 'R you sure about the baud rate (9600)? It might be something higher ... also did you setup agetty accordingly?

Re: Serial Port Issues

2020-04-05 Thread Chris Rhodin
to...@tuxteam.de wrote: > Permissions? (they would have to be a bit funny, write but not read, > but hey, it'd be possible). I checked the permissions and group memberships but they're already correct. I also tried executing at root privilege, no luck. Chris

Re: Serial Port Issues

2020-04-05 Thread john doe
On 4/5/2020 3:06 PM, Chris Rhodin wrote: > Hi All, > > I have a rack mount server running a fresh install of Debian buster. On > this system a serial port can only receive data and not transmit. This is > true for both the built in serial port and USB to serial adapters. I'm > testing this with

Re: Serial Port Issues

2020-04-05 Thread deloptes
to...@tuxteam.de wrote: > Permissions? (they would have to be a bit funny, write but not read, > but hey, it'd be possible). definitely, because it is usually read only for the group by default. $ ls -al /dev/ttyS1 crw-rw 1 root dialout 4, 65 Apr 5 11:40 /dev/ttyS1

Re: Serial Port Issues

2020-04-05 Thread songbird
wrote: ... > Permissions? (they would have to be a bit funny, write but not read, > but hey, it'd be possible). that was my first thought too... songbird

Re: Serial Port Issues

2020-04-05 Thread tomas
On Sun, Apr 05, 2020 at 06:06:43AM -0700, Chris Rhodin wrote: > Hi All, > > I have a rack mount server running a fresh install of Debian buster. On > this system a serial port can only receive data and not transmit. This is > true for both the built in serial port and USB to serial adapters. I'

Serial Port Issues

2020-04-05 Thread Chris Rhodin
Hi All, I have a rack mount server running a fresh install of Debian buster. On this system a serial port can only receive data and not transmit. This is true for both the built in serial port and USB to serial adapters. I'm testing this with a loop back cable and the command "minicom --baudrat