Re: hi Questiion about Eudyptula Challenge Task 05
hi, sorry i cant help you with this. the rules of the challenge says "you really should be doing your own work" . i can only say you that I have taken almost one month for this one . I am currently at task 18 and i still think this one was the toughest of all the tasks til now. but after finishing it you will surely say "s**** its this easy .. " .. well .. atleast i said .. :) thanks sudip On Tue, Sep 9, 2014 at 5:45 PM, lx <lxlenovostar@gmail.com> wrote:
hi : I'm confused about Eudyptula Challenge Task 05. Actually, I try two ways. 1. I register a usb driver, but Eudyptula Challange don't think so. ##############################################
#include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/usb.h> #include <linux/usb/input.h> #include <linux/hid.h>
MODULE_AUTHOR("author"); MODULE_DESCRIPTION("lx module\n"); MODULE_LICENSE("GPL");
static struct usb_device_id lx_id_table[] = { { USB_INTERFACE_INFO(USB_INTERFACE_CLASS_HID, USB_INTERFACE_SUBCLASS_BOOT, USB_INTERFACE_PROTOCOL_KEYBOARD) }, { } /* Terminating entry */ };
MODULE_DEVICE_TABLE(usb, lx_id_table);
static int lx_probe(struct usb_interface *interface, const struct usb_device_id *id) { pr_debug("LxModule: USB keyboard probe function called\n"); return 0; }
static void lx_disconnect(struct usb_interface *interface) { pr_debug("LxModule: USB keyboard disconnect function called\n"); }
static struct usb_driver lx_driver = { .name = "lx_driver", .probe = lx_probe, .disconnect = lx_disconnect, .id_table = lx_id_table };
################################################
But the Eudyptula Challenge receiving message is: ############################################### * This structure is not needed.*
##############################################
2. I use the udev rule, I create a hello.sh in /lib/udev with: ########################################################## sudo -H gedit /lib/udev/hello.sh ##########################################################
And the contents is: ########################################################## #!/bin/bash
sudo -H insmod /opt/task_01.ko ########################################################## This command let module of task_01 run.
Save the file,close it and make it executable with: ########################################################## chmod +x /lib/udev/hello.sh ##########################################################
Add a new rule in my /etc/udev/rules.d/01-my-first-udev.rules file like this: ######################################################### ACTION=="add", RUN+="/lib/udev/hello.sh" ##########################################################
But the Eudyptula Challenge receiving message is: ################################
No new udev rule is needed. #########################################
So, which basics I should read and understand ? Thank you.
On Tue, 09 Sep 2014 17:46:33 +0530, Sudip Mukherjee said:
No new udev rule is needed.
If you truly understood the point of task 5, this is all the clue you need to fix it. And that's all the hint I'm giving on this one. :)
Hi Sudip, If you have any doubt please ask little only, he will reply for sure. Better not to ask questions in public mailing list. Thanks On Tue, Sep 9, 2014 at 5:46 PM, Sudip Mukherjee <sudipm.mukherjee@gmail.com> wrote:
hi, sorry i cant help you with this. the rules of the challenge says "you really should be doing your own work" . i can only say you that I have taken almost one month for this one . I am currently at task 18 and i still think this one was the toughest of all the tasks til now. but after finishing it you will surely say "s**** its this easy .. " .. well .. atleast i said .. :)
thanks sudip
On Tue, Sep 9, 2014 at 5:45 PM, lx <lxlenovostar@gmail.com> wrote:
hi : I'm confused about Eudyptula Challenge Task 05. Actually, I try two ways. 1. I register a usb driver, but Eudyptula Challange don't think so. ##############################################
#include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/usb.h> #include <linux/usb/input.h> #include <linux/hid.h>
MODULE_AUTHOR("author"); MODULE_DESCRIPTION("lx module\n"); MODULE_LICENSE("GPL");
static struct usb_device_id lx_id_table[] = { { USB_INTERFACE_INFO(USB_INTERFACE_CLASS_HID, USB_INTERFACE_SUBCLASS_BOOT, USB_INTERFACE_PROTOCOL_KEYBOARD) }, { } /* Terminating entry */ };
MODULE_DEVICE_TABLE(usb, lx_id_table);
static int lx_probe(struct usb_interface *interface, const struct usb_device_id *id) { pr_debug("LxModule: USB keyboard probe function called\n"); return 0; }
static void lx_disconnect(struct usb_interface *interface) { pr_debug("LxModule: USB keyboard disconnect function called\n"); }
static struct usb_driver lx_driver = { .name = "lx_driver", .probe = lx_probe, .disconnect = lx_disconnect, .id_table = lx_id_table };
################################################
But the Eudyptula Challenge receiving message is: ############################################### * This structure is not needed.*
##############################################
2. I use the udev rule, I create a hello.sh in /lib/udev with: ########################################################## sudo -H gedit /lib/udev/hello.sh ##########################################################
And the contents is: ########################################################## #!/bin/bash
sudo -H insmod /opt/task_01.ko ########################################################## This command let module of task_01 run.
Save the file,close it and make it executable with: ########################################################## chmod +x /lib/udev/hello.sh ##########################################################
Add a new rule in my /etc/udev/rules.d/01-my-first-udev.rules file like this: ######################################################### ACTION=="add", RUN+="/lib/udev/hello.sh" ##########################################################
But the Eudyptula Challenge receiving message is: ################################
No new udev rule is needed. #########################################
So, which basics I should read and understand ? Thank you.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards Jeshwanth Kumar N K Bangalore, India
On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K said:
If you have any doubt please ask little only, he will reply for sure. Better not to ask questions in public mailing list.
Which is why I gave a cryptic answer that's totally correct, and yet makes no sense unless you already understand the answer. :)
Aww, Sorry Sudip ;). On Tue, Sep 9, 2014 at 8:56 PM, <Valdis.Kletnieks@vt.edu> wrote:
On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K said:
If you have any doubt please ask little only, he will reply for sure. Better not to ask questions in public mailing list.
Which is why I gave a cryptic answer that's totally correct, and yet makes no sense unless you already understand the answer. :)
-- Regards Jeshwanth Kumar N K Bangalore, India
Hi Sudip: I just askyou for help privately, and you CC my mail tokernelnewbies@kernelnewbies.org. <mailto:kernelnewbies@kernelnewbies.org> So my account have removed........ 在 2014/9/9 23:36, Jeshwanth Kumar N K 写道:
Aww, Sorry Sudip ;).
On Tue, Sep 9, 2014 at 8:56 PM, <Valdis.Kletnieks@vt.edu <mailto:Valdis.Kletnieks@vt.edu>> wrote:
On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K said:
> If you have any doubt please ask little only, he will reply for sure. > Better not to ask questions in public mailing list.
Which is why I gave a cryptic answer that's totally correct, and yet makes no sense unless you already understand the answer. :)
-- Regards Jeshwanth Kumar N K Bangalore, India
Expected, may be learning for all who working on eudyptula challenge. If you have any doubt please ask Little directly. He will definitely clear your doubts. Thanks Sent from my Android phone with Gmail. Please excuse my brevity. On 10-Sep-2014 7:07 am, "lxgeek" <lxlenovostar@gmail.com> wrote:
Hi Sudip:
I just askyou for help privately, and you CC my mail tokernelnewbies@kernelnewbies.org. <mailto:kernelnewbies@kernelnewbies.org
So my account have removed........
在 2014/9/9 23:36, Jeshwanth Kumar N K 写道:
Aww, Sorry Sudip ;).
On Tue, Sep 9, 2014 at 8:56 PM, <Valdis.Kletnieks@vt.edu <mailto:Valdis.Kletnieks@vt.edu>> wrote:
On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K said:
> If you have any doubt please ask little only, he will reply for sure. > Better not to ask questions in public mailing list.
Which is why I gave a cryptic answer that's totally correct, and yet makes no sense unless you already understand the answer. :)
-- Regards Jeshwanth Kumar N K Bangalore, India
On Sep 10, 2014 7:56 AM, "Jeshwanth Kumar N K" <jeshkumar555@gmail.com> wrote:
Expected, may be learning for all who working on eudyptula challenge. If
you have any doubt please ask Little directly. He will definitely clear your doubts.
thanks jeshwanth. i started feeling guilty after getting the last mail from lxgeek.
Thanks
Sent from my Android phone with Gmail. Please excuse my brevity.
On 10-Sep-2014 7:07 am, "lxgeek" <lxlenovostar@gmail.com> wrote:
Hi Sudip:
I just askyou for help privately, and you CC my mail
tokernelnewbies@kernelnewbies.org. <mailto:kernelnewbies@kernelnewbies.org>
So my account have removed........
在 2014/9/9 23:36, Jeshwanth Kumar N K 写道:
Aww, Sorry Sudip ;).
On Tue, Sep 9, 2014 at 8:56 PM, <Valdis.Kletnieks@vt.edu <mailto:Valdis.Kletnieks@vt.edu>> wrote:
On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K said:
> If you have any doubt please ask little only, he will reply for
sure.
> Better not to ask questions in public mailing list.
Which is why I gave a cryptic answer that's totally correct, and yet makes no sense unless you already understand the answer. :)
-- Regards Jeshwanth Kumar N K Bangalore, India
It's fine Sudip, learning for everyone. Sent from my Android phone with Gmail. Please excuse my brevity. On 10-Sep-2014 8:10 am, "Sudip Mukherjee" <sudipm.mukherjee@gmail.com> wrote:
On Sep 10, 2014 7:56 AM, "Jeshwanth Kumar N K" <jeshkumar555@gmail.com> wrote:
Expected, may be learning for all who working on eudyptula challenge.
If you have any doubt please ask Little directly. He will definitely clear your doubts.
thanks jeshwanth. i started feeling guilty after getting the last mail from lxgeek.
Thanks
Sent from my Android phone with Gmail. Please excuse my brevity.
On 10-Sep-2014 7:07 am, "lxgeek" <lxlenovostar@gmail.com> wrote:
Hi Sudip:
I just askyou for help privately, and you CC my mail
tokernelnewbies@kernelnewbies.org. <mailto:kernelnewbies@kernelnewbies.org
So my account have removed........
在 2014/9/9 23:36, Jeshwanth Kumar N K 写道:
Aww, Sorry Sudip ;).
On Tue, Sep 9, 2014 at 8:56 PM, <Valdis.Kletnieks@vt.edu <mailto:Valdis.Kletnieks@vt.edu>> wrote:
On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K said:
> If you have any doubt please ask little only, he will reply for
sure.
> Better not to ask questions in public mailing list.
Which is why I gave a cryptic answer that's totally correct, and
yet
makes no sense unless you already understand the answer. :)
-- Regards Jeshwanth Kumar N K Bangalore, India
hi Sudip: I don't think ask privately is wrong. I have read the Little Penguin Email of "Eudyptula Challenge Status report, August 2014". ##################################################################### Welcome to the semi-irregular update from the Eudyptula Challenge. tl;dr - If you have public repos with code from the challenge, delete it now, or your account will be removed. - Things are going to slow down again for a few weeks. - Send me quotes for my LinuxCon talk First off, the bad things. As the number of people taking the challenge has increased, so has the number of people doing things that are against the rules of the challenge. Primarily this includes things such as: - asking questions about challenge tasks in public places (kernelnewbies, stackexchange, etc.) - posting answers to tasks online on github and the like. ##################################################################### "asking questions about challenge tasks in public places" is wrong. In a word, never mind. I will build a new account. 在 2014/9/10 11:32, Jeshwanth Kumar N K 写道:
It's fine Sudip, learning for everyone.
Sent from my Android phone with Gmail. Please excuse my brevity.
On 10-Sep-2014 8:10 am, "Sudip Mukherjee" <sudipm.mukherjee@gmail.com <mailto:sudipm.mukherjee@gmail.com>> wrote:
On Sep 10, 2014 7:56 AM, "Jeshwanth Kumar N K" <jeshkumar555@gmail.com <mailto:jeshkumar555@gmail.com>> wrote: > > Expected, may be learning for all who working on eudyptula challenge. If you have any doubt please ask Little directly. He will definitely clear your doubts. >
thanks jeshwanth. i started feeling guilty after getting the last mail from lxgeek.
> Thanks > > Sent from my Android phone with Gmail. Please excuse my brevity. > > On 10-Sep-2014 7:07 am, "lxgeek" <lxlenovostar@gmail.com <mailto:lxlenovostar@gmail.com>> wrote: >> >> Hi Sudip: >> >> I just askyou for help privately, and you CC my mail tokernelnewbies@kernelnewbies.org <mailto:tokernelnewbies@kernelnewbies.org>. <mailto:kernelnewbies@kernelnewbies.org <mailto:kernelnewbies@kernelnewbies.org>> >> So my account have removed........ >> >> 在 2014/9/9 23:36, Jeshwanth Kumar N K 写道: >>> >>> Aww, Sorry Sudip ;). >>> >>> On Tue, Sep 9, 2014 at 8:56 PM, <Valdis.Kletnieks@vt.edu <mailto:Valdis.Kletnieks@vt.edu> >>> <mailto:Valdis.Kletnieks@vt.edu <mailto:Valdis.Kletnieks@vt.edu>>> wrote: >>> >>> On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K said: >>> >>> > If you have any doubt please ask little only, he will reply for sure. >>> > Better not to ask questions in public mailing list. >>> >>> Which is why I gave a cryptic answer that's totally correct, and yet >>> makes no sense unless you already understand the answer. :) >>> >>> >>> >>> >>> -- >>> Regards >>> Jeshwanth Kumar N K >>> Bangalore, India >> >>
hi, please dont take me wrong . i dont have anything personal against you. I would have gladly helped you if this was not part of the challenge task. And since little has removed your account , that means asking privately is also not allowed. sudip On Wed, Sep 10, 2014 at 9:16 AM, lxgeek <lxlenovostar@gmail.com> wrote:
hi Sudip: I don't think ask privately is wrong. I have read the Little Penguin Email of "Eudyptula Challenge Status report, August 2014". ##################################################################### Welcome to the semi-irregular update from the Eudyptula Challenge.
tl;dr - If you have public repos with code from the challenge, delete it now, or your account will be removed. - Things are going to slow down again for a few weeks. - Send me quotes for my LinuxCon talk
First off, the bad things. As the number of people taking the challenge has increased, so has the number of people doing things that are against the rules of the challenge. Primarily this includes things such as: - asking questions about challenge tasks in public places (kernelnewbies, stackexchange, etc.) - posting answers to tasks online on github and the like. #####################################################################
"asking questions about challenge tasks in public places" is wrong. In a word, never mind. I will build a new account.
在 2014/9/10 11:32, Jeshwanth Kumar N K 写道:
It's fine Sudip, learning for everyone.
Sent from my Android phone with Gmail. Please excuse my brevity.
On 10-Sep-2014 8:10 am, "Sudip Mukherjee" <sudipm.mukherjee@gmail.com <mailto:sudipm.mukherjee@gmail.com>> wrote:
On Sep 10, 2014 7:56 AM, "Jeshwanth Kumar N K" <jeshkumar555@gmail.com <mailto:jeshkumar555@gmail.com>> wrote: > > Expected, may be learning for all who working on eudyptula challenge. If you have any doubt please ask Little directly. He will definitely clear your doubts. >
thanks jeshwanth. i started feeling guilty after getting the last mail from lxgeek.
> Thanks > > Sent from my Android phone with Gmail. Please excuse my brevity. > > On 10-Sep-2014 7:07 am, "lxgeek" <lxlenovostar@gmail.com <mailto:lxlenovostar@gmail.com>> wrote: >> >> Hi Sudip: >> >> I just askyou for help privately, and you CC my mail tokernelnewbies@kernelnewbies.org <mailto:tokernelnewbies@kernelnewbies.org>. <mailto:kernelnewbies@kernelnewbies.org <mailto:kernelnewbies@kernelnewbies.org>> >> So my account have removed........ >> >> 在 2014/9/9 23:36, Jeshwanth Kumar N K 写道: >>> >>> Aww, Sorry Sudip ;). >>> >>> On Tue, Sep 9, 2014 at 8:56 PM, <Valdis.Kletnieks@vt.edu <mailto:Valdis.Kletnieks@vt.edu> >>> <mailto:Valdis.Kletnieks@vt.edu <mailto:Valdis.Kletnieks@vt.edu>>> wrote: >>> >>> On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K said: >>> >>> > If you have any doubt please ask little only, he will reply for sure. >>> > Better not to ask questions in public mailing list. >>> >>> Which is why I gave a cryptic answer that's totally correct, and yet >>> makes no sense unless you already understand the answer. :) >>> >>> >>> >>> >>> -- >>> Regards >>> Jeshwanth Kumar N K >>> Bangalore, India >> >>
hi: sorry. I will build a new account and start all over again. 2014-09-10 13:26 GMT+08:00 Sudip Mukherjee <sudipm.mukherjee@gmail.com>:
hi, please dont take me wrong . i dont have anything personal against you. I would have gladly helped you if this was not part of the challenge task. And since little has removed your account , that means asking privately is also not allowed.
sudip
On Wed, Sep 10, 2014 at 9:16 AM, lxgeek <lxlenovostar@gmail.com> wrote:
hi Sudip: I don't think ask privately is wrong. I have read the Little Penguin Email of "Eudyptula Challenge Status report, August 2014". ##################################################################### Welcome to the semi-irregular update from the Eudyptula Challenge.
tl;dr - If you have public repos with code from the challenge, delete it now, or your account will be removed. - Things are going to slow down again for a few weeks. - Send me quotes for my LinuxCon talk
First off, the bad things. As the number of people taking the challenge has increased, so has the number of people doing things that are against the rules of the challenge. Primarily this includes things such as: - asking questions about challenge tasks in public places (kernelnewbies, stackexchange, etc.) - posting answers to tasks online on github and the like. #####################################################################
"asking questions about challenge tasks in public places" is wrong. In a word, never mind. I will build a new account.
在 2014/9/10 11:32, Jeshwanth Kumar N K 写道:
It's fine Sudip, learning for everyone.
Sent from my Android phone with Gmail. Please excuse my brevity.
On 10-Sep-2014 8:10 am, "Sudip Mukherjee" <sudipm.mukherjee@gmail.com <mailto:sudipm.mukherjee@gmail.com>> wrote:
On Sep 10, 2014 7:56 AM, "Jeshwanth Kumar N K" <jeshkumar555@gmail.com <mailto:jeshkumar555@gmail.com>> wrote: > > Expected, may be learning for all who working on eudyptula challenge. If you have any doubt please ask Little directly. He will definitely clear your doubts. >
thanks jeshwanth. i started feeling guilty after getting the last mail from lxgeek.
> Thanks > > Sent from my Android phone with Gmail. Please excuse my brevity. > > On 10-Sep-2014 7:07 am, "lxgeek" <lxlenovostar@gmail.com <mailto:lxlenovostar@gmail.com>> wrote: >> >> Hi Sudip: >> >> I just askyou for help privately, and you CC my mail tokernelnewbies@kernelnewbies.org <mailto:tokernelnewbies@kernelnewbies.org>. <mailto:kernelnewbies@kernelnewbies.org <mailto:kernelnewbies@kernelnewbies.org>> >> So my account have removed........ >> >> 在 2014/9/9 23:36, Jeshwanth Kumar N K 写道: >>> >>> Aww, Sorry Sudip ;). >>> >>> On Tue, Sep 9, 2014 at 8:56 PM, <Valdis.Kletnieks@vt.edu <mailto:Valdis.Kletnieks@vt.edu> >>> <mailto:Valdis.Kletnieks@vt.edu <mailto:Valdis.Kletnieks@vt.edu>>> wrote: >>> >>> On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K
said:
>>> >>> > If you have any doubt please ask little only, he will reply for sure. >>> > Better not to ask questions in public mailing list. >>> >>> Which is why I gave a cryptic answer that's totally correct, and yet >>> makes no sense unless you already understand the answer. :) >>> >>> >>> >>> >>> -- >>> Regards >>> Jeshwanth Kumar N K >>> Bangalore, India >> >>
On Sep 10, 2014 7:07 AM, "lxgeek" <lxlenovostar@gmail.com> wrote:
Hi Sudip:
I just askyou for help privately, and you CC my mail
tokernelnewbies@kernelnewbies.org. <mailto:kernelnewbies@kernelnewbies.org>
So my account have removed........
hi i am really sorry if i have done something wrong. but asking for help privately or publicly is against the rule of the challenge. you can ask little for hint. and he actually has already given you the hint that he gave me. sudip
在 2014/9/9 23:36, Jeshwanth Kumar N K 写道:
Aww, Sorry Sudip ;).
On Tue, Sep 9, 2014 at 8:56 PM, <Valdis.Kletnieks@vt.edu <mailto:Valdis.Kletnieks@vt.edu>> wrote:
On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K said:
> If you have any doubt please ask little only, he will reply for
sure.
> Better not to ask questions in public mailing list.
Which is why I gave a cryptic answer that's totally correct, and yet makes no sense unless you already understand the answer. :)
-- Regards Jeshwanth Kumar N K Bangalore, India
participants (5)
-
Jeshwanth Kumar N K -
lx -
lxgeek -
Sudip Mukherjee -
Valdis.Kletnieks@vt.edu