<p dir="ltr">You are not supposed to make the solutions for Eudyptula challenge available to others.</p>
<div class="gmail_quote">On Aug 8, 2014 8:12 AM, &quot;selva&quot; &lt;<a href="mailto:selvabe99@gmail.com">selvabe99@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All<br>
<br>
I have written a usb module which will be linked if any keyboard<br>
is hot plug.<br>
<br>
I follow the step below to make it work<br>
<br>
1) rmmod usbhid<br>
<br>
2) insmod hello.ko<br>
<br>
3) hot plug the keyboard<br>
<br>
when the keyboard is hot plugged my kernel module gets loaded and in<br>
syslog the messages regarding the detection of the keyboard are present.<br>
<br>
My problem is i have to always remove &quot;usbhid&quot;, if i donot that<br>
then &quot;usbhid&quot; module is always linked with the keyboard.<br>
<br>
How to make make sure that my module usb_kbd.ko gets linked to the keyboard<br>
with out removing &quot;usbhid&quot; ?<br>
<br>
My code is present in the following link<br>
<br>
<a href="https://github.com/selvagit/little_penguin/blob/master/task_05/hello.c" target="_blank">https://github.com/selvagit/little_penguin/blob/master/task_05/hello.c</a><br>
<br>
The syslog is present in the following path<br>
<br>
<a href="https://github.com/selvagit/little_penguin/blob/master/task_05/syslog" target="_blank">https://github.com/selvagit/little_penguin/blob/master/task_05/syslog</a><br>
<br>
I had looked at udev rules, but what i have understood is we can set attributes<br>
for the modules but we can not determine which kernel module should be<br>
loaded for<br>
any device.<br>
<br>
Thanks,<br>
Selvaraj<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div>