/srv/irclogs.ubuntu.com/2014/05/15/#ubuntu-touch.txt

=== chriadam|away is now known as chriadam
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
northAnyone who is working on ofono here ?06:45
northfirstly I would want to know what RIL Modem is ? Is it similar to the reference-ril provided in the AOSP tree ? second how is Ubuntu's Ofono port able to talk to a QMI/MBIM enabled modems using the proprietary protocols ?06:52
dholbachgood morning06:57
piiramarnorth: oFono in Ubuntu Touch uses a plugin called 'rilmodem', which talks to the original Android device vendor's RIL daemon. oFono does not use the QMI interface directly, but the RIL daemon does. sources at https://github.com/rilmodem/ofono07:01
piiramarand some info in a  recent presentation by rsalveti http://events.linuxfoundation.org/sites/events/files/slides/Ubuntu%20Touch%20Internals_1.pdf07:02
nhainesdholbach: good morning!07:17
JoeyChan Hi   ogra_  my screenshot script seems deprecated, pls update me a new one  :)07:18
JoeyChanthis is the current script I am using:07:19
JoeyChanadb shell mirscreencast -m /tmp/mir_socket -n107:19
JoeyChanadb pull /tmp/mir_screencast_768x1280.rgba /tmp/screenshot.rgba07:19
JoeyChanconvert -size 768x1280 -alpha off -depth 8 /tmp/screenshot.rgba ./screenshot.png07:19
nhainesThe problem with phablet-screenshot is that mir_screencast now appends "_60Hz" to the end of the filename before the extension.07:19
nhainesSo update your adb pull line accordingly.  :)07:19
JoeyChanadb pull /tmp/mir_screencast_768x1280_60Hz.rgba /tmp/screenshot.rgba07:20
JoeyChan?07:20
nhainesShould work.07:20
JoeyChanok  trying  :)07:21
JoeyChanlol,    that works,  thank you nhaines07:22
nhaines\o/07:22
dholbachhey nhaines07:27
=== chriadam is now known as chriadam|away
northpiiramar: Also, looking at Ofono, it uses DBus, so does Ubuntu-touch uses DBus for IPC ?07:46
northAlso is Ubuntu-touch relying on Android's kernel ?07:51
=== fmasi_afk is now known as fmasi
JamesTaitGood morning all; happy Chocolate Chip Day! :-D07:55
bactchocolate chip day?07:57
bacttheres only 365 days in a year and they wanted to waste one on a ice cream flavour?07:57
janimoogra_, is mountall: event failed logged by upstart something to worry about? I've seen it come up on askubuntu for desktop installs but with no clear conclusion09:18
ogra_janimo, mountall is mostly a no-op for us (well, it processes fstab to crate the bind mounts on top of the already mounted fileystem)09:21
ogra_our actual mounting process happens in initrd ... you should check your bind mounts though09:21
ogra_(and compare it to fstab i guess)09:22
janimoogra_, that error message is very non-descriptive though.09:24
northSo the Linux box shipped along with Ubuntu-Touch provides DBus mechanism for IPC and Udev for external hardware connectivity ?09:28
ogra_janimo, well, complain to mountall upstream :)09:32
ogra_(i'm not sure what will happen to mountall when we switch to systemd anyway)09:32
janimoogra_, or wait for systemd? Is that replacing mountall as well?09:32
janimooh yes09:32
ogra_pitti might know09:33
ogra_he maintains most of the transition09:33
janimoAIUI mountall was a stopgap until upstart grew some more features09:33
piiramarnorth: yes D-Bus is heavily used, but that's not specific for Ubuntu Touch (desktop ubuntu uses it, too).09:58
ogra_north, what is "the linux box" you refer to ?09:59
=== dandrader is now known as dandrader|afk
=== fmasi is now known as fmasi_lunch
ogra_ev, having system-settings create /var/lib/apport/autoreport would not help, we need it created before "writable-paths" gets processed, else it will not be writable ... is there any reason to not discuss this on the related bug btw ... i assume the community cant read your asana board10:08
ogra_ev, this is bug 1235436  btw10:09
ubot5bug 1235436 in apport (Ubuntu) "/etc/init/apport-noui.conf is non-functional on the phone" [Critical,Fix released] https://launchpad.net/bugs/123543610:09
evno reason not to discuss it there :)10:10
ogra_:)10:11
ogra_ev, oh, wait ... brian actually made the whole dir writable (something we usually do not do ... ) that should actually work ... but system-settings would need to grow handling of this ... i guess we need to involve Laney or seb128 into the system-settings side10:13
seb128ogra_, handling of what? ev wrote that panel and it's mostly calling whoopsie interface afaik10:15
ogra_seb128, for making it auto-upload /var/lib/apport/autoreport needs to exist ...10:16
ogra_as i understand it is the touch equivalent of /etc/default/apport ... but in that location so it doesnt become a conffile10:17
seb128shouldn't the whoopsie service create it when the settings are changed?10:17
ogra_hmm, ask evan :)10:17
Saviqogra_, "ass for having it merged" good one ;)10:17
ogra_lol10:17
northorga_ I mean the Ubuntu-Touch Linux kernel.10:19
Laneywhat's wrong with SetAutomaticallyReportCrashes on WhoopsiePreferences?10:20
Laneythe panel is supposed to set this already10:20
northI ask piiramar because Android kernel doesn't ship with DBus, and The Touch docs quote that Ubuntu-Kernel is based on Android Kernel, which is quiet confusing10:20
ogra_north, dbus is a userspace tool10:21
=== dandrader|afk is now known as dandrader
northBut orga_ android uses Binder in place of DBus10:21
ogra_north, we do not have any dbus related bits in the kernel ... in fact we use the android source (we have to, to make the binary drivers work) but with our own config and a bunch of additional patches10:21
LaneyI think it's a non system settings issue10:23
ogra_north, we have a minimal android running inside an lxc container ... which we start during the ubuntu boot process ... that container still uses binder where needed so the binary drivers can talk to their daemons ... on the ubuntu side the setup is identical to any other ubuntu install you know10:23
Laneywe already make the right call10:23
Laneythe state is lost after you restart the phone10:23
ogra_Laney, well, then this finction needs to grow handling for the apport default setting too10:24
Laneywhat does that mean10:24
ogra_*function10:24
northSo Ubuntu-Touch essentially has Binder and DBus both running. Also, does the Ubuntu-Touch have udev support ? ogra_10:24
Laneyit is a d-bus property10:24
ogra_Laney, see the bug :) ... apptort wont upload anything without that file exosting (i belive a simple touch would be enough)10:25
Laneyif it's wrong then it is wrong in the service10:25
Laneyno10:25
ogra_*apport10:25
Laneyclients have no business touching that file10:25
ogra_north, yes, it does10:25
Laneyand how would they touch a file in /var anyway10:25
ogra_Laney, i didnt say clients :) i said the function that enables whoopsie needs to enable it too10:25
ogra_else having whoopsie running is pointless10:26
northThen, in that case, we could use Modem Manager which can be optimized for different devices. (I am assuming Ubuntu supports Glib too, correct me if am wrong) ogra_10:26
ogra_i think we use modemmanager already10:26
ogra_ah, no, we dont10:27
northno mm is not used10:27
northNetwork manager is used10:27
ogra_but ofono seems to use libmm-glib010:27
northModem Manager speaks all the protocols. The current design could cut the RIL dependency inside the LXC container10:28
ogra_but we need ril10:28
ogra_you wont manage all features of the modems without it10:28
northModem Manager is the RIL ogra_10:28
ogra_and how does that handle the proprietary settings only the binary rild from the vendor provides ?10:29
northWhat RIL is doing on android based phones/devices is done using modem manager on the desktop10:30
ogra_<- not a telephony guy ... you better wait for awe to wake up in a few hours to discuss such stuff ...10:30
northmm doesn't depend on the rild10:30
northit itself provides the functionality of rild10:30
ogra_north, well, the rild's we use comes from qualcomm ... and only this binary daemon is able to use all HW features the modem has10:30
northI agree. I got no doubt in that, libqmi can do whatever the qualcomm ril can do.10:31
ogra_the HW manufacturer uses proprietary protocols internally ... modemmmanger would not know about these features10:31
ogra_and we dont have the manpower to reverse engineer each and every binary rild out there10:32
northyes yes, exactly, I always feel Android also can cut the usage of rild and start using mm somehow (if it can support udev)10:32
northYou don't have to10:32
northmm already supports so many modems10:32
northout there10:32
ogra_sure, but only the open bits10:33
northNo.10:33
LaneyI think that it's just a bug in whoopsie-preferences10:33
ogra_Laney, fine with me :)10:33
northit follows the same mechanism, like rild but can talk the gpled libqmi and libmbim10:33
ogra_Laney, i dont really care *where* it gets fixed ... just saying something needs to touch that file ... ev suggested that could be system-settings10:34
northsorry can the talk the proprietary protocols using the gpled libqmi and libmbim10:34
northalso, does ubuntu-touch support glib ?10:34
Laneyit is already supposed to10:34
Laneywhoopsie-preferences10:34
Laneybut really it could never be anything other than the service itself which owns this10:35
ogra_north, i think awe tried modemmanager and it didnt work for the two nexus phones that we supported back then because their rild implementation differen so massively already10:35
ogra_*differed10:35
ogra_north, some bits use glib on the low leve, yes10:35
ogra_*level10:36
Stskeepsnot to mention the whole mess of audio routing and how that ties into the stack..10:36
northso glib is not fully functional ?10:36
ogra_oh yeah10:36
Stskeepss/audio/call audio/g10:36
northO_o10:36
northwhere can I get the ubuntu-touch kernel ?10:37
ogra_glib is fully functional but we only use it underneath ... we have no glib support at the UI level everything goes through Qt10:37
ogra_from kernel.ubuntu.com or from the archive via apt-get10:37
ogra_ask in #ubuntu-kernel for more details :)10:38
northsure ogra_10:38
ogra_i only know that mm was ruled out by the guys that know more about telephony than me ... you need to talk to them ... i remember it wouldnt have been as easily portable to all the other android devices and i remember there were missing features you would have had to do a lot of reverse engineering for10:40
ogra_which made us pick the binary rild's instead10:40
northYes, cheap and dirty workaround and completely not the open source way except for ofono10:41
north:p10:41
northand neat too10:41
ogra_well, surely not cheap and dirty10:41
Stskeepsyou can choose to ship a modern smartphone product that sells and gets more money for you to be sustainable, or you can choose to do the right thing and not be sustainable..10:41
ogra_(that was enough hard work to not call it cheap and dirty ... and actually i think thats one of the most collaborative pieces where jolla, firefoxOS and ubuntu work very closely together)10:43
Stskeepswell, not firefox os but yes, it makes life a lot easier that we can rely on a factually api-known ril implementation10:43
Stskeepswhich is massively less investment than implementing a new modem stack in practice10:43
ogra_oh ? i thought FFOS uses it the same way10:44
ogra_just natively (since they are mostly android under the hood)10:44
Stskeepsyeah, true10:44
northoh, FFOS doesn't use ofono10:44
ogra_it surely does10:45
Stskeepsit doesn't, they speak ril directly10:45
ogra_we just merged some code from them afaik10:45
Stskeepshmm10:45
Laneylolz10:45
Laneyok I found the error10:45
Stskeepsnews to me, i'll go check my sources ;)10:45
ogra_or are reviewing something to merge ... i think i heard tony tallk abot some MMS bits he reviews10:45
ogra_probably he just seeks inspiration though and didnt men to merge actually :)10:46
ogra_*mean10:46
northI guess FFOS talks without ofono10:47
northI am pretty sure about it actually10:47
northUbuntu-touch is the only one AFAIK uses ofono port10:47
ogra_i highly doubt that10:48
Stskeeps(sailfishos, openwebos uses ofono rilmodem, at least..)10:48
Stskeepsmaybe more out in field we don't know about10:48
ogra_right10:48
ogra_and i'm pretty sure FFOS too10:48
ogra_but afaik in their completely own fork10:48
ogra_(though as i said, FFOS is mostly android under the hood anyway ... )10:49
Laneyev: would you consider moving lp:whoopsie-preferences to a team branch? :)10:49
northawe is a person ? I thought awe is an expression :p silly me10:49
ogra_north, awe and abeato maintain our ofono stack10:50
ogra_mainly at least10:50
Laneyshock and awe10:50
ogra_haha, yeah10:50
=== MacSlow is now known as MacSlow|lunch
evLaney: I would :-P10:54
* ogra_ waits for the price negotiation to start 10:54
ogra_:)10:54
evLaney: done: https://code.launchpad.net/~daisy-pluckers/whoopsie-preferences/trunk10:54
Laneyone patch complete with upload and that's my final offer!10:54
evha! damn10:54
evmissed opportunity10:54
Laney:P10:55
ogra_heh10:55
Laneymaybe you'll take it to add me to that team?10:55
northSo in a sense Ubuntu is nice because it supports glib, has udev and DBus (probably can switch to kdbus soon) when compared to android10:55
north:p10:55
Laneyev: ^ team joining request10:56
ogra_unlikely that you will see us going to kdbus10:56
ogra_unless android does10:56
piiramarI was under the impression that these two components  https://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js , https://github.com/mozilla-b2g/rilproxy sortof are Firefox's equivalents to oFono and the rilmodem driver, respectively10:56
piiramarstskeeps: ^^10:56
evLaney: done :)10:56
Laneymerci10:56
ogra_north, we are ... and will have to go on ... using the android HAL layer to get full access to the hardware ... so we are kind of bound to use the android kernel source too and not modify it in a way that would break the HAL10:57
ogra_which binds us to certain kernel versions after all10:58
northYea, Ubuntu can be more of a developer friendly OS,  I mean low level.10:59
ogra_well, ubuntu is ubuntu ... as i said ... the android bits all live inside an lxc container ... outside of that container there is a "normal" ubuntu10:59
ogra_but to run that container we are bound to use the richt kernel source ... kdbus would be a pretty intrusive thing to backport ...11:00
ogra_s</richt/right/11:00
ogra_i'm not even sure kdbus will be used on the desktop/server ... even though we will switch to systemd i think our security team has objections to the current kdbus design11:02
ogra_so at least you wont see it used unmodified (unless the design changes before being implemented)11:02
ogra_i also wouldnt expect kdbus to be in a usable state for being a default thing within the next two years ...11:03
northI see11:03
northand is systemd an option for future Ubuntu-Touch ?11:04
ogra_no11:04
ogra_its a requirement ... not optional11:04
ogra_touch will follow suit whatever desktop does11:05
northBut it will break the current android reliance of Ubuntu11:05
ogra_and desktop already works on the switch ... at least for init11:05
northbecause android still uses the oooooooooold init design11:05
ogra_yeah, no issue with that11:05
northif you know what I mean11:06
ogra_well, not the old one ... it uses some completely self designed11:06
ogra_but since android runs inside a container that doesnt matter at all for us11:06
ogra_it can use what it likes ... as long as that can run under lxc11:06
northhaha in a way, ubuntu depends and isolates android :'D11:07
ogra_right11:07
ogra_well, ubuntu depends on libhybris with many HW related bits ... hybris talks to the container11:07
ogra_if some vendor would release a phone with system "foople" we could just port hybris to tallk to that and use "foople" inside the container ...11:08
ogra_its like a black box11:08
ogra_you can replace the content as long as your communication layer keeps working11:08
ogra_(theoretically you could use the windows HAL and run on win8 phones ... if you had tghe source and could make hybris talk to it)11:10
ogra_(or an iphone) ...11:10
northI see some light... looking at your comments11:11
ogra_indeed thats all hypothetical ... nobody will ever give us the win8 or IOS source :)11:13
=== fmasi_lunch is now known as fmasi
ogra_just trying to line out our design here ... the container is a black box that can contain anything you like as long as hybris can talk to it11:14
ogra_which gives us the opptotunity to keep a totally normal ubuntu outside of the container11:14
northand btw, is ubuntu-touch compiled against glibc ?11:15
ogra_sure11:15
northwhich means it is pure linux11:16
ogra_it uses all the normal armhf packages from the ubuntu archive ... the same ones you find on armhf server installs11:16
northjust just some workarounds for a mobile platform11:16
ogra_(for example)11:16
ogra_right11:16
northwow11:17
ogra_well, ubuntu-touch has a specific design ... like the system-image install ... like app convergence (which puts way stricter and more secure contraints on apps than IOS or android have) etc11:17
ogra_sigh11:17
ogra_not convergence11:17
ogra_confinement11:17
ogra_too many similar terms nowadays :P11:17
northhehe11:17
ogra_there we differ a lot from i.e. a normal desktop install ... we dont use debs except for building the readonly system-image for example11:18
wellsbHow can I sign into Ubuntu One using account-console from the terminal?  I keep getting network error when I try from Online Accounts in System Settings, so I can't perform updates or see apps in click store11:40
=== alan_g is now known as alan_g|lunch
=== dednick is now known as dednick|lunch
ogra_wellsb, probably dobey knows ... i think he is involved with that11:42
ogra_(not sure that is possible at all)11:42
dobeyit's not. account-console doesn't let you sign into anything. it's a debugging tool11:43
dobey(and i'm not really here at the moment)11:44
ogra_wellsb, what image number are you on ? we had a few broken ones recently ... you probably need to use ubuntu-device-flash to get to one without network issues11:45
sergiusensogra_: did you do the seed MP I gave you?11:52
ogra_sergiusens, yep, in image 2911:56
=== MacSlow|lunch is now known as MacSlow
=== psivaa is now known as psivaa-afk
pepoohi ?12:06
wellsbogra_, I'm on r27, but I've been having this issue in various versions for about the last month12:16
ogra_sounds weird, what device is that ?12:17
wellsbn412:17
wellsbdobey, can you tell me what fields should be populated (and their values) when doing account-console show <id>12:17
ogra_26 and 27 had the flight mode issues12:17
ogra_28 has them fixed12:17
ogra_so make sure to run at least 28 ...12:18
ogra_29 and 30 had other issues ... dont bother with them12:18
ogra_(or simply just run the promoted ones instead of the untested ones ...)12:18
wellsbThanks ogra_ .  I'll try another upgrade.  I hesitate because it's so painful to have to download 300+mb every time using ubuntu-device-flash12:19
ogra_we usually dont promote the broken ones ... and images from -proposed can break at any time12:19
ogra_so use the ubuntu-touch/devel channel this time12:19
ogra_that will make sure you get fully tested images12:19
sergiusensogra_: heh, polling you was easier than polling the system :-P12:20
ogra_heh12:20
sergiusensmandel: are you really on holidays?12:24
sergiusens:-)12:24
=== jhodapp|afk is now known as jhodapp
=== dandrader is now known as dandrader|lunch
=== tedg is now known as ted
=== alan_g|lunch is now known as alan_g
=== ted is now known as tedg
evLaney: thanks for the fix!13:02
Laneyev: yw13:03
=== dandrader|lunch is now known as dandrader
rsalvetiogra_: firefox os uses ril directly, over socket13:32
rsalvetibut not ofono :-)13:32
ogra_ah, thanks13:32
rsalvetithey implemented a modem manager on java script or similar13:33
ogra_finally someone who understands the matter :)13:33
rsalveticrazy dudes13:33
ogra_yeah13:33
=== psivaa-afk is now known as psivaa
rsalvetinorth: see http://events.linuxfoundation.org/sites/events/files/slides/Ubuntu%20Touch%20Internals_1.pdf13:33
ogra_https://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js then13:33
rsalvetiright13:35
ogra_that means they still use the binary rild from andrpid though13:35
rsalvetiyeah, the use android for everything13:36
ogra_just with a different mechanism on top13:36
ogra_right13:36
rsalvetithey basically replace java with javascript13:36
rsalveti:-)13:36
ogra_haha, yeah13:36
=== gnu is now known as Guest28314
rickspencer3tasty13:49
rickspencer3I think the phone app crashed during a call13:49
rickspencer3but the call kept going, which was good13:50
=== pete-woods is now known as pete-woods-lunch
dobeybzoltan: hi. who's the best person to ping about things that should be in the sdk ppa?14:00
dobeydpm: hi, is there a way to request an immediate sync of translations back to the project in launchpad?14:03
dpmdobey, unfortunately not. IIRC it happens only once a day very early in the European mornings and it cannot be manually requested14:04
dpmdobey, for the automatic exports (commits)14:04
dpmif you are talking about the other way round (.po file contents to be imported to LP) that happens all the time if you enable it, or you can request a manual sync in that direction, yes. But that's generally not used, as most Ubuntu translators, if not all, translate directly from the web UI14:05
=== boiko_ is now known as boiko
dobeyno, i mean the commits14:06
dpmok14:06
dpmdobey, the alternative is to request a download of all the .pos in Launchpad and then do a manual commit of them14:07
dobeyright14:07
dpmthat'd effectively be an immediate, totally manual, sync14:07
dpmbut that's probably not what you're looking for14:07
dobeydpm: right, i'd prefer to have a button on launchpad to do an automatic export back to the branch14:08
dpmyeah :)14:08
bzoltandobey: me, I guess :) shoot what do you need.14:18
=== mhr3_ is now known as mhr3
dobeybzoltan: it seems like unity-scopes-api, unity-api, and ubuntu-download-manager should be in it, no?14:19
bzoltandobey:  sounds logical, yes14:20
dobeygreat14:20
wellsbogra_, it was my ISP after all.  Surprise surprise.  I guess I need to begin working on a vpn client for this platform14:23
bzoltandobey:  would you mind to file a bug against the ubuntu-sdk package?14:24
dobeybzoltan: sure14:24
ogra_wellsb, oh my ...14:24
ogra_great that you found the issue though :)14:25
dobeywellsb: just install openvpn (though there's no UI for it yet)14:27
dobeyyou should be able to manually configure it14:27
dobeywellsb: how is your isp the issue though? they block login.ubuntu.com?14:27
=== alan_g is now known as alan_g|tea
dobeybzoltan: against ubuntu-touch-meta you mean?14:33
bzoltandobey:  yes14:34
dobeybzoltan: https://bugs.launchpad.net/ubuntu/+source/ubuntu-touch-meta/+bug/131986714:37
ubot5Ubuntu bug 1319867 in ubuntu-touch-meta (Ubuntu) "Missing packages in ubuntu-sdk-team ppa" [Undecided,New]14:37
=== alan_g|tea is now known as alan_g
bzoltanogra_: could you please take that request -> https://bugs.launchpad.net/ubuntu/+source/ubuntu-touch-meta/+bug/1319867 ?14:43
ubot5Ubuntu bug 1319867 in ubuntu-touch-meta (Ubuntu) "Missing packages in ubuntu-sdk-team ppa" [Undecided,Confirmed]14:43
awe_davmor2, did you file a new bug for 3g/wifi being disabled by default?14:43
davmor2awe_: I did let me grab it14:48
davmor2bug #131981214:49
ubot5bug 1319812 in indicator-network (Ubuntu) "Indicator-network is doing odd things" [Critical,New] https://launchpad.net/bugs/131981214:49
davmor2awe_: ^14:49
ogra_bzoltan, any particular reason that you filed that against the meta package ?  or was that just a placeholder for something ?14:51
ogra_davmor2, no, the other one ... i dont think you know about it yet14:51
ogra_davmor2, since yesterday mako comes up with wifi off by default14:51
bzoltanogra_: is not that package should list those new stuff?14:51
awe_davmor2, ogra_ mentioned another bug, but if it hasn't been filed yet, he said he would do so...14:52
ogra_bzoltan, well, i'm not sure what you want me to do there ...14:52
ogra_bzoltan, do you want these packages somewhere in the seeds so that ubuntu-touch directly depends on them ?14:52
bzoltanogra_: I think we need couple of extra packages in the sdk meta package ... but educate me please if you think it should be handled  differently14:53
ogra_plars, do you know if we had a bug open for the mantas coming up offline by default ?14:53
bzoltandobey: ^^14:53
davmor2ogra_: awe_ I added it in that bug14:54
davmor2item 214:54
ogra_bzoltan, the sdk-libs meta should just contain packages that define the framework ... i.e. for ubuntu-download-manager we have an entry for qtdeclarative5-ubuntu-download-manager0.1 in sdk-libs ...14:54
dobeybzoltan: i don't know that the ubuntu-sdk package needs to list them (maybe it does), but we need the newer versions in the PPA, so that people on trusty can build things14:54
ogra_bzoltan, for developers we have all the headers in sdk-libs-dev ...14:55
davmor2ogra_, awe_ : I bundled all the issues together in one14:55
ogra_bzoltan, and for image building we have ubuntu-touch which depends on actual binaries shipped in the image ...14:55
ogra_davmor2, well, the manta issue happened before14:55
ogra_davmor2, which might point to the possibility that there are two bugs14:55
davmor2ogra_: yeah so that one you are on your own with :)14:56
awe_we'll see...14:56
ogra_but it looks like nobody filed yesterdays bug14:56
davmor2ogra_: I wasn't here was I ;)14:56
ogra_thats what we get if you are not around for a day14:56
dobeybzoltan: so it seems like the meta package has the deps already14:56
ogra_nobod files bugs anymore14:56
dobeybzoltan: and ubuntu-touch-meta doesn't seem to be in the PPA anyway14:57
ogra_dobey, bzoltan, we definitely dont have either of these packages seeded directly ... for scopes there is libunity-scopes-dev in sdk-libs-dev ... for download manager we have the above in sdk-libs ... and system-image seeded in ubuntu-touch depending on download manager in ubuntu-touch ...14:58
ogra_there is nothing for unity-api14:58
ogra_and i dont think we want that seeded in either ubuntu-touch or sdk-libs ... since these define what goes into the image14:58
dobeyogra_: sure. i'm not picky about whether they are necessarily seeded or not. i just think they should be in the ubuntu-sdk-team ppa14:59
ogra_right, is the meta package in that PPA ?14:59
dobeyno14:59
dobeyat least, not for trusty14:59
dobeybut launchpad doesn't have bugs against archives, so no way to file a bug against the ppa itself. and bzoltan asked me to file the bug there, so i did15:00
ogra_the two -api packages smell like they might be good to be shipped with the headers, not sure if everyone developing afainst sdk-libs wants or should get that installed thogh15:00
ogra_*against15:00
dobeyogra_: well, anyone developing a scope will need it, i guess15:00
ogra_ok, so we should seed these two in sdk-libs-dev15:01
ogra_which is what you should have installed when buiolding against the framework15:01
dobeyor well, at lest, unity-scopes-api requires unity-api15:01
ogra_but that wont fix the PPA at all indeed15:01
ogra_dobey, is that properly reflected in package deps ?15:01
dobeyright, i mostly care about the ppa for this15:01
dobeyogra_: afaik, yes15:01
ogra_then we would only need to seed unity-scopes-api and get the other one for free15:02
ogra_but again, that wont fix the PPA15:02
bzoltanogra_: I see15:03
dobeyright. i'm asking for them to be in the PPA15:03
* bzoltan just passed the daily minimal self humiliation 15:03
dobeyi haven't looked at any possible issues with their relation to the meta packages yet15:03
bzoltandobey:  Okey .. now I get it. So you ask a backport of the meta package to the PPA15:04
dobeybzoltan: well the meta package could go in the PPA too i guess. what i'm aksing for is a backport of unity-api, unity-scopes-api, and ubuntu-download-manager, in the PPA15:05
bzoltandobey:  ohh... that is a different exercise. And a different problem.15:10
bzoltandobey:  according to our new policy the APIs should come from the framework in the chroots, so the click chroot must have these APIs installed. But the click chroots use the archive not the PPA. Hmmm...15:11
bzoltandobey:  because we stopped backporting runtime stuff to dekstop15:11
dobeyhmmm15:12
dobey:-/15:12
bzoltandobey: are you sure you do not want to SRU them to Trusty?15:13
=== gatox is now known as gatox_lunch
dobeybzoltan1: well, that's not up to me. if it's feasible to do so, i would love for that to happen too15:25
dobeybzoltan1: but i think such packages do need to be in a reasonably available manner in a ppa until then at least (and probably after then too)15:26
=== vying is now known as Guest30643
bzoltan1dobey:  these pacages are needed to build the scopes, right?15:27
dobeybzoltan1: yes15:29
bzoltan1dobey:  but not for running them15:35
dobeybzoltan1: well the new versions of the libs are needed for anything that's developed against the newer versions of the libs15:36
davmor2ogra_, awe_: issue one sorted icon is the wrong name, onto issue two, why the wifi is disabled by default15:36
ogra_davmor2, can you file a new bug for the disabled wifi15:37
dobeyah well, need to get lunch15:42
=== pete-woods-lunch is now known as pete-woods
=== jhodapp is now known as jhodapp|lunch
northrsalveti: Then why did Ubuntu-telephony team had to go with another abstraction layer again ?15:53
rsalvetinorth: to use ofono15:54
northWell while that is a simple answer, why use Ofono, when you have RIL already ?15:54
rsalvetinorth: because we don't want to depend on ril-only15:54
rsalvetiwith ofono you could later on use whatever phone that ofono supports15:54
rsalvetilike on the desktop, with at modems and so on15:55
rsalvetiremember we also need to have a compatible solution for the desktop15:55
northYea kinda single RIL multiple modem support15:55
davmor2awe_, cyphermox, ogra_: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/131990615:55
northHave you tried porting Modem Manager to Ubuntu-Touch ?15:55
ubot5Ubuntu bug 1319906 in network-manager (Ubuntu) "indicator-network show wifi disabled on a bootstrap install or ota update on 31" [Undecided,New]15:55
rsalvetiright, but ofono also supports a bunch of additional modems15:55
ogra_davmor2, thanks ...15:55
ogra_awe_, ^^^^^15:56
rsalvetinorth: we discussed that already, before we started the ofono rilmodem project, and ofono was way more complete15:56
rsalvetivoice calls, sim, etc etc15:56
northYes, but look at this perspective, while ofono supports legacy modems, mm supports newer modems which speak newer protocols15:56
rsalvetimodemmanager could only manage data at that point15:56
northok15:56
rsalvetiwell, it's a price you pay, the features we needed were already in ofono15:56
northYes, I would like to port mm to ubuntu15:57
northand test with it15:57
ogra_we do have mm in the archive15:57
rsalvetimm already works on ubuntu15:57
rsalvetidesktop uses mm with nm15:57
ogra_we just dont use it on the phones15:57
ogra_on desktop we use it for 3G dongles etc15:57
awe_north, MM doesn't support voice15:57
* rsalveti lunch15:58
northBut using mm we can remove the dependency on libhybris15:58
ogra_no15:58
ogra_you still need to talk to the container15:58
awe_north, we don't use libhybris for telephony15:58
awe_north, we talk to rild thru a socket15:58
ogra_(for audio etc)15:58
northoh yea. sorry awe_15:58
awe_np15:58
ogra_so while you have no hybris in the actual telephony stack there are enough bits that still requite hybris15:59
awe_well sure...most of the image requires hybris16:00
awe_;D16:00
awe_but again the main reason no to use MM was complete last of voice related functionality16:00
northHmmm,16:00
awe_damn, my typing sucks this morning16:00
northtelephony is a quite complex area to work on, where noOEM goes the open source way :p16:01
northand that OEM is Qualcomm most of the times :'D16:01
awe_and by voice, I mean basic call support, call-waiting, conf calling, call forwarding, ...16:01
northYes, I understand16:02
* awe_ has to take-off; bbl16:02
SolarAquarionI'm getting 404's when i update via apt-get16:02
=== chihchun is now known as chihchun_afk
AlbertASaviq: ping16:13
=== gatox_lunch is now known as gatox
SaviqAlbertA, pong16:13
AlbertASaviq: hey so I just responded to the e-mail thread about powerd/usc rework16:14
AlbertASaviq: so one questions is do we expect any other non-mir sources16:14
AlbertASaviq: for brightness/inactivity timer values?16:14
SaviqAlbertA, I don't think so16:15
AlbertASaviq: otherwise I'll just get started on putting the protobuf messages and reusing the mir socket16:15
SaviqAlbertA, the only sources would be u-s-c sessions16:15
SaviqAlbertA, so they'd all have a Mir session16:15
SaviqAlbertA, yeah, that's fine by me16:15
AlbertASaviq: ok and the other question is the proximity stuff I wasn't clear16:16
AlbertASaviq: my main concern is breaking things as they are right now16:17
AlbertASaviq: proximity is not handled by USC16:17
SaviqAlbertA, it's handled in powerd right now, are you moving it out of there?16:18
AlbertASaviq: the handling was entrenched with display state changes which are out of powerd16:18
SaviqAlbertA, right, so we need to find a place for it between greeter, usc and unity816:18
AlbertASaviq: we could modify powerd slightly16:19
AlbertASaviq: because it still has the ofono stuff in there16:19
AlbertASaviq: and it could just emit a proximity event in that case, at least until the policy rearchitecture comes16:19
SaviqAlbertA, makes sense16:20
SaviqAlbertA, I'll need a clear head to think where I see it in the end, and that (clear head) is not gonna happen today16:21
AlbertASaviq: ok, just send me your thoughts on the e-mail thread16:21
SaviqAlbertA, will do, but for now, since we want to keep the ofono things still in powerd, the above sounds good16:22
AlbertASaviq: ok16:23
northalso rsalveti, why did ubuntu-touch have to go with Cyanogenmod ? and Not AOSP ?16:24
ogra_north, because at that time CM supported more devices so people could port more easily16:25
ogra_north, we switched to AOSP kitkat a while ago for the supported devices16:25
northWhich means this statement should go into the wiki pages16:25
=== chihchun_afk is now known as chihchun
northalso, I would suggest the maintainers to update the wiki with more illustrations :) Just a suggestion :)16:26
ogra_if we would find the time to update the wiki we would :P16:27
northSure ogra_ :)16:27
ogra_to do that properly for all the new stuff doing a port yourself is kind of required to add/remove all the new steps16:28
ogra_and that takes time16:28
ogra_rsalveti, ricmm_, what is libconnectivity-cpp doing ? we are just trying to nail down the network breakage and that seems to be pulled in a new package16:28
ogra_cyphermox, ^^^ do you knwo ?16:29
cyphermoxWellark knows exactly16:30
cyphermoxit would allow things like indicator-network to do things with network devices, in theory16:30
ogra_oh, i thought that was in the gcc4.8 changes16:30
ogra_i see16:31
ogra_so it is a new thing that came in with indicator-network16:31
Wellarkogra_: yes. it just wraps NM, ofono and urfkill api's16:32
Wellarkonly used by indicator-network atm16:32
ogra_Wellark, does it alread yhook in to anything ?16:33
Wellarkthe version in the repo only hooks up with NM16:33
ogra_and could it interfere with anything we had before ?16:33
Wellarknope.16:33
Wellarkdoes not change anything or keep any states of it's own16:34
Wellarkon system level16:34
ogra_we can clearly nail donw the network breakage to a few certain images and your landing is the most suspicious in there16:34
ogra_well, actually the only suspicious one16:34
Wellarkogra_: what are the symptoms?16:34
Wellarkdid you have a bug filed?16:34
ogra_http://people.canonical.com/~ogra/touch-image-stats/29.changes http://people.canonical.com/~ogra/touch-image-stats/30.changes http://people.canonical.com/~ogra/touch-image-stats/31.changes  are the related changelogs16:35
ogra_Wellark, no network on boot16:35
ogra_we discussed that before :)16:35
Wellarkogra_: will visit grocery store quickly16:35
WellarkI will double check after taht16:35
Wellark*that16:35
ogra_and on flo and manta actually not even the wifi options are shown in the system-settings app16:35
ogra_Wellark, davmor2 is just doing some tests and will update the bug16:36
davmor2I might16:36
Wellarkogra_: which bug?16:36
ogra_Wellark, bug 131990616:36
ubot5bug 1319906 in network-manager (Ubuntu) "indicator-network show wifi disabled on a bootstrap install or ota update on 31" [Critical,Confirmed] https://launchpad.net/bugs/131990616:36
=== alan_g is now known as alan_g|EOD
Wellarkogra_: what does "nmcli nm" show ?16:37
ogra_(sorry, i already assigned to cyphermox ... might actually be libconnectivity-cpp0 related)16:37
Wellarkrun inside adb-shell16:37
ogra_Wellark, i dont have an broken install here ... davmor2 ^^^^16:37
Wellarkindicator-network shows wifi as disabled if NetworkManager tells it that WirelessEnabled property is false16:37
davmor2ogra_: I don't have a broken install yet 28 worked remember16:37
cyphermoxall the information is already on the bug16:38
davmor2Wellark: I filed it against network-manager as it seemed to be specific issue with wifi rather than 3g or the indicator16:39
cyphermoxit's the indicator16:39
cyphermoxin that bug, we see the output of nmcli con, nmcli dev, nmcli nm. the wireless device is not disabled, but it's disconnected16:40
cyphermoxWellark: is anything you know setting an initial state in indicator-network as disconnected ?16:40
davmor2cyphermox: I wasn't sure I assumed they were all related initially hence I added them all to one bug.  but there seems to be a new issue in that the settings app is blank on manta and flo on image 3116:41
mterryWellark, I have a branch attached to bug 1319580 btw16:41
ubot5bug 1319580 in indicator-network (Ubuntu) "Secret agent should watch NetworkManager lifecycle" [Undecided,New] https://launchpad.net/bugs/131958016:41
mterryWellark, I was testing it fine yesterday but I went to test a merge from trunk I did on it, and now I'm hitting the "no network indicator" bug16:42
mterryWellark, I thought I just had to update unity8 to fix that?  But didn't seem to work for me16:42
cyphermox*sigh* I'm going to half-trash my bluetooth work and reflash my device and try to reproduce the issue16:44
cyphermoxdavmor2: please, never assume two things are the same bug. I much rather we have hundreds of bug we can close off than one that is open for 3 different issues, that will never be resolved16:45
mterrydoanac, can you fill out the unity8 checklist (https://wiki.ubuntu.com/Process/Merges/Checklists/Unity8) for your https://code.launchpad.net/~doanac/unity8/unlock-device-emulator/+merge/219573 branch?17:10
Wellarkcyphermox: _nothing_ in indicator-network should be setting any initial state17:11
Wellarkotherwise I would get disconnects each time I restart indicator-network17:12
Wellarkdoes anyone have such a system running where this problem is showing?17:12
Wellark+ could someone please start looking into making the test scripts to enable networking if it's disabled17:13
Wellarkthat we need anyway17:14
polylis there a terminal on the ubuntu phone ?17:14
polylto connect to a server ?17:14
doanacmterry: looks like you beat me to it?17:15
Wellarkmterry: is there a critical bug depending on that secret-agent bug?17:15
WellarkI would like to take a look at it tomorrow if at all possible17:15
mterrydoanac, I did for the review side, but the proposer has their own checklist17:15
ogra_Wellark, we're fiddling to much atm ... i think davmor2 will do a fresh install later and can give you info17:15
Wellarkit's already 8pm here17:15
ogra_heh, you are ahead 1h :)17:15
mterryWellark, not five alarm critical, just a blocker for split greeter landing17:16
mterryWellark, i.e. take your time17:16
Wellarkmterry: how close is it to land?17:16
mterryWellark, or rather, tomorrow would be nice  :)17:16
Wellarkmterry: please send me an email on your EOD17:16
mterryWellark, close, but I've been saying that for weeks17:16
Wellarkso I don't forget17:16
Wellarkcyphermox: where does NM store the WirelessEnabled ?17:17
cyphermox/var/lib/NetworkManager/NetworkManager.state. you shouldn't have to worry about that17:17
ogra_Wellark, see #ubuntu-ci-eng ...17:18
Wellarkcyphermox: yep, I should not. just wanted to check17:18
=== beidl_ is now known as beidl
=== jhodapp|lunch is now known as jhodapp
=== tedg is now known as ted
doanacrsalveti: you have a link/list of what apps are available for x86 emulator. for example seems like gallery_app and notes_app are missing?18:52
dobeyare we not building fat packages yet?18:56
rsalvetidoanac: I believe the native apps that are click are not yet available, we're waiting cjwatson to create the chroot for us to be able to build them for x86, then sergiusens will take care of creating and uploading them next week18:59
rsalvetiatm I think just qml and webbrowser apps are available, as they are arch independent18:59
sergiusensdoanac: native clicks are pending, and I think I didn;t loop you in, but we are going to enable them next week with fginther19:00
sergiusensrsalveti: webbrowser is a deb19:00
rsalvetisergiusens: sure, I said web apps :-)19:00
sergiusensrsalveti: lol, yeah, it's hard to read into that :-P19:01
sergiusenscore community apps would be there as well except for filemanager, music and terminal... as soon as music rids itself from grilo, it should also land there19:01
SolarAquarionI'm getting 404's by the ubuntu repo's19:07
dobeySolarAquarion: what repo? the main archive for deb packages?19:09
SolarAquariondobey: the main ones19:09
dobeySolarAquarion: #ubuntu is the help channel for ubuntu, this channel is for discussion about ubuntu on phones19:10
SolarAquariondobey: i'm discussing ubuntu touch19:10
SolarAquarionfor armhf19:10
SolarAquarionor something19:10
dobeycan you pastebin a specific error then?19:12
SolarAquariondobey ports.ubuntu.com 404 not found19:15
SolarAquarionfor binaries19:15
dobeySolarAquarion: i think you need to ask for more help in #ubuntu then.19:15
SolarAquariondobey: this is for discussing bugs in the software?19:16
dobeySolarAquarion: this channel is for discussion of development of ubuntu touch19:16
SolarAquarionok19:17
slvn_hello ! just wondering if the branch of ted is going to be merged?  https://code.launchpad.net/~ted/upstart-app-launch/ld-library-path/+merge/21783219:18
cjwatsonrsalveti: I have a patch for that from Michael in my queue to review, I think20:02
notilewhi, someone porting ubuntu touch for Motox devices?20:03
BigWhaleGreetings...20:21
popeyhello BigWhale20:30
BigWhalepopey, hey! :)20:32
popeyhows you?20:32
BigWhalepopey, Overworked. But ok. :)20:32
BigWhalebut I just installed ubuntu on my nexus20:33
BigWhale:D20:33
popey\o/20:33
kenvandinehey BigWhale!20:33
BigWhalehey ken!20:34
BigWhaleOk, KeePass needs porting to Ubuntu :)20:38
BigWhalePhone20:38
BigWhaleall my passports are 30+ characters long and entering them with on screen keyboard is a pain :D20:39
kenvandineBigWhale, i feel your pain20:40
BigWhale:))20:40
velademHello :D21:33
beidl_is someone here who could answer a tiny technical question regarding ubuntu touch?21:44
=== beidl_ is now known as beidl
beidlI'm planning to port one of my qt apps to ubuntu touch. however, it requires some way to get access to usb devices.21:46
beidlit's a music learning program. main feature is the ability to connect MIDI devices to the device... and play some music.21:47
beidl currently the application works on windows, linux (rtmidi) and android (libusb)21:47
beidlare there any plans to give applications a way to access usb devices?21:48
t1mpbeidl: I think if you can access the usb devices via cpp you can expose those to qml and write an ubuntu touch app21:49
t1mpmaybe there is already a qt lib for that?21:50
beidlt1mp: I'm more concerned about how opening the usb devices file descriptor from within the app works in the sandbox world21:50
t1mpbeidl: seems like libusb is already included in the imag libusb-1.0-0: Installed: 2:1.0.17-1ubuntu221:52
t1mpbeidl: as far as I know you need to configure your click package to request the access that you need, and then the user needs to allow it when installing the package21:53
beidlt1mp: interesting. I'd have to test it, but I'd be quite surprised if access to usb devices is not restricted on ubuntu touch21:53
t1mpeverything is restricted, so probably you need to study how the click packages work and request access to hardware21:54
t1mpbeidl: see http://bazaar.launchpad.net/~phablet-team/camera-app/trunk/view/head:/click/camera-apparmor.json for an example of the camera-app21:54
t1mphttp://bazaar.launchpad.net/~phablet-team/camera-app/trunk/files/head:/click/21:55
t1mpbeidl: I don't know much about it, but until you catch someone here who does, maybe http://developer.ubuntu.com/publish/apps/security-policy-for-click-packages/ helps21:56
* t1mp off now21:56
beidlt1mp: not sure if there is an apparmor policy that would allow access to usb devices. I'm aware of the fact that it's a quite exotic use case ^^21:56
beidlt1mp: anyway, thanks a lot!21:57
beidlif there was a policy for my use case, the application would probably run without changes to the source. it's a miracle that it works on windows, desktop linux and android using the same code base. :)21:58
beidlit was pretty hard though... for example, on windows a QMutex sometimes fails to lock, causing serious issues related to concurrency21:59
Saviqjdstrand, hey, should pkcon install-local generate a profile for a .click?22:03
beidlthe thing is, on android, as soon as you connect a USB device to the tablet/phone using a USB to go adapter, the android framework asks the  user if he'd like to give the application access to the USB device22:03
jdstrandSaviq: yes. sudo -H -u phablet pkcon install-local /path/to/click22:03
Saviqjdstrand, I'm ssh'd in, good enough?22:04
beidlin an ubuntu touch world, I could see hooking this functionality up with udev. but I assume there are no design plans for something like this22:04
beidlfor the UI22:04
belkinsaWho is the Evernote developer sandbox for?22:04
jdstrandSaviq: the security manifest will be placed in /var/lib/apparmor/clicks, then aa-clickhook will take that manifest and drop the appparmor policy in to /var/lib/apparmor/profiles, then the profile is loaded in to the kernel and the apparmor policy cache file is put in /var/cache/apparmor22:05
jdstrandSaviq: should be. you just want to be phablet and not root22:05
Saviqjdstrand, yeah, I'm not seeing it in /var/lib/apparmor/profiles22:05
Saviqjdstrand, what do I do to debug?22:05
Saviqjdstrand, want me to send you the .click?22:05
belkinsaAnd is the way to close/kill an app?22:05
jdstrandSaviq: what does 'sudo aa-clickhook' have to say?22:05
jdstrandSaviq: you can send me the click22:06
Saviqjdstrand, ah, invalid policy version, probably didn't update the policy for new framework22:06
jdstrandSaviq: fyi, you can install click-reviewers-tools and run 'click-run-checks /path/to/click'22:07
jdstrandthat should catch that sort of thing22:07
Saviqjdstrand, thanks, will dig more22:08
jdstrand(though it is limited in that it won't know what click frameworks are on the target device)22:08
=== Ursinha is now known as Ursinha-afk
Saviqjdstrand, I added "location" to my webapp, when trying to access location, getting http://pastebin.ubuntu.com/7470164/ - is that expected?22:15
nethicalthere are any news about ubuntu-touch for Galaxy s3?22:19
=== Ursinha-afk is now known as Ursinha
jdstrandSaviq: we don't let apps talk to nm at this time, so if it is trying to figure out something from there, then yes it is expected22:36
Saviqjdstrand, well, it's just a webapp asking the browser for location info22:37
jdstrandSaviq: if there is an updated api that is safe to use, please file a bug against apparmor-easyprof-ubuntu with the output of 'grep DEN /var/log/syslog'22:37
Saviqjdstrand, I'll have a chat with tvoss tomorrow on the location service then22:37
jdstrandwhat is the output of that command? ^22:37
jdstrand(I know people have been working on a connection api, but I haven't seen it yet)22:38
Saviqjdstrand, there's actually no DEN for the location API: http://pastebin.ubuntu.com/7470252/22:42
=== jhodapp is now known as jhodapp|afk
jdstrandlooks like you need the audio policy group, btw22:43
Saviqjdstrand, but std{out,err} has: http://pastebin.ubuntu.com/7470260/22:43
Saviqjdstrand, well, not really, there's no sound coming from that webapp - and if there is, I don't want it ;)22:43
Saviqbecause it'd be ads22:43
jdstrandSaviq: ok, then you are hitting the explicit denials in /usr/share/apparmor/easyprof/policygroups/ubuntu/1.1/networking, so yes, that is expected22:45
Saviqjdstrand, ok, will talk to tvoss tomorrow - this seems to be trying to figure out location from surrounding wifi networks22:45
jdstrandthere is nothing in syslog because we silenced them using 'deny'22:45
Saviqyup22:45
jdstrandit very well might be. the nm api however reveals way too much22:46
jdstrand(which is why we deny it)22:46
jdstrandhe probably knows how this will all relate to the new connection api22:46
jdstrandok, gotta run!22:47

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!