Yes, you need to create a driver for this special character device.
For linux, I suggest you read the Linux device drivers by Jonathan Corbe, Alessandro Rubini, and Greg Croa-Hartman. (Chapter 3 talks about char drivers, but read at least the first two chapters.)
source
share