You can't use <stdio.h> and it seems that the kernel functions for open,read,write and close are designed for calls from the user space. But I don't know how to do this either. (I wanna write a MIDI device driver for the Yamaha TG100 which can be connected to a serial interface and it seems to be a bad idea to rewrite serial.c for this since there are so many serial interface types.) |