/srv/irclogs.ubuntu.com/2013/06/04/#ubuntu-touch.txt

=== SkavenXXI is now known as SkavenXXI-[OFF]
=== rh387_ is now known as rh387
compuspitalhello everyone01:09
compuspitalI have a few questions about touch, I finally got a tablet with Ubuntu Touch01:10
compuspitalI was wandering how do I go about updating it?01:10
unioah1what do you want to update? the file system?01:38
unioah1There isn't a apt-get in it. So I guess you have to download a new one every time.01:39
bensockethi01:39
bensocketcould anybody tell wat kind of tablet i can put on ubuntu touch ? not including nexas 10  thanks01:41
unioah1One you can get kernel and Andriod source.01:43
bensocketok01:44
bensocketok?01:44
compuspitalI was just curious about updating the software from quantal to raring.01:52
mhall119compuspital: phablet-flash will get you the raring image01:56
mhall119but you might loose what's in /home/phablet coming from quantal01:56
mhall119but once you're on the latest images, phablet-flash preserves /home/phablet/01:56
compuspitalokay even if i'm not running a nexus?01:56
=== chihchun_afk is now known as chihchun
mhall119no, sorry, phablet-flash only works for nexus devices02:31
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
compuspitalHello Guys I just got my first Nexus 7 by exchanging the old device I had Galaxy Tab2 I will run nothing but Ubuntu on my devices04:52
spammerniggers05:05
Mirvcompuspital: nexus7 is excellent for running Ubuntu :)05:33
zsombigood morning05:36
compuspitalis it running on mir yet?05:36
compuspitalthank you Mirv for the advice05:41
=== dpm-afk is now known as dpm
Mirvmir usage is still opt-in, not by default yet05:59
=== Guest48700 is now known as jishnu7
=== greyback|away is now known as greyback
dholbachgood morning07:05
=== chriadam is now known as chriadam|away
oSoMoNdidrocks: hey, when you have a moment, could you please have a second look at https://code.launchpad.net/~osomon/webbrowser-app/i18n-pot-target/+merge/164937 ? I believe I’ve addressed all the comments.09:07
didrocksoSoMoN: not sure today, deploying otto + everything on saucy, mind if it's only tomorrow maybe?09:08
oSoMoNdidrocks: sure, no urgency09:08
didrocksoSoMoN: thanks! will have a lookg :)09:08
didrocksloog*09:08
didrockslook*09:08
oSoMoNthanks :)09:08
didrocksand take coffee…09:08
didrocks:p09:08
oSoMoNtoo much coffee might deteriorate your typing instead of improving it…09:09
didrocksthat's a possibility, indeed :)09:16
=== vrruiz_ is now known as rvr
user82popey, have you tested 3g data yet?09:36
asacsforshee: hey ... todays phablet-flashed image doesnt have a snappy on/off experience anymore?09:38
asacdid it never land?09:38
seb128rsalveti, still there?09:55
dholbachuser82, as far as I know is popey on holidays10:00
user82ok thanks dholbach10:00
diploYep, cruising along a canal at the moment I believe. Has been posting pics from there, not sure if it's from ubuntu phone though10:04
diploAnyone know of an example of a touch app using oauth ? Wanted to try my first app, was going to try interfacing with goodreads.com10:05
simosayshi all10:19
simosayswould anyone know details about ubuntu touch builds?10:19
simosaysI am trying to port touch for samsung tab 2, but having some issues when ubuntu should startup10:20
simosaysif i install raring it will start boot cycle, saucy runs without any booting and starts ubuntuappmanager but no any visible screen10:25
dholbachsergiusens, rsalveti: so the gerrit instance has been talked about quite a bit - and I checked in RT and there seems to be no request for an instance in there (asking because of https://blueprints.launchpad.net/ubuntu/+spec/community-1305-touch-porting)10:26
dholbachdo you remember where this was being discussed in the past?10:27
harishaHello All, I have a query on window management in Ubuntu Touch10:30
harishaBasically I need to switch between 2 QML windows, In Ubuntu Desktop there is utility called "wmctrl", is there equivalent library or commands available on ubuntu touch?10:31
om26eris there a way to turn on the device screen somehow without pressing the power button ?10:32
om26ersergiusens, ^10:32
sil2100oSoMoN: ping!10:45
oSoMoNsil2100: pong10:45
sil2100oSoMoN: so, it seems that we have 3 new AP test failures for webbrowser nowadays10:46
sil2100oSoMoN: could you take a look if these are real failures?10:46
sil2100oSoMoN: thanks!10:51
=== h01ger_ is now known as h01ger
=== chihchun is now known as chihchun_afk
penkmhall119: ping11:02
=== SkavenXXI-[OFF] is now known as SkavenXXI
=== mmrazik is now known as mmrazik|lunch
asacogra: is there a unity-desktop image for ARM still? e.g. do we rely on X for anything on ARM?11:21
ograasac, sure, the panda desktop image11:21
asacdo we want to keep that working?11:22
asacor break it?11:22
ograwe need to QA the apps so they work once convergence happens11:22
asacok. is that the only device we have X drivers for>?11:22
ograwe want to hkeep it until we can test desktop on converged arm11:22
asacseb128: ^^11:22
ograwe have drivers for the nexus711:22
seb128asac, yes?11:23
asacogra: do we have enginereing contacts to get new drivers?11:23
ograbut that would mean two kernels for the same device11:23
asacseb128: this is about a potential blocker to remember for the X update11:23
ograasac, no upfdate11:23
asacogra: never?11:23
ograasac, we cant upgrade PVR11:23
seb128asac, that's already sorted out, we will have an xserver with the video abi break reverted for the panda11:23
ograand it was agreed that we wont upgrad X this cycle11:23
asacsure... i am not very bullish on the future of panda :)11:23
seb128asac, that package will not get new features and stuff but it's good enough for what we need11:24
asacseb128: ok. can we include that in testing?11:24
ografor armhf that is11:24
seb128asac, sure11:24
asacseb128: ok. please add it to a "pre-sign off blueprint" or whatever :)11:24
asacthanks11:24
seb128asac, I'm adding it to my list11:24
seb128yw11:24
asacseb128: can you remember nexus7 too?11:24
asaci think thats more worthwhile to look at than panda to be honest11:25
asac:)11:25
seb128I though we stopped desktop images for the nexus?11:25
seb128ogra, ^11:25
ograso why the heck can i not write to /proc/self/oom_adj even though my roofs is the first OS and not in a container11:25
* ogra doesnt get that11:25
asackernel doesnt have that feature? apparmore doesnt like you?11:25
ograasac, i'm not sure Qa has actually tests running, but i know there are automated tests for panda11:25
seb128asac, I think the problem with the nexus is that the kernel for ubuntu-touch and desktop are incompatible, so if we want a working traditional desktop there we need an extra kernel flavor11:26
ogra*has actually nexus7 tests running11:26
asacseb128: we want a convergence target11:26
ograasac, right, what seb128 said11:26
asacpanda is a very bad one :)11:26
seb128asac, right, that's not going to have old xorg stack though, it's going to have Mir+xorg-mir11:26
ograa) mgmt *strongly* insisted that we need to make use of the pandas11:26
asacseems N7 wouldnt work anyway11:26
ograb) nexus7 needs an extra kernel flavour with hacks to make input devices work11:27
ograand c) it might need extra work to port the QA tests from panda to n711:28
ograkeeping panda is the path of least resistance11:28
asacseb128: do we ahve anything that could be used for mir+xorg?11:31
seb128asac, we should be able to test on the nexus7, since we have drivers for that, when we get a working Mir+xorg-mir11:33
seb128asac, but mir-xorg-mir is not there yet11:33
* ogra thinks mir+xorg is rather for 14.0411:34
om26erHow can I change the auto screen turn off timeout ?11:36
ograthere was a way to inhibit powerd11:37
ograask mfisch11:37
om26ermfisch, hey! ^11:38
ogra(probably powerd has a --help option ...)11:41
netcurlihttps://lists.launchpad.net/ubuntu-phone/msg02051.html11:42
=== mmrazik|lunch is now known as mmrazik
om26ernetcurli, thanks11:44
ograroot@android:/ # su - phablet11:49
ographablet@ubuntu-phablet:~$ echo -10 >/proc/self/oom_adj11:49
ogra-su: echo: write error: Permission denied11:49
ograstgraber, ^^^ any idea why i see this outside of the container ?11:50
asacogra: remember 14.04 is our convergence release :)11:52
ograyes11:52
* asac not convinced that panda is a convergence candidate target11:52
asacfeels we can kill it :)11:52
ograit isnt at all11:52
asacneeds more inpt11:52
asacinput11:52
ograwe need to test the X apps11:52
asacogra: ok. well you said we needed it for convergence story11:52
ograand we wont have XMir in 13.1011:52
ograwe need to make sure the *apps* themselves work11:53
ograno matter under which display system they run11:53
asacFeels like that "make sure the apps work" needs to be redone on xmir anyway11:53
ograafter we have convergence we can kill the native X stuff11:53
asacso not sure how much we shouild invest to make them work now11:53
ograyou want to be sure LibO works11:53
asaclet me do more talking :)11:53
ograi.e. there are no bugs in it11:53
ograand panda is the only setup we can test that with atm11:54
asacogra: the majority of stuff is already tested on x86 i think... what is left is the aprt that depends on the stuff that is going to be replaced anyway11:54
asacthats my current feeling... but well :)11:54
ograas soon as we have XMir we can do the testing with that11:54
asacfor one it seem sto be very cost freiendly to keep panda working11:54
asacas seb128 said :)11:54
asacso its not a real thing to action on11:54
ograwe will kill panda with the 14.04 circle, thats definitely planned11:55
ograuntil then we need to make sure there are no arch specific bugs  in appss11:56
ograand i.e. LibO is a typical candidate for arch specific breakage ... as firefox  or TB are11:56
ogra(or chromium ... )11:57
asacogra: lib0?11:58
asacwhats that?11:58
ograLibreOffice11:58
* ogra sighs 11:59
=== MacSlow is now known as MacSlow|lunch
asacogra: dont be sad11:59
ograi bet the not starting of apps in the flipped container is somehow realted to not being able to write to /proc11:59
ograasac, well, i cant really find the issue with the apps not starting in the flipped images12:00
asacyou have an strace?12:00
ograwell, i cant strace the android container (since i cant access it)12:01
asacguess that might reveal something12:01
asacthought you want to start the apps in the ubuntu container12:01
asaco rrather on ubuntu system12:01
asacogra: any idea if chicken is out today?12:03
ogranope12:03
ograhe didnt say he would be12:03
asachmmm12:03
asacguess i will drag someone else into the management meeting then :)12:03
pmcgowanasac, its 8am here, folks usually start 8:30 or 912:06
om26erSaviq, Hey! How can I force the qml-phone-shell to not restart itself on kill ?12:06
Saviqom26er, edit /etc/device-services12:07
Kaleo_ricmm: do you have an API that tells the app that it's about to quit?12:07
pmcgowansergiusens, hey12:18
simosayshi all, would you have any suggestion where to find reason why screen is blank but ubuntuappmanager and surfaceflinger are running?12:22
simosayslogcat does not give any "big" faults, just skipping libc.so and error opening trace file12:27
ograslangasek, i saw your discussion in the #distro backlog, i'd be happy for any suggestion how to do the rootfs mounting differently (as long as the result is identical to what we have now)12:28
ograslangasek, nothing in the current flipped images is set in stone ...12:30
ograasac, http://paste.ubuntu.com/5732441/ thats an strace from running a qml app from cmdline ... i dont really see anything in there (except that it waits forever to get a surface in the end)12:32
=== jalcine- is now known as jackyalcine
=== jackyalcine is now known as jalcine
asacogra: do i have that app also on the current phablet image?12:40
asace.g. can i run that in ubuntu_chroot?12:40
asachmm12:41
asacogra: any idea what the problem is if i get " adb root -> insufficient privileges"?12:41
asacerr "insufficient permissions for device"12:42
ograadb kill-server && sudo adb start-server12:42
ogratry that12:42
asacstill same :/12:42
asacodd12:42
asaci cannot even do shell anymore12:42
seb128asac, adb root12:42
seb128ups12:42
seb128sorry I misread ;-)12:43
pmcgowanasac, try to unplug and replug12:43
pmcgowanseems adb gets confused sometimes12:43
ograif you are not on saucy, make sure to have the latest android-tools-adb package from the ppa12:43
asachttp://paste.ubuntu.com/5732477/12:43
ograit ships the proper udev rules12:43
asacok let me unplug, kill, plug, start12:43
ograasac,12:43
ograno, it should have been "sudo adb start-server"12:44
asacreally?12:44
ograand stop advertising these illegal downloads :P12:44
asaci dont think i needed that last time12:44
pmcgowanyou should not need that12:44
asacogra: :)12:44
pmcgowanshould not need to restart at all12:44
ograyou shouldnt if you have the udev rules12:44
pmcgowanright12:44
asacok let me check12:45
ograif you use adb from the archive it doesnt have them in pre-saucy12:45
asacguess didnt do that here12:45
asaci have saucy12:45
ograah, that should ship the rules12:45
asaci have rules, maybe it didnt pick it up12:46
ograhmm, we should ship override files for all ttyX.conf jobs12:47
ograasac, oh, and btw: qmlscene --desktop_file_hint=/usr/share/applications/ubuntu-calculator-app.desktop /usr/share/ubuntu-calculator-app/ubuntu-calculator-app.qml12:49
ograthats trhe command i ran12:49
ogra(prefixed with strace indeed)12:49
asacok the device adb was busted12:50
asacneeded to reboot device :/12:50
asacnot sure if you have seen that before12:50
ograif i would i wouldnt care :)12:50
ograwe dont use the android adbd in the flipped container12:50
asacogra: so which user do we run stuff under in phablet?12:51
ograwe have our own ... and that works stable12:51
asacphablet?12:51
ograsu - phablet12:51
ograand then run the above12:51
ograthat should start the app "minimized" and you shoould be able to tap it to fullscreen12:51
=== MacSlow|lunch is now known as MacSlow
ograhere i get a black screen then it starts12:52
RedPandaFoxAnyone had any luck getting touch running on a HTC Sensation?12:52
ograRedPandaFox, check trhe devices wikipage12:52
ogra!devices12:52
ubot5You can find the full list of devices, official images, community images, and works in progress at https://wiki.ubuntu.com/Touch/Devices12:52
stgraberogra: if I'm reading the kernel code correctly, you're not allowed to set oom_score_adj (new name for oom_adj) to a value lower than that of your parent (which becomes your minimum value at fork time)12:53
stgraberogra: that's unless you're root or have CAP_SYS_RESOURCE12:53
ograstgraber, my parent is upstart12:53
ograhmm, which is using 012:54
stgraberogra: right, which has the standard score of 0, so you can't go any lower than that12:54
RedPandaFoxogra, yeah I have seen that. I was just thinking someone may have had some experience. I hoped someone had expanded on a build by LaidbackNikez on XDA12:54
ograstgraber, thanks, didnt know that12:54
asacogra: so in the trace you gave me the /dev/alog/ ERRORS are probably one symptom12:54
asaci dont see the same errors here12:54
ograso we might grant the phablet user CAP_SYS_RESOURCE12:54
stgraberyeah, init doesn't need a special score as it'd mean anyone can do rather bad rescoring. The kernel will never attempt to oom kill pid 1 anyway12:54
ogra*need to12:54
stgraberogra: that or have a privileged (setuid) tool that sets the score. You really want to talk with the security team about this.12:55
ograasac, /dev/alog is fine here12:55
asacogra: your trace shows issues12:55
asaccan you post the URL again?12:55
stgraberogra: I have a feeling that CAP_SYS_RESOURCE may be bad enough that you might just as well run the shell as root if you do that...12:55
ograasac, http://paste.ubuntu.com/5732441/12:55
asacopen("/dev/alog/main", O_WRONLY)        = -1 EACCES (Permission denied)12:56
asacopen("/dev/alog/main", O_WRONLY|O_LARGEFILE) = -1 EACCES (Permission denied)12:56
asacopen("/dev/alog/radio", O_WRONLY|O_LARGEFILE) = -1 EACCES (Permission denied)12:56
asacopen("/dev/alog/events", O_WRONLY|O_LARGEFILE) = -1 EACCES (Permission denied)12:56
asacopen("/dev/alog/system", O_WRONLY|O_LARGEFILE) = -1 EACCES (Permission denied)12:56
asac...12:56
ograoh12:56
asachere i get:12:56
asacopen("/dev/alog/main", O_WRONLY)        = 412:56
asacopen("/dev/alog/main", O_WRONLY|O_LARGEFILE) = 512:56
asacopen("/dev/alog/radio", O_WRONLY|O_LARGEFILE) = 612:56
asacopen("/dev/alog/events", O_WRONLY|O_LARGEFILE) = 712:56
asacopen("/dev/alog/system", O_WRONLY|O_LARGEFILE) = 812:56
ogralet me fix the udev rule ...12:56
asacalso:12:57
asacopen("/sys/kernel/debug/tracing/trace_marker", O_WRONLY|O_LARGEFILE) = -1 EACCES (Permission denied)12:57
ogra /dev/alog is a link, i forgot to adjust the permissions of the target12:57
asacbut guess isnt critical12:57
asaci think thats fine12:57
asacthat file is not found locally here, so no prob12:57
ograasac, but as i suspected, no change12:58
asacpost a new one :)12:58
stgraberogra: hmm, actually CAP_SYS_RESOURCE isn't as bad as I thought it'd be, though some bits are still a bit scary (man 7 capabilities and look for CAP_SYS_RESOURCE)12:58
ograon the ubuntu side i'm pretty sure all is fine12:58
ograasac, i'll leave that to the platform-api specialists :) ricmm will take a look today i thinnk12:58
=== tj is now known as Guest20915
asacok12:59
ograthanks for the /dev/alog hint though13:00
ograsigh, lxc-info could really be clever enough to not have me always type in the name of the only running container13:03
* ogra glares at libhybris ...13:20
ogranow *that's* a version number13:21
mzanettimardy: ping13:28
mardymzanetti: pong13:31
tzitzuhello  boys13:33
tzitzuafter install ubuntu touch  on samsung G nexus ..13:33
tzitzuall okay exept network conection gsm and sms13:34
tzitzu there something more i have to do?13:34
mzanettimardy: hey. I've heard you're the oauth guy13:38
mzanettimardy: I had a bit of a play with it yesterday and thinking how to enable the callback mechanism for native apps13:39
=== dandrader is now known as dandrader|bbl
=== ckpringle_ is now known as ckpringle
mardymzanetti: any ideas are welcome! At the moment we use a QtWebKit window and check when the URL changes to the one that we need13:41
mzanettimardy: yeah... that would have been my approach too. basically creating a OAuthWebView component that disables any browsing capabilities except the login form and block any redirect except the expected one13:42
mzanettimardy: could be something like special://authenticated?oauth_token=ab123456&oauth_verifier=876543abc13:43
mzanettimardy: do you have something already?13:43
mzanettimardy: otherwise I would hack together something tonight for evaluating13:44
mardymzanetti: mmm... is there something wrong with the current approach?13:45
mzanettimardy: what's the current approach?13:45
mzanettimardy: oh... you already have that QtWebkit window in place... I thought so far that's only idea too13:46
mzanettimardy: where can I find id?13:46
awe_mzanetti, did you create a bug for the 3g problem you ran into yesterday?13:46
mzanettiawe_: yes13:46
mardymzanetti: http://bazaar.launchpad.net/~online-accounts/signon-ui/trunk/files/head:/src/browser-process/13:47
mardymzanetti: http://bazaar.launchpad.net/~online-accounts/signon-ui/trunk/view/head:/src/browser-process/browser-process.cpp#L11713:48
mzanettimardy: oh... thats a separate binary. how does the communication work?13:48
mardymzanetti: when the current URL changes to the callback url (modulo the query/fragment), we know that it's finished13:48
mzanettimardy: you still need to pass the token back to the app, no?13:49
mardymzanetti: D-Bus: http://developer.ubuntu.com/resources/technologies/online-accounts/13:50
mzanettimardy: wouldn't it be better if this was in-process?13:52
mzanettimardy: you'd get rid of the D-Bus stuff + it would be only one app and the user couln't break the flow by closing one of the windows13:53
mardymzanetti: not all apps have UI13:54
mzanettimardy: thats true... but in case of a phone-app13:54
mzanettiwhich is probably the biggest use case of OAuth anyways13:55
mardymzanetti: indeed, but think of the resource consumption13:55
mzanettimardy: I think 2 binaries loading up a QQmlEngine consume quite a lot more than one13:56
mardymzanetti: here it might be slightly slower because of D-Bus, but once the authentication is done, all the processes exit13:56
mzanettimardy: well, the WebView can be deleted too even if its in-process13:56
mardymzanetti: right13:57
mardymzanetti: I need to leave now, can we continue tomorrow?13:57
mzanettimardy: sure13:57
mardymzanetti: ping me tomorrow please, or I might forget13:58
mzanettimardy: ok... I'll explore the in-process thing tonight.. should be only few lines of code anyways13:58
mzanetti(for a first test)13:58
mzanettiawe_: found it or should I dig it out for you?13:59
awe_got it14:00
awe_thanks14:00
=== RamchandraApte is now known as crazydude101
=== crazydude101 is now known as RamchandraApte
ograsergiusens, so what do we do with ubuntu-session ... i definitely need a good bunch of changes for the flipped container14:01
ograwhile you want to keep the old one for your saucy images14:01
asacsergiusens: rsalveti: there?14:02
ogra(it is my last blocker to get the flipped images auto-boot into the session)14:02
ograasac, ricardo did his last upload at 13:00 our time14:02
ogralet him sleep :)14:02
mfischogra: what do you want to inhibit?14:02
ogramfisch, i dont, om26er wanted, but i think he got his answer from your ML post14:03
mfischgreat thanks14:03
slangasekogra: well, my expectation was that "flipping the container" would lead to the system using a standard Ubuntu initramfs + root filesystem layout14:03
ograslangasek, it cant14:04
ograwell, technically it could ... but that would end up in tears14:04
sergiusensogra: I would say rebrand and fork14:04
ograslangasek, i initially through about moving / ouot of the subdir, but that would mean that you end up with all the dirs in /data under /14:05
om26ermfisch, yeah I found a way to inhibit but now it seems the screen won't turn off even I set the timeout back to the old value14:05
ograslangasek, so my only option when keeping it in the subdir is to mount /data temporary in the initrd and then bind mount /data/ubuntu to /root before run-init14:05
ograslangasek, thats all in the initramfs-tools-ubuntu-touch package if you want to take a look .... thats surely not the final code :)14:06
ograslangasek, also we need /data, /system and /vendor  mounted in both OSes at the same time ... the latter two are always mounted ro though14:07
slangasekogra: but AIUI the Ubuntu OS is still on the data partition, which is just wrong; it should be on the system partition, and it should really be the *root* of the system partition14:08
ograthat would break android14:08
om26ermfisch, and the problem is that device is in the QA lab so I don't have physical access to it, hence the display have been on for more than an hour now14:08
ogra(and we would have size issues)14:08
slangasekwe're not trying to run Android14:08
ograwe have to14:09
mfischom26er: its been on over 1 hour?14:09
ograandroid uses hardcoded devoice/partition paths everywhere ... if we would put soemthing else than androids /system into that partition it would break14:09
ograadditionally /system is usually the smallest partition14:10
ograyu dont want to use that for a full ubuntu rootfs (especially not with convergence where you grow big)14:10
pmcgowanom26er, mfisch what device are you talking about?14:10
om26ermfisch, not an hour without touching since I have been running tests there as well, though it has been on for 15 minutes now. my timout value is 30sec now14:10
om26erpmcgowan, its a galaxy nexus in the Lab14:11
ograslangasek, oh, and did i  mention that the partition table is usually hardcoded in the factory signed bootloader14:11
mfischom26er: did you restart the service or phone after switching it back?14:11
pmcgowanom26er, I thought you might be hitting the powerd bug but thats not on nexus14:11
om26ermfisch, yes, quite a few times14:12
mfischom26er: okay, please file a bug and attach /var/log/upstart/powerd.log, you'll need sudo to read the file14:12
om26ermfisch, sure, thanks14:13
mfischping me with the bug number and I'll give it a look, although I dont have a gnex or any device right now actually14:14
ricmmKaleo_: no, you expect one?14:15
ograslangasek, in any case i added the missing remaining udev rules, with the latest lxc-android-config package your devices and permissions should be created fine14:16
sergiusenssil2100: actually, _salem did a complete rewrite of telepathy-ofono so it would be probably wise to keep calling it with the 2 but change the trunk or put it into a new project14:16
pmcgowanmfisch, are you aware of the bug with powerd crashing on tablets without sensors14:16
pmcgowanmfisch, just eaves dropping your conversation14:16
sil2100hmm14:16
mfischpmcgowan: I think a fix was released for it yesterday14:17
om26ermfisch, bug 1187407, though I don't see many lines in the logs there.14:18
ubot5bug 1187407 in powerd "Screen does not auto-turn off even the timeout set to 30 secs" [Undecided,New] https://launchpad.net/bugs/118740714:18
pmcgowanmfisch, in saucy, just building for raring14:18
pmcgowanthis sounds quite similar14:18
sil2100didrocks: ^ not sure what to do in this case then, since if we would really want to use the name telepathy-ofono, we could bump the major version and release it as a rewrite14:19
sil2100didrocks: but sergiusens has a point if that's a complete rewrite14:19
pmcgowanmfisch, that log is odd, its not finding the new sensors interface14:19
didrockssergiusens: is telepathy-ofono will continue to be developped?14:20
didrocksor is it dead? (the version 1)14:20
pmcgowanom26er, was that system reflashed or updated?14:20
sil2100I guess it's dead?14:20
sergiusensdidrocks: we won't use it anymore, it's python based14:20
sil2100sergiusens, _salem: ^ ?14:20
sil2100I wonder if anyone else besides us used it14:20
didrockssergiusens: but we are not upstream for it? so taking the same name will be seen as a takeover, right?14:21
om26erpmcgowan, reflashed, I am not sure. I did update powerd from 0.9 to 0.11 when I first gained access to the device14:21
didrocks(version 1)14:21
pmcgowanom26er, its missing a new version of the platform stuff, I wonder if the deps are wrong14:21
_salemsil2100, It's probably dead.14:21
om26erpmcgowan, there are still updates pending including the platform-api there so we might in the end need to reflash14:22
pmcgowanom26er, yes its out of sync14:22
sergiusenssil2100: didrocks https://code.launchpad.net/~sergiusens/dbus-cpp/daily/+merge/16729314:22
_salemsil2100, well, I am almost sure we are the only ones using it, as we wrote it from scratch.14:22
slangasekogra: udev rules> hurrah :)14:22
sil2100sergiusens: erm14:23
sil2100sergiusens: https://code.launchpad.net/~sil2100/dbus-cpp/packaging_review/+merge/16728614:23
didrockssergiusens: thanks! sil2100 is doing the review I guess for dbus-cpp :)14:23
slangasekogra: do you know how big our current Ubuntu image is (unpacked)?14:23
ogra(and an ugly hack that removes the .override file until ubuntu-session is in saucy)14:23
sil2100sergiusens: it seems we duplicated work ;)14:23
sergiusensdidrocks: sil2100 ack, had it left over from last night.... forgot to push ;-)14:23
ograroot@android:/ # du -hcs /data/ubuntu14:23
ogra1.3G/data/ubuntu14:23
ograslangasek, ^^^14:24
slangasekogra: hmm, yuck14:24
sergiusenssil2100: didrocks I'll delete the MR14:24
slangasekogra: ok, that definitely doesn't fit on my system partition on the N4... .grrr14:24
sil2100sergiusens: sorry about that! Could have checked first for your branch ;)14:24
slangasekthis is all so inelegant :/14:24
ograheh14:24
pmcgowansergiusens, did you need to fix the powerd depends?14:24
ograwell, we have to obey to android14:24
sergiusenssil2100: it wasn't pushed14:24
slangasekogra: yes, but I want to obey it as little as possible ;)14:24
didrockssil2100: sergiusens: _salem: if we are the only ones, I would say let's move t-ofono2 -> t-ofono14:24
ograso much hardcoded stuff we cant easily change14:25
sergiusenspmcgowan: I don't follow14:25
ograit would be trivial with a separate disk/partition14:25
sergiusensdidrocks: agree... just wanted to make sure he was aware as he pushes to it ;-)14:25
pmcgowansergiusens, om26er has a test system with this issue https://launchpadlibrarian.net/141642659/powerd.log14:25
ograbut we cant easily change the part table14:25
pmcgowannot sure how thats possible14:25
slangasekogra: we could change an awful lot of android, we're only using stripped-down pieces of android that we build ourselves; it's just a question of how much maintenance burden we can/should take on there14:25
slangasekthe partition table, though, we can't reliably change indeed14:26
didrockssil2100: you should move the t-ofono first branch, creating a new series and so on :)14:26
sergiusenspmcgowan: I did not change that... I did add a Recommends for ofono, but that would land in saucy only14:26
ograslangasek, the problem is to not make awe cry ... binary vendor daemons like rild like to use the same hardcoding ... if you just differ a bit in the wrong place nothing will work14:26
_salemdidrocks, sergiusens sil2100 +1 on moving tp-ofono2 -> tp-ofono14:26
sil2100didrocks, sergiusens: if we have a definite decision, I will do that then14:26
pmcgowansergiusens, does it have a dep on the platform api?14:26
sergiusenspmcgowan: yes, or it wouldn't build14:27
pmcgowanbuild deps different than deps no, but it seems to14:27
sergiusens_salem: it's going to daily release though14:27
slangasekogra: making the android bits see the "standard" android layout is obviously necessary, but there's lots of ways to do that with bind mounts etc.  I'm less worried about that problem14:27
sergiusenspmcgowan: shlibs:Depends in deps14:27
pmcgowannot sure then how he got that14:28
om26erpmcgowan, i generally download the iso from cdimage and flash it, so for the case of the device in the QA lab, will phablet-flash -b download and install everything without the need to touch the device ?14:28
sergiusenspmcgowan: might be using an old platform api14:28
stgraberslangasek: I'm starting to wonder whether we shouldn't use the "data" partition as just a storage space on which to dump ext4 partition files and just loop mount that stuff from initrd. That way, the system partition would be Android, the data partition would be everything else with one partition file for Android-data, one partition file for Ubuntu-rootfs and one partition file for Ubuntu-data14:28
sil2100_salem: ACK, thanks!14:28
sergiusensom26er: yes, phablet-flash14:28
pmcgowanom26er, yes, and generally you dont need the -b14:28
=== ckpringle_ is now known as ckpringle
ograslangasek, right, the question is how much do we care about porters and how big do we want to make their effort14:29
ograwe could indeed hack up a lot of stuff (mainly the harcoded init.rc files you can find in /var/lib/lxc/android/rootfs/ but also fstab etc)14:29
slangasekogra: well, no, I don't think that's the primary question; we want to enable porting, but the design should not be driven based on community porting requirements :/14:30
ograwell, it plays a role we cant ignore14:31
ogranot saying it should be driven by it14:31
ograbut we need to take it into account14:31
sergiusensogra: how does doing that block porters?14:31
slangaseksergiusens: if the android side has to carry a bunch of Ubuntu patches, that's more work the porters have to merge into their trees14:32
ograsergiusens, i didnt say it blocks them but the more changes we add to the android side, the harder doing a port will get14:32
mhall119penk: very late pong14:32
penkmhall119: haha, cool14:32
penkmhall119: I uploaded package to ppa https://launchpad.net/~penk/+archive/touch14:32
mhall119I saw14:33
penkbut it doesn't build armhf..not sure if it's my problem14:33
mhall119is the packaging also in your git repo?14:33
slangaseksergiusens, ogra: however, I don't think our model for porting should be based on the idea of using arbitrary unmodified android trees14:33
sergiusensslangasek: we already have plenty of pathes on the android side14:33
slangasekyep14:33
ograthe current container flip works without and extra changes on the android side (we should drop uchroot though) but that  causes a bunch of warts in the implementation14:33
mhall119penk: most PPA's won't build armhf, we don't have enough resources to enable it for everyone14:33
penkmhall119: I have debian/ directory in my git repo, but it's not using Ubuntu.Components14:33
mhall119but I can upload it to a PPA that does14:33
sergiusensslangasek: and our android trees are becoming less android as we move on14:33
mhall119penk: that's okay, as long as it runs on Ubuntu14:34
penkmhall119: that would be appreciated!14:34
slangasekstgraber: so I think it's important to have data vs. OS on separate partitions so that we can have the OS read-only (for both the Android and Ubuntu bits)14:34
mhall119penk: did you write it or just port it?14:35
slangasekstgraber: I don't see why you would want Android vs. Ubuntu data separate, though?  Or are you using "data" to mean something other than "user mutable data"?14:35
penkmhall119: I wrote it14:35
mhall119penk: that's pretty cool14:36
stgraberslangasek: so currently android expects to have a partition it can mount in /data, I very much doubt it needs to have access to the userdata we have on the Ubuntu side, so unless we can easily patch Android to stop mounting /data, I'd prefer having a very small partition file used for that14:36
mhall119penk: if you want to collaborate, I'm sure the webbrowser-app developers would welcome it14:36
=== Vincent is now known as Guest34070
ograslangasek, we cant have /data separate14:36
ograit needs to be writable mounted from both OSses14:36
penkmhall119: that sounds cool, I was trying to see how far pure QML app goes without using other C++ models14:37
stgraberogra: do both sides actually need to read and write to /data? What kind of persistent data is Android still writing for us?14:37
sergiusensstgraber: the android property system writes stuff to /data ... some firmware wants to create sockets on data as well... not sure about the ubuntu side though14:38
ograyeah14:38
sergiusensstgraber: we can easily get rid of the android property system14:38
sergiusensbut the latter not so much14:39
awe_sergiusens, not if rild uses it14:39
Guest34070hello, i'm french user of ubuntu. I have a Nexus 7 with Android but I like install Ubuntu touch, is it read just for podcastinf for example ? Sorry for my english...14:39
ogranot sure about the ubuntu side either ... but given that /data is our biggest partition we definitely want /home to live in it14:39
Guest34070podcasting*14:39
sergiusensawe_: oh, but I mean, we can change the location to where it writes... not get rid of the property system itself14:39
awe_ack14:39
ograawe_, rild runs on the android side14:39
penkmhall119: I'll pack a Chinese handwriting plugin for maliit next, but I'm sure it's not high priority on your list :P14:39
stgrabersergiusens: right, so we need to have /data writable in Android, that's fine, I didn't say we wouldn't do that. I just said we wouldn't pass it the data partition itself but a very small partition file instead.14:40
ograwe surely will keep the property system there :)14:40
ograno worries :)14:40
awe_ogra, so does the property system14:40
awe_;D14:40
mfischpmcgowan & om26er: looks like its dying due to the sensor stuff missing?14:40
mfischI dont know where that was fixed or in what rev14:40
sergiusensstgraber: sounds good to me14:40
pmcgowanmfisch, which should not be possible, I think om26er just needs to update or flash14:40
mfischpmcgowan: ok14:41
mfischpmcgowan: also I'm not sure if chicken ever published it for saucy (powerd I mean)14:41
om26erpmcgowan, mfisch I just updated, i think things should be fine now14:41
sergiusensmfisch: yes, it's part of daily release now and saucy is the focus14:41
sergiusensmfisch: sforshee which means no more release commits for powerd and trunk is always released btw14:42
mfischsergiusens: what do you mean by release commits?14:45
mfischyou mean that every commit is a release now?14:45
sergiusensmfisch: debian/changelog is autogenerated14:45
sergiusensmfisch: there's a daily build that grabs trunk and publishes that with whatever was commited into trunk durning the day14:46
mfischsergiusens: ok, I'll be sure to let seth know14:48
=== davidcalle_ is now known as davidcalle
Kaleo_ricmm: yes14:52
ograricmm, did you see my ping in the backlog ? ... http://paste.ubuntu.com/5732441/ has an strace trying to run the calculator app on a flipped container14:55
ograprobably the specialist sees something on first sight :)14:55
=== mmrazik is now known as mmrazik|otp
stgrabersergiusens, slangasek, ogra: http://pad.ubuntu.com/ubuntu-touch-fs-structure14:56
stgraberdid I forget any storage need on there?14:56
ograstgraber, heh, your physical partitions looks a lot different from what i have on the gnex (and my galays S2 looks different again)14:57
stgraberogra: yeah, though I believe boot, recovery, system, cache and data are usually a safe bet, no?14:58
ograi wonder if we can ever reliably find a common denominator beyong /data /system and /vendor14:58
ograyeah, boot and recovery too14:58
=== mmrazik|otp is now known as mmrazik
stgrabercache should be safe too as it's what's used for OS updates on Android I believe15:00
Guest34070doesn't people have an idea ? Ubuntu touch read the podcast ?15:01
Guest34070please15:01
mhall119penk: got it compiled and running on my Nexus 7, pretty slick15:03
mhall119the controls are a bit small though, and hard to hit accurately with my monkey fingers15:03
penkmhall119: ah, because I haven't tested it on actual devices though, set about 40px for a button :-P15:05
mhall119penk: using grid units on Ubuntu Touch will help it scale properly15:07
jesterfraudugh, I should know this, I feel. Maguro, mako or manta for the Galaxy Nexus?15:08
penkmhall119: that's on my TODO list, also I brought Ubuntu Components to Mac OSX, hope that helps my testing further… # penkia.blogspot.com/2013/06/bringing-ubuntu-components-to-mac-osx.html15:08
mhall119well....that seemed simple enough15:10
rsalvetistgraber: ogra: sergiusens: I believe it's fine to assume we're changing the android side for it not to mount /data15:12
rsalvetiso we can have that as a normal dir inside the android container15:12
ograand use /data as a bare rootfs partition ?15:13
rsalvetiyes15:13
ograhmm, ok15:13
stgrabernope, we can't do that15:13
rsalvetistgraber: why not?15:13
stgraberwe need the rootfs to be read-only15:13
stgraberso if we use /data directly for the rootfs, then we can't store user data15:13
ograwhich gets us back to ugly slow squashfs loop mounted files ?15:14
rsalvetiright, if we don't have any other partition15:14
rsalvetislangasek: remember /system can be quite small for some devices as well, so it's not an ideal target for the android based phones15:15
rsalvetiwe can change when doing a real product, but for now we should deal with such restrictions differently15:16
stgraberanother reason to use loop-mounted partitions (when we don't have a custom partition table) is that it's the only way to effectively avoid the user killing their system by filling one of the user writable directories15:16
asacwhen is pin support for sim landing?15:16
asacChickenCutlass: ?15:16
slangasekrsalveti: well, I'm concerned about the design being constrained by existing devices and leading us to suboptimal layouts that won't translate at all over to products15:16
rsalvetistgraber: right, seems to be the only sane way15:16
ChickenCutlassasac, need to schedule that15:16
stgrabertbh, I really think it'd be much much simpler if we could agree on what number and size of partitoins we would like to have, then fake that using loop-mounted files on the existing devices15:16
asacChickenCutlass: what do we need?15:16
stgraberwhen we get our own hardware, we can simply move that to physical partitions and be done with it15:17
ChickenCutlassasac, hold on -- in a standup15:17
rsalvetistgraber: right15:17
asacChickenCutlass: ok... see what we can schedule there15:17
awe_asac, it's on the list of stuff to do, but 3g was deemed the holy grail15:17
asacawe_: not complaining, just wonder on our schedule and if there are dependencies on UI etc.15:18
asacthat we need to align15:18
ChickenCutlassasac, certainly depends on the systems UI.  Which we have  none15:18
awe_it also requires UI work, which although we have design specs ( which haven't been reviewed )15:18
ChickenCutlassasac, settings UI15:18
ograwe have the design afaik15:18
ograjust no implementation at all yet15:18
asacawe_: this month have PIN support on our side maybe?15:18
asac:)15:18
awe_ogra, we have a design for the greeter, it hasn't been reviewed15:18
awe_because I've been flat out on 3g15:19
ograawe_, well, i would expect the PIN code to live in the settings too15:19
awe_so...first task is for some of us working on ofono to review the design15:19
stgraberslangasek, rsalveti, sergiusens, ogra: that's unless one of you knows of a very good reason why we shouldn't do bind-mounted partitions for our current devices, but I've been (ab)using loop devices for years without any significant problems and it's my understanding that Android also uses them heavily already.15:19
awe_ogra, i believe the design covers settings as well15:19
ograah15:19
stgraberslangasek, rsalveti, sergiusens, ogra: one concern is potential data corruption, though I can't see how this would be any worse than what we currently have (/data partition mounted read-write and mounted at a few different places)15:20
rsalvetistgraber: I'm fine with it, seems to be the only way to use /data with separated pieces in ro and rw15:20
ograstgraber, well, i would like to know if there is any resource or power impact using loop mounted files15:20
ograbeyond that i dont see a reason against it15:20
awe_ogra, maybe not..  anyways, asac we need to do some work on the scheduling now that the dogfood deathrace is over15:21
asacnice15:21
awe_ogra, re: settings in the doc15:21
asacyeah... maybe we can even schedule it with cli15:21
asacand decouple UI stuff15:21
asaclike we did for other stuff15:21
ograawe_, well, i saw mpt posting a design doc for the settings, i assume it has PIN handling15:21
awe_asac, maybe... it might be a bit harder to de-couple15:21
slangasekstgraber: do we need to worry about taking a performance hit somewhere for loop mounting?  That seems worth checking with the kernel team before we commit15:22
ograprobably not covered in the SIM doc15:22
stgraberogra: there will be a performance impact that may lead to power consumption impact as a write will go through the VFS layer twice, fragmentation would also usually be a problem, though probably less so on flash devices15:22
ograyeah, thats what i thought15:23
ograwould be intresting how big of a difference it makes15:23
stgraberan alternative would be to use LVM which would let us avoid that extra layer15:23
ogralosing 1h battery due to it wouldnt be acceptable ... 10min would i guess15:23
stgrabercking: ^ (power/performance impact of using a loop mounted ext4 on ext4 partition vs physical partition)15:26
asacChickenCutlass: should be scheduled in the telephony section of the cross check slide deck15:26
asacthe current prediction doesnt include it15:26
penkmhall119: code committed here, btw https://code.launchpad.net/~penk/slatekit-shell/trunk15:26
asaccurrently called out items: "Converge network manager and ofono in archive (CO)15:27
asacFirst cut of mobile indicator (CO)15:27
asacHook networking stack to first pass of indicator15:27
asac"15:27
asacprobably could be more specific15:27
ckingstgraber, off the top of my head, no idea, I can put that on my list of things to analyse15:27
asacactually it hsould go into connoectivity i guess15:27
ckingstgraber, the risks of data loss I probably higher when something bad (like power loss) occurs though15:28
=== ckpringle_ is now known as ckpringle
=== oreneeshy_ is now known as oreneeshy
sgtkwolquick question, If I install apps on phone (not desktop), how do I open them? no icons for terminal, file manager, etc15:36
pmcgowansgtkwol, use the search to find them on the app lens15:39
stgraberslangasek: so, another option, do you see any problem in using LVM on the phones?15:43
asacstgraber: LVM is not very well supported in many kernels that we currently will face on existing phones (too old)15:44
ograyeah15:44
asaci think lvm really just landed in 3.915:45
* ogra would go with loop mounted squashfs images if we can prove it doesnt eat to much performance15:45
asacbut we have 3.0 3.4 etc. kernels still breathing everywhere15:45
stgraberasac: are we talking about the same LVM? LVM2 has been around since at least the early 2.6 kernel and LVM itself for way longer.15:47
sgtkwolpmcgowan, thanks, got it, woot15:47
asacstgraber: fully supported on ARM?15:48
xnoxstgraber: but was it ported/enabled in android kernels, is the question...15:48
pmcgowansgtkwol, ah good15:48
xnoxasac: it works great on ARM, but have no idea about android kernels though.15:48
asacstgraber: just repeat what i have in the back of my mind as a reason15:48
asacxnox: since 2.6?15:48
asacor now?15:48
asac:)15:48
xnoxasac: lvm2 is 12 years old.15:48
xnoxasac: so somewhere in 2.6.x yes.15:49
stgraberxnox: well, it sure works on my nexus415:49
xnoxstgraber: ack.15:49
stgraberanyway, I'd prefer loop mounted images personally, was just thinking of other options to lower the overhead15:49
asacstgraber: whats your usecase? just curious15:49
stgraberif we can't go with LVM, then there's no need to actually do much performance/power analysis since we don't have a choice anyway15:49
stgraberasac: we need more partitions than are physicailly available on the phones15:50
stgraberasac: and as we can't change the partitioning, we're left with two options 1) loop mount partition files or 2) LVM15:50
stgraber2) should have a lower overhead than 1), but 1) is easier to debug and certainly confirmed to work on Android kernels as that's what they use for some apps15:50
asacstgraber: what do you need the partitions for?15:53
ckingstgraber, I'm currently measuring loopback vs non-loopback to see if there is any significant difference15:53
asaci hope there is :)15:54
asacotherwise we should just move away from even dealing with partitioning :)15:54
stgraberasac: the Ubuntu rootfs needs to be read-only, the Android system needs to be read-only, the Android data needs to be read-write, the Ubuntu config needs to be read-write and the Ubuntu userdata needs to be read-write.15:54
stgraberasac: all that stored on the same physical partiton15:55
stgraberhmm, actually wrong, Android system is a separate partition (though under used sadly)15:55
stgraberasac: http://pad.ubuntu.com/ubuntu-touch-fs-structure15:55
asacchmod :)15:55
asaclol15:55
asacoh that pad is good15:55
ograand ubuntu userdata and android data need to be the same and accessible from both OSes15:55
asachave been trying to find it for a bit15:55
stgraberoh, and we don't want someone to be able to fill one partition and kill the phone ;)15:56
asacwhen will that be promoted to a wiki/mail? :)15:56
stgraberwhen we all agree on it and implement it? :)15:56
asacok ... when is the decision deadline?15:56
ograis there one ?15:56
ograwe need to have a proper setup by rellease15:57
stgraberI don't think there's one, but as long as we haven't sorted out that mess, I can't really prepare the image based updates which is starting to annoy me a little15:57
asacslangasek: ChickenCutlass: how much time do you need to get alignment on the partition layout?15:57
asacstgraber: i dont want that to happen :)15:58
asacthat you cant prepare that15:58
ChickenCutlassasac, I didn't know there was a partition problem15:58
asaci dont think there is a problem15:58
asacjust someone needs to say "GO"15:58
asac:)15:58
asacand of course take a look if there is something that will shoot ourselves in the foot badly15:58
stgraberso we should really have that stuff figured out and any change done ASAP, so that ideally the first really usable images with the container flip are based on what we consider our final layout15:58
ograasac, ChickenCutlass, there isnt a partition problem, there is a "we dont have any design for the flipped container" problem15:58
stgraberthen we can just tell people to use the saucy images and base their stuff on that15:59
asacstgraber: are there open points in the proposal for which people had concerns?15:59
ograthe images we have now are a prototype, far from a proper final implementation15:59
asacwe are talking about nailing the parittionm layout16:00
stgraberasac: so I think we want to hear back from cking on performance/power impact, not that we really have a choice in the end. Then we need to figure out how many of those "partitions" (file) we need, what they'll contain, where they'll be mounted and how big they'll be16:00
ckingstgraber, let's see what I can turn around in the next hour or so16:00
ChickenCutlassasac, we are not blocked by this -- also we can not change partition layout on existing phones.16:00
stgrabercking: cool, thanks for looking into this so quickly!16:01
asacseems we can by adding .img files :)16:01
asacChickenCutlass: well. then someone should write up the truth and then make the call16:01
ograChickenCutlass, we wont, we will use loop mounted files16:01
ograor PVm16:01
ograerr16:01
ograLVM16:01
ChickenCutlassnot using LVM on a phone16:01
ogradont telll me16:01
asacstill we need to decide what partitions we want and see how we can realize that on legacy phones16:01
ograi didnt bring it up :)16:01
ograjust the messenger16:01
ograasac, there is no such thing as choice16:02
asaci know what choices are doable16:02
ograwe need /data writable mounted on both OSes ... we need /system readable on both OSes and the same goes for /vendor16:02
asacthere is choice by bringining in .img files etc.16:02
ograeverything else is optional16:02
asacthats choice you realize :)16:02
ograwell, a very limited chouce16:03
asacChickenCutlass: slangasek: please make a call stgraber can land image updates this month16:03
ogra*choice16:03
asac:)16:03
sil2100kenvandine: one more once you have a free moment: https://code.launchpad.net/~sil2100/location-service/packaging_review/+merge/16732716:03
sil2100oSoMoN: ping!16:07
sil2100oSoMoN: any progress on those AP issues? Got any ideas on those random ones?16:08
ograstgraber, hmm, can i somehow get rid of lxcbr0 ?16:10
=== Ursinha is now known as Ursinha-afk
stgraberogra: yep, disable lxc-net or change USE_LXC_BRIDGE in /etc/default/lxc-net16:10
stgraberogra: do you actually get lxcbr0 on your hardware? on mako we don't appear to have bridge support in the kernel, so it never shows up16:11
ograon maguro with my very latest image (udev working and all) i get it, yes16:11
ograi'll ship an override file with the android package16:11
oSoMoNsil2100: yes, I submitted 2 MRs that I hope will fix the issues, but the CI jenkins refuses to cooperate, the builds timed out, so I re-launched them16:14
sil2100oSoMoN: thanks! Excellent, too bad jenkins makes problems...16:22
=== mmrazik is now known as mmrazik|afk
=== oreneeshy_ is now known as oreneeshy
mhall119Kaleo_: ping16:53
surgemcgeeWhat is the command to hide the auto generated comments?16:56
slangasekChickenCutlass: so, why do you say that we can't change partition layout on existing phones - at least for the 4 devices we support?  Has someone tested and found that this isn't possible?16:56
surgemcgeeNevermid, is in the options. I swear, that is sometimes not there :016:57
mhall119surgemcgee: ?16:58
surgemcgeeUhhh, it is in the options i guess... Sorry16:58
=== Ursinha-afk is now known as Ursinha
spazmhi niggers17:03
spazmBITCH17:04
spazmFAGS17:06
Kaleo_mhall119: pong17:09
mhall119Kaleo_: hey, I want to start a project for collecting reusable 3rd party components/widgets, but I'm not sure of the best way to go about doing that17:09
mhall119for example, do I put them all in one big package, or multiple smaller ones?  Do I make a new QML namespace for it, and how do I do that?17:10
Kaleo_mhall119: it's started already: https://docs.google.com/a/canonical.com/document/d/1xGmQd1qRMFIHIupybpzFmIZHRGUmRhSJanX62ElG5EA/edit17:10
Kaleo_mhall119: on his note, I need to eat something17:11
mhall119oh perfect! thanks Kaleo_17:11
Kaleo_this*17:11
seb128Kaleo_, hey, enjoy your meal17:12
Kaleo_thx17:12
seb128Kaleo_, since I see you around, did you ever have a chance to look at my small "keyboard navigation doesn't skip enabled = false elements in grids"? should I report a bug about that?17:13
Kaleo_seb128: I did not17:13
Kaleo_seb128: please do if it's not already in qt bugs17:13
seb128Kaleo_, ok, my small testcase is there: http://people.canonical.com/~seb128/grid.qml17:14
seb128Kaleo_, I will check for upstream bugs17:14
seb128Kaleo_, thanks17:14
=== dandrader|bbl is now known as dandrader
xnoxwhere is the code for qml-phone-shell17:42
didrocksricmm: hey, mind a small review: https://code.launchpad.net/~didrocks/platform-api/fix-archs/+merge/167354?17:43
=== dandrader is now known as dandrader|afk
xnoxi think it's a17:46
xnoxlp:unity/phablet.17:46
greybackxnox: correct17:46
AmEvAnyone here able to troubleshoot a blank screen?17:49
didrockssergiusens: rsalveti: do you mind having a look to ensure that https://code.launchpad.net/~didrocks/platform-api/fix-archs/+merge/167354? is merged before 00 UTC? otherwise, it will block all stacks for tomorrow daily releasing (we can skip it by hand, but that will introduce a daily)17:51
didrocksI'll log off now, but still looking at the current build status in jenkins17:52
xnoxAre raring phablet touch images build using "trunk" branches or "raring/13.04" branches? For example: lp:hud or lp:hud/13.0417:56
didrocksxnox: trunk17:59
xnoxdidrocks: thanks.17:59
didrocksapart from those having /phablet17:59
didrocks(because they aren't compatible with desktop)17:59
AmEvHmmm... Looks like the Tegra 2 Transformer and Toshiba Thrive are suffering the exact same black screen problem....17:59
xnoxdidrocks: gotcha.17:59
=== Cimi_ is now known as Cimi
AmEvWonder if the blank screen thing is a regression of Tegra 2 devices?18:00
AmEvThe dev had it working at one point, but then people have been reporting black screens since.18:01
ChickenCutlassslangasek, I beleive the bootloader expects certain partition layouts. I think things get borked if you change them.  rsalveti can probably say more about this.18:03
=== tgm4883_ is now known as tgm4883
sergiuse1sChickenCutlass: bootloader has partition information written to it... which is consequently why some of the images are breaking with fastboot -w18:04
=== sergiuse1s is now known as sergiusens
ChickenCutlassright18:05
slangaseksergiusens: and would that have an impact if we were only changing the system+data partitions?18:05
slangaseksergiusens: also, which bootloader to be exact?  (on which device?)18:06
sergiusensslangasek: so bfiller has an older bootimage and his partition information differs from mine (the userdata one at least)18:08
* sergiusens looks at the flood18:08
=== dandrader|afk is now known as dandrader
sergiusensslangasek: I still need to compile the differences since I have a bug open for it, so I'll keep you in the loop... it's right up next after getting saucy in place18:09
=== jounih_ is now known as jounih
=== Kyle_ is now known as Kyle
slangaseksergiusens: so, if I change the system/userdata partitions on these devices, am I going to brick them?18:12
sergiusensslangasek: no, but if you use fastboot you might... although they never get really bricked18:12
=== Aww- is now known as Aww
=== netcurli_ is now known as netcurli
=== juicyjones|away is now known as juicyjones
ckingstgraber, ext4 on loopback on Nexus4 results: http://kernel.ubuntu.com/~cking/pm-arm/nexus4/ext4-vs-ext4-loop-on-ext4/ext4-vs-ext4-loopback.ods18:34
ckingasac, ^^18:35
ckingso there is noticeable I/O performance hit and some extra current drawn too, random writes are improved on loopback, but that's it really18:37
=== tito_ is now known as tito
=== Borborygmi is now known as Casmo
=== ybon- is now known as ybon
=== JanC__ is now known as JanC
didrocksrsalveti: hey!18:47
=== JanC is now known as Guest45370
didrocksrsalveti: I don't understand your need fixing18:47
rsalvetididrocks: hey18:47
rsalvetididrocks: well, build the package :-)18:48
rsalvetiit'll fail as all can't be multi-arch same18:48
rsalvetifor the transitional packages18:48
didrocksoh, arch: all and multiarch18:48
didrocksrsalveti: ok, removing them :)18:48
=== Aww- is now known as Aww
=== SirCmpwn_ is now known as SirCmpwn
didrocksI'm removing the pre-depends as well as it's for multiarch18:49
rsalvetididrocks: ok18:49
rsalvetididrocks: let me know once done18:52
didrocksrsalveti: yeah, firing up a pbuilder meanwhile :)18:52
didrockstypical one line change where nothing wrong can happen :p18:52
=== mbm is now known as [mbm]
=== olli__ is now known as olli
pmcgowan_rsalveti, could our dtmf issue be related to inband vs out of band?18:54
pmcgowan_rsalveti, but you said you did finally get through18:55
didrocksrsalveti: ok, pushed. pbuilder gave its green card :)18:57
rsalvetipmcgowan_: yeah, worked fine when I used the brazilian number19:05
rsalvetididrocks: thanks19:05
didrocksthanks to you for the remark :)19:05
=== mmrazik|afk is now known as mmraazik
=== mmraazik is now known as mmrazik
=== SkavenXXI is now known as SkavenXXI-[OFF]
=== Stskeepz is now known as Stskeeps
=== jykae_ is now known as jykae
pmcgowan__ChickenCutlass_, ping19:08
ChickenCutlass_pmcgowan__: Hi19:08
pmcgowan__ChickenCutlass_, the activity timeout kicks in during calls19:08
ChickenCutlass_pmcgowan__: Right. It should19:08
pmcgowan__which is ok to dim the screen but not the welcome screen19:09
=== Guest45370 is now known as JanC
pmcgowan__or is that intended19:09
ChickenCutlass_pmcgowan__: Intended19:09
pmcgowan__hmmm19:09
ChickenCutlass_pmcgowan__: That is what my phone does19:09
stgraberogra, sergiusens, slangasek, rsalveti, asac: I forwarded you an e-mail from cking wrt performance and power impact of using loop mounted images19:10
rsalvetididrocks: happroved19:10
didrocksrsalveti: thanks ;)19:11
* didrocks continues on the hud, and then, we should be fine19:11
rsalvetihm, 6% is quite a bit19:11
ograstgraber, yup, just read it .... i would have liked to see the same tests on a gnx19:11
ogra*gnex19:11
stgraberin short, we're seeing a 6% power increase and at least 10% impact on reads, though there are pretty big variations across tests which make me think there may be something else going on19:11
ograi would expect them to be even worse there19:11
=== ckpringle_ is now known as ckpringle
stgraberogra: apparently a lot more people have nexus4 (company provided or otherwise) than gnex, apparently the gnex isn't as easy to get as th4 nexus419:12
ograand the gnex is the class of device we target19:12
ograyeah19:12
ograi know :)19:12
rsalvetiwe got a few folks with gnex as well19:13
=== Ursinha is now known as Ursinha-afk
sergiusensstgraber: if you provide instructions to setup I can run19:13
* rsalveti gone, getting some proper sleep19:13
stgrabersergiusens: you'd have to ask cking for that, he's run those tests19:13
stgraberanyway, we were talking with slangasek a bit earlier and were wondering if the following would be possible:19:14
stgraberGo with two different supported setups:19:14
=== Ursinha-afk is now known as Ursinha
stgraber1) For devices that support it or devices that are prepared at the factory for Ubuntu phone. Have a rather large system partition (2GB) and reduce the size of userdata a little19:15
stgraber2) For those devices that can't even deal with a partition resize (even without re-order), have a system.img and data.img files in the userdata partition and loop mount that19:15
stgraberThat'd leave us with the same setup in both cases, only different being real vs virtual partitions. system would contain the Ubuntu rootfs and the Android rootfs (under /var/lib/lxc/android/rootfs) built from the superposition of two .tar.xz19:16
stgraberdata would be a writable partition, containing all user writable folders with bind mounts from there to paths on the filesystem that need to be writable19:16
=== kostkon_ is now known as kostkon
_salembfiller, https://code.launchpad.net/~tiagosh/phone-app/phone-app-delete-confirmation/+merge/16737619:23
bfiller_salem: nice, I'll try once jenks builds it19:24
_salembfiller, ok, cool19:24
_salembfiller, ouch, forgot to add i18n to some strings, I will have to update it.19:25
mhall119ogra: my N7 has been unplugged all day, the screen doesn't stay turned off, and I've been using it off and on at full brightness19:38
mhall119but it still says my battery is at 100%19:38
mhall119now, either we've done some magical optimizations, or it's lying to me19:39
mzanettimhall119: hey, are you aware of an app that uses qca or even oauth?19:39
mzanettimhall119: and your tablet is lying :P19:39
mhall119what is qca?19:39
mhall119mzanetti: the Facebook and Friends apps use OnlineAccounts, which uses oauth19:40
mhall119I don't know of any apps that do oauth themselves19:40
mhall119they should usually make an OnlineAccounts provider if then need it19:40
mhall119that way other apps can use it too19:40
mzanettimhall119: ah right... that would be enough. I'm curious because the qoauth lib we ship on the device seems to be Qt4 compatible only. same for qca19:41
mhall119if anybody asked me, I'd tell them to do oauth with a UOA provider19:41
mhall119in fact, I've had on my to-do-some-day list to write one for Reddit19:42
=== ckpringle_ is now known as ckpringle
mzanettimhall119: can you point me to some docs or the code please?19:44
=== juicyjones is now known as juicyjones|away
mhall119mzanetti: http://developer.ubuntu.com/resources/technologies/online-accounts/19:45
mhall119http://developer.ubuntu.com/resources/technologies/online-accounts/for-service-developers/19:46
mhall119and http://developer.ubuntu.com/api/ubuntu-12.10/python/AccountPlugin-1.0.html for API docs19:46
mzanettimhall119: awesome :) thanks a lot. I've actually seen that site before. but the screenshots looked so desktop-ish so I missed the info :D19:49
mhall119mzanetti: as far as I know the API hasn't changed19:49
=== digitalfiz is now known as digitalfiz_
mterryWhat's the easiest way to get something built for armhf for testing purposes?  I don't want to throw something at the phablet ppa until I test it19:56
mhall119mterry: do you have a device?19:58
mterrymhall119, oh I suppose I could build there...19:58
mterryhm19:58
bfillermterry: pbuilder chroot for armhf and then push deb to device20:00
mterrybfiller, that works fine these days?20:00
bfillermterry: yup20:00
mterrynice20:00
AskUbuntuHow can I create a custom session to use Unity Next and the Core Apps in 13.04? | http://askubuntu.com/q/30409220:09
jackcy75do i have to install saucy instead of raring to compile a phone zip and use the current saucy daily image zip? I had an already working i9300 kernel zip that meanwhile does not work anymore, even when i compile it again...20:10
=== dandrader is now known as dandrader|afk
slangasekstgraber: any thoughts on this one? :) http://paste.ubuntu.com/5733851/20:25
slangasekthe kernel has this to say:20:26
slangasekJan  1 17:02:59 ubuntu-phablet kernel: [    2.893300] Alternate GPT is invalid,20:26
slangasekusing primary GPT.20:26
slangasekJan  1 17:02:59 ubuntu-phablet kernel: [    2.893941]  mmcblk0: p1 p2 p3 p4 p5 p20:26
slangasek6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p2520:26
=== dandrader|afk is now known as dandrader
stgraberslangasek: no idea, I guess that's part of the whole mess that partition tables on mobile devices appears to be20:28
slangasekwell20:28
slangasekthe kernel thinks the GPT is ok, but parted rejects it20:28
slangasekstgraber: so 'gdisk' is able to work with the partitions; guess it's a parted bug20:30
beidlscrewing with partition tables on mobile devices is a baaad idea. for example, the galaxy nexus has specific partitions for radio, the spl and xloader. i'm not sure if at some point the device expects certain code (like xloader) to be at a certain position on the nand20:34
beidlolder devices that used mtd for accessing the nand could be "repartitioned" at boot time by providing bootargs to the kernel, telling the mtd subsystem at which address/position which partition starts and where it ends. that was the safest bet we had for repartitioning *back in the days*20:38
beidlactually.... the CM team got MTD running on the galaxy S1 when they released CM9 for it, but I'm not actually sure how they accomplished it. I'm taking a look at their update.zip right now. but the downside is: mtd only allows yaffs2 as a filesystem, no ext4.20:48
beidlanybody got my info on MTD? my ISP is playing games with me...20:51
jonoanyone know why I am getting this:20:53
jonojono@forge:~$ adb devices20:53
jonoList of devices attached20:53
jono????????????no permissions20:53
beidlsudo adb devices20:53
jonobeidl, makes no difference20:54
k1l_db needs more rights20:54
jonoit normally works20:54
beidlsudo adb kill-server && adb shell20:54
beidljono: maybe that works20:55
mhall119jono: I had this once before, I had to sudo adb kill-server; sudo adb start-server20:55
netcurliwhat device? do you have a udev rule for it?20:55
mhall119or something like that20:55
k1l_yep, if sudo doesnt help, kill the adb server and start again20:55
jonojono@forge:~$ sudo adb kill-server20:55
jonojono@forge:~$ adb root20:55
jono* daemon not running. starting it now on port 5037 *20:55
jono* daemon started successfully *20:55
jonoerror: insufficient permissions for device20:55
k1l_jono: ./adb kill-server ./adb start-server ./adb devices20:56
jonok1l_, fixed, thanks!20:57
slangasekbeidl: so I realize there may be low-level code that assumes locations of the hardware drivers in particular places, which may thus fail to pay appropriate attention to partition tables and such; but the only partitions I'm manipulating here are the system, cache, and userdata partitions, which the bootloader definitely shouldn't be worrying about21:15
slangasekstgraber, ogra: fyi, I've adjusted the system, cache, and userdata partitions on the N4 and it still boots to recovery, at least.  Still working on getting the main boot bootable again21:16
mhall119mzanetti: my battery reads 95% now, so maybe it wasn't lying earlier21:17
beidlslangasek: yes, of course, but I'm not exactly sure how manipulating non-standard partition tables using standard tools would work. just out of curiosity, how did you repartition your N4 for example?21:18
slangasekbeidl: the hard way <tm>21:18
mhall119with a magnetized needle and a steady hand?21:19
slangasekmerely as a proof of concept; if we think this is actually what we should do, we'll need to make it much more user-friendly than what I did (port gdisk onto the machine; use it to adjust the partition table; reboot to recovery; port mkfs.ext4 onto the machine and use it to make filesystems; reboot to recovery again; adb push autodeploy.zip)21:20
mzanettimhall119: hmm... that'd be quite cool :D21:21
mzanettimhall119: which image?21:22
mhall119mzanetti: 14721:22
mhall119maybe I just wasn't using it as much as I thought I was21:22
mhall119or had it plugged into USB more than I thought I did21:22
* mhall119 is thrilled to see the terminal and file manager apps in image 15221:23
mhall119\o/21:23
rickspencer3rsalveti, et al21:26
rickspencer3I just used my cellular data21:27
rickspencer3worked like a charm21:27
rickspencer3my only regret is letting Network Manager name the connection id21:28
rickspencer3I should have named it "a" instead of "T-Mobile connection 1"21:28
pmcgowan__rickspencer3, I found some problems with string parsing of long connection names, especially those with a & like AT&T21:30
rickspencer3hehe21:30
rickspencer3pmcgowan__, mine worked, was just a hassle to type into the terminal app ;)21:31
beidlrickspencer3: I created aliases in .bashrc for turning 3g on and off, saves some time ;)21:32
rickspencer3hi beidl, nice idea21:32
mhall119pmcgowan__: you wouldn't have that problem on Verizon21:34
mhall119mostly because you'd be stuck with CDMA21:34
AskUbuntuUbuntu touch install failure (galaxy nexus) | http://askubuntu.com/q/30412921:35
slangasekhmmm, nearly there; except the Ubuntu rootfs is mounting by-partlabel and I seem not to have created those properly21:35
beidlbtw, I've got a GNex specific idea: u-boot has been ported to the GNex some time ago. the neat thing about it: it works when you raw-flash it using fastboot to the boot partition. and it reads the actual kernel from the filesystem21:37
pmcgowan__mhall119, exactly, and why I have two phones still21:40
=== dandrader is now known as dandrader|afk
slangasekogra: so I think android-tools-adbd should be fixed to exec /bin/sh, not /system/bin/sh21:47
slangasekogra: any objections if I upload this?21:47
stgraberslangasek: actually, can we have it call /bin/bash? dash is annoying for interactive shells21:49
slangasekogra: ah - actually, it seems the adbd source will do this if we define ADB_HOST, but I'm not sure if that's the right thing to do in this context; do you know?21:50
slangasekstgraber: I agree, but that's why you call 'exec bash' after connecting :-)21:50
slangasekstgraber: i.e., it's inconvenient but I don't think we should rely on /bin/bash here21:50
stgraberactually, having it use the shell of the user it's running under would probably make sense (and give us bash)21:51
slangasekstgraber: I'm not volunteering to write that at the moment, I'm just trying to get an adbd that will let me get into the system given that my /system is failing to mount21:51
stgraberslangasek: should be a pretty simple change, I can take a quick look at it21:54
stgraberslangasek: test build worked, doing a test build on armhf so I can test on an actual device22:03
slangasekok22:03
slangasekstgraber: do *you* know whether we should be setting ADB_HOST=1?22:03
stgraberslangasek: no idea, looks like that'd change adbd's behaviour quite a bit, judging by the number of ifdef22:05
* slangasek nods22:05
stgrabermy change, if it works, basically calls getpwuid(getuid()) and if that returns something reasonable, use ->pw_shell as the shell. If not, fallback to the hardcoded value.22:06
slangasekhmm, has the current daily image actually been tested to work on the N4?  It seems udev is enabled now22:07
slangasekbut the v4l rules are still in place22:07
* stgraber wishes his pandaboard would have faster I/O, usb2 is slow...22:07
stgraberslangasek: haven't tested today's, I just apt-get dist-upgrade my nexus422:07
stgraberslangasek: looks like my change worked, got a working bash shell even with an empty /system22:15
slangasek\o/22:15
stgraberslangasek: want the binary or are you fine to wait for this to hit the archive?22:16
slangasekstgraber: archive is fine22:17
slangasekI already hacked something here for myself; but now I'm not even booting all the way to adbd for some reason22:17
stgraberuploaded22:20
=== dandrader|afk is now known as dandrader
=== SkavenXXI-[OFF] is now known as SkavenXXI
h01geranother stupid user question: how to quit an app?22:38
greyback_h01ger: in the Dash, go to Apps lens. Long press on a running application preview, you'll get a close button then.22:41
h01gerah. nice. thanks.22:42
h01gerand how to add my location? i can enter the city but it doesnt take enter or anything..22:42
greyback_h01ger: that I don't know actually, sorry.22:42
h01gernp22:43
h01geris there a reliable way to get to the dash + the app lens?22:51
slangasekstgraber: success; now have the N4 booted with a 2GB system partition and the container-flipped setup (though Ubuntu is still on /data/ubuntu because I haven't tried to modify the initramfs yet to do useful things with Ubuntu-on-system)22:57
slangasekwow, syslog is scary-verbose on here23:00
slangasekhmmm, because kgsl is failing to find firmware23:00
h01gergreyback_, add location needs network to work :)23:02
greyback_h01ger: ah, really? Good to know23:02
h01geryup. successfully added two cities now23:03
mhall119fginther: your packaging for the nemo folderlistmodel works fine for me locally, but jenkins didn't like it23:33
mhall119fginther: if it's a jenkins error, I'm happy to approve your branch23:36
mhall119otherwise I'll wait on an update for it23:36
rickspencer3can anyone suggest a way that I can try to figure out what is making my phone run hot?23:42
slangasekstgraber: hmm. what version of qml-phone-shell do you have?  when all is said and done here, with 1.74, qml-phone-shell is segfaulting for me on the daily container-flipped image23:43
slangasekwhich actually seems to be a much older qml-phone-shell than what's in raring23:44
rickspencer3hrm ... looking at top, qml-phone-shell is constantly using 30% - 40% of a CPU core right now23:49
slangasekrickspencer3: seems rather high unless it's actively displaying something... but I can't compare at the moment23:50
rickspencer3slangasek, just the terminal app23:50
slangasekhmm23:50
rickspencer3I wouldn't think it would take that much CPU to ruu top23:50
slangasekI guess you could adb in and close the terminal, and compare23:50
slangaseknot to run top - but maybe to /display/ top :)23:50
slangasek(obviously if it is, that's a problem that needs fixing)23:51
rickspencer3slangasek, yah23:51
rickspencer3I thought that's what you mean23:51
rickspencer3t23:51
rickspencer3ug, phone just became unresponsive23:51
stgraberslangasek: 1.7423:52
rickspencer3screw it, I may as well update23:52
slangasekstgraber: ok; so the problem probably lies somewhere else23:52
rickspencer3o/ stgraber :)23:52
stgraberslangasek: is kgsl still complaining?23:52
slangasekstgraber: I guess an update gives you something different than a fresh install :/23:52
stgraberhey rickspencer323:53
slangasekstgraber: no, once I made /lib/firmware a symlink to /system/etc/firmware, kgsl was happy23:53
stgraberslangasek: is "test_sf" working?23:54
slangasekit's dying after sending some ioctls to /dev/binder23:54
=== SkavenXXI is now known as SkavenXXI-[OFF]
slangasekmaybe the lxc container isn't up23:54
slangasekhmm, no, it is23:54
stgraberdo you see surfaceflinger running?23:55
slangasekstgraber: yeah, test_sf works23:55
slangasekso SF is working23:55
stgraberok, good23:55
stgrabertry test_egl and test_glesv2 next23:55
slangasekphablet@ubuntu-phablet:/$ test_egl23:55
slangasek__pthread_gettid -223:55
slangasekstop23:55
slangasekphablet@ubuntu-phablet:/$ echo $?23:55
slangasek123:55
slangasektest_glesv2 works though23:55
stgraberdid you test that as root or as the phablet user?23:55
slangasekphablet23:56
slangasekI'm not sure if it's worth debugging this then, given that the saucy ppa still has a month-old version of qml-phone-shell :/23:57
slangasekI'll wait and see what tomorrow's build brings23:57
stgraberwhat version do you have (of the shell)?23:57
slangasek1.75423:57
slangasek1.7423:57

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