Skip to contentSkip to conversation

hi Questiion about Eudyptula Challenge Task 05

DISCUSSION Sudip Mukherjee 4 participants 13 messages Sep 9, 2014 – Sep 10, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

Quoted 89 lines · lx

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.

#2 lore raw
Quoted 1 line · Sudip Mukherjee
Quoted 1 line

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. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140909/0982e909/attachment.bin

#3 lore raw
In reply to Sudip Mukherjee

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

Quoted 110 lines · Sudip Mukherjee

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

Quoted 28 lines · lx

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)
Quoted 8 lines
   {
          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");

Quoted 45 lines
   }

   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"
##########################################################

Quoted 8 lines

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 at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 6 lines
Regards
Jeshwanth Kumar N K
Bangalore, India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140909/279ee001/attachment.html 
#4 lore raw
Quoted 2 lines · Jeshwanth Kumar N K

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. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140909/5b0a5462/attachment-0001.bin

#5 lore raw

Aww, Sorry Sudip ;).

Quoted 8 lines · On Tue, Sep 9, 2014 at 8:56 PM, <[email protected]> wrote:
Quoted 2 lines · Jeshwanth Kumar N K

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. :)

Signature · 6 lines
Regards
Jeshwanth Kumar N K
Bangalore, India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140909/575dd981/attachment.html 
#6 lore raw

Hi Sudip:

I just askyou for help privately, and you CC my mail tokernelnewbies at kernelnewbies.org. <mailto:[email protected]>
So my account have removed........

? 2014/9/9 23:36, Jeshwanth Kumar N K ??:

Quoted 20 lines

Aww, Sorry Sudip ;).

On Tue, Sep 9, 2014 at 8:56 PM, <[email protected] <mailto:[email protected]>> 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. :)

Signature · 3 lines
Regards
Jeshwanth Kumar N K
Bangalore, India
#7 lore raw

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.

Quoted 33 lines · lxgeek

Hi Sudip:

I just askyou for help privately, and you CC my mail
tokernelnewbies at kernelnewbies.org. <mailto:[email protected]

Quoted 1 line

So my account have removed........

? 2014/9/9 23:36, Jeshwanth Kumar N K ??:

Quoted 22 lines

Aww, Sorry Sudip ;).

On Tue, Sep 9, 2014 at 8:56 PM, <[email protected] <mailto:[email protected]>> 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.

Quoted 1 line

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140910/9194bbce/attachment.html

#8 lore raw
Quoted 2 lines · Jeshwanth Kumar N K

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.

Quoted 1 line

thanks jeshwanth. i started feeling guilty after getting the last mail from lxgeek.

Quoted 9 lines

Thanks

Sent from my Android phone with Gmail. Please excuse my brevity.

Quoted 4 lines · lxgeek

Hi Sudip:

I just askyou for help privately, and you CC my mail

tokernelnewbies at kernelnewbies.org. <mailto:[email protected]>

Quoted 4 lines
Quoted 4 lines

So my account have removed........

? 2014/9/9 23:36, Jeshwanth Kumar N K ??:

Quoted 1 line
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Aww, Sorry Sudip ;).

On Tue, Sep 9, 2014 at 8:56 PM, <[email protected] <mailto:[email protected]>> 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.

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line

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. :)

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines

--
Regards
Jeshwanth Kumar N K
Bangalore, India

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140910/811bd0d1/attachment.html

#9 lore raw

It's fine Sudip, learning for everyone.

Sent from my Android phone with Gmail. Please excuse my brevity.

Quoted 32 lines · Sudip Mukherjee
Quoted 2 lines · Jeshwanth Kumar N K

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.

Quoted 1 line

thanks jeshwanth. i started feeling guilty after getting the last mail from lxgeek.

Quoted 9 lines

Thanks

Sent from my Android phone with Gmail. Please excuse my brevity.

Quoted 4 lines · lxgeek

Hi Sudip:

I just askyou for help privately, and you CC my mail

tokernelnewbies at kernelnewbies.org. <mailto:[email protected]

Quoted 10 lines
Quoted 10 lines

So my account have removed........

? 2014/9/9 23:36, Jeshwanth Kumar N K ??:

Quoted 6 lines

Aww, Sorry Sudip ;).

On Tue, Sep 9, 2014 at 8:56 PM, <[email protected] <mailto:[email protected]>> wrote:

Quoted 20 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines · Jeshwanth Kumar N K
Quoted 2 lines

If you have any doubt please ask little only, he will reply for

sure.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

Better not to ask questions in public mailing list.

Which is why I gave a cryptic answer that's totally correct, and

yet

Quoted 11 lines
Quoted 11 lines
Quoted 9 lines

makes no sense unless you already understand the answer. :)

--
Regards
Jeshwanth Kumar N K
Bangalore, India

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140910/6181e982/attachment.html

#10 lore raw

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 ??:

Quoted 64 lines

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" <[email protected] <mailto:[email protected]>> wrote:

    On Sep 10, 2014 7:56 AM, "Jeshwanth Kumar N K"
    <jeshkumar555 at gmail.com <mailto:[email protected]>> 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" <[email protected]
    <mailto:[email protected]>> wrote:
     >>
     >> Hi Sudip:
     >>
     >>                    I just askyou for help privately, and you CC
    my mail tokernelnewbies at kernelnewbies.org
    <mailto:[email protected]>.
    <mailto:[email protected]
    <mailto:[email protected]>>
     >> 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, <[email protected]
    <mailto:[email protected]>
     >>> <mailto:[email protected]
    <mailto:[email protected]>>> 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
     >>
     >>
#11 lore raw

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

Quoted 93 lines · lxgeek

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 ??:

Quoted 65 lines

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" <[email protected] <mailto:[email protected]>> wrote:

    On Sep 10, 2014 7:56 AM, "Jeshwanth Kumar N K"
    <jeshkumar555 at gmail.com <mailto:[email protected]>> 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" <[email protected]
    <mailto:[email protected]>> wrote:
     >>
     >> Hi Sudip:
     >>
     >>                    I just askyou for help privately, and you CC
    my mail tokernelnewbies at kernelnewbies.org
    <mailto:[email protected]>.
    <mailto:[email protected]
    <mailto:[email protected]>>
     >> 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, <[email protected]
    <mailto:[email protected]>
     >>> <mailto:[email protected]
    <mailto:[email protected]>>> 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
     >>
     >>
#12 lore raw

hi:
sorry. I will build a new account and start all over again.

2014-09-10 13:26 GMT+08:00 Sudip Mukherjee <[email protected]>:

Quoted 85 lines

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

Quoted 2 lines · lxgeek

hi Sudip:
I don't think ask privately is wrong. I have read the Little

Penguin

Quoted 18 lines

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.
#####################################################################

Quoted 53 lines

"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 ??:

Quoted 46 lines

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" <[email protected] <mailto:[email protected]>> wrote:

    On Sep 10, 2014 7:56 AM, "Jeshwanth Kumar N K"
    <jeshkumar555 at gmail.com <mailto:[email protected]>> 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" <[email protected]
    <mailto:[email protected]>> wrote:
     >>
     >> Hi Sudip:
     >>
     >>                    I just askyou for help privately, and you CC
    my mail tokernelnewbies at kernelnewbies.org
    <mailto:[email protected]>.
    <mailto:[email protected]
    <mailto:[email protected]>>
     >> 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, <[email protected]
    <mailto:[email protected]>
     >>> <mailto:[email protected]
    <mailto:[email protected]>>> wrote:
     >>>
     >>>     On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K
Quoted 22 lines
Quoted 20 lines · said:
Quoted 19 lines
     >>>
     >>>     > 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
     >>
     >>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140910/11673200/attachment.html

#13 lore raw
In reply to lxgeek
Quoted 4 lines · lxgeek

Hi Sudip:

I just askyou for help privately, and you CC my mail

tokernelnewbies at kernelnewbies.org. <mailto:[email protected]>

Quoted 1 line

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

Quoted 11 lines

? 2014/9/9 23:36, Jeshwanth Kumar N K ??:

Quoted 9 lines

Aww, Sorry Sudip ;).

On Tue, Sep 9, 2014 at 8:56 PM, <[email protected] <mailto:[email protected]>> 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.

Quoted 8 lines
Quoted 8 lines
Quoted 1 line

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. :)

Quoted 6 lines
Quoted 4 lines

--
Regards
Jeshwanth Kumar N K
Bangalore, India

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140910/041bc328/attachment.html