**** BEGIN LOGGING AT Wed Jun 06 03:00:11 2018 Jun 06 06:36:01 Hi Wormo . zeekhuge , abhishek_ ! Did you have a look at the code. What should I proceed with next? Jun 06 06:52:57 hello team formerly-known-as-pypruss Jun 06 06:53:07 just getting a look at the latest Jun 06 07:04:40 zeekhuge abhishek_[m] here too? Jun 06 07:08:08 muneeb17: how did you test the bindings ? Jun 06 07:08:31 did you try to implement some examples ? Jun 06 07:08:34 Wormo: yeah .. kind of .. Jun 06 07:09:05 zeekhuge: yeah, the rpmsg echo, blinky and pin state reader examples from beaglescope Jun 06 07:09:54 are they pushed somewhere yet, muneeb17[m] ? Jun 06 07:10:21 Wormo: you mean the firmware or the test script? Jun 06 07:10:30 test script Jun 06 07:10:56 where you used your bindings to load, send messages, etc Jun 06 07:11:07 muneeb17: and we have this exact interface - https://github.com/MuneebMohammed/PRUSS-Bindings/tree/master/Documentation Jun 06 07:11:31 Wormo: Those were pretty basic, so i tested them in the python shell itself.. will push it in some time.. Jun 06 07:11:47 zeekhuge: yes, except the memory functions Jun 06 07:12:12 ok Jun 06 07:12:40 muneeb17: so the daemon polls on the rpmsg channel ? Jun 06 07:13:01 zeekhuge: yes Jun 06 07:13:59 zeekhuge: here - https://github.com/MuneebMohammed/PRUSS-Bindings/blob/940e0770e29856602e21d7a4fc1965c8d65955d3/prussd/prudaemon.py#L197 Jun 06 07:16:06 https://github.com/MuneebMohammed/PRUSS-Bindings/blob/master/cpp-bindings/pruss.cpp Jun 06 07:16:06 I mean .. this kind of code style is okay too .. But maybe I would have loved the more .. ah ... organized kind of approach. Like literally creating classes (using the `class` keyword) with member methods and all. Jun 06 07:16:07 Also, all the socket methods should be private. Jun 06 07:17:58 Infact the class itself should be private. Jun 06 07:18:03 zeekhuge: Like more C-style you mean? Jun 06 07:18:03 i.e invisible to others Jun 06 07:18:09 :s/class/socket class/ Jun 06 07:18:23 opposite, more object style Jun 06 07:19:06 muneeb17: C has classes ? Jun 06 07:19:14 yeah ! more object style ! Jun 06 07:20:12 zeekhuge: no.. just thought that you mean using object pointers and like that Jun 06 07:21:53 muneeb17: is it necesarry that the channel name will have "rpmsg_pru" as a prefix ? Jun 06 07:21:59 Wormo: here now Jun 06 07:22:21 muneeb17: Add timeout capabilities there https://github.com/MuneebMohammed/PRUSS-Bindings/blob/940e0770e29856602e21d7a4fc1965c8d65955d3/prussd/prudaemon.py#L201 Jun 06 07:22:23 zeekhuge: Yeah, I saw that giving the name probes the rpmsg driver so.. Jun 06 07:23:21 muneeb17: So, if the daemon is look at channel-1, it will basically miss any other thing ? Jun 06 07:23:38 zeekhuge: It does have a timeout, if the third argument is specified (len==3) Jun 06 07:23:38 Looks like it needs to be multi-threaded. Jun 06 07:23:54 I remember there was some conversation on it, but if you think other things are done, then maybe look into making it multi-threaded Jun 06 07:24:07 zeekhuge: yeah, i discussed that with Wormo one day Jun 06 07:24:23 it was my suggestion to get some actually working examples without the extra thread that would eventually be needed Jun 06 07:25:10 that's how I tend to do things, get the simple version working well with the threaded one in mind if needed Jun 06 07:26:31 I agree for more examples. Jun 06 07:26:49 Propose some kind of code lab or interactive walkthrough per project Jun 06 07:26:58 I would like to see actual useful examples, and yes what he said Jun 06 07:27:18 and then we can run through it with newbie hats on as much as possible :) Jun 06 07:27:20 Can use the wiki for that, or maybe any other platform to host it. Jun 06 07:28:00 Can it be done through the Cloud9 IDE that ships with the BeagleBone images? Jun 06 07:28:40 Yeah ! more examples. Jun 06 07:29:30 but, its not a good idea to stall work and ask for further steps, If you feel there is "NOTHING MORE TO BE DONE" do the threading thing. Thats what I meant .. Jun 06 07:29:39 Anyway .. Jun 06 07:29:46 muneeb17: https://github.com/ZeekHuge/BeagleScope/blob/port_to_4.4.12-ti-r31%2B/examples/kernel_examples/n-blinky/module/rpmsg_pru_parallel_example.c#L235 Jun 06 07:29:47 look here . Jun 06 07:30:35 when this string matches with - https://github.com/ZeekHuge/BeagleScope/blob/port_to_4.4.12-ti-r31%2B/examples/kernel_examples/n-blinky/firmware/main_pru1.c#L65 Jun 06 07:30:39 The driver gets probed Jun 06 07:30:55 And that is the channel name Jun 06 07:31:11 https://github.com/ZeekHuge/BeagleScope/tree/port_to_4.4.12-ti-r31%2B/examples#-n-blinky Jun 06 07:31:14 last line there . Jun 06 07:31:22 $ echo 3 > /dev/rpmsg_pru_parallel_example Jun 06 07:31:46 hence, no "rpmsg_pru" as prefix is not strictly required Jun 06 07:32:30 you can set any name Jun 06 07:33:19 infact, thats the good thing about RPMsg. Using RPMsg, PRUs can emulate any char based device. Jun 06 07:33:32 I mean, if PRU's hardware allows it. Jun 06 07:33:41 zeekhuge: Ok, so its only for the firmware examples using the default rpmsg module. There is flexibility in kernel examples. Jun 06 07:34:25 right ! the driver will get probed when the PRU have that specific channel name. Jun 06 07:35:24 zeekhuge: Got it, thanks.. Jun 06 07:35:43 abhishek_: about the examples, do you have any specific projects in mind? Jun 06 07:36:01 i mean for the walkthroughs Jun 06 07:36:18 heading out, trying not to stay up late so I can make it back here for general mtg here Jun 06 07:37:09 muneeb17: The courtesy "blinky" first Jun 06 07:37:32 Then a "Hello World" read and write from a rpmsg channel Jun 06 07:37:56 abhishek_: I have tested blinky, rpmsg_echo and pru_pin_state_reader examples Jun 06 07:38:34 Okay, then you can push them all with instructions for us to try out Jun 06 07:39:18 Yeah, sure... should i push the generated python module too.. more freedom to try everything easily Jun 06 07:39:21 Make sure the instructions are as complete as possible Jun 06 07:39:59 Not sure about the generated python modules though Jun 06 07:40:18 Check if you can use bintray to host them Jun 06 07:40:49 Going afk, will be back by 2pm IST Jun 06 07:41:43 Ok, I will push the example codes with instructions Jun 06 07:51:14 zeekhuge: about more object oriented style, did you mean like this - https://github.com/MuneebMohammed/PRUSS-Bindings/blob/940e0770e29856602e21d7a4fc1965c8d65955d3/cpp-bindings/pruss.h Jun 06 07:56:01 zeekhuge: Also, by making the socket class private, you mean that it must be nested inside the PRU classes? Jun 06 07:59:10 Zzeekhuge: about more object oriented style, did you mean like this - https://github.com/MuneebMohammed/PRUSS-Bindings/blob/940e0770e29856602e21d7a4fc1965c8d65955d3/cpp-bindings/pruss.h Jun 06 07:59:10 muneeb17 Yes ! You can define the methods in that format. isnt it ? Jun 06 08:00:24 zeekhuge: yeah, I put that in the header file so that i can use it with swig easily... Jun 06 08:03:17 Zzeekhuge: Also, by making the socket class private, you mean that it must be nested inside the PRU classes? Jun 06 08:03:18 No ! You see. If someone will include this file in his code, he will be able to use the Socket object and its methods directly. Jun 06 08:03:41 I dont think thats a good idea, and so should not be allowed Jun 06 08:03:42 muneeb17: ^ Jun 06 08:04:06 Do they need to call any socket methods ? Jun 06 08:04:10 for things to work ? Jun 06 08:05:46 No... Jun 06 08:05:59 * zeekhuge just say the way these quoted messages appear in the logs. Its must be very confusing for non-matrix users. Jun 06 08:06:14 aggr .. s:/say/saw Jun 06 08:06:30 muneeb17: then do not allow them to do it. Jun 06 08:09:15 zeekhuge: Makes sense. Jun 06 13:29:23 abhishek_: zeekhuge : Here are the examples - https://github.com/MuneebMohammed/PRUSS-Bindings/tree/master/examples Jun 06 15:54:00 jkridner: I have submitted a patch to handle the PWM udev delay here : https://github.com/jadonk/bonescript/pull/173 can you have a look at it. Jun 06 16:17:44 Hello GSoC students and mentors - meeting in 15 mins 🙂 Jun 06 16:30:41 tick tock Jun 06 16:30:57 Hi all Jun 06 16:32:12 Hello everyone Jun 06 16:32:51 Hi everyone! Jun 06 16:33:07 Hello everyone! Jun 06 16:34:14 * hendersa waves Jun 06 16:34:36 Hello muneeb17 anirban1998 and ravikp7 vaishnav98_ I hope you all have had a great week! Jun 06 16:34:54 Hello everyone! Jun 06 16:35:07 I send apologies from jkridner as he had a conflict this week presenting a webinar at this exact time. Jun 06 16:35:15 Hi hendersa cwicks abhishek_ Jun 06 16:35:39 Hello anirban1998[m] Jun 06 16:35:59 hello people ! Jun 06 16:36:32 Thank you for joining mentors! Jun 06 16:37:28 do we have a mentor from vaishnav98_ bonescript/BB UI project? Jun 06 16:38:13 nujdeshpandeappa Jun 06 16:38:29 Paging anujdeshpande Jun 06 16:39:57 As we wait for more mentors to join, let's start with muneeb17 this week since you have at least 2 mentors present. Is your weekly report in, do you have any blocks this week? Jun 06 16:41:08 cwicks: yeah, i have submitted the report. No blocks as of now. zeekhuge , abhishek_ : were you able to try the examples? Jun 06 16:41:22 cwicks[m]: mentors for my project are: jkridner, anujdeshpande and m_w , it doesn't look like they're here now Jun 06 16:41:24 Not yet, will try tomorrow. Jun 06 16:41:50 hello. sorry I'm late Jun 06 16:41:59 abhishek_: Ok meanwhile i will start working on the multithreading part then.. Jun 06 16:42:14 and add a few more examples Jun 06 16:43:06 thanks muneeb17 Jun 06 16:43:14 I am "here" Jun 06 16:43:30 anirban1998: would you like to go next since we have at least 2 of your mentors now in the meeting? Jun 06 16:43:32 Wormo: ping! Jun 06 16:44:05 Wormo will likely join in another 20 mins or so Jun 06 16:44:35 muneeb17: Same here .. will try tomorrow . Jun 06 16:44:39 anirban1998: sorry I sent the feedback late, but please take a look and we can do some follow up discussions over email. Any more success with the hardware this week? Jun 06 16:44:48 Hi m_w Jun 06 16:45:12 hello Jun 06 16:45:14 m_w: Hi , I'm really sorry , didn't notice Jun 06 16:45:35 well I am really quiet :) Jun 06 16:45:51 I have been an absentee mentor like season Jun 06 16:46:03 sorry about that, just a lot going on for me Jun 06 16:46:13 welsh: Not total success with the hardware...but got through with some of them...had some problems with the hub...will buy another one...hope it solves the problems Jun 06 16:46:27 cwicks: Yeah Jun 06 16:47:40 * zeekhuge sent a long message: zeekhuge_2018-06-06_16:47:38.txt Jun 06 16:47:43 anirban1998[m]: how is it not working? Jun 06 16:48:19 ds2: He purchased a non-powered hub, so the hub is also pulling power from the PocketBeagle. Jun 06 16:48:38 Ohh :) Jun 06 16:48:48 Thanks zeekhuge for that structure. Jun 06 16:49:18 I have been working on the 4th game and finished working on it...so started work on the speech processing again. Right now working on automating the updation of the acoustic model to support different accents of different users. No blocks on the coding part as of now Jun 06 16:49:46 anirban1998: have you submitted your report? Jun 06 16:51:37 ds2 I bought a wrong model of the USB hub...and it's ports were able to support only up to 100ma...and it had no port to connect to the power outlet too. Jun 06 16:51:46 cwicks: yeah submitted the weekly report Jun 06 16:52:39 Thanks anirban1998 feel free to continue to engage the mentors here while I ask for the next check in. Jun 06 16:53:07 can you go next ravikp7 ? weekly report in? any blocks/urgent needs? quick status? Jun 06 16:54:17 ds2 I think the new acoustic models as per the users would provide more accuracy...as till now was using the default en-us Jun 06 16:55:13 anirban1998[m]: is it still for US english? Jun 06 16:55:19 welsh: Yeah I have seen your feedback. Thanks a lot...will discuss it in the mails Jun 06 16:56:29 ds2: Actually up to now hadn't worked with the hmm argument in the batch file...so it was taking the default en-us model Jun 06 16:56:33 m_w: I am planning to add baconbits support to the pocketbeagle ui probably this week , would love to have the features tested on an actual one :) , I have made a prototype version set-up here. Jun 06 16:57:08 cwicks: submitted weekly report. No blocks as of now, spent the week working on parsing mDNS packet, implemented algorithm to extract dns names using dns notation and compression technique. I've my last exam tommorow, so after that I can work full time on this. Jun 06 16:57:33 vaishnav98_, did you get the baconbits hardware? Jun 06 16:58:02 I have to get back to work here at the office, so I am going to step out. anirban1998[m], send me a mail when you need more technical assistance and I'll take care of you. Jun 06 16:58:46 I designed the board but only have one R1 Jun 06 16:59:16 ds2 I intend to update the acoustic model for each new user...so that his /her accents can be dealt with...so am not working with any generalized accents...let's see if it works...would want to know your views regarding this Jun 06 16:59:25 hendersa: Okay Jun 06 16:59:35 Thank you for that update ravikp7 good luck on the exam. You've got the attention of some good mentors here now so keep the interactions going :) Jun 06 17:00:03 vaishnav98_, I am looking into the logistics of having baconbits made available to the general public Jun 06 17:00:07 Okay now let's go to vaishnav98_ how are you this week? report in? any blocks? quick status? Jun 06 17:00:11 cwicks: thanks :) Jun 06 17:00:28 m_w: didn't get the baconbits hardware , but I could setup a prototype with most of the features except the USB to serial bridge Jun 06 17:00:54 > vaishnav98\_, I am looking into the logistics of having baconbits made available to the general public Jun 06 17:00:55 @cwicks is happy to hear this Jun 06 17:02:13 cwicks[m], the e-ale guys have tried to contact jkridner about it to no avail so I can work on it Jun 06 17:02:43 there was some talk of making it a beagleboard product but I haven't heard anything back about it Jun 06 17:03:01 cwicks[m]: I did send the report this week, I am working on the continuing with the BBUI rewrite and making changes to last week's work as per mentors suggestions, also submitted a patch to handle the PWM udev delays, no blocks this week :-) Jun 06 17:03:08 anirban1998[m]: I think that will be too complex for this project... I am a little concerned you might be (or will soon be) running into US vs UK english differences (I assume .in uses .uk English) Jun 06 17:04:34 m_w: that would be great Jun 06 17:08:40 ds2: Yeah true...but I think that the the improvements which it would be doing is only adding a new acoustic model and updating the batch command with one extra argument. From what I see upto now is that for that process the user has only to give some voice recordings of his own of the transcription files provided and the thing will be done. But still if u tell then I will keep this work for a latter time. Jun 06 17:10:38 anirban1998[m]: I think getting all this to work on the actual HW has priority Jun 06 17:11:31 thanks all the students for confirming reports and checking in and advising blocks. Can you now each provide a advice on if you have what you need for the upcoming GSoC deadline on 6/11 and what you will be working on this week? Jun 06 17:11:42 here btw Jun 06 17:12:12 ds2 Yeah will keep this in mind Jun 06 17:15:02 cwicks: I'll continue to work on the tcp/ip server this week, hope to get it functional by first evaluation. Thanks! Jun 06 17:15:56 Hi Wormo ! Jun 06 17:16:40 thank you ravikp7 Jun 06 17:17:20 cwicks: I will update my work on the Speech Processing...and hope to resolve any bugs in the code by first evaluation. Jun 06 17:17:24 cwicks: Before the first evaluation I'll refine the bindings more, add multithreading support to the daemon server and provide a lot more examples and walkthroughs demonstrating the use of the bindings. Jun 06 17:18:38 cwicks[m]: m_w : I am planning to finish the BBUI rewrite this week , add more features to it , also work on the Bonescript Typescript definitions and in parallel make the changes to previous works, hope to finish everything before the first deadline. Jun 06 17:20:28 Wormo: I have pushed the examples here - https://github.com/MuneebMohammed/PRUSS-Bindings/tree/master/examples .. Will continue adding more examples to this.. Jun 06 17:25:31 muneeb17[m]: this looks straightforward, I won't get a chance to actually run through them yet bcs wednesday is busy for me Jun 06 17:27:01 Wormo: Ok, I'll start working on the multithreading part and add more examples as i proceed. Jun 06 17:27:46 thank you anirban1998 vaishnav98_ and muneeb17 please ping the mentors if you have any blocks between now and the 6/11 deadline! Jun 06 17:28:20 Thank you to all the mentors and students for joining the meeting today - this channel remains open for any additional technical interactions. Jun 06 17:29:21 @cwicks signing off for today! Jun 06 17:31:59 muneeb17[m]: you have list of examples planning to import next? from some of the old PRU labs? Jun 06 17:36:34 Wormo: I was actually searching for those right now. Beaglescope has very good examples and yeah, the training labs have some too.. will think of more zeekhuge : any other suggestions for the examples? **** ENDING LOGGING AT Thu Jun 07 03:00:04 2018