Originally Posted by kewl
I am looking for debugging the g_printer.ko and net2280.ko modules, I understand one way is to put printk messages and see the printk output in using dmesg.
But actually I am searching for a method to get the data recieved at the endpoints so should i put the printk messages and send the data to the device and then capture using dmesg? or is there any other correct way of determining whether data is coming...
ya printk is the best debugging tool to check any type of tool..
at each step use the printk and then see where is the problem is going on ..
Acc to me its best debugging method printk ..
use it at step by step...
definately it will tell the problem...