**** BEGIN LOGGING AT Mon Jun 30 03:00:00 2014 Jun 30 05:03:59 Hi all Jun 30 05:13:23 Hey Abhishek_ Jun 30 05:16:53 rseethamraju: how's it going? Jun 30 05:17:29 alexanderhiam: I added almost everything we discussed into spi.py Jun 30 05:17:50 Abhishek_ good. What about you? Jun 30 05:18:35 fine. Implemented the standard boilerplate in the sigrok bindings, some bugs to iron out Jun 30 05:20:09 currently, the BBB freezes when I begin an acquisition from libsigrok :P Jun 30 05:20:22 alexanderhiam: and added the example. Though I didn't do the interrupt setup yet. I'll do that later today. Jun 30 05:21:03 I forgot to rename cshigh as csactive Jun 30 05:21:24 good afternoon Jun 30 05:21:29 Abhishek_: you'll figure it out! Jun 30 05:21:42 hi tridge Jun 30 05:21:52 vmayoral: you around victor? Jun 30 05:27:47 rseethamraju: BTW, you still getting a 4sec lag? Jun 30 05:28:59 Oh yes! We're trying openCV now because it only works with the Logitech C290 and not with anything else we've tried Jun 30 05:29:09 Gstreamer that is Jun 30 05:29:52 rseethamraju: C920 or C290? Jun 30 05:31:34 4 second lag for opencv? Jun 30 05:31:49 290 Jun 30 05:31:50 Greetings Jun 30 05:31:58 No for gstreamer Jun 30 05:32:24 OpenCV I'm going to try today Jun 30 05:32:51 morning all! Jun 30 05:33:12 good morning! Jun 30 05:33:13 hello all Jun 30 05:33:55 tridge:ping Jun 30 05:34:10 Hello Jun 30 05:34:17 vmayoral: hi, sorry, just dealing with outage on ardupilot.com Jun 30 05:35:10 tridge: no problem. Let me know if i can help with something Jun 30 05:35:37 vmayoral: while I'm waiting for wordpress to respond, might as well ask you some Qs :) Jun 30 05:35:50 your earle board, that has a mpu6k as well, right? Jun 30 05:36:40 tridge: yeap Jun 30 05:36:53 praveendath92|pc: ping Jun 30 05:37:30 vmayoral: with the recent spi fixes (semaphore and CS pins), does it now work correctly, or do you also see the high noise we see on the PXF ? Jun 30 05:37:47 vvu: Pong Jun 30 05:38:04 vvu: Just a min. I will be online from mobile. Jun 30 05:38:10 oki Jun 30 05:38:16 PC running out of charge. No power. Jun 30 05:39:35 tridge: unfoetunately i have not been able to try it yet (eager to do so) cause i've been travelling this weekend but as soon as i reach home i will. Will report back in the thread you created. Jun 30 05:39:49 ok, thanks Jun 30 05:40:20 i'm think the remaining problem is a hw issue on PXF, but if your board has it too then we'll need to rethink :) Jun 30 05:40:34 vmayoral: how far did you get with the LSM9DSO driver? Jun 30 05:41:07 praveendath92: one sec to look over github Jun 30 05:42:17 praveendath92: why didn't you fork the udlfb ? Jun 30 05:44:09 tridge: made it compile but never tried it. It might need a bit of extra work. Jun 30 05:44:37 * Abhishek_ hopes jkridner will be here soon Jun 30 05:45:26 I just have a local copy. Jun 30 05:45:43 so now we can start including fb driver right ? Jun 30 05:45:52 comms working with no issue? Jun 30 05:45:55 Yep. Jun 30 05:46:12 Yes. I tested it well. Jun 30 05:46:20 perfect Jun 30 05:46:23 tridge: as soon as i finish the tests with the patches we applied (~ following 24 hours) i can get to work on it. Would that be fine? Jun 30 05:46:28 For long transfers too. Jun 30 05:46:39 * vvu needs some coffee Jun 30 05:47:01 vmayoral: yes, thanks. If there is a hw fault the key Q is if its in one board or all PXF boards Jun 30 05:47:13 if in all then LSM9DSO will be the way to go Jun 30 05:47:32 vmayoral: you based the driver on the PX4Firmware lsm303d and l3gd20 drivers, right? Jun 30 05:47:32 vvu: Although we the source for udlfb, everything isn't entirely clear. Specifically the fb stuff. Jun 30 05:47:45 i will read today what you sent me Jun 30 05:47:55 ask ur questions here Jun 30 05:48:00 people know stuff for sure Jun 30 05:48:09 vvu: I found another one. That looks better. Jun 30 05:49:01 mail or like here :) Jun 30 05:49:30 I have it opened on pc. Jun 30 05:49:45 k Jun 30 05:49:45 I will send you. Jun 30 05:50:02 tridge: mmm no. I believe i started from some code for arduino i found. Will do so though Jun 30 05:50:38 vmayoral: I think the LSM9DSO is just a single pkg version of LSM303D and L3GD20 Jun 30 05:51:03 vmayoral: one really key part to making it work reliably is the (undocumented) "disable I2C" cmds Jun 30 05:51:58 vmayoral: see https://github.com/diydrones/PX4Firmware/blob/master/src/drivers/lsm303d/lsm303d.cpp#L644 Jun 30 05:52:26 if you don't make those cmds on startup the chip will sometimes respond to SPI ops for other chips, thinking its I2C Jun 30 05:52:52 vmayoral: the l3gd20 has a similar bug Jun 30 05:53:03 presumably the LSM9DSO has both the bugs :) Jun 30 05:53:36 tridge: i see, thanks :). Jun 30 05:54:10 There isn't any specific question but I'm trying to get a basic idea of a fb driver structure. Jun 30 05:54:20 tridge: how would you like me to share the tests with the mpu6k? Would a screencast work for you? Jun 30 05:54:29 it's exactly lke a char driver Jun 30 05:54:36 * vvu thinks so Jun 30 05:54:45 tridge: wouldn't asserting/deasserting that CS line help iron out that issue? Jun 30 05:54:48 CHAR driver ? Jun 30 05:54:52 Abhishek_: nope Jun 30 05:55:07 Abhishek_: its a real hw bug. Took us months to get ST to admit it Jun 30 05:55:09 and ur X session mmaps the /dev/fb Jun 30 05:55:11 and then writes Jun 30 05:55:18 in the fb driver you have 2 buffers Jun 30 05:55:23 and as far as I know they still haven't documented it Jun 30 05:55:43 one that is drawn on the screen and another one to put all the data for a frame, when 2nd buffer is ready just swap. not to see flickering on the display Jun 30 05:55:47 i think it works like that Jun 30 05:56:01 vmayoral: a log file would be ideal. Look for logs/n.BIN for some n Jun 30 05:56:06 from what I remember from my OS course Jun 30 05:56:20 tridge: sure Jun 30 05:57:02 Swap or shift? Jun 30 05:57:15 tridge: I see. their STM32 family had some strange DMA bugs which were uncovered, and they had a bad time getting it documented. Jun 30 05:57:21 shift sorry Jun 30 05:58:17 praveendath92: brb a bit, coffee and breakfast. Jun 30 05:58:25 Okiee. I will bw here. Jun 30 06:14:53 * praveendath92_ is wondering if he is connected Jun 30 06:15:48 <_av500_> good morning Jun 30 06:24:38 morning _av500_ Jun 30 06:39:17 vvu: http://linux-fbdev.org/HOWTO/index.html Jun 30 07:26:41 praveendath92|pc: the udlfb should give you a working framebuffer, no? Jun 30 07:26:59 praveendath92|pc: I mean, if you strip all the usb stuff from it and just pretent to connect, you should have an fb Jun 30 07:27:08 then put your USB stuff instead Jun 30 07:27:12 Yes. Jun 30 07:27:23 I think so. Jun 30 07:27:31 good Jun 30 07:27:32 then do it :) Jun 30 07:27:50 But there is some initial sequence control and bulk messages Jun 30 07:28:20 To get EDID and other info about displayLink devices Jun 30 07:28:21 as said, strip out their usb stuff Jun 30 07:28:30 just use a fixed edid Jun 30 07:28:33 1024x768 Jun 30 07:29:12 No reading on fb drivers at all. Jun 30 07:29:18 ? Jun 30 07:29:32 reading? Jun 30 07:29:58 Yeah. The structure of a fb driver. Jun 30 07:30:23 Wondering if EDID is the only info required for the driver. Jun 30 07:30:48 I found another version of the driver. Jun 30 07:31:12 Much complex one. I think this is the official version. Jun 30 07:31:46 I forked it at https://github.com/praveendath92/udlfb Jun 30 07:32:42 I will try with stripping all the usb stuff from their driver and give it a go Jun 30 07:34:03 av500: Going for lunch. BRB. Will test it after lunch and let you know. Jun 30 07:55:19 okie Jun 30 07:57:34 av500: Have you worked with poll() for a char device? Jun 30 07:58:29 not knowingly Jun 30 07:59:03 but as usual, ask, dont ask to ask Jun 30 07:59:23 k, sec Jun 30 08:01:13 the problem I am facing is that poll waits for the events to happen accordingly but does not return POLLIN in the revents Jun 30 08:04:22 this is causing problems with the sigrok bindings Jun 30 08:07:32 you call poll on your driver? Jun 30 08:07:51 yep, I added a poll function Jun 30 08:08:34 av500: https://github.com/abhishek-kakkar/BeagleLogic/blob/master/beaglelogic-kernel-driver/beaglelogic.c#L756 Jun 30 08:10:48 the wait queue seems to work fine as events get fired but my application doesn't receive the POLLIN event so gets stuck Jun 30 08:11:52 ah, the operation times out Jun 30 09:47:43 hey panto, how does poll_wait actually work? I mean, does it wait for the wait queue to be woken up or returns immediately? Jun 30 10:58:06 It doesn't seem there is any way for me to remember to attend a meeting at 1:30AM on Sunday night. Jun 30 10:58:08 I thought it was going to be easy enough, but I was wrong. Jun 30 10:58:40 gm Abhishek_ Jun 30 10:58:44 gm karki Jun 30 10:59:00 hi jkridner, you weren't on hangouts too, otherwise I might have pinged you there to get you in Jun 30 10:59:07 jkridner: same here, not a very EDT friendly time Jun 30 10:59:36 I was driving back from Madison, WI. Jun 30 10:59:44 * vvu still blames this morning meeting for his lack of zZzZ Jun 30 10:59:49 :( Jun 30 10:59:54 minutes? Jun 30 11:00:00 did meeting go forward? Jun 30 11:00:25 for the beagle display project praveendath92|pc started working on the framebufer driver Jun 30 11:00:30 we had vmayoral and tridge today with us Jun 30 11:00:40 alexanderhiam, panto, karki: can we try to move our meeting earlier this morning? Jun 30 11:00:42 usb communication works really fluent with large chunk of data Jun 30 11:01:06 yeah, after I make a pretty big deal to tridge that I wanted more interaction. :( Jun 30 11:01:29 jkridner: I'm ready whenever Jun 30 11:01:54 k, I think we can get Chris early. Just want panto and karki. Jun 30 11:02:41 where's the event link for today? Jun 30 11:15:01 https://plus.google.com/u/1/events/centobaobrs15u5d8fa39dvcfos Jun 30 11:20:14 vvu: what did you have to do to get dev_dbg working? Jun 30 11:20:33 echo 7 > /proc/sys/kernel/printk ? Jun 30 11:23:16 think so Jun 30 11:23:22 check debug levels in the kernel Jun 30 11:31:07 Ijkridner : hi Jun 30 11:31:19 * jkridner Jun 30 11:31:21 hi karki_.... Jun 30 11:31:41 can you do the meeting in about an hour and a half? Jun 30 11:31:49 hangouts? Jun 30 11:31:50 ok Jun 30 11:31:54 we have the g+ hangout going.... Jun 30 11:32:01 right now? Jun 30 11:32:09 it is going now.... Jun 30 11:32:12 :o Jun 30 11:32:17 but, Chris needs to take the train in. Jun 30 11:42:47 panto: are you able to join the g+ hangout? Jun 30 11:51:57 jkridner: greetings, catching up what has been discussed this weekend (was travelling). tridge and I made it today for the meeting. I'll be dedicating this week to addressing the IMU issues and enabling the LSM just in case. Will keep you posted. Jun 30 12:18:00 jkridner: we've left the hangout, not sure if it's still recording your blank screen Jun 30 12:18:35 jkridner: karki's down to just questions for Chris, so we can resume when he comes back online Jun 30 12:59:01 panto: need some help with understanding how poll_wait works when you are back Jun 30 13:03:35 panto: this thread has the same issue but the software developers are always redirecting to LDD book, and I am not really getting the expected behavior out of this. Jun 30 13:03:43 http://comments.gmane.org/gmane.linux.kernel/186867 Jun 30 13:52:25 "The dog chasing it's tail" is how I would describe the bug that was in the poll() function causing my BBB to freeze :) Jun 30 13:52:57 *its Jun 30 14:03:28 someone pinged? Jun 30 14:03:46 jkridner, sorry was on the road driving back Jun 30 14:43:04 good evening panto Jun 30 14:43:12 hi Abhishek_ Jun 30 14:45:36 alexanderhiam : what happened to the meeting? Jun 30 14:54:32 karki_: it got closed. Jun 30 14:54:38 do I need to reopen it? Jun 30 14:54:44 panto available now? Jun 30 14:55:12 seems like panto's ping was almost an hour ago. :( Jun 30 14:55:17 crazy day already here. Jun 30 14:57:01 yeah. tiring too :/ Jun 30 14:58:39 jkridner, yeah Jun 30 14:58:46 I'm now here Jun 30 14:59:13 alexanderhiam, panto, karki_: shall we do another quick chat and see if Chris is available too? Jun 30 15:00:05 I wouldn't mind :) but whats the agenda (other than the question or 2 I have)? Jun 30 15:03:27 that'd be the agenda. :-) Jun 30 15:04:38 I'm on the call Jun 30 15:05:10 karki_: you joining? Jun 30 15:05:35 jkridner : sure :) one sec Jun 30 15:06:57 my net is a bit slow today :/ I'll join in a min Jun 30 15:07:24 alexanderhiam: you still around? Jun 30 15:13:34 hmmm Jun 30 15:16:53 was there a Sunday mtg? Jun 30 15:22:46 ds2: at 1130 your time Jun 30 15:22:51 *2330 Jun 30 15:23:53 You said monday Jun 30 15:24:34 ds2: ah sorry, I meant 0130 EDT, or 2330 PST Sunday on your side Jun 30 15:24:44 which is 15hours from now Jun 30 15:24:51 Oh bah....it wraps that way Jun 30 15:25:26 ds2: nvm, mranostay was there. Jun 30 15:26:29 karki: Is the new hangout on a different link? Jun 30 15:26:34 'k Jun 30 15:26:41 karki_: ^ Jun 30 15:26:59 always the weds one Jun 30 15:28:20 ds2: btw, I am planning a BeagleLogic G+ hangout this week (with jkridner, you and mranostay) [I'll see if biot of the sigrok project can make it too as well] . Let me know your free slots Jun 30 15:28:48 I don't do G+. Jun 30 15:29:36 are you available on Skype? Jun 30 15:30:25 nope. Jun 30 15:30:43 what's with the desire to abandon IRC? Jun 30 15:31:03 ds2: the point is not to abandon IRC but supplement it Jun 30 15:46:20 ds2: BTW, the kernel driver is in a usable state, I'm building on the sigrok bindings and it should be wrapped up this weekend Jun 30 16:08:27 famous last words Jun 30 16:42:07 Abhishek_: will you schedule it? Jun 30 16:42:24 jkridner: Thursday? Jun 30 16:42:30 k Jun 30 16:42:40 lemme see if I can bring biot in Jun 30 17:12:25 jkridner: expect sigrok bindings for BeagleLogic to be usable on Wednesday Jun 30 17:12:36 cool!!!! Jun 30 18:26:19 jkridner: sent out the invite Jun 30 18:26:26 thanks Jun 30 19:53:16 jkridner: I had captured a 1 GB logic dump of an I2S bitstream at 10 MHz (101 seconds of audio) a few days ago. I'm running libsigrokdecode on it, and am in the process of dumping the contents into a WAV file. Jun 30 20:11:51 logic dump successful, sounds good Jun 30 20:26:37 Abhishek_: awesome. 1GB, eh? Jun 30 20:26:45 yep Jun 30 20:26:46 compress/store real-time? Jun 30 20:27:04 yep, using LZO to a 250 MB file Jun 30 20:27:28 that's incredible. I'd expect better compression, but that is pretty good. Jun 30 20:27:45 this was last week Jun 30 20:28:03 I can just imagine people snooping I2S busses for exact digital audio copies. Jun 30 20:28:37 I actually did, and ended up with a 100sec wave file that sounds "just like original" Jun 30 20:29:04 Abhishek_: looking forward to the sigrok bindings and most forward to the HTML displays. Jun 30 20:30:09 the HTML display is going to be toughest part of this entire project Jun 30 20:31:12 I see a very bumpy ride ahead :P Jun 30 20:33:28 summer break is almost over, I'll be back to university on 16th Jun 30 20:33:39 ah, how time flies Jun 30 22:32:10 for those folks, you have internal encrypted I2S buses a-la the O4 Jun 30 22:32:12 :D Jun 30 23:57:05 karki, jkridner, panto_: sorry I missed part 2, watching the video now Jul 01 02:52:24 vvu: tried out your bbblfs. works great so far :D thanks Jul 01 02:58:32 alexanderhiam : ping **** ENDING LOGGING AT Tue Jul 01 03:00:01 2014