On Wed, Jul 15, 2009 at 1:06 PM, Anoop <anoop.chargotra@xxxxxxxxx> wrote:
>>Just curious to know,
>> This is for automatic insertion of the module. But for automatic device node
>> creation 'udev' is needed; am I right here?
>
> Yes, you're right.
Can't we do something in module_init() to create a device node
automatically, whenever a module in inserted.
For simple character drivers which does not belongs to any bus we
can use class_create and friends to generate udev events. Use this information
and modify the udev rules to create nodes automatically.
somebody please correct me if I am wrong
Arun C