Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2006 21:44:18 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Is showing all attributes for RS232 port possible in FreeBSD?
Message-ID:  <20060422114418.GD720@turion.vk2pj.dyndns.org>
In-Reply-To: <4B29E098-F409-490F-86F1-380CFE1165FC@u.washington.edu>
References:  <4B29E098-F409-490F-86F1-380CFE1165FC@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2006-Apr-22 04:28:30 -0700, Garrett Cooper wrote:
>	I was just wondering if there was any way where I could program with 
>C, such that I could view information regarding the extra pins on a  
>DB9 serial port other than just TXD and RXD, ie the DTS, CD, CTS,...  
>etc ports.

Look in tty(4), specifically TIOCMSET, TIOCMGET, TIOCMBIS, TIOCMBIC.

-- 
Peter Jeremy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060422114418.GD720>