[Ilugc] Help required in kernel module development

  • From: selvabe99@xxxxxxxxx (selva)
  • Date: Wed, 23 Jul 2014 08:19:24 +0530

Hi All,

I am working on the task 05 of the "Eudyptula Challenge" where i have
to write a kernel module which gets invoked when keyboard is plugged
into the usb.

When i plug in the keyboard, the kernel is reporting keyboard but my
module is not getting loaded.

The kernel iam using for testing is 3.15 and my module design is based
on the following article
http://www.opensourceforu.com/2011/10/usb-drivers-in-linux-1/

In the article "cat /proc/bus/usb/devices" is executed to find which
kernel module is for a particular device , but the kernel i had built
did not show any such path.

I had added a udev rule but that too did not help. I tried using
strace still i was not able to identify the problem.

I would like to know what steps should i follow to debug this issue
and module code is present in the following link

https://github.com/selvagit/little_penguin/blob/master/task_05/hello.c

Thanks,
Selvaraj

Other related posts: