Re: [vox-tech] Driver Question

2003-09-14 Thread Mark K. Kim
I think I understood it correctly but I wasn't sure exactly how to do it so I was just giving you some pointers. Anyway, I'm sorta interested in this too so I poked around a bit some more. Looks like the easiest technique is to: (1) Trap SIGIO signal using signal() system call. (2) fcntl(f

Re: [vox-tech] Driver Question

2003-09-14 Thread John Wojnaroski
I think I may have mis-stated the problem, my apologies. I'll try again... In this case the app is a real-time simulation and the hardware provides a user interface for entering data and a set of switch states. Most of the time the driver will interact with the hardware updating displays, states,

Re: [vox-tech] Driver Question

2003-09-14 Thread Mark K. Kim
Oops. I got the system call names mixed up. But do look at "select" and "poll" system calls as I think they might be useful to you. As for setting the non-blocking mode on file descriptors, use "fcntl" and "ioctl" system calls. And when I said "block", i meant the "read" system call blocks if n

Re: [vox-tech] Driver Question

2003-09-14 Thread Mark K. Kim
The app is supposed to block ("freeze") if the data hasn't been read by the driver. It stays blocked ("frozen") until the data is available. The app can choose to not block in such situation, by using the "select" or "poll" system call. If the file descriptor is set to non-blocking mode, and if

[vox-tech] Driver Question

2003-09-14 Thread John Wojnaroski
Hi, Building a driver for a hardware board and things are looking good... Using the O'Reilly book by Rubini and Corbet as a guide, but have a bit of a question?? The driver is interrupt driven when the board posts data to the port and that works fine. Data is retreived and stored in kernel space

[vox-tech] Re: vox-tech digest, Vol 1 #878 - 4 msgs

2003-09-14 Thread David Siedband
Hi Dave, Looks like you got the info you needed for the Debian install. As far as a BSD, If you like the Slackware ground-up approach to building a system I would recommend checking out FreeBSD. One of the things I really like about Debian is how apt-get handles all the dependencies for you.

[vox-tech] Hardware Fault on Mandrake System?

2003-09-14 Thread Marc Elliot Hall
The situation is this: I have a Mandrake 9.1 system with the stock kernel running on an EPIA mini-ITX mainboard with an 800MHz VIA CPU (Ezra) and 512 MB of RAM. Other than the motherboard, PSU, and a pair of cooling fans, the only things in the box are the mass storage devices: * /dev/hda