**** BEGIN LOGGING AT Mon Jun 23 02:59:58 2014 Jun 23 03:00:06 yeah, seems so. Jun 23 03:01:19 * Abhishek_ just searched the list archives and seems that no 4-part patch seems to have been posted up to the list] Jun 23 03:11:23 BeagleLogic kernel patches are now on the beagleboard list Jun 23 03:15:36 jkridner: did the modification to the universal cape work as expected? Jun 23 03:39:20 Abhishek_: I've started going down the path of modifying am335x-boneblack.dtb because that is where I feel cape-universal belongs. Jun 23 03:40:18 I'll use that modified am335x-boneblack.dts and start the "grand merge" rather than continue trying to solve this with overlays. Jun 23 04:05:18 hurray. blinky led. Jun 23 04:05:29 pinmux configured with 'config-pin' script. Jun 23 04:07:00 With botspeak? Jun 23 04:14:38 yes Jun 23 04:14:52 I suspect we can do the same with BeagleLogic fairly simply. Jun 23 04:17:09 Could you pass the code on to me so that I could have a look and integrate it the next time I code? Jun 23 04:25:18 Abhishek_: https://github.com/jadonk/pruspeak/tree/cape-universal Jun 23 04:31:30 jkridner: weird, the commit shows May 16 and May 17 Jun 23 04:31:51 urgh. must not have fetched the correct date from the network. :( Jun 23 04:37:25 jkridner: The universal cape file you've pushed does not touch the HDMI pins, which need to be reconfigured as inputs to PRU1 for BeagleLogic to work Jun 23 04:41:39 Abhishek_: I updated the dates Jun 23 04:42:05 configuring as inputs can be done with config-pin. Jun 23 04:42:19 also, you need to disable the HDMI cape overlay. Jun 23 04:43:16 Abhishek_: is there any way I can switch back and forth between pruspeak and BeagleLogic without a reboot? Jun 23 04:44:36 It might be possible to introduce my patch into karki's pru_botspeak driver (about a 100lines) Jun 23 04:45:26 The BeagleLogic module can be bound and unbound as many times as you want then Jun 23 04:46:08 The Beagle Logic module itself is around a 1000lines. Jun 23 04:46:24 would be nice. Jun 23 04:47:36 I have a script that resets the PRUs and loads my module which I used in last week's video Jun 23 05:06:26 Abhishek_ : patch for what? Jun 23 05:17:19 hi karki Jun 23 05:17:27 hi! Jun 23 05:17:34 is the meeting now? Jun 23 05:17:43 10 minutes Jun 23 05:17:49 okay :) Jun 23 05:19:00 * mranostay wanders in Jun 23 05:19:28 gm jkridner Jun 23 05:19:35 gm av500 Jun 23 05:19:49 * jkridner wonders what mranostay is doing up at this ungodly hour. Jun 23 05:19:59 guess it isn't quite as bad on PDT Jun 23 05:20:23 jkridner: world cup time Jun 23 05:20:31 i should be sleepeing Jun 23 05:20:43 mranostay: was it any good? Jun 23 05:20:46 mranostay: almost had a win for USA! Jun 23 05:20:52 almost. :-/ Jun 23 05:20:53 :/ Jun 23 05:22:16 we almost had a win for Ghana :) Jun 23 05:22:45 * mranostay stabs av500 Jun 23 05:23:11 * jkridner doesn't understand how any of the tie-breakers go Jun 23 05:23:59 ? Jun 23 05:26:30 * jkridner just read http://www.sbnation.com/soccer/2014/6/22/5832970/world-cup-tiebreaker-rules-usa-germany-group-g Jun 23 05:27:05 first its points Jun 23 05:27:10 then its goal difference Jun 23 05:27:24 then its total goals Jun 23 05:27:28 then its direct comparison Jun 23 05:27:38 then unicorn stas Jun 23 05:27:44 *stats Jun 23 05:28:07 and after that its a draw Jun 23 05:28:11 but very unlikely Jun 23 05:28:31 easiest is to defeat germany Jun 23 05:28:35 which is doable :) Jun 23 05:29:12 america fuck yeah :P Jun 23 05:29:31 +1 Jun 23 05:33:02 so, who all is here? Jun 23 05:33:33 DiegoTc, karki, Abhishek_, praveendath92|pc, rseethamraju: ?? Jun 23 05:33:42 no disdi Jun 23 05:33:46 yes Jun 23 05:33:46 im here Jun 23 05:33:57 we have meeting? Jun 23 05:34:27 yes, there is a meeting now for everyone (though it is largely optional due to the odd hour for most) Jun 23 05:35:02 Hello jkridner. Jun 23 05:35:08 Hey Jun 23 05:35:09 hi praveendath92|pc Jun 23 05:35:14 hi rseethamraju Jun 23 05:35:45 I really expected vmayoral at this time... since he's the one that said this was a good time for #beaglepilot folks. :( Jun 23 05:36:14 agenda: everyone ready for midterms? expecting to get a pass? Jun 23 05:36:21 Right now I'm having an issue with BULK OUT write. Anyone who can help with this? Jun 23 05:37:15 do you have a bus analyzer of any kind? Jun 23 05:37:32 I have kernel log. Jun 23 05:37:49 :( Jun 23 05:37:56 And an article on how to interpret it. Jun 23 05:38:04 pastebin it Jun 23 05:38:18 jkridner : I'm working with timers, my wait has to be timer based if I'm to execute single commands in between scripts. So thats first on my list. Jun 23 05:39:04 https://gist.github.com/praveendath92/2d3e9a7da3aed9dbe4a0#file-dmesg-log-L1559 av500 Jun 23 05:40:05 Hi Jun 23 05:40:10 And this could be relevant http://www.makelinux.net/ldd3/chp-4-sect-5 Jun 23 05:40:15 Hello Abhishek_ Jun 23 05:40:59 praveendath92|pc: that says usb_open Jun 23 05:41:20 Yep it does. Jun 23 05:41:42 so from user space? Jun 23 05:41:56 karki: indeed. I'm poking at your firmware and moving delay to use a timer feels first on the list. Jun 23 05:42:01 karki: I sent you a pull request. Jun 23 05:42:23 had a look at it, when did the DTO's get so scary ;) Jun 23 05:42:33 av500: yes, I was trying to invoke adk_write function in kernel module to see how the BULK transfer to device goes. Jun 23 05:42:56 I tried earlier with just control transfer and it worked fine. Jun 23 05:42:57 it would be great if there was some shared base rproc code between Abhishek_ and karki and the ability to switch between the different projects at runtime. Jun 23 05:43:14 When I added BULK endpoint I'm getting this error. Jun 23 05:43:29 jkridner : why can't you do it now? is it the unloading problem? Jun 23 05:43:47 yes, unloading. Jun 23 05:44:20 jkridner : panto said that there were problems and we would be fixing it this week. (or the coming one) Jun 23 05:45:35 Abhishek_: probably want to use 'install' rather than 'cp' in 'make install'. Jun 23 05:46:10 av500: Just a quick status update, The driver sets the device in ADK mode and an accessory app opens automatically on the device waiting to receive data. Jun 23 05:46:17 * jkridner is trying to build/test as much code as possible this week to provide feedback and confirm good progress has been made for the mid-term evaluation. Jun 23 05:46:58 jkridner : what is Abhishek_ 's patch about? Jun 23 05:47:13 the one sent to the list? Jun 23 05:47:15 av500: Had a couple of issues earlier this week related to encoding and all but most of them are figured. Once this BULK data sending is sorted out we should be ready with the communication part with Android. Jun 23 05:47:24 to get his code included in the kernel that ships with the board. Jun 23 05:47:42 that is where I'd like to see all of this turn up... in the shipping distro. Jun 23 05:47:48 (and in mainline) Jun 23 05:48:20 jkridner, I'm working right now on the visualize, I had the idea to use this http://themeforest.s3.amazonaws.com/116_parallax/tutorial-source-files/tut-index.html idea, but I'm seeing it wouldn't work so good, seeing a back and forw example for replacing. Have to generated code depending on the amounts if file Jun 23 05:49:27 DiegoTc: Parallax is good :) Jun 23 05:51:55 DiegoTc: there is also a need of doing a kind of history push there. Jun 23 05:52:13 praveendath92|pc, yes! Jun 23 05:52:20 jkridner, I don't understand Jun 23 05:53:55 praveendath92|pc: what is bulk_out_add? Jun 23 05:54:14 bulk out endpoint address. Jun 23 05:54:16 did you check it is set? Jun 23 05:54:25 DiegoTc: http://html5.gingerhost.com/ uses history.pushState such that the URL updates and you can use forward/backward navigation and capture valid URLs in the address bar Jun 23 05:54:56 av500: Yes. I have a printk which checks it. Jun 23 05:55:17 ah yes Jun 23 05:55:35 I'm thinking that this has to do something with memory allocation. Jun 23 05:56:19 Made some changes but I will test after this meet as I don't want disconnect due to a crash. Jun 23 05:59:06 ok Jun 23 05:59:51 I'm hoping the communication interface would be ready for this midterm av500 Jun 23 06:00:04 DiegoTc: did you get anything from Steve's team in Guatemala? Jun 23 06:00:06 praveendath92|pc: hmm Jun 23 06:00:13 praveendath92|pc: you alloced the buffer on the stack Jun 23 06:00:35 jkridner, this week they will send something. But not sure when. Jun 23 06:00:35 And later, work on framebuffer. Is that a fair enough? Not the best progress I guess. Jun 23 06:00:45 please allocate it differently Jun 23 06:00:46 I will contact them today like 10AM Jun 23 06:00:52 like https://github.com/haad/udlfb/blob/master/udlfb.c Jun 23 06:01:18 av500: Checking.. Jun 23 06:04:14 av500: Can you point to allocation in that link ? Jun 23 06:05:08 av500: You mean use kmalloc? Jun 23 06:06:00 yes Jun 23 06:06:34 Oh. That could be the problem. Jun 23 06:14:31 * jkridner falls asleep at keyboard. Jun 23 06:14:45 head imitates gavel Jun 23 06:14:59 +1 Jun 23 06:15:08 praveendath92|pc: I dont understand the call tryce Jun 23 06:15:10 trace Jun 23 06:15:48 Abhishek_: sigrok is already built for Debian Jun 23 06:16:09 praveendath92|pc: is your crash in write or open? Jun 23 06:16:16 call trace says open Jun 23 06:16:47 av500: The made no changes to open from the last time I ran it successfully. Jun 23 06:17:18 yes, but why open/write at all? Jun 23 06:17:21 I started experiencing a crash while testing bulk write. Jun 23 06:17:26 its kernel driver, no? Jun 23 06:17:36 all the usb transfers are initiated from the kernel side Jun 23 06:17:51 You mean another kernel module? Jun 23 06:17:51 or is this just for testing? Jun 23 06:18:17 Yes. This is just testing of the communication with Android. Jun 23 06:18:20 ok Jun 23 06:18:49 The java repo is initialized with a test code. Jun 23 06:19:03 okok Jun 23 06:19:05 so Jun 23 06:19:12 in your trace, I see a successful probe Jun 23 06:19:15 then the crash Jun 23 06:19:18 so its in open Jun 23 06:19:31 what node are you opening? Jun 23 06:19:34 in /dev? Jun 23 06:19:42 /dev/bard0 Jun 23 06:19:53 Sometimes /dev/bard1. Jun 23 06:20:09 I can send a pathset to anyone who's interested in trying beaglelogic now. Jun 23 06:20:25 av500: https://github.com/praveendath92/bard-linux/blob/master/frontend.c Jun 23 06:20:38 jkridner, is 2Am I was surprised you were up Jun 23 06:21:38 yeah, to try to be able to collaborate better with the #beaglepilot guys who aren't here. :( Jun 23 06:21:46 praveendath92|pc: why does it say -94? Jun 23 06:21:51 in the minor printf? Jun 23 06:21:55 * jkridner has a long drive to Chicago in the morning. Jun 23 06:21:59 goodnight all Jun 23 06:22:01 also, what /dev/bard do you see? Jun 23 06:22:03 ls -l Jun 23 06:22:09 jkridner: good night Jun 23 06:22:18 Good night jkridner :) Jun 23 06:22:25 Good night jkridner Jun 23 06:22:46 praveendath92|pc, have you work with a parallex plugin? Jun 23 06:22:58 DiegoTc: Nope. Jun 23 06:23:35 av500: I didn't get that part. -94 in the minor printk. Jun 23 06:23:39 Good night jkridner Jun 23 06:24:10 But about 5 commits before it said the same thing but it worked with /dev/bard0 Jun 23 06:25:10 av500: I see bard0, bard1, bard2 Jun 23 06:28:36 av500: I will be available as praveendath92 Need to restart once. Jun 23 06:44:43 av500: There? Jun 23 06:45:28 I just pushed a commit. It doesn't see a crash and the open command is the same as before. Jun 23 06:54:44 praveendath92|pc: I see no commit Jun 23 06:55:48 Let me do again. Jun 23 06:57:12 https://github.com/praveendath92/bard-linux/blob/master/bard.c Jun 23 06:57:19 That's latest. Jun 23 07:00:20 so it works now? Jun 23 07:02:43 No crash. Jun 23 07:02:58 But I get a error -110 on BULK message. Jun 23 07:03:06 This is better than a crash. Jun 23 07:03:13 I found out about the crash too. Jun 23 07:04:18 The cleanup code for the driver isn't right so, it leaves /dev/bard on unplugging the device. Jun 23 07:04:46 When I replug and test again the device is attached to /dev/bard Jun 23 07:05:19 So, I need to change it from to in the userspace test code. Jun 23 07:06:02 since bard is corrupted, accessing it may be the fault of the crash and hence the crash on open and not in write. Jun 23 07:13:19 ah Jun 23 07:13:21 that makes sense Jun 23 07:13:27 so yes, cleanup correctly first Jun 23 07:13:36 then find out what -110 is Jun 23 07:15:44 Hmm. Will do. Will let you know of updates. Jun 23 07:18:35 sure Jun 23 07:18:38 i'm here :) Jun 23 07:19:16 BRB. Lunch time :) Jun 23 07:36:20 praveendath92|pc: -110 is timeout Jun 23 07:36:55 check again maybe you use the wrong end of the pipe or maybe there is something fishy in the java app Jun 23 07:51:18 vvu: The other end should be listening for a bulk message to succeed? Jun 23 07:51:38 yes Jun 23 07:51:47 where would the data go if not ? Jun 23 07:52:21 I was hoping a buffer inside android system from where the app can read. Jun 23 07:52:26 no no Jun 23 07:52:33 u need to have a blocking read there Jun 23 07:52:57 it's like a normal socket connection, if nobody reads ur data means it's timeout Jun 23 07:53:05 Then I should setup the Android part right Jun 23 07:53:09 :) good Jun 23 07:53:44 Thanks. Will look in that direction now. Jun 23 08:59:27 Hi av500: How was your trip? Jun 23 08:59:36 nice Jun 23 09:05:05 .Greetings vmayoral|pc. BeagleLogic wiki at https://github.com/abhishek-kakkar/BeagleLogic/wiki Jun 23 09:06:12 Abhishek_: greetings :)! Jun 23 09:06:17 received, looking good Jun 23 09:19:39 vmayoral|home: When do we see the Erle fly ;) ? Jun 23 09:38:58 Abhishek_: good question :), i'm doing my best indeed. Unfortunately GSOC scope is not to make it fly but to code BeaglePilot. Still, we are getting closer and closer Jun 23 09:39:23 Abhishek_: i'm now dealing with some attitude issues. After that's fixed we should be able to see small quads around :) Jun 23 09:39:46 We will launch a crowdfunding campaign soon. I'd be happy to ship you a board if you're interested ;) Jun 23 09:41:36 Good to know :) Jun 23 09:43:57 vmayoral|home: Kickstarter? I would love to back it :) Jun 23 09:45:50 praveendath92: that'll be great :). probably Indiegogo. Jun 23 09:46:08 praveendath92: btw, good to see you around! how is it going? Jun 23 09:46:11 all good with the coding? Jun 23 09:46:49 before we crowdfund it i'd like to put together good docs https://www.gitbook.io/@erlerobotics, WIP Jun 23 09:47:40 Although I'm still lagging by a week on my schedule, it is good. Catching up :) Jun 23 09:49:08 Do let us all know when it is up for crowfund. This is a really interesting project. Jun 23 09:51:10 good then :). Remember about the midterm guys! Jun 23 09:51:45 That is there too. Jun 23 11:01:07 praveendath92|pc: works? Jun 23 11:13:58 vvu: Not done yet. Jun 23 11:45:06 vvu: I was going through the AOA site again. No documentation on how to do communication. Documentation ends with setting up the device in ADK mode. It's just sample codes as references from here. Jun 23 11:45:12 :/ Jun 23 11:46:00 karki: botspeak hangout in 15min right? Jun 23 11:50:43 seems so Jun 23 11:52:47 * Abhishek_ wonders whether jkridner would be in the hangout Jun 23 11:54:16 * alexanderhiam looks back through the log from that last meeting he slept through Jun 23 11:55:06 jkridner said he was on the road this AM but didn't mention the hangout... Jun 23 12:05:08 karki: you there? Jun 23 12:05:14 alexanderhiam: you there? Jun 23 12:05:20 ahoy Jun 23 12:05:21 I'm trying to get into the G+ event Jun 23 12:05:28 hi Jun 23 12:05:33 my wifi connection is shotty Jun 23 12:05:42 hi Jun 23 12:07:36 I'm here...... just got back after a game of TT Jun 23 12:07:46 * karki wipes himself Jun 23 12:11:49 karki: do you see the G+ event? Jun 23 12:12:38 yes Jun 23 12:12:51 slow internet though Jun 23 12:13:40 chat invite? Jun 23 12:13:57 "It's taking too long to connect you to this video call. Try again in a few minutes." Jun 23 12:14:11 thats what G+ tells me :( Jun 23 12:14:16 hmm... Jun 23 12:54:39 alexanderhiam: maybe issue a syscall and let the host compute the arithmetic? Jun 23 12:56:33 Abhishek_: ah, just missed that Jun 23 12:57:32 I think that would be more overhead than would be worth the value gained Jun 23 12:58:22 umm yes, no one has put numbers yet on the downcall / syscall overhead. Jun 23 13:00:20 maybe a quick example could be whipped up using the cycle counter on the PRUs to test downcall latencies Jun 23 13:00:44 that would be nice Jun 23 14:14:15 panto: jkridner brough up universal capes for gpio pinmuxing today Jun 23 14:14:17 *brought Jun 23 14:14:52 and? Jun 23 14:15:40 he has suggested that we prepare our overlays with that in mind. Jun 23 14:30:50 hi is the meeting still on Jun 23 14:31:01 er no Jun 23 14:31:13 one meeting was 9h ago Jun 23 14:31:17 the other is in 2 days :) Jun 23 14:32:35 thats good :) I actully missed the meeting.. Jun 23 15:31:03 vvu: Ping Jun 23 15:31:09 av500: Ping Jun 23 15:31:34 Is there a concept claiming an interface in kernel space? Jun 23 15:46:46 praveendath92|pc: sorry? Jun 23 15:47:18 I was successful at transferring data from java to pc Jun 23 15:47:44 good Jun 23 15:47:54 But that's in the userspace code. I received some value in the kernel driver too but need to verify it. Jun 23 15:48:01 Encoding - decoding issues. Jun 23 15:48:02 printk it :) Jun 23 15:48:19 need to drive home, bbl Jun 23 15:48:27 Okiee :) Jun 23 17:21:51 rcn-ee: Is it possible to use to build the bone52 kernel with say, koen's patchset applied? Jun 23 17:22:37 [sorry, I meant to ask: Can I build the bone5x using a tree which already has koen's patchset applied?] Jun 23 20:29:55 alexanderhiam: in Python if there’s something like a = enum( s , d) = range (1,2) what does it mean? Jun 23 20:31:06 in the python docs for enums it only explians for stuff like class Color(Enum): Jun 23 20:49:20 nevermind! I figured it out. **** ENDING LOGGING AT Tue Jun 24 02:59:59 2014