USB to ethernet adapter driver issue

Hi ,
I am creating trendent USB to ethernet adapter driver, there is already driver. so when I insert the device its calling
original driver. I removed that driver using rmmod . so that my driver probe gets called.
but now it hangs. no reason.

Thanks
Sridhar

I suspect there is something wrong with your driver code causing a lockup. You could wait for a minute or two and the kernel should notice the lockup and panic (producing some debug info). If not then you should try adding diagnostics messages into your driver and watching the serial console for kernel messages. Finally if you still aren’t getting any useful info then I would try commenting out almost all of your driver code and adding it back in to see where its locking up…

There are also lots of resources on the Internet about “linux kernel debugging” which a search engine should help you find… :slight_smile: