2009-05-06 09:35:06 Problem with the simple driver.
zigma dsp (GERMANY)
Message: 73760
I wrote a simple driver, as mentioned in the driver development in the docs. I am using uClinux-dist-2008R1.5-RC3.
I wrote an application to open and close the driver. Everything got built properly. I used mknod to create the device. The application ran with its printf messages and no error, but I didnt see the kernel messages of printk in the var/log/messages file.
Further, I could not see the device initialization in the kernel boot log. The driver has been built into the kernel and is not a module. Have I done some mistake? How else can I know that the driver APIs were indeed executed?
simple_driver.c
Kconfig
Makefile
Makefile
Kconfig
QuoteReplyEditDelete
2009-05-06 09:48:45 Re: Problem with the simple driver.
Mike Frysinger (UNITED STATES)
Message: 73762
you never called module_init()