From owner-freebsd-hackers Sun Sep 30 8: 9: 4 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.shell-server.com (24-109-11-245.ivideon.com [24.109.11.245]) by hub.freebsd.org (Postfix) with SMTP id CDD8F37B40A for ; Sun, 30 Sep 2001 08:08:53 -0700 (PDT) Received: (qmail 12861 invoked from network); 30 Sep 2001 15:08:53 -0000 Received: from betsy.shell-server.com (HELO there) (192.168.3.2) by erin-rl0.shell-server.com with SMTP; 30 Sep 2001 15:08:53 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Bart Kus Message-Id: <200109301003.06903@EO> To: hackers@freebsd.org Subject: sio modification Date: Sun, 30 Sep 2001 10:10:04 -0500 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I'm wondering about a seemingly simple sio.c modification. The problem stems from me wanting to use this dang remote control receiver, which manipulates the CD line of the serial port it plugs into. Afaik, the UART itself is capable of generating an interrupt whenever CD changes. The problem is, sio.c doesn't support this feature. I'm stuck with polling the status register to find out the state of CD. Not a very good solution for a daemon that's supposed to run in the background all the time, especially since the CD line will be toggled at about 40kHz (I think that's the remote control frequency standard). Perhaps I'm wrong about the 40kHz figure. Anyways, who is in charge of sio.c? Any change I make to it would result in the interface to sio changing, so I think I should collaborate with someone who knows what they're talking about when it comes to sio. --Bart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message