Re: Doubt In Char Drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux