EmbLogic's Blog

initialising character driver

Simple Algorithm to initialise a Scull

1->Register device

2->Give memory to scull device

3->Set this memory to NULL using memset

4->After this initialise device

5->Get device status

->>Use Insmod to add to kernel

->>Use rmmod to remove from kernel

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>