From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5d386e94f2d8bbf2 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-16 05:12:40 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!pipex!uunet!noc.near.net!chaos.dac.neu.edu!narnia.ccs.neu.edu!gbcacm From: gbcacm@ccs.neu.edu (Peter Sherwood) Newsgroups: comp.unix.osf.osf1 Subject: Re: serial port /dev/tty00 Date: 14 Oct 1994 16:32:30 GMT Organization: College of Computer Science, Northeastern University. Message-ID: <37mbqu$m6n@narnia.ccs.neu.edu> References: <1994Oct13.155407.22928@govonca.gov.on.ca> NNTP-Posting-Host: denali.ccs.neu.edu X-Newsreader: TIN [version 1.2 PL2] 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 -----------------------------------------------------------------------------