Path: utzoo!attcan!uunet!clyde.concordia.ca!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!hp-pcd!hpfcso!rjn From: rjn@hpfcso.HP.COM (Bob Niland) Newsgroups: comp.sys.hp Subject: Re: RS232 Hardware Handshaking Message-ID: <7370242@hpfcso.HP.COM> Date: 23 Oct 90 15:58:21 GMT References: <429@node17.mecazh.uu.ch> Organization: Hewlett-Packard/FSY Ft.Collins,CO,USA Lines: 107 re: > I was told that no HP serial port does full hardware handshaking ... > bit 3 enables handshaking in one direction only (I don't remember > which one). I would *greatly* appreciate someone telling me that this > isn't true :-) Not true. re: Advanced Serial Driver Date: 23 Oct 90 Here are the things you can control on the 400 #1 and 345/375 serial port with the 7.05 or pre-release 7.0/7.03 driver. Some of this is not yet documented in any published manuals. Contact your HP support representative for a copy of the driver. Have them contact me if they don't have it. Permissions Owner Group Major Minor Last write File name crw--w--w- 1 root crm 1 0x090000 Feb 28 09:39 tty09 crw-rw-rw- 1 root other 1 0x090001 Nov 4 1988 cua09 crw-rw-rw- 1 root other 1 0x090001 Feb 12 14:17 cul09 # # example LP files # crw--w--w- 1 root bin 1 0x0900cc Mar 19 11:44 lp crw-rw-rw- 1 lp bin 1 0x0900cc Mar 1 1989 rlp ^^^^^^^^ | __________________________/ / | V TERMINALS: 0xScPoAc where Sc = card select code (05, 06, 09) Po = port number (98642); 00 for other cards Ac = access type Access type bit fields: AABB CDEF AA = receive fifo trigger level 00 = 1 01 = 4 10 = 8 11 = 14 BB = effective tx fifo size 00 = 12 (16 on all other buffered cards) 01 = 8 10 = 4 11 = 1 AA/BB only on 345/375 built-in port 09, 98628A, 98638A and 98642A C = 0 hardware handshake disabled (CTS/RTS) C = 1 hardware handshake enabled CTS available on all built-in 05, 06, 09, 98626A, 98628A, 98638A and 98642A port 0 RTS available on 345/375/400 built-in 09 D = 0 modem (or modem eliminator) D = 1 direct connect Not supported on 98642A ports 1,2,3 E = 0 US modems E = 1 CCITT mode (for European modem support) Not supported on 98642A ports 1,2,3 F = 0 call-in port F = 1 call-out port (for cu* devices) In addition, UNIX (HP-UX) routinely allows control of the following items. See the termio(7) manual page in the HP-UX Reference Manual for details. speed 19200 baud; line = 0; susp ; dsusp intr = ^C; quit = ^\; erase = ^H; kill = ^U; swtch = ^@ eof = ^D; eol = ^@; min = 4; time = 0; stop = ^S; start = ^Q -parenb -parodd cs8 -cstopb -hupcl cread clocal -loblk -crts -ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc ixon ixany -ixoff -ienqak isig icanon iexten -xcase echo echoe echok -echonl -noflsh opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop Note "ienqak" is ignored on the 300 and 800. # example /etc/inittab entries (don't use both on the same port) # 09:2:respawn:/etc/getty -h tty09 HST 09:2:respawn:/etc/getty -h lp LPH {if using CTS flow control} 09:2:respawn:/etc/getty -h lp LP {if not} # example customized /etc/gettydef entries # The "LP" and "LPH" entry keeps the port properly configure for unspooled I/O. # LP# B19200 SANE CS8 ONLCR CLOCAL IXON IXANY TAB3 OPOST ###LP LPH# B19200 SANE CS8 ONLCR CLOCAL TAB3 OPOST ###LPH HST# B19200 SANE HUPCL CS8 ISTRIP IXON IXOFF # B19200 SANE HUPCL CS8 ISTRIP IXON IXOFF #HST login: #HST # example /usr/lib/uucp/Devices entries (HST modem) # PROG/usr/lib/dialit /dev/ \T \S \P Direct tty09 0 19200 direct Direct cul09 0 19200 direct ACUHP92205A cul09 cua09 19200 hp92205A Regards, Hewlett-Packard Bob Niland 3404 East Harmony Road Internet: rjn@hpfcrjn.FC.HP.COM Fort Collins UUCP: [hplabs|hpu*!hpfcse]!hpfcrjn!rjn CO 80525-9599