help for char device driver
Hi,
Can any one give an idea on Linux device file modal?
I am facing a weird problem with one of the device driver. I compiled and build the driver successfully and got *.ko file. I used "mknod /dev/filename type major number" command and created a device file in /dev directory. then i wrote an application to open the device file and executed it.
I get an error message "No device or file with "filename". in /dev
can any one suggest where i am going wrong. I read about udev and hotplugging etc., but i want this device driver to load statically. when i try to open some other device driver like "Console" using the same application it is executing successfully.
thanks and regards
kiran
|