From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2119 invoked from network); 27 Oct 1998 19:48:34 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 27 Oct 1998 19:48:34 -0000 Received: from zephyr.cybercom.net (zephyr.cybercom.net [209.21.146.100]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA17547 for ; Tue, 27 Oct 1998 14:37:52 -0500 Received: from shell1.cybercom.net (toaster@shell1.cybercom.net [209.21.136.6]) by zephyr.cybercom.net (8.8.7/8.8.7) with ESMTP id OAA12181 for ; Tue, 27 Oct 1998 14:37:50 -0500 (EST) Received: from localhost (toaster@localhost) by shell1.cybercom.net (8.8.5/8.8.5) with SMTP id OAA10194 for ; Tue, 27 Oct 1998 14:37:50 -0500 (EST) Date: Tue, 27 Oct 1998 14:37:50 -0500 (EST) From: Keith Baker To: axp-list@redhat.com Subject: Linux Programming... In-Reply-To: <199810271756.KAA13885@ellpspace.math.ualberta.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I have a basic knowledge of C and C++ programming. What I would like to get is some links/information on interrupts,threads, and parallel ports. I can't even find a way to pause my machine for a certail period of time without doing a loop to slow it down... Where is all of this wonderfull info... I'd like to have a process which "wakes up" every 1/30 of a second or so, does its task which is simple i/o and then goes back to sleep. Oh yeah... one catch... The data to output needs to be shared with another process. Is two seperate processes really the way to go? If not, how do I create this non-linear time based jumping? Should I just go jump off a bridge instead? Do I know to little to attempt thease things? Oh yeah... How do I use the parallel port in linux... I know I could use a setuid root program and ioperm but I'd like to be able to access my device from joe shmoe user... it is a simple box which takes two different inputs... its a small DMX interface (A lighting protocol).. you strobe a pin to make it klisten for dimmer info and strobe another to make it listen for level info... do I need to write a kernel driver for this? If so, what resources should I look at? Keith