How to add teh device to /dev in linux

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

 



Hi all,
I have written a driver and compile it as a seperate module and then inserted in the kernel usijng insmod commnad. And after that used "mknod /dev/test c 234 0" to create the device in /dev folder.
But I want to implement this driver as a part of kernel , How can i register the device in the /dev/ directory. I have tried devfs_register_chardevv function and also tried misc_register_de..... function but not getting the device name in /dev folder. Can anyone suggest me how to do it?
 
Thansk in advnace....
rakesh

[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