Actually, you might find that the job is easier than you think.
I develop and maintain the data acquisition drivers for Linux,
which are fully compatible with RTAI and RTLinux -- that is,
every feature is available from both hard real-time and user
space, simultaneously. (Yes, you can control the analog output
from a real-time task while reading analog inputs at 1 M samples/sec
from user space.)
People looking at the source keep asking me: Where's the real-time
support? When you look at the code, the low level drivers
don't do anything special to work with real-time. It really
comes down to correctly abstracting your low-level driver
interface, and make the mid-layer handle the details of
who is in charge, Linux or real-time. In my observation,
making drivers real-time capable has improved the quality of
non-real-time operation.
from the code browsing that I have done, ALSA is architected
fairly decently, and I wouldn't be surprised if the low level
drivers needed very little modification.
dave...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/