From owner-freebsd-questions Sat Aug 24 13:19:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DA0E37B400 for ; Sat, 24 Aug 2002 13:19:23 -0700 (PDT) Received: from cpath.psinet.cl (cpath.psinet.cl [200.14.80.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id C054D43E6A for ; Sat, 24 Aug 2002 13:19:22 -0700 (PDT) (envelope-from phillip@chile.com) Received: from 233-5-28.dial.terra.cl (200.28.5.233) by cpath.psinet.cl (5.1.056) id 3D2F759D0022B296 for freebsd-questions@FreeBSD.ORG; Sat, 24 Aug 2002 16:19:20 -0400 Subject: using drivers? (serial io) From: Phillip Neumann To: freebsd-questions@FreeBSD.ORG Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 24 Aug 2002 17:25:15 -0400 Message-Id: <1030224321.668.21.camel@jim.morrison.cl> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello ive notice there is sio: "sio - fast interrupt driven asynchronous serial com interface" the way to use these is via /dev/ttyd0 right? so, ive got a program in C proggy that when it gets a SIGUSR1, it reads the device node. now, im missing the part made by the kernel. i wish to make it generate a signal to my user-proccess when it got interrupt from the serial (irq4). is this possible?.. any tips or docs? ive been asking in irc and ppl told me to use poll() or select(), but i really wish to use interrupts. i.e. in DOS, i could directly config the rs232 control regiters, and use setvect. thanks in advance... -- ----------------- Phillip Neumann phillip@chile.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message