**** BEGIN LOGGING AT Fri Mar 20 02:59:59 2015 Mar 20 04:22:33 nerdboy: looks you edited wiki page. and added http://www.nasa.gov/content/goddard/cubesat-instruments-to-demonstrate-nasa-firsts/#.VQugY-mUfQo Mar 20 04:54:57 Mar 20 11:15:21 nerdboy: hi you there? Mar 20 11:55:52 vvu: Ping Mar 20 11:56:21 vvu: I put my proposal on melange, could you have a look please Mar 20 12:05:45 I need a mentor that can help me out by giving me feedback on my melange proposal Mar 20 12:55:37 azizulhakim: please upload the proposal on melange so I can post some comments there Mar 20 13:18:04 I need a mentor that can help me out by giving me feedback on my melange proposal Mar 20 13:18:48 what is your project? Mar 20 13:30:38 hey guys . Got a doubt ! what are the issues faced by the kernel v3.14.x when compared with v3.8.x ? Mar 20 13:31:50 altairpearl: i know usb is more reliable on 3.14 :) Mar 20 13:31:51 My project is called BeagleSim - Circuit simulator Mar 20 13:32:42 The goal of the project is to create a basic working simulator that runs in the browser that users can use for prototyping ideas and trying things out, and novice users can use getting to know how various electrical elements work and how they can be combined with the board. The project will include bone101 tutorials remade to work with the simulator. Mar 20 13:33:36 i have created a very simple demo of how that could work: http://ktrajkovski.com/bonesim/sample.html Mar 20 13:35:16 FREEZX: have you discussed that project with somebody so far? Mar 20 13:35:41 i did discuss it with two people yesterday Mar 20 13:36:57 one guy thought it could be very useful, the other guy thought it would be useless Mar 20 13:38:27 I dont feel its very beagle related Mar 20 13:39:10 well, not on the hardware part, no Mar 20 13:39:46 but it will be able to simulate everything GPIO as on the beaglebone Mar 20 13:40:00 vvu : aah. That's nice. :D Mar 20 13:40:15 and will be able to demonstrate how those bone101 demos work Mar 20 13:45:38 something similar to http://123d.circuits.io/ Mar 20 13:46:20 yes Mar 20 13:46:52 but I'd rather have projects that work with actual BBBs than simulating one Mar 20 13:53:16 I'll add a way to put code on the actual board Mar 20 13:54:44 So once you're done prototyping in the simulator you can build an actual circuit and deploy the code to the BBB Mar 20 13:56:39 did you introduce that project on the mailing list? Mar 20 13:57:27 I did two days ago Mar 20 13:57:32 but nobody responded Mar 20 13:57:55 https://groups.google.com/forum/#!topic/beagleboard-gsoc/CC2CZ6pmuV4 Mar 20 14:16:27 FREEZX : which svg library are you using for the graphics? Mar 20 14:17:20 I like the idea Mar 20 14:19:46 Currently just what SimcirJS Mar 20 14:19:49 offers Mar 20 14:19:59 I hacked on top of that Mar 20 14:21:51 just custom stuff https://github.com/kazuhikoarase/simcirjs/blob/master/simcir.js#L18 Mar 20 14:36:14 sidbh_: pint Mar 20 14:36:31 sidbh_: oops sorry.. ping :) Mar 20 15:01:30 hi Mar 20 15:02:36 I want to contribute to the project Beagle RT Mar 20 15:02:51 any guidelines where to start with Mar 20 16:04:07 karki: ping :) Mar 20 16:04:21 deferred pong Mar 20 16:04:43 => I'll get back to you a bit later :D Mar 20 16:04:53 karki: OK.. Mar 20 16:10:53 vvu: done Mar 20 16:12:06 alexanderhiam: there ? Mar 20 16:12:15 azizulhakim: yep received the confirmation, imma take a look later today and comment Mar 20 16:12:38 okay. thanks Mar 20 17:46:20 Abhishek_: I have a small doubt about pru-bridge... will pru-bridge replace the remote_proc framework ? Mar 20 18:48:34 kiran4399: No, it builds on top of it Mar 20 18:49:23 vvu: thank for the feedback Mar 20 18:49:54 vvu: what exactly was the problem you were facing with the windows backend for libusb? Mar 20 18:54:00 Abhishek_: Could you please have a look at my proposal on melange for PRU-Bridge...would love to hear your feedback :) Mar 20 19:15:58 hello anybody there? Mar 20 19:18:12 nerdboy : ping Mar 20 19:53:22 nerdboy : ping Mar 20 20:27:34 Abhishek_, alexanderhiam : Please review my proposal on Melange Mar 20 20:52:04 Abhishek_, alexanderhiam : Please review my proposal on Melange Mar 20 22:21:27 praveendat92: what are the problems you faced in merging adk and udlfb together? Mar 20 22:22:23 azizulhakim: you need to know when to use adk and when yo use udlfb based on the vid/pid Mar 20 22:22:30 so we need the database (suppose so) Mar 20 22:22:43 vvu: ping Mar 20 22:22:47 pong Mar 20 22:23:00 vvu: I don't have a BB with me Mar 20 22:23:30 webglider: ok if so, i will try to do some tests but i don't guarantee it will be in time Mar 20 22:24:33 yes I can understand that. but I'm just confused about the problem merging them together. Mar 20 22:24:57 we can add both vid,pid in one driver Mar 20 22:25:37 vvu: sure not a problem, thanks Mar 20 22:26:15 https://github.com/azizulhakim/beagledroid-kbd/blob/master/usbkbd.c#L585 Mar 20 22:26:20 jkridner: I put up my proposal for the nw.js app on melange, could you have a look at it please Mar 20 22:27:11 azizulhakim: i'm not really sure if merging them together is a good idea...maintainance of code will be a bit nasty Mar 20 22:27:25 because in all read/write functions you need to see which version of the driver you are using Mar 20 22:29:02 don't think so. because for adk mode you Mar 20 22:29:12 re not goint to register any read/write Mar 20 22:30:30 just check the probe function how I managed to put both adk/mouse driver in one implementation Mar 20 22:30:31 https://github.com/azizulhakim/beagledroid-kbd/blob/master/usbkbd.c#L424 Mar 20 22:31:04 the "if" condition is bit nasty now. but it can be improved Mar 20 22:31:58 azizulhakim: makes sense Mar 20 22:33:06 in this implementation i just face one problem. when you connect the usb cable, the app doesn't popup. but i think there'll be workaround/fix for that Mar 20 22:34:09 maybe ur permissions are not legit Mar 20 22:35:02 no permissions are legit. cause with same permission it works when i only keep the adk mode activated Mar 20 22:36:01 anyway, right now I overcame this with a connect button in the app. I can look into it more. but I think better idea will be to keep everything in one driver Mar 20 22:36:14 hmmmm Mar 20 22:37:13 ds2: can you take a look at azizulhakim on melange ? Mar 20 22:37:33 looking right now :D Mar 20 22:38:28 vvu: wasn't there a project just like this before? Mar 20 22:38:35 now is to extend it Mar 20 22:38:40 with keyboard, mouse and audio Mar 20 22:38:46 Ohhhhh Mar 20 22:40:21 problems I see - QoS and clarification on if this is kernel coding or userspace hacks Mar 20 22:40:43 yes QoS here too :) Mar 20 22:40:58 if everything is going down one EP, I assume it'll be bulk? Mar 20 22:41:05 yes, bulk Mar 20 22:41:11 audio over bulk may have QoS issues Mar 20 22:41:19 ISOC is normally used for audio Mar 20 22:41:33 ADK has only one control and one bulk Mar 20 22:41:51 ah Mar 20 22:42:10 it has isoc but direction is revrsed, send form android to host Mar 20 22:42:16 when in adk+audio mode Mar 20 22:42:17 and the keyboard/mouse stuff - isn't there apps that will do about 80% of that already? Mar 20 22:42:42 sounds like a "mic" feature for the BBB :D Mar 20 22:42:54 "mic" ? microphone ? Mar 20 22:43:02 yes Mar 20 22:43:08 if the isoc is flowing the opposite way :D Mar 20 22:43:13 ah yes Mar 20 22:43:42 but one thing I am very curious is - userland or kernel space on the BBW/BBB Mar 20 22:44:02 azizulhakim: proposed kernel space, especially to continue what was before Mar 20 22:44:41 I guess that is doable Mar 20 22:45:20 QoS is my main concern and it would be nice to be able to leverage existing apps to do the mouse/keyboard stuff Mar 20 22:45:33 over usb, dunno if there are any Mar 20 22:45:42 it won't be ready to go Mar 20 22:45:58 most of them are BT... was thinking of adapting it for USB Mar 20 22:46:07 yes but don't think there is much code for this Mar 20 22:46:16 just a couple of lines, can be made in 2-3 days Mar 20 22:46:53 another problem is how do we know when user clicked on text input on the bbb screen ? Mar 20 22:46:54 it is more of reuse, but sure Mar 20 22:47:05 you don't. you can't. Mar 20 22:47:07 ah wait, stupid question :) Mar 20 22:47:11 yeah figured it out Mar 20 22:47:29 the week #5 stuff echos my QoS concerns Mar 20 22:48:02 can we get a deliverable of a movie played back using this? Mar 20 22:48:45 praveendath92: had last year a demo with a movie played Mar 20 22:48:48 AVsync there should make QoS problems pretty obvious ;) Mar 20 22:50:20 praveendath92: your comment is private :) Mar 20 22:50:48 ds2: this with qos we need some demo to see how it behaves Mar 20 22:51:11 vvu: *nod* avsync is hard enough as is Mar 20 22:51:38 Darn. I will edit it. Mar 20 22:51:49 just repost, you cannot change it :) Mar 20 22:52:05 Reposting Mar 20 22:53:25 vvu: Did you see my latest comment of issue #6 Mar 20 22:53:26 ? Mar 20 22:53:47 Hi. I wrote a mail to the list about adding scripting support for the PMU: https://groups.google.com/forum/#!topic/beagleboard-gsoc/vMl-UOxyrEE Mar 20 22:54:02 yes, reading now Mar 20 22:55:42 praveendath92: yep control goes just on the control interface :) Mar 20 22:56:00 That's some good news. Mar 20 22:56:41 At least now, new users doesn't have to go through verbose lsusb log for the class details. Mar 20 22:56:48 true Mar 20 22:56:53 azizulhakim: include that in the proposal also Mar 20 22:59:35 vvu: sorry, include what? Mar 20 22:59:50 azizulhakim: https://github.com/praveendath92/bard-linux/issues/6 Mar 20 23:02:57 praveendath92: that's how I did it. for adk mode, i'm not registering any file operation. though I didn't get your point about "lsusb" command. we still need that for interface information. right? Mar 20 23:03:26 No. Mar 20 23:03:32 We can work past that Mar 20 23:04:21 The file ops registration is dead code in the adk driver I have there. Mar 20 23:06:03 The easiest way is to set a global variable on probe and unset it in disconnect. Mar 20 23:06:52 If global is not set, set it and do the adk setup. If set, do nothing. Mar 20 23:09:47 you talking about merging adk and udlfb together? Mar 20 23:11:51 jkridner: could you take a look at this demo i made and give me feedback on melange? http://ktrajkovski.com/bonesim/sample.html Mar 20 23:22:36 azizulhakim: No Mar 20 23:23:12 Just about defining the device table params. Mar 20 23:26:29 So what do you mean by set/unset a global variable. what will be the purpose of that variable? Mar 20 23:35:34 Just making sure that we are doing the adk setup for all interfaces probes Mar 20 23:35:41 Once is enough Mar 20 23:38:21 I see. so you mean to use USB_DEVICE instead of USB_DEVICE_AND_INTERFACE_INFO? Mar 20 23:40:46 vvu: Do you have feedback on the PRUs? What do you think of the idea? Mar 20 23:42:03 i do not really have knowledge in that area, i can read the proposal but do not expect something valuable from me :) Mar 20 23:42:35 Ok, thanks for reading it ;-) Mar 20 23:42:44 I'll just see if someone responds on the list. Mar 20 23:48:26 vvu: Do you know if all vendors use same bInterfaceClass, bInterfaceSubclass, bProtocol for Accessory mode? Mar 20 23:48:48 because if they don't we cant just use a VID, PID list Mar 20 23:48:52 we Mar 20 23:49:04 'll have to add interface info also in that case Mar 20 23:50:43 azizulhakim: I'm guessing they all expose same ids in ADK mode Mar 20 23:51:08 We can run a test on small number of devices. Mar 20 23:51:24 I can check for Nexus 10 and OnePlus One. Mar 20 23:51:43 And you Nexus 7? Mar 20 23:54:31 yes, I had the chance to test on some other device also. and seems in accessory mode all of them have 255, 255, 0 for those three attributes Mar 20 23:55:03 if that's the case, then we can use one list of VID, PID for all available device Mar 20 23:59:57 in ADK mode everything is the same Mar 21 00:00:26 we still need vid/pid for devices :) Mar 21 00:00:26 That's good. Mar 21 00:00:35 To get there. Mar 21 00:03:35 https://github.com/praveendath92/bard-linux/issues/7 Mar 21 00:03:38 Just to make sure. Mar 21 00:04:13 I had some differences with cynogenmod ROMs earlier. Mar 21 00:04:52 But that was for endpoint addresses. Mar 21 00:11:03 praveendath92: azizulhakim i think best chance is still to get in touch with chainfire and ask for those details Mar 21 00:11:41 Yes. Now that we have a way to do it with just vid, pid Mar 21 00:11:49 I will get in touch. Mar 21 00:30:44 vvu: azizulhakim Ping Mar 21 00:31:50 Would it be possible to register a USB device with just vendorid? Mar 21 00:38:06 vvu: azizulhakim: solved our little problem. Mar 21 01:22:22 praveendath92: yep Mar 21 01:38:23 i think i have a solution for bbblfs windows/osx Mar 21 01:38:30 we can go native...and ditch libusb **** ENDING LOGGING AT Sat Mar 21 02:59:59 2015