/srv/irclogs.ubuntu.com/2015/05/05/#ubuntu-touch.txt

=== chriadam|away is now known as chriadam
=== jcbjoe_ is now known as jcbjoe
extraymondaia, but got stuck at finding b2g desktop for linux.02:50
extraymondHi! I was trying to test tv version of gaia.02:50
extraymondBut got stuck at finding b2g desktop for linux02:50
extraymondAnyone know how to do so?02:50
extraymondI'02:50
extraymondI'm following https://developer.mozilla.org/en-US/Firefox_OS/TVs_connected_devices02:50
extraymond... I posted at the wrong forum... just ignore me...02:51
=== muka_ is now known as muka
ClashTheBunnyHi, I'm curious if the current status of the Nexus 5 is actual on the Touch/Devices page.  It has said the same thing for quite a while.  Has there been no progress?  Where are hardware specific bugs kept?04:56
=== ClashTheBunny_ is now known as ClashTheBunny
dufluClashTheBunny: I don't have one, but can only see one bug open: https://bugs.launchpad.net/mir/+bugs?field.tag=nexus505:20
sturmflut-workduflu: Searching for "Nexus 5" on bugs.launchpad.net yields a lot more results for me, https://bugs.launchpad.net/bugs/+bugs?field.searchtext=nexus+505:39
duflusturmflut-work: Yes, although I was going for hardware blockers, which would be mostly in Mir if at all05:40
sturmflut-workduflu: In my humble opinion things like https://bugs.launchpad.net/camera-app/+bug/1423045 are pretty big blockers too, even though they do not exactly seem to be hardware problems05:42
ubot5Ubuntu bug 1423045 in camera-app "camera-app not working on Nexus 5" [High,Confirmed]05:42
=== chriadam is now known as chriadam|away
cylonmath2how can i use my google calendar on the phone?07:03
pundirhi, how tightly bound this mtp implementation https://launchpad.net/ubuntu/+source/mtp is to the Android USB gadget driver?07:39
pundircan it work with a generic MTP configfs driver as such?07:40
pundirrsalveti, ^^07:40
sturmflut-workDoes the "Developer mode" setting change anything besides enabling ADB?09:01
ogra_well, enabling adb changes a lot :)09:02
sturmflut-workHaha09:02
ogra_but no, nothing beyond that09:02
JamesTaitGood morning all; happy Tuesday, and happy Ferret Day! šŸ˜ƒ09:05
cylonmath2u209:17
=== jamesh_ is now known as jamesh
mcphailI think it would be great if /usr/local was mounted rw and was not touched by system upgrades. It would be particulary useful if/when UT becomes multiuser. Would anyone agree?10:07
mpttvoss, cyphermox: An architecture question. Most WPA Enterprise Wi-Fi authentication methods require one or more certificate files or a PAC file. What things do we need to provide for people to do that on Ubuntu Touch?10:14
mpt Iā€™m guessing (a) a file handler thingy so that when you download a cert/PAC file, System Settings lets you save it; (b) a method for the Wi-Fi auth dialog (which has many callsites, not just System Settings) to ask System Settings for the list of available certs/PAC files; (c) a method for Network Manager to extract the desired cert/PAC file from System Settings storage.10:15
mptBut not being an engineer Iā€™m probably amusingly incorrect10:15
tvossmpt, I'm not a 100% sure, but integration with content hub sounds like the easiest way forward. With that, the call site could just say: "Need certificate file of type...", and content hub takes care of resolving10:16
mpttvoss, thatā€™s a possible solution for (b), but the drawback is that the picker would be a secondary dialog on top of the auth dialog. Iā€™d rather just have a menu inside the auth dialog.10:21
tvossmpt, sure, we shouldn't assume a common shared location of data though. Thus I proposed the content hub10:22
pittiogra_: hey Oliver, wie gehts?10:22
mpttvoss, why canā€™t we assume a common shared location of these two particular types of files? Itā€™s not as if any other app will do anything useful with them.10:23
pittiogra_: do you happen to know how I can change the kernel boot params on mako?10:23
tvossmpt, because we generally try to avoid common hard-coded paths around the system. Also: the content picker import thingy on top of the auth dialog would be a one-time operation iiuc10:24
mpttvoss, you say hard-coded path, I say ā€œmethod for asking for the list of available certs/PACsā€ :-)10:27
tvossmpt, to me a method is a call to an interface :) not listing the contents of a probably well-known directory10:28
mptexactly10:28
ogra_pitti, append-cmdline-arg ... and remove-cmdline-arg ... from the abootimg package10:29
tvossmpt, so (b) and (c) could obviously be solved with services. (a) is a content-hub operation10:29
mpttvoss, also, this probably wonā€™t be the last time that the picker is annoyingly slow as a way of accessing files of a particular type. <http://photos2.appleinsidercdn.com/gallery/10509-2769-140917-Messages-2-l.png>10:29
ogra_pitti, just on the running phone ... (and reboot indeed)10:29
tvossmpt, that's again a larger platform discussion that we need to have10:30
pittiogra_: hm, "abootimg --help|grep cmdline" shows nothing; but thanks for the hint, I'll look in that direction10:30
tvossor better: if we want to change the current behavior and alter the primitives we have introduced10:30
pittiogra_: (might be different on dual-boot)10:30
ogra_pitti, ah, no idea about dualboot, we dont really support it10:31
ogra_pitti, with plain abootimg you would use: abootimg -u /path/to/boot/partition -c "cmdline=foo"10:32
ogra_but i guess in the case of dualboot thats hacked up differently so the boot partition might not be what you think10:33
pitti$ cat /proc/cmdline10:33
pitticonsole=ttyHSL0,115200,n8 androidboot.hardware=mako lpj=67677 user_debug=31 uart_console=enable lcd_maker_id=primary lge.hreset=off lge.reset=mode_reset gpt=enable lge.kcal=0|0|0|x lge.rev=rev_11 androidboot.emmc=true androidboot.serialno=01dfbefacd5202ac androidboot.bootloader=MAKOZ30f androidboot.baseband=mdm bootreason=recovery10:33
pittiogra_: yeah, it looks fairly magic like that10:33
ogra_well, the cmdline you see is assembled from different places ... kernel, boot.img and bootloader each set parts of it10:34
pittiogra_: anyway, I just took the plunge and installed systemd-sysv :)10:34
pittiit boots enough to get me a phablet-shell, so I have everything I need10:35
ogra_good10:35
pittiok, the session crashes on startup, but the rest looks good; so running systemd on kernel 3.4 is nowhere near as complicated as I was afraid of originally10:39
pittiogra_: ^ context: it seems $HIGH_ABOVE wants us to move touch to snappy, so we need to accelerate the init move, I guess :)10:39
ogra_pitti, not only HIGH_ABOVE :)10:39
ogra_pitti, well, the only tricky bits i see is the massive amount of upstart job hacks we have and the interaction with the container ... beyond this it shouldnt differ from server or desktop10:41
ogra_(and indeed the lack of kernel features)10:41
pittiogra_: right; I was a bit afraid it required the cgroup reorg from 3.7, but turns out it doesn't10:41
pittiogra_: it only needs kernel-side firmware loading as it was dropped from udev; but we don't do/need that on touch anyway10:41
pittiand even if we need to, that's really easy to put back10:42
ogra_well, not sure how cgroups and systemd would get into pla with ubuntu-app-launch here10:42
ogra_*play10:42
pittiogra_: well, that's session, not system, isn't it?10:42
ogra_yeah10:42
pittiogra_: AFAIK the biggest thing that's not just a JFDI is session upstart jobs listening for property changes10:42
ogra_but i dont know if UAL for example relies on any system upstart features10:42
ogra_well, there are session jobs that heavily depends on system job events too10:43
ogra_we need ot find some ways to bridge that gap again10:44
pittiogra_: right, that's what I meant with the above property changes10:45
ogra_(i.e. mtp-server is rather broken due to that and just constantly running nowadays)10:45
pittiogra_: we have some MPs like https://code.launchpad.net/~xnox/location-service/drop-sys-events/+merge/246050 to eliminate the need for the upstart system bridge10:46
ogra_for mtp and adb i have worked on a new udev based system that doesnt rely on system jobs ... but there are still some issues10:46
ogra_pitti, yeah, that broke the world10:46
pittiogra_: ok, so I think we are by and large on the same page about the outstanding issues10:47
ogra_yeah10:47
pitti$ cat .xsession-errors10:47
pittiinit: unrecognized option '--user'10:47
pittihaha10:47
pittithat might explain why the user session crashes :)10:47
ogra_fun10:47
ogra_i didnt even know we create that file :P10:48
ogra_is the container running properly btw ?10:48
pittiogra_: yes, I already fixed that during the porting sprint10:48
ogra_(there should be /init in your processlist)10:48
pittiogra_: I had the emulator working under systemd all the way up to unity810:49
pittinow I wanted to try on a real device10:49
ogra_oh, nice !10:49
pittiogra_: http://paste.ubuntu.com/10989309/ FYI10:50
ogra_sweet !10:50
pittilxc-ls also says "android  RUNNING  -     -     -       NO"10:50
pittiogra_: so, next I'll figure out why the session crashes right away10:51
pittia phone is a tad more useful without just a black screen :-P10:51
ogra_wow, i wasnt aware how much crap we run in the container ... that could use some cleanup10:51
pittiis it? I thought we'd still use most of that10:52
ogra_sdcrad service is definitely unused10:52
pitti(ok, no idea what qcks is..)10:52
ogra_debuggerd and installd too10:52
ogra_hmm, i thought healthd was drooped ages ago10:53
ogra_but probably ricardo just disabled its logging10:53
pittiwell, there's a wholly new wily release to upload fixes to :)10:53
ogra_yeah, not sure we care enough for N4 to optimize that :)10:54
ogra_its a workhorse for automation ... as long as it fulfills that purpose ...10:54
pittiyay, that was an exceptionally simple fix11:00
ogra_pitti, oh, and there is a UOS session about snappy-phone today ..11:00
pittiunity8 starting fine now11:00
=== MacSlow is now known as MacSlow|lunch
* pitti files https://code.launchpad.net/~pitti/ubuntu-touch-session/systemd/+merge/25824011:08
* ogra_ approves11:10
pittiok, now port /etc/init/ofono.override and I should have a somewhat usable phone :)11:13
pittirockin', works11:18
pitti3G data and telephony11:19
pittiogra_: lxc-android-config is good old dput? no train?11:20
ogra_yeah, but you need to check the train if some silo blocks it11:20
ogra_if so, yu need to hold back til that silo is landed11:21
pittiogra_: yeah, I figure we need to wait anyway until wily is truly open and the CI train moved to it, etc.11:23
pittiogra_: I just wondered about doing an MP vs. just attaching a patch, etc.11:23
ogra_yeah, just dput11:23
pitti(FTR, there is a silo)11:23
ogra_i think rsalveti has a landing pending for that package though11:23
ogra_yeah11:23
pittinot urgent11:23
ogra_for tethering and WIFI AP support11:23
pittiI'll just keep collecting bugs and patches/MPs at https://bugs.launchpad.net/ubuntu/+bugs?field.tag=systemd-boot-touch11:24
ogra_though i'm not even sure if there will be wily silos at all for the phone11:24
ogra_sounded to me like the phone is supposed to stay on vivid11:24
pittiyeah, I understand we want to keep it vivid based, and then move to something snappyish for 16.0411:24
ogra_so not sure how wily will get into play with all this11:25
pittiwell, we'll need some kind of vivid overlay, presumably we'll do a new RTM release?11:25
ogra_we have a vivid overaly PPPA already11:25
ogra_err11:25
ogra_PPA11:25
pittibut regardless where we'll upload to, I can still go ahead and collect patches/MPs there11:25
ogra_(not private :) )11:25
ogra_yeah11:25
ogra_our landing processes are such a mess :/11:26
* ogra_ wishes we had something unique that suits all sides ... instead of multiple different ways to land something11:26
ogra_... always stepping on each others toes ...11:26
robin-herohi all! quick question. Does Facebook support notifications on the bq device with push client? Because I don't get notifications11:27
davmor2robin-hero: no currently11:28
davmor2not even11:28
robin-herothen just Telegram supported, right?11:29
davmor2robin-hero: and twitter11:29
robin-herooh, thanks.I mixed with it :)11:30
davmor2robin-hero: you need a @<you> in twitter or a direct message for twitter to ping11:31
robin-heroAnd make it in Facebook is more difficulty than Telegram?11:32
davmor2robin-hero: I think there were issue with permissions on facebook so it was dropped.11:33
ogra_davmor2, i wonder why we expose facebook in the notification settings then ... we should hide it if it doesnt work11:38
davmor2ogra_: remnants of a happier time ;)  No idea to be honest maybe pete-woods might know more I think this is you right pete?11:40
ogra_well, sounds liek a bug to me :)11:40
robin-heroRemainders are listed there too.11:41
robin-hero*Remainder11:41
pete-woodsdavmor2: unfortunately I am responsible for none of facebook, notifications or online accounts11:41
davmor2pete-woods: why the hell did I think it was you then I'll go back to sleep :)11:42
pete-woodsdavmor2: I thought MacSlow|lunch was the notifications guy11:42
pete-woodsdavmor2: and mardy is the online accounts person11:42
pete-woodsalthough maybe we need the system settings guy11:42
pete-woodsreally don't know for sure11:43
davmor2pete-woods: yeah but I thought it was the indicator that triggered them via messaging indicator11:43
pete-woodsdavmor2: oh right, well if it's indicators then maybe charles might be the right person11:43
pete-woodsI only really do the network indicator11:44
davmor2pete-woods: yeah not sure about the pulling in bit though E:TOO_MANY_MOVING_PARTS11:44
davmor2ogra_: I will return to my default, it's your fault :P  Fix it :D11:47
ogra_well ...11:47
seb128ogra_, davmor2, the notifications entry for facebook is coming from the facebook webapp click11:57
seb128it's a push-helper hook from the click11:58
ogra_seb128, right, well, the apps shouldnt enable that helper if they cant use it11:58
seb128ogra_, right, just pointing to the component that need to be changed ;-)11:58
ogra_yeah11:58
ogra_pitti, oooh, i didnt know the main blocker was firmware loading with 3.412:00
ogra_if it is just that ... we even forecfully diverted the udev rule for firmware handlin to leave all that to the container12:01
=== mibofra is now known as Guest60005
robin-herois it possible that my phone discharging faster with turned off wifi/mobil data than with everything are turned on?12:25
=== dholbach_ is now known as dholbach
cwaynerobin-hero, i recall seeing such a bug somewhere, that discharge was faster in flight mode for some reason12:27
robin-herocwayne: both tested without flight mode12:28
robin-herowith turned on wifi/mobile data discharing ~1% at night, with turned off it is about 4%.12:29
cyphermoxmpt: tvoss: sounds indeed like something that could be solved by content-hub, even when it comes to displaying a list of known certificate data objects for the user. presumably there wouldn't be many of them12:39
cyphermoxthis of course depends on content-hub being able to return a list of certificate objects from wherever they may be stored when copied to the system via MTP or otherwise12:40
tvosscyphermox, the content hub is file based, but that isn't an actual limitation12:41
cyphermoxtvoss: what do you mean?12:42
cyphermoxfile based is fine, the certificates are files12:42
tvosscyphermox, yup, the list is displayed by a different app, though12:42
cyphermoxI'm saying "object" here because it can be varying types of files12:42
tvosscyphermox, yup, I think we are in agreement here12:42
cyphermoxok12:42
=== Guest60005 is now known as mibofra
=== dandrader is now known as dandrader|afk
=== MacSlow|lunch is now known as MacSlow
sturmflut-workIs there any documentation on "ubuntu-device-flash core"?13:21
=== elopio_ is now known as elopio
elopiobfiller: meeting?13:32
sturmflut-workHmmm. "ubuntu-device-flash touch --bootstrap --developer-mode --password=1234 --recovery-image /tmp/recovery.img" does not work on the production bq E4.5 device. It flashes the device, using the temporary ADB-enabled recovery image, but when the device comes up with the welcome wizard ADB is not enabled.13:36
jgdxxpitti, hey, how's it going?13:45
=== dandrader|afk is now known as dandrader
=== jgdxx is now known as jgdx
dobeysturmflut-work: is it not enabled, or is it blocked because it's not enabled until the device has been set up (seems like a reasonable expectation, but i am not sure if it works that way or not)?14:12
davmor2sturmflut-work: you haven't set a channel so it won't know where to get the image from14:16
seb128kenvandine, hey, do you have any recommended documentation/tutorial/example about content-hub hacking? also can you easily test c-h code on an u7 env?14:30
kenvandineit works on u7, but not as well as on the phone14:31
kenvandinemostly just app focus isn't as clean14:31
seb128kenvandine, ok, good ... what about the first half of the question? ;-)14:32
kenvandineseb128, d.u.c has docs and i have some hub examples in my +junk that are more detailed14:32
seb128kenvandine, thanks14:32
kenvandinehttps://code.launchpad.net/~ken-vandine/+junk/hub-exporter14:32
kenvandinehttps://code.launchpad.net/~ken-vandine/+junk/hub-importer14:32
kenvandinehttps://code.launchpad.net/~ken-vandine/+junk/hub-sharer14:32
seb128kenvandine, great14:32
=== Lihis_ is now known as Lihis
pittihey jgdx; pretty well, thanks! how about yourself?14:50
sturmflut-workdobey: Well, --developer-mode is supposed to be used to automatically install the device for automated testing, so I would expect that ADB gets enabled while the welcome wizard is displayed. The Touch Wiki even has an entry on how to do this, https://wiki.ubuntu.com/Touch/Testing#Preparation14:51
jgdxpitti, I'm well, thanks. Thing quited down for you yet? :)14:51
pittijgdx: well, -ish; release sprint, post-release high-urgency regression bugs, now UOS :)14:51
pittijgdx: I still have the two NM mock pull requests on my TODO list14:51
sturmflut-workdavmor2: You don't need to specify a channel, it will automatically pick the default one for the attached device.14:51
pittiin case you want to ping about those14:51
jgdxpitti, :) Okay. Any estimate? We're really eager to release it14:52
jgdx*it being the thing depending on the new mocking14:52
pittijgdx: is it urgent?14:52
pittijgdx: oh? you can always modify an existing mock or ship a local one?14:52
pitti(and you have to for vivid anyway14:52
jgdxpitti, that's fine as long as it lands in your repo and gets a review from you14:56
pittijgdx: yes, absolutely; I just wasn't aware that it's blocking something (and it shouldn't)14:56
pittisorry for the delay! (too much stuff is happening.. :-) )14:57
jgdxpitti, dbusmock was one of four blockers :) Now it's one of three.14:57
=== Lihis_ is now known as Lihis
=== dandrader is now known as dandrader|lunch
=== marcusto_ is now known as marcustomlinson
=== dandrader|lunch is now known as dandrader
cylonmath2how i can switch to my other sim?16:59
ogra_cylonmath2, in the system settings or in the dialer app17:00
ogra_(first permanent, second temporaray i think)17:01
cylonmath2thats the problem17:02
cylonmath2i could not find the setting17:03
cylonmath2ahhh okay i guess i gotta restart17:03
ogra_in the cellular settings you pick the default17:03
ogra_oh, yeah, i dont think it supports hotswapping of SIMs yet17:03
cylonmath2thats not an urgent feature i would say17:04
=== alan_g is now known as alan_g|EOD
ogra_yeah, i guess you dont swpa them out very often17:04
ogra_*swap17:04
cylonmath2thx! it works now17:05
ogra_:)17:05
elopiorickspencer3: the argument is object_name, not objectName.17:07
* elopio updates the docs.17:07
rickspencer3whoops17:08
rickspencer3:)17:08
* rickspencer3 tries17:08
elopioballoons: any idea why the signature of the method shows instance, *args, **kwargs ?17:08
elopiothis is the definition: def click_element(self, object_name, direction=None):17:08
elopioseems like sphinx going nuts.17:08
balloonselopio, right, that's what I was trying to get him to do.. but anyone, not sure17:09
balloonsI can rebuild the docs17:09
balloonslet me just do a quick rebuild and see what they say17:10
rickspencer3seems like it shouldn't be "objectName" in some places, and "object_name" other places17:10
rickspencer3but, in any case, it works now ;)17:11
balloonselopio, I tried to simplify and fix rick's __init__.py and launching: lp:~nskaggs/+junk/flash217:11
elopiothat should probably be an alias. Everywhere we take object_name we should accept objectName.17:12
elopioit's weird to mix the qml code style with the python code style.17:12
balloonsindeed.. camelcase style vs underscores17:12
balloonscan we do a highlevel alias for that?17:13
elopioballoons: not really. highest level we can do is a decorator.17:13
elopioI would just add a statement everywhere in the api where we accept object_name.17:14
balloonselopio, the new build looks the same17:15
balloonserr, wait.. no args, kargs is gone17:15
elopioballoons: yes, we need to dig into sphinx to see wtf.17:15
balloonslet me push this17:15
balloonsthe parameters of objectName is still off17:16
balloonsbut again, honestly you shouldn't need to use the object_name="blah" style17:16
elopiowhat would be cool is to receive any *args and **kwargs, and pass them to autopilot.17:17
elopiowe can do it backwards compatible by the object_name alias objectName.17:17
elopiogood ideas to play during the following weeks.17:17
balloonsok, page is updated17:17
balloonslet's get bugs open and tagged then17:18
elopioballoons: https://code.launchpad.net/~canonical-platform-qa/ubuntu-ui-toolkit/fix1451945-click_element_doc/+merge/25828717:21
elopiofor now.17:21
balloonsrickspencer3, I changed your __init__.py around to making launching saner and added in a helper class for the app: lp:~nskaggs/+junk/flash217:24
balloonsthat's more or less how I would setup things17:24
balloonsmerge it and see if you like / makes sense17:25
dobeymzanetti: hey, is there a bug for that weird netowrk routing issue you were talking about last week at the sprint? i tried vivid and hit the same issue18:04
mzanettidobey, there are a couple of bugs, yes. let me try to find them18:05
mzanettidobey, this one might be yours: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/130798118:06
ubot5Ubuntu bug 1307981 in network-manager (Ubuntu) "[touch] randomly messed up routing" [High,Incomplete]18:06
=== BOHverkill is now known as BOHverkill___
mzanettidobey, read the last comment though18:08
dobeyi'm not sure that is the issue i was seeing18:08
dobeyfor me, after a while, the route would just be completely empty. and turning on wifi would have a route, but only for LAN IPs and no default route for 0.0.0.018:11
dobeyand turning on flight mode, the [H] icon would stay in the indicator18:12
ogra_thats an ancient bug ...18:12
ogra_you won the lottery :)18:12
ogra_(no route at all is a rare occurence ... there are multiple bugs btw)18:12
dobeyit wasn't rare for me :)18:35
brunch875oooo will we be starting to get convergence with wily?20:12
ogra_kind of20:12
brunch875nniiiijsse20:12
ogra_might not be available before wily + 0.520:13
ogra_but the work starts right now :)20:13
speck84Hiya all.21:19
speck84I currently working on a HTML5 app does it somebody know how to setup the app to not make it resizable?21:19
=== aaron__ is now known as ahoneybun
dobeyspeck84: #ubuntu-app-devel is probably a better place for app dev questions :)21:28
speck84ok thx21:28
=== salem_ is now known as _salem
=== Danny_D|BNC is now known as Danny_D
extraymondHi! everyone! It seems that I can't use gps on v186 on nexus4 (mako), is that normal?23:28

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