**** BEGIN LOGGING AT Tue Aug 16 02:59:58 2016 Aug 16 04:43:33 ka6sox: ping Aug 16 05:18:49 Herrie, just got back. Aug 16 05:49:42 ka6sox: Ah ok Aug 16 07:53:19 Morning! Aug 16 07:54:23 Tofe: Morning! Aug 16 07:55:56 EricBlade: the dependence on CM is because the work for having an open-source Android base with the driver blobs already integrated is already done on their side Aug 16 09:17:46 Tofe: so would that translate then to basically any kind of open-source Android, or is there something specific to CM that is connected to? not that there are any other open source android projects that run on hardware that isn't supported by CM Aug 16 09:35:48 EricBlade1: if you find another opensource android "distribution" for the device, i.e. that we can rebuild ourselves, then it can work Aug 16 09:36:11 Because we need to patch the bionic libc a bit to get libhybris working Aug 16 09:37:34 CM is nice to have because the procedure is similar for all the devices Aug 16 09:37:40 but not mandatory Aug 16 09:39:19 EricBlade1: Other targets like some of the various boards like the RaspBerry Pi devices can be used too and those don't need libhybris so might be a little easier. Though those aren't usually very portable like a phone or tablet :P Aug 16 09:40:16 ok, so, correct me if/where i'm wrong. we need an android system that boots on the device, that we can patch bionic libc. we build the Android kernel with some extra options enabled, we build a minimal bootable system with a patched bionic so that it works with libhybris, and then we build webOS and make it run that instead of Android. Aug 16 09:41:40 Yes, you summarized it well Aug 16 09:42:08 (and all this, just to get working drivers...) Aug 16 09:42:49 that actually doesn't sound like the most effort i've ever seen to do something that should be easy but isn't :D Aug 16 09:43:08 :) Aug 16 09:43:11 i'm just going to guess that it would be quite difficult to build webOS with bionic instead of standard libc Aug 16 09:43:13 It would be a lot easier if these were just released as source code instead of binary blobs, but that's unlikely to happen anytime.... Aug 16 09:43:47 EricBlade1: as difficult as porting a whole "standard" linux/glibc system to another libc which has a different API Aug 16 09:44:17 For starters, porting systemd might be almost impossible Aug 16 09:44:37 yeah. as i expected Aug 16 09:44:47 EricBlade1: Palm/HP had their own drivers for kernels. So far there seems to be little interest in chipset makers to supply anything other then Android only blobs. Unless someone will fork a significant amount of money... Not something we'll be able to do Aug 16 09:44:47 :P Aug 16 09:45:22 Only a party like Samsung, LG, Huawei, Lenovo or Apple would have that kind of negotiation power. Aug 16 09:45:33 Herrie|Pre3: could be they do a couple of drivers for Tizen, if Samsung is wanting to pay Aug 16 09:45:47 willing* Aug 16 09:45:49 Hence Ubuntu & Jolla guys are sticking with libhybris as well ;) Aug 16 09:46:10 Tofe: Tizen drivers would help I guess :P Aug 16 09:46:23 Since they also use Yocto :P Aug 16 09:46:29 it doesn't give the hardware guys much of an advantage to provide source code for something that they are releasing that they really aren't too hip on people changing Aug 16 09:46:47 Herrie|Pre3: it would help on the samsung device, only; and I wouldn't be surprised if Samsung locks up its commercial device... Aug 16 09:47:00 EricBlade1: Yeah that's true.... Aug 16 09:48:24 Well the community could help to improve things :P Aug 16 09:48:35 There are bright devs that could fix stuff but well ;) Aug 16 09:50:10 so, could someone point me to the bionic libc patching ? i'm just wanting a better understanding of how this all works Aug 16 09:50:16 debugging drivers isn't very fun :p I remember the time when I debugged libhybris on my Tegra2 tablet, it was a bit of a nightmare Aug 16 09:50:39 Tofe: Yeah.... Though Tizen's been in the works forever and little has been released on an actual device (I believe 1 in India) and they followed suit when LG used webOS for TV's and they started using it on their TV lineup. Aug 16 09:51:16 EricBlade1: looks like this: https://github.com/libhybris/libhybris/blob/master/hybris/common/gingerbread/patches/gingerbread-bionic.patch Aug 16 09:51:33 I'll go to lunch, and can explain a bit more later :) Aug 16 10:01:44 ka6sox: When you get to setup my access to bonaire can you hook me up with wiki admin access too so I can fix the issues we currently have. Seems we're missing some extensions like ParserFunctions which are critical for our templates to work. If you could Aug 16 10:01:44 elaborate on what was the issue previously so I can address that too. Aug 16 10:46:32 EricBlade1: the idea behind libhybris is that if you are called during the loading of the Android libraries, you can re-route the calls to bionic libc to some other code that will translate it into glibc calls Aug 16 10:48:00 So what libhybris does is that it replaces the android "linker", responsible for loading the libraries in memory, and hooks known problematic calls to its own functions Aug 16 10:52:08 patching bionic libc is necessary for two reasons: 1. we need to re-route the calls to errno(), in order to return proper error code from glibc, and 2. we need to reorder the threads slots so that it becomes a bit more compatible with glibc threads Aug 16 10:52:44 Looks like they also added some safety "abort" in the pthread function that should never be called in bionc libc too Aug 16 17:45:35 * DougReeder returns from vacation Aug 16 17:54:22 wb DougReeder Aug 16 17:55:15 Hey EricBlade, whatever happened to dmanderson? I never see him on IRC anymore Aug 16 18:05:22 GodGinrai: He left LG for PayPal AFAIK Aug 16 18:05:29 DougReeder: Welcome back Aug 16 18:05:38 Herrie: ah, thanks Aug 16 18:05:39 GodGinrai: I have him on Twitter ;) Aug 16 18:05:55 Not sure he's still at PayPal though... His last tweets were a bit cryptic ;) Aug 16 18:06:01 Complaining about employer and stuff Aug 16 18:06:03 ah Aug 16 18:13:10 GodGinrai: Seems he might be still there: https://www.linkedin.com/in/dmikey Aug 16 18:13:50 Herrie: so I just found out today that he used to work where I'm currently at :P Aug 16 18:14:04 before going back to LG SVL Aug 16 18:16:46 GodGinrai: Small world LOL ;) Aug 16 18:16:59 ikr? Aug 16 18:23:13 Last year I applied for a Job @ Uber, this year I spoke to someone @ Tesla for another job and the person that interviewed me @ Tesla worked together with the person that interviewed me @ Uber while they were both @ PayPal LOL ;) Aug 16 18:28:22 lol Aug 16 18:28:27 that's crazy Aug 16 18:31:30 GodGinrai: Well we're all in the same profession, so not that strange, but yeah :P Aug 16 18:31:35 Small world still :P Aug 16 18:31:44 indeed Aug 16 18:38:48 Help: I'd like to find a better class name than "RingingManager", please... Aug 16 18:41:00 Just RingManager Aug 16 18:41:07 IncomingCallManager Aug 16 18:41:32 Right now it's dedicated to the ring Aug 16 18:41:37 let's do RingManager Aug 16 18:45:13 RingManager sounds good Aug 16 18:45:21 be sure to include an ASCII sonic comment Aug 16 18:48:37 :) Aug 16 18:52:49 Herrie: the 3 PRs have been tested on my N4, they seem to work well Aug 16 18:53:10 I hope I didn't forget an impacted project Aug 16 18:54:33 ... and here comes our new RingManager https://github.com/webOS-ports/org.webosports.app.phone/pull/49 Aug 16 18:54:45 Tofe: OK Aug 16 18:54:54 with a fix for the issue from the forum about neverending ringing Aug 16 18:55:17 As soon as ka6sox sets up my SSH access, I'll clean bonaire up a bit (currently 1 GB of free space) and kick off a new nightly Aug 16 18:55:43 1GB is a bit tight for a new build yes :) Aug 16 18:56:22 GodGinrai: as you wished: https://github.com/webOS-ports/org.webosports.app.phone/blob/9c001f80b5c8fac1eb53852d46130b2ca08b88d9/qml/services/RingManager.qml Aug 16 18:56:31 ka6sox: ^ Gentle nudge :P Aug 16 18:56:45 Tofe: I like the Sonic :D Aug 16 19:07:31 Tofe: nice Aug 16 19:08:23 might want to call "ringingMgrItem" "ringMgrItem", to match the naming Aug 16 19:09:36 Right. Let me fix that right away. Also I'll remove the useless Transition. Aug 16 19:10:39 Done. Aug 16 19:10:41 Tofe, GodGinrai: i thought you meant ^G.. :) Aug 16 19:12:20 nizovn: ^G? Aug 16 19:12:34 https://en.wikipedia.org/wiki/Bell_character Aug 16 19:12:41 oh lol Aug 16 19:19:55 nizovn: Learned something new, must try that on cmd line sometime :P Aug 16 19:20:36 Herrie: hop, cleaned up :) Aug 16 19:24:02 Tofe: OK merged Aug 16 19:27:35 thx Aug 16 22:00:02 Tofe: so.. is there a reason there's not just a forked bionic that is used? Aug 16 22:00:17 godginrai: dmanderson doesn't work at LG anymore, not sure what happened to him after that **** ENDING LOGGING AT Wed Aug 17 02:59:58 2016