Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* serial port /dev/tty00
@ 1994-10-13 15:54 Dick Abraham
  1994-10-14 16:32 ` Peter Sherwood
  0 siblings, 1 reply; 2+ messages in thread
From: Dick Abraham @ 1994-10-13 15:54 UTC (permalink / raw)


We are trying to connect an Altek30 digitizing table to a DEC ALPHA
3000/400 running version OSF/1 ver 2.0b with no success.

What we get appears as jibberish due to the fact that the ascii codes
being received are 128 too big.  I belive the problem is due to the fact
that the serial port is set for 8bit no parity and the digitizing table
is sending 7bit even parity.

I have tried looking everywhere and can not find any information on
reconfiguring the serial port for 7bit even communications.

If anyone can help me out on this I would appreciate it.

Thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: serial port /dev/tty00
  1994-10-13 15:54 serial port /dev/tty00 Dick Abraham
@ 1994-10-14 16:32 ` Peter Sherwood
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Sherwood @ 1994-10-14 16:32 UTC (permalink / raw)


Dick Abraham (abrahad@govonca.gov.on.ca) wrote:
: We are trying to connect an Altek30 digitizing table to a DEC ALPHA
: 3000/400 running version OSF/1 ver 2.0b with no success.

: I have tried looking everywhere and can not find any information on
: reconfiguring the serial port for 7bit even communications.

The serial port (SCC) is a Zilog Z85C30 dual UART. It has 4 byte-width
registers at 1.E010.0000,4 and 1.E018.0000,4. Data is read/written from
byte 1 of these (accessed as longwords. Thus, by checking the Zilog spec
sheet, you can determine whether the serial port is capable of being
configured as you want (almost certainly yes). 

According to the man page, 'stty -parodd' selects even parity, and
'stty parenb' enables parity (OSF/1 v3.0). However, the situation
you describe is parity bit always 1.  You could verify that this is
true by finding at least one each of odd and even-parity bytes in
your input.  And, if so, a simple filter could convert each byte+128
to the correct value.

-----------------------------------------------------------------------------
Peter Sherwood
(617) 332-8880 (voice)
(617) 332-1675 (fax)
gbcacm@ccs.neu.edu
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-10-14 16:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-10-13 15:54 serial port /dev/tty00 Dick Abraham
1994-10-14 16:32 ` Peter Sherwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox