HI There is a good ( although really old ) explanation about this here: http://www.tldp.org/LDP/lkmpg/2.6/html/ http://www.tldp.org/LDP/lkmpg/2.6/html/x569.html Please , just take it as a good ( and really old ) document to read and understand more about the questions you have. Things on the kernel have change a lot ( it was written in 2.6 ) In general you can try to make the experiment of turn on and off a led ( easier than the monitor ) Hope it helps ( at least this web page it was really helpful for me in the beginign ) P.D. do not expect that the source code compile without modifications in the current kernel :) Regards Victor Rodriguez On Sun, Dec 28, 2014 at 12:39 PM, me storage <me.storage126@gmail.com> wrote:
Hi All,
I am following LDD3 for Char Drivers. So we writing a kernel module(char driver) after that creating a char file which is representation of Character Device. So my doubt is how we will communicate with real hardware device let suppose how to communicate with our monitor . Can any one please explain how we will communicate with real hardware for read/write calls? And what is mknod is doing internally when we are creating char/block devices?
Thanks in Advance
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies