**** BEGIN LOGGING AT Mon Dec 25 03:00:01 2017 Dec 25 14:54:51 Hi folks, PMIC of my bbb is fried. Anyway I can think of replacing it without throwing the board ? Dec 25 15:01:04 If you already have the soldering skills for that, you probably know it ;) Dec 25 15:10:41 tejas: that sounds unlikely. why do you think it is fried? Dec 25 15:11:55 (replacing it is probably pretty annoying since it has a large thermal pad) Dec 25 15:13:44 I'm not even sure how you might be able to fry the PMIC, given that it simply shuts down on overcurrent or overvoltage Dec 25 15:14:22 zmatt: whenever I connect the 5V dc supply, the blue light blinks once and nothing happens after that Dec 25 15:14:35 I think PMIC has issue Dec 25 15:14:45 tejas: that means the pmic is attempting power-up sequence but then almost immediately shuts down due to overcurrent Dec 25 15:14:53 most common cause is damage to the AM335x SoC Dec 25 15:15:10 most commonly due to exposing I/O to overvoltage Dec 25 15:15:44 I was using an anolog pin for sensor data collection Dec 25 15:16:07 Kept it to 1.8V max input with proper resistance bridge Dec 25 15:16:29 sorry, gotto go, but I'll probably be back later Dec 25 15:16:36 time for christmas dinner :) Dec 25 15:16:40 afk Dec 25 15:16:48 Wow..!! Dec 25 15:17:35 do you think if an analog pi, if made to collect more than 1.8V by mistake, it might damage AM3358 ? Dec 25 15:19:07 do anyone think if an analog pin, if made to collect more than 1.8V by mistake, it might damage whole AM3358 than just damaging that one particular pin? Dec 25 15:19:58 because , whenever I connect the 5V dc supply, a blue light blinks once and nothing happens after that Dec 25 17:15:52 So, reading a Hackaday thread about emergency power and off-grid power, someone in there commented about Victron Energy, which makes a line of really impressive-looking chargers/inverters/etc and has open-sourced almost all of their communication and management stuff, and digging into that, I find that it's beaglebone-based: https://github.com/victronenergy/ Dec 25 17:16:26 I sort of like the idea that when the grid fails and my inverter decides it's time to start the generator, that generator control logic is actually a python script. Dec 25 17:17:41 https://github.com/victronenergy/venus/wiki/project-bbb Dec 25 19:02:24 hello Dec 25 19:02:29 ? Dec 25 20:11:54 (hi) Dec 25 20:38:08 Holy crap. The control panel lets you plug in a USB GPS so you can review the travels of your yacht or RV or whatever and see what your battery status was like at any physical point along the journey. And since it's got that functionality, why not also add geofencing? It'll dispatch an email if someone steals it... Because every dang thing inside that controller is apparently a python script. And their mott Dec 25 20:38:14 o is apparently "Why not?"! Dec 25 21:05:03 ▄▄▄▄▄▄▄▄▄▄▄▄ HAPPY NIGGER MAS!! IF YOU WANT JOIN A CELEBRATION THAT IS NIGGER FREE PLEASE JOIN #/JOIN RIGHT HERE ON THIS NETWORK!! wbvnz: lyakh maxton__ GoldenBear jkridner ft __av500__ Spidler danieljabailey souther ketas volestorm ferdna schuyler jcv eFfeM akaWolf serg_stetsuk Vasco_O fred_tv Dunedan_ beng-nl knttl kuldeep Guest44076 danmichaelo clockman rthille-ciena CrazyEdd Dec 25 21:05:08 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ HAPPY NIGGER MAS!! IF YOU WANT JOIN A CELEBRATION THAT IS NIGGER FREE PLEASE JOIN #/JOIN RIGHT HERE ON THIS NETWORK!! ibsmtvfwbu: jkridner puzzles eFfeM VirG johanhenselmans lyakh kuldeep Akex_ dl9pf ft nerdboy knttl clockman florian lilabsence __av500__ mikeiniowa brtlin danieljabailey DJW|Home v Dec 25 21:05:13 ▄▄▄▄▄▄▄▄▄▄▄▄ HAPPY NIGGER MAS!! IF YOU WANT JOIN A CELEBRATION THAT IS NIGGER FREE PLEASE JOIN #/JOIN RIGHT HERE ON THIS NETWORK!! gahykkwku: Dunedan_ johanhenselmans Posterdati Spidler CrazyEddy souther Kripton lyakh danieljabailey ayjay_t russ volestorm nerdboy kuldeep Humpelstilzchen beng-nl zjason serg_stetsuk fgau Shadyman __av500__ knttl lilabsence Guiri mikeiniowa florian Dec 25 21:05:18 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ HAPPY NIGGER MAS!! IF YOU WANT JOIN A CELEBRATION THAT IS NIGGER FREE PLEASE JOIN #/JOIN RIGHT HERE ON THIS NETWORK!! ctjozgk: Posterdati VirG Dunedan_ nerdboy __av500__ serg_stetsuk lilabsence Spidler GoldenBear Akex_ jannau Humpelstilzchen russ thurgood jcv knttl volestorm CrazyEddy dl9pf Kripton Vasco_O puzzles fgau mikeini Dec 25 21:05:23 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ HAPPY NIGGER MAS!! IF YOU WANT JOIN A CELEBRATION THAT IS NIGGER FREE PLEASE JOIN #/JOIN RIGHT HERE ON THIS NETWORK!! nzmhaocwm: zjason lilabsence johanhenselmans puzzles volestorm jannau VirG __av500__ Guest44076 akaWolf brtlin danieljabailey clockman CrazyEddy jkridner maxton__ Guiri souther Humpelstilzch Dec 25 21:05:28 ▄▄▄▄▄▄▄▄▄▄▄▄ HAPPY NIGGER MAS!! IF YOU WANT JOIN A CELEBRATION THAT IS NIGGER FREE PLEASE JOIN #/JOIN RIGHT HERE ON THIS NETWORK!! jnktx: beng-nl ft nerdboy Spidler Humpelstilzchen clockman VirG schuyler russ DJW|Home Kripton lyakh souther mikeiniowa johanhenselmans fgau ketas akaWolf dl9pf Vasco_O ferdna brtlin __av500__ rthille-ciena knttl Posterdati Akex_ eFfeM danieljabailey Dec 25 21:09:28 That was quick Dec 25 21:09:39 there's still one spamming up #sparkfun tho Dec 25 22:58:27 zmatt: finally i was installed SGX drivers and your user space stuffs! i can run "kmscude".now i don't have X11/Wayland Dec 25 22:59:27 because of running "kmscube", my drivers and other things installed correct? Dec 25 23:00:09 if kmscube runs okay, that should mean the drivers work Dec 25 23:01:07 Well! now i have a question : how i can install eglfs + installing Qt5? Dec 25 23:04:07 just install the qt5 libraries you want to use, if they haven't already been installed Dec 25 23:05:26 Can i run qt5 apps without wayland/x11? or qt5 handle other things? Dec 25 23:05:53 if the pixel format patch I did is still needed, I have a perl script that performs a binary patch on the shared libraries, which saves the effort of recompiling qt5-base. lemme polish that script a bit and I'll upload it Dec 25 23:06:21 yes that's exactly what the qt5 eglfs backend does: allow you to run a qt5 app directly on OpenGL ES / EGL Dec 25 23:06:49 http://doc.qt.io/qt-5/embedded-linux.html#eglfs Dec 25 23:10:16 do i need to compile qt5 from source? or packaged versions available to installing by apt-get? Dec 25 23:11:59 i only need Qt5-default and qt5serialport-dev Dec 25 23:12:25 we use the standard packages Dec 25 23:22:46 when i issue "apt-get install qt5-default", it want to install some additional packages.and your userspace package marks to remove! Dec 25 23:23:32 odd, it shouldn't do that Dec 25 23:24:06 can you pastebin the output of apt ? Dec 25 23:25:54 https://paste.ubuntu.com/26254098/ Dec 25 23:30:20 what the hell Dec 25 23:30:47 why on earth is it trying to install all that crap Dec 25 23:32:03 ohh, try adding this option to apt-get: -o Apt::Install-Recommends=0 Dec 25 23:32:20 i.e. apt-get -o Apt::Install-Recommends=0 install qt5-default Dec 25 23:35:20 73 packages Dec 25 23:35:22 https://paste.ubuntu.com/26254148/ Dec 25 23:35:33 is that right? Dec 25 23:36:10 some of it still seems a bit unnecessary to me, but at least it's no longer trying to remove the sgx libraries :) Dec 25 23:37:11 Ok Dec 25 23:37:15 i try it Dec 25 23:40:00 I've just uploaded a perl script that performs the pixel format patch: https://liktaanjeneus.nl/sgx/patch-qt5-eglfs_kms.pl I haven't tested whether it still works for the latest qt5 version, but if it no longer works the script will just give an error without making any changes Dec 25 23:40:47 the patch is the binary equivalent of https://github.com/mvduin/qtbase/commit/32c8519ca459 Dec 25 23:46:41 thank you so much Dec 25 23:53:50 (I haven't checked whether the patch is still necessary, perhaps qt5 finally implemented proper detection of supported pixel formats) Dec 25 23:57:45 i will test it. thanks man Dec 26 00:01:08 zmatt: when i run the qt5 examples Dec 26 00:01:10 debian@beaglebone:/usr/lib/arm-linux-gnueabihf/qt5/examples/opengl/cube$ ./cube QXcbConnection: Could not connect to display Aborted Dec 26 00:01:59 export QT_QPA_PLATFORM=eglfs QT_QPA_EGLFS_INTEGRATION=eglfs_kms Dec 26 00:03:30 if necessary you can get verbose debug logging with: export QT_QPA_EGLFS_DEBUG=1 QT_LOGGING_RULES="qt.qpa.gl=true;qt.qpa.eglfs.kms=true;qt.qpa.egldeviceintegration=true" Dec 26 00:07:58 zmatt: wooooooooooooow Dec 26 00:08:06 thank you thank you Dec 26 00:08:12 works Dec 26 00:08:15 you're welcome Dec 26 00:08:43 consider doing a write-up or a mailing list post about your success, so that other people can follow the same steps Dec 26 00:09:02 Yes, sir! Dec 26 00:09:07 sure Dec 26 00:09:22 just one problem! Dec 26 00:09:37 if it's really just one, it's not such a bad day Dec 26 00:10:18 i can execute all opengl examples but ... when i run cube example, my screen is going dark! Dec 26 00:10:45 today is a nice/good day Dec 26 00:11:39 then maybe there's just something about that particular example that doesn't work well with eglfs? ¯\_(ツ)_/¯ maybe try with debugging enabled Dec 26 00:11:44 I don't know that much about qt5 myself Dec 26 00:12:43 Ok, i will test again with debugging enabled Dec 26 00:13:46 i have another question : Did you challenging with screen rotation? Dec 26 00:14:05 in X11 i do it in xorg Dec 26 00:14:26 I think eglfs might support it, dunno, try googling Dec 26 00:15:20 Ok, will do it tomorrow. Dec 26 00:16:41 Thank you for your kind attention/help Dec 26 00:16:47 np **** ENDING LOGGING AT Tue Dec 26 03:00:00 2017