**** BEGIN LOGGING AT Wed Jun 22 02:59:58 2016 Jun 22 12:31:38 alexhiam: I've got a problem.. Jun 22 12:32:16 alexhiam: you wanted me to split the apis.. I'm doing that.. but there are some global variables.. what do you want me to do with that? Jun 22 13:24:10 jkridner, Could you please check my last updates on BBUI ? Jun 22 14:10:06 kiran4399: do the globals really need to be global? Jun 22 14:24:53 kiran4399: what I mean by that is, we want to try and avoid globals unless it's /absolutely/ necessary, in which case they can just be initialized in a header file Jun 22 14:28:43 kiran4399: where's your report?? Jun 22 15:45:11 hey bradfa, there? Jun 22 15:48:07 bradfa, _av500_ I am coming back from college in a bus and the network coverage is pretty bad, so I might drop in middle. I will reach home in about in about 40 minutes so might be late by 10-15 minutes for the meeting. Jun 22 15:48:33 alexhiam, av500 ,mdp^^ Jun 22 15:51:04 chanakya_vc: ok, thanks for the heads up Jun 22 15:51:30 kiran4399: there? Jun 22 15:53:33 has the meeting started? Jun 22 15:53:47 not yet Jun 22 15:55:22 i guess.. today is my turn?? Jun 22 15:56:21 <_av500_> did you report yet? Jun 22 15:56:24 <_av500_> here Jun 22 15:57:03 kiran4399_: yeah, you're talking about your project today Jun 22 15:57:33 kiran4399_: no weekly report yet on the ml? Jun 22 15:58:00 oops.. looks like i forgot about ot.. sorry will do ot in 10 minutes.. Jun 22 15:58:19 alexhiam:^^ Jun 22 15:58:55 we'll be having the meeting in 10 minutes.. Jun 22 15:59:18 ok.. Jun 22 16:01:24 kiran4399_: can you do it right now? shouldn't only take a minute or two Jun 22 16:01:59 aloha Jun 22 16:02:10 <_av500_> aloo Jun 22 16:03:32 alexhiam: on it.. Jun 22 16:04:37 Visaoni: so you've been stuck on the ADC? have you been getting help in here? Jun 22 16:04:51 Visaoni and ZeekHuge are using the same ADC? Jun 22 16:05:33 not the same, I don't think. haven't been, will fix that Jun 22 16:05:55 not sure. The one I am using is : http://www.digikey.com/product-detail/en/linear-technology/DC782A-P/DC782A-P-ND/4766042 Jun 22 16:06:41 Hi Jun 22 16:06:52 yeah not the same, I'm using the THS1206M-EVM Jun 22 16:06:56 sorry, for being late Jun 22 16:07:08 hi all Jun 22 16:07:58 Have the meeting started ? Jun 22 16:08:14 alexhiam: yeah.. Jun 22 16:08:21 back home.. Jun 22 16:08:24 Visaoni: where's the code you're having trouble with? have you pushed it to github? if that's all pushed and you have a text file or wiki page showing what you've been doing/trying then we could be actively helping with it... Jun 22 16:08:54 hi Jun 22 16:10:28 amragaey: looking at your commits now. Jun 22 16:10:43 <_av500_> oops, we should start Jun 22 16:10:47 <_av500_> 1) WELCOME Jun 22 16:10:50 <_av500_> 2) who's here? Jun 22 16:10:56 i am Jun 22 16:10:57 howdy Jun 22 16:11:20 there! Jun 22 16:11:31 <-- here Jun 22 16:11:53 hi Jun 22 16:12:50 ZeekHuge was just here.. Jun 22 16:13:01 I am here ! Jun 22 16:13:12 Hi Jun 22 16:14:21 <_av500_> 6 Jun 22 16:14:47 <_av500_> no chanakya_vc? Jun 22 16:14:57 <_av500_> sorry, my net is bad :( Jun 22 16:14:59 <_av500_> im slow Jun 22 16:15:09 <_av500_> 3) HW shipments Jun 22 16:15:19 <_av500_> ZeekHuge: how is the fedex situation? Jun 22 16:15:33 bit complicated. Jun 22 16:15:49 rma finished adapter boards Jun 22 16:16:22 I mailed them stating that the form is not valid for my consignment and the reply was "Your consignment is stuck as it need form 50" Jun 22 16:16:25 ZeekHuge: did the the invoice help? Jun 22 16:16:26 can continue with kernel driver dev now Jun 22 16:16:34 <_av500_> ZeekHuge: then fill out form 50 anyway Jun 22 16:16:43 <_av500_> put anything Jun 22 16:16:48 finally I have added some false details to the form and then mailed them Jun 22 16:16:53 <_av500_> ok Jun 22 16:17:05 asked customer service if it looks ok ? they said yes. Jun 22 16:17:10 Sorry _av500_ for being late.Was coming from college with bad network Jun 22 16:17:13 <_av500_> ok Jun 22 16:17:14 <_av500_> np Jun 22 16:17:16 <_av500_> all 7 here Jun 22 16:17:17 <_av500_> good Jun 22 16:17:21 I got a fedex shipment from GSoC two days ago, they asked for $50 taxes and I wasn't notified aboit it and no one received something like that beforre Jun 22 16:17:42 I decided not to take it before asking here :D Jun 22 16:17:49 <_av500_> amragaey: from google themselves? Jun 22 16:17:55 <_av500_> or from TI? Jun 22 16:18:06 jkridner: _av500_ : there is about $47 duty to it too . as mentioned in mail Jun 22 16:18:18 <_av500_> yeah, we will see how to reimburse that Jun 22 16:18:21 <_av500_> can you pay it for now? Jun 22 16:18:22 I read a name "GSoC student" on it, and company called haytrex or hrytex Jun 22 16:18:22 :-( can you give me a paypal address? Jun 22 16:18:36 that's the TI schwag Jun 22 16:18:39 jkridner: thank you for the invoice . that helped. Jun 22 16:18:48 amragaey: the contents of the box is not worth $50 Jun 22 16:18:56 <_av500_> the TI stuff is not worth $50 Jun 22 16:19:05 jkridner: will have to make one. will get it done and mail you the details. Jun 22 16:19:15 $47 for less than $5 worth of crap Jun 22 16:19:20 _av500_, what are the contents :) ? Jun 22 16:19:51 amragaey: contents: https://plus.google.com/u/0/108506657199236487651/posts/cD1xGCzqNBL Jun 22 16:20:42 bradfa, was the package size the same as the welcome package ? Jun 22 16:21:17 amragaey: mine came in a box, the envelope under the contents is another package I got that day, my box was about 30x30x15 cm Jun 22 16:21:40 alexhiam: I finished the mid-evaluation.. but I've some changes to do in the code.. is it ok?? Jun 22 16:21:40 just plastic crap Jun 22 16:21:54 Yes bradfa received it. Jun 22 16:22:15 the same stuff as you : ) Jun 22 16:22:21 m_w I think this is mine too :DD but not worth $50 Jun 22 16:22:53 kiran4399: yeah. I didn't even know students had something to do for midterm. Was it a self-eval? Jun 22 16:23:22 alexhiam: it was something regarding mid-term evaluation of mentor I suppose.. Jun 22 16:23:29 <_av500_> alexhiam: a form to fill out Jun 22 16:23:31 ah Jun 22 16:25:28 so the mentors get graded too? Jun 22 16:25:41 <_av500_> I think its more general feedback Jun 22 16:26:22 okay Jun 22 16:26:30 <_av500_> 4) midterms Jun 22 16:26:38 <_av500_> sooner than you think Jun 22 16:26:47 <_av500_> so make sure the results of your work are visible Jun 22 16:26:58 <_av500_> pushed to git Jun 22 16:27:02 <_av500_> reported to your mentors Jun 22 16:27:12 <_av500_> or in the evening news Jun 22 16:27:21 <_av500_> we need to see them Jun 22 16:28:00 what are the evening news :D ? Jun 22 16:28:39 <_av500_> :) Jun 22 16:29:13 <_av500_> 5) anything else you need to tell me? Jun 22 16:29:29 <_av500_> before we go into the last report of the first cycle Jun 22 16:31:06 nothing from my side Jun 22 16:31:19 <_av500_> ok Jun 22 16:31:25 <_av500_> so, kiran4399 has the stage Jun 22 16:31:31 ok.. Jun 22 16:31:38 _av500_: so where should I start?? Jun 22 16:31:55 <_av500_> dive right in what you are doing right now Jun 22 16:32:17 so you guys know what I've been doing for the past 3 weeks.. Jun 22 16:32:38 right now.. I am working on the mpu-9250 apis and bmp280 apis. Jun 22 16:32:45 will be done in about a day or so. Jun 22 16:33:20 at the same time.. (I know it is not so important).. but I am improving the functionalities of the mpu9250 kernel driver by enabling the dmp support for the imu.. Jun 22 16:34:03 I've applied the patch submitted by jic23, which enables the mpu6050 kernel driver to support the mag. Jun 22 16:34:09 <_av500_> dmp is? Jun 22 16:34:17 btw.. the imu and the baro are not working on the cape.. Jun 22 16:34:19 checked it.. Jun 22 16:34:42 and because of it I used my own mpu9250 and bmp280.. breakouts. Jun 22 16:35:09 I finished the pwm and the adc stuff.. Jun 22 16:35:14 works good.. Jun 22 16:35:46 and am done with the overlay blobs for imu, bmp, adc, pwm, eqep, led and buttons.. Jun 22 16:35:51 works awesome.. Jun 22 16:36:33 <_av500_> good that you can work around the broken cape Jun 22 16:36:40 <_av500_> sorry that is does not work :( Jun 22 16:36:44 <_av500_> it* Jun 22 16:36:47 toughest part out of all was working with the kernel.. building, modifying kernel... developing mpu9250 kernel driver was challenging..but was fun. Jun 22 16:36:54 https://github.com/kiran4399/inv_mpu Jun 22 16:37:26 is the link for some modifciation, i've done for the mpu driver.. Jun 22 16:37:33 still a lot to do.. Jun 22 16:38:01 I've purchased some of the gear from hobyking recently.. will test a lot of stuff. Jun 22 16:38:10 * jkridner is just reading about broken cape. Jun 22 16:38:17 so since this thing is over... Jun 22 16:38:47 after mid.. I'll be working on pru stuff, eqep, i2c, spi, uart stuff.. Jun 22 16:39:21 _av500_: did you get clarity on what dmp is? Jun 22 16:39:37 <_av500_> jkridner: I think its the baro Jun 22 16:39:43 kiran4399: where did you get the dmp firmware? Jun 22 16:39:59 <_av500_> kiran4399 wins the price for TLAs and FLAs today :) Jun 22 16:40:01 barometer is bmp180 Jun 22 16:40:03 _av500_: DMP is the internal processor on the MPU6xxx Jun 22 16:40:06 <_av500_> ah Jun 22 16:40:22 _av500_: it's there on the android driver stuff.. Jun 22 16:40:27 AFAIK, DMP ain't opensource Jun 22 16:40:33 motion processor or some crap Jun 22 16:40:40 ds2: it's there on the android driver stuff.. Jun 22 16:40:51 It is depreciated though.. but using it as a reference.. Jun 22 16:40:59 kiran4399: you get sane data out of it now? Jun 22 16:41:03 <_av500_> ah, invensense Jun 22 16:41:07 Yup should confirm copyright on that with invensense. Just to be sure... Jun 22 16:41:14 <_av500_> that DMP I know :) Jun 22 16:41:23 ds2: no not yet.. but will be done in about a week or so.. Jun 22 16:41:37 IIRC - DMP doesn't help in most cases Jun 22 16:41:51 unless you need the quat's and rots Jun 22 16:42:12 yeah.. one more thing.. I am preserving the copyrights by strawson and invensens.. Jun 22 16:42:20 not meddeling with the copyrights.. Jun 22 16:42:28 but what if I do some modifications?? Jun 22 16:42:47 Can use DMP for step detection in theory.. Jun 22 16:43:11 ds2: yeah.. as you know.. I am targetting these apis for ardupilot.. so week-7 and 8 involve building and testing this stuff on a built quad.. Jun 22 16:43:13 :-P Jun 22 16:43:30 Kiran, add own copyright alongside original Jun 22 16:43:38 If Significant changes Jun 22 16:43:49 ok. Jun 22 16:43:59 I'll kick back if trivial stuff :) Jun 22 16:44:02 kiran4399: yes... computing the quats ain't THAT hard Jun 22 16:44:13 Google ahs reference algs that should work Jun 22 16:44:13 ds2: yeah.. Jun 22 16:44:40 can get quaternions from mavlink 1.1 Jun 22 16:44:51 btw.. thanks for reminding ds2... I am importing a mathi library from strawson apis.. which involve computation of quatronians.. filters, buffers.. etc.. Jun 22 16:44:58 *math Jun 22 16:45:02 jic23b: flying spiders? Jun 22 16:45:30 worse case... I have an Apache licensed lib that can do the quats (based on the Android stuff) Jun 22 16:45:31 not using mavlink or other existing code? Jun 22 16:45:52 no reinventing the wheel... Jun 22 16:45:54 kiran4399: integer or float based/ Jun 22 16:45:54 nerdboy: yeah.. I am using mavlink.. Jun 22 16:46:03 ds2: ? Jun 22 16:46:18 kiran4399: the math libs Jun 22 16:46:40 ds2: both.. Jun 22 16:46:55 ds2: https://github.com/kiran4399/bb_blue_api/tree/master/libraries/math Jun 22 16:49:39 any questions? Jun 22 16:50:09 Upstreaming driver stuff in schedule? Jun 22 16:50:26 jic23b: which one?? mpu? Jun 22 16:50:38 About to run... back later... mpu Jun 22 16:50:46 kiran4399: for the dmp stuff - are you working with the patched driver jic23b pointed us towards? or that android driver? Jun 22 16:50:55 jic23b: Not sure.. Jun 22 16:51:04 but will try do it.. Jun 22 16:51:10 because only the first is ever going to be upstreamed.. Jun 22 16:51:20 Cool Jun 22 16:51:34 alexhiam: I am working with the jic23 pathced kernel. Jun 22 16:52:32 kiran4399: k, good. That is a lower priority than the API stuff FYI, and there's still that PRU work to do Jun 22 16:52:49 <_av500_> kiran4399: thanks for the report Jun 22 16:52:50 alexhiam: yeah.. that's correct. Jun 22 16:53:02 =-D Jun 22 16:53:07 <_av500_> I have to leave 10 min early today Jun 22 16:53:10 <_av500_> which is now Jun 22 16:53:24 <_av500_> as said, midterms. Jun 22 16:53:31 <_av500_> reports on tuesday Jun 22 16:53:33 I thought invense tried to push the dmp stuff already? Jun 22 16:53:37 <_av500_> see you all next week Jun 22 16:53:56 bye _av500_ Jun 22 16:54:35 _av500_, thanks, see you Jun 22 16:54:49 ds2: well it was for the android.. but android is depricated I think.. Jun 22 16:55:48 laters all Jun 22 16:57:58 chanakya_vc: I will try to take a look at your code tonight Jun 22 16:58:03 chanakya_vc: are you blocked on anything? Jun 22 16:58:38 bradfa, Just the makefile :P Jun 22 16:59:51 chanakya_vc: ok, keep going and I'll try to send you some feedback on the makefile tonight Jun 22 17:01:30 Okay bradfa . I have written the code to what I thought was the best way. It might not be the most professional way or I might have have deviated from the standard practice. Jun 22 17:02:15 chanakya_vc: don't worry about that too much at first, just be sure to work to clean it up once it works Jun 22 17:02:53 Okay bradfa . Looking forward to your response : ) Jun 22 17:04:04 I will meanwhile modify the firmware to work with the new driver.Will push it by tomorrow bradfa.Just a couple of changes. Jun 22 17:05:36 m_w: are you there? Jun 22 17:06:03 yup Jun 22 17:06:26 i'm stuck Jun 22 17:06:28 you figure out the devicetree subnode thing? Jun 22 17:07:43 yeah Jun 22 17:07:57 chanakya_vc: ok, sounds good! :) Jun 22 17:08:46 spidev is installed in a strange way Jun 22 17:09:05 how so? Jun 22 17:10:38 spidev uses spi framework Jun 22 17:11:34 This is not a typical device platforms Jun 22 17:11:36 alright.. goodbye everybody!! Jun 22 17:12:36 no Jun 22 17:16:52 ????? Jun 22 17:17:41 pmezydlo: please explain what you are trying to do so others can understand Jun 22 17:18:15 sorry now I am looking ;) Jun 22 17:18:38 I think I already know Jun 22 17:18:58 m_w ds2: ^^ Jun 22 17:19:54 already know what? I am confused Jun 22 17:21:54 my driver is not find compatible in DTS Jun 22 17:22:12 https://github.com/pmezydlo/SPI_slave_driver_implementation/blob/master/DTS/SPI0_slave.dts#L47 Jun 22 17:23:17 when the driver install platform device in typical way Jun 22 17:23:30 m_w: ^^ Jun 22 17:25:12 spislave block is subnode in DTS Jun 22 17:27:48 so same problem as yesterday Jun 22 17:27:59 yeah Jun 22 17:29:27 function which you sent me yesterday I can not find where it is called Jun 22 17:29:55 http://lxr.free-electrons.com/source/drivers/spi/spi.c#L3051 Jun 22 17:32:04 you will see it is passed as a function pointer in the notifier_block struct Jun 22 17:33:29 so lets first handle parsing the subnodes Jun 22 17:34:47 http://lxr.free-electrons.com/source/drivers/spi/spi.c#L1578 Jun 22 17:34:57 http://lxr.free-electrons.com/source/drivers/spi/spi.c#L1461 Jun 22 17:35:08 http://lxr.free-electrons.com/source/drivers/spi/spi.c#L1908 Jun 22 17:36:42 does anybody know why I don't see any debug outputs from my kernel module in dmesq? Jun 22 17:37:26 and it seems to be only the case on bb-x15. with bbg i see all my debug outputs Jun 22 17:37:58 henrix_: https://www.kernel.org/doc/Documentation/dynamic-debug-howto.txt Jun 22 17:39:50 thanks, I just found the correct log Jun 22 17:39:52 ;-) Jun 22 17:40:09 m_w: wait a minute, I will take node and call "for_each_available_child_of_node" function Jun 22 17:42:12 essentially Jun 22 17:43:15 you should probably make a top level driver that has a function like spi_register_master Jun 22 17:44:30 and have you omap driver call it Jun 22 17:45:48 if you just want to test the idea, put it in the omap drivers probe function directly Jun 22 17:47:04 you will notice that all spi host drivers will call spi_register_master in their probe function Jun 22 17:48:16 which in turn calls of_register_spi_devices Jun 22 17:49:18 which interates over the subnodes and registers each attached device Jun 22 17:53:22 m_w:I think that I probably know Jun 22 17:54:17 can you continue with this information? Jun 22 17:56:03 of_modalias_node Jun 22 17:56:34 yes, I will write email when I will have problem Jun 22 17:58:05 pmezydlo: okay good luck Jun 22 19:09:29 Visaoni: you here? Jun 22 19:32:33 hmmmm Jun 22 21:12:33 Visaoni: does that mean you're ready for a google-y hangout? Jun 22 21:50:52 nerdboy: yep, whenever is fine. just had to finishing up caring for the little devils (aka cats) Jun 22 22:01:09 i think Wormo just replied... Jun 22 22:01:19 I did Jun 22 22:01:33 technically now is normally our work meeting time, but I'm being flexible Jun 22 22:01:52 now is fine Jun 22 22:03:14 you going to call nerdboy? Jun 22 22:03:16 can't seem to find a good way to actually test hangouts stuff is working correctly and don't use it often so um, cross your fingers? Jun 22 22:03:45 Wormo: open your google-y thing Jun 22 22:04:31 started chrome, ok now I'm on the page see it Jun 22 22:06:48 i think it just started a new one when i made a group Jun 22 22:07:00 lemme switch to chromebook Jun 22 22:14:31 * mr_science has fully charged chromebook in the office **** BEGIN LOGGING AT Wed Jun 22 23:21:42 2016 Jun 23 00:00:29 heh, this guy made a nice OO python lib for the random set of senors he's using in his teaching stuff Jun 23 00:00:32 https://github.com/nickoala/sensor Jun 23 00:01:06 best one i've seen so far using object stuff Jun 23 00:01:33 certainly the most object-y... Jun 23 00:12:11 that looks nice **** BEGIN LOGGING AT Thu Jun 23 00:24:28 2016 Jun 23 01:55:01 interesting how many python "approaches" to that you can find Jun 23 01:55:56 * nerdboy would take a class from that person Jun 23 02:14:44 Wormo / Visaoni - this is what i meant => http://processors.wiki.ti.com/index.php/File:PRU_ICSS_block_diag.png Jun 23 02:15:15 the "peripheral interconnect" **** ENDING LOGGING AT Thu Jun 23 02:59:57 2016