You can write a program using the standard calls. First use open(), then write() and read(), just like for any other device (of course, if you support both read and write...).
It depends on your driver if you need to create your file in /dev. In the 2.6 kernel, rather not, but simply check if the file exists.
|