Re: Sparc classic serial ports ttya vs cuaa

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Carver
Date: Monday, March 22, 2010 - 8:55 am

Alexander Carver wrote:

Compile is complete (finally) and the patch seemed to work for partially 
enabling the /dev/cua* devices.  I was able to open one with minicom and 
read data from the port.

However, when I'm using ldattach it just sits there.  Running the following:

ldattach -d -p -s 19200 nmea /dev/cuaa

just sits, it never returns a PTY but it never errors out, either.  It 
just sits and sits until I terminate it.

If I change the device to ttya:

ldattach -d -p -s 19200 nmea /dev/ttya

then ldattach returns the PTY and opens the port at the proper speed and 
data does pass through from the port to the PTY.

So I don't understand why ldattach is having an issue with /dev/cua* but 
appears to work wtih /dev/tty*.

I say appears to work because the handshake lines aren't being reported 
by ldattach either.  I want to use the DCD line for sending PPS data 
from the gps on that port but those transitions aren't being conveyed by 
ldattach at all.  I am suspecting it has to do with having opened 
/dev/ttya instead of /dev/cuaa which means I need to still resolve the 
ttya/cuaa issue.

Any suggestions would be greatly appreciated.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Sparc classic serial ports ttya vs cuaa, Alex Carver, (Mon Feb 22, 9:49 pm)
Re: Sparc classic serial ports ttya vs cuaa, Henning Brauer, (Tue Feb 23, 9:20 am)
Re: Sparc classic serial ports ttya vs cuaa, Mattieu Baptiste, (Tue Feb 23, 9:37 am)
Re: Sparc classic serial ports ttya vs cuaa, Alexander Carver, (Tue Feb 23, 1:42 pm)
Re: Sparc classic serial ports ttya vs cuaa, Alexander Carver, (Tue Feb 23, 1:45 pm)
Re: Sparc classic serial ports ttya vs cuaa, Alexander Carver, (Tue Feb 23, 7:43 pm)
Re: Sparc classic serial ports ttya vs cuaa, Henning Brauer, (Wed Feb 24, 12:35 am)
Re: Sparc classic serial ports ttya vs cuaa, Miod Vallat, (Fri Feb 26, 4:34 am)
Re: Sparc classic serial ports ttya vs cuaa, Alexander Carver, (Sat Feb 27, 8:21 pm)
Re: Sparc classic serial ports ttya vs cuaa, Alexander Carver, (Sun Mar 21, 5:02 pm)
Re: Sparc classic serial ports ttya vs cuaa, Alex Carver, (Sun Mar 21, 5:03 pm)
Re: Sparc classic serial ports ttya vs cuaa, Alex Carver, (Mon Mar 22, 8:55 am)