/srv/irclogs.ubuntu.com/2015/10/13/#ubuntu-touch.txt

=== chihchun_afk is now known as chihchun
micah__hey there, i'm having trouble with bitwig on 15.1002:25
micah__three finger gestures are eating three finger touches in both gnome and unity02:25
micah__this wasn't happening in 14.0402:25
jnxdI recently cloned from the Music app respository, imported it in the sdk, and hit crtl+R. it went alright, but where's the convergence?02:35
jnxdI mean, it behaves just like it does in my phone, regardless of what shape or size the window is in02:37
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dholbachgood morning06:36
svijmorning dholbach06:58
dholbachhi svij07:04
zzarrhello! is there a way to record incoming calls?08:09
jgdxzzarr, not out of the box, as it is illegal in some countries08:46
jgdxe.g. mine08:47
jgdxor, legally ambiguous rather08:47
zzarrokey, in my country namely Sweden it is legal and it is because of telemarketing companies that bluffs that I want to be able to replay a call (of course I don't answer most unknown numbers, but it's to easy to make a mistake)08:53
zbenjamintedg: ping, i need a process to change its cgroups, is there any API i could  use?08:54
zbenjamintedg: unconfined process08:54
zbenjamintedg: its about applauncherd, we need the app process to be in the correct cgroups so the app lifecycle works08:55
zzarrwhat the telemarketing company do is they call and say that the person answering has used there service for a year even though they haven't and then they send a bill and if one wants to fight a bill one needs the uncut call08:57
jgdxzzarr, maybe ping tiagosh or boiko when they come on later.08:57
zzarrokey, thanks08:57
zzarrby the way, why isn't it legal in your country?08:58
jgdxzzarr, an email to the ubuntu touch mailing list could also help out others in similar situations.08:58
zzarrdo you have an address=08:58
zzarr? -=08:58
jgdxzzarr, ubuntu-phone@lists.launchpad.net09:01
zzarrthank you09:01
zzarrI'll send them a message09:02
=== JMulholland_ is now known as JMulholland
jgdxzzarr, legally ambiguous. I corrected myself. You can't really record someone without their knowledge.09:02
zzarrthat's the same in Sweden, but if you tell them that you are recording there's no problem09:03
zzarrI really hop I don't have to fight a company like that, but one can't be to cautious09:05
ogra_zzarr, it is definitely possible but definitely also not implemented in any way yet09:06
zzarrokey ogra_, is it possible to write a script that does it or must I wait for an implementation in app-armor and write an application myself?09:08
ogra_i doubt it is wired up in any way currently ... but i'm not a telephony expert09:09
crusty_Hi09:12
zzarrwhat are you doing here if you're not an telephony expert ogra_ :P just kidding09:12
ogra_zzarr, maintaining my legacy :)09:13
* ogra_ doesnt even work on the phone anymore 09:13
zzarrokey, ogra_ but you answered me ;)09:18
JamesTaitGood morning all; happy Tuesday, and happy Ada Lovelace Day! 😃09:19
zzarrI wonder, I have looked at some of Canonicals Google meetings that are on Youtube, is there a way to tell what person in the meeting is what nickname here (if indeed any)09:20
ogra_we usually turn on the name tags in public hangouts09:21
crusty_I bricked my meizu yesterday, during an upgrade, dpkg failed and now it's on a bootloop. I started fastboot and set a ubuntu-device-flash but it finish with "Failed to enter Recovery" but my phone enter on recovery mode. So i'm stuck"09:22
zzarrokey, that's nice, how do I know when a meeting goes live?09:22
zzarrcrusty_, have you installed the recovery image?09:24
crusty_i put my phone on fastboot mode, launch "ubuntu-device-flash touch --channel=ubuntu-touch/stable/meizu.en --bootstrap" and it turn on recovery mode i think09:26
crusty_the recovery image is not yet installed?09:29
crusty_zzarr, any idea to help me? thanks09:39
zzarrcrusty_, I have "bricked" my phone and got it running again, I just followed the guide how to flash my phone,09:40
crusty_zzarr, it's the first think i did but it's not work09:42
zzarrokey, I "bricked" my phone by trying to be smart and move "/usr" to another partition09:43
zzarrbut I followed this guide http://forum.xda-developers.com/ubuntu-touch/development/how-to-flash-meizu-mx4-ubuntu-edition-t3151601 and got it working again09:44
zzarrhere's the official guide http://askubuntu.com/questions/645652/how-to-flash-meizu-mx4-ubuntu-edition-with-another-channel09:46
zzarrcrusty_, "http://askubuntu.com/questions/645652/how-to-flash-meizu-mx4-ubuntu-edition-with-another-channel", "http://askubuntu.com/questions/645652/how-to-flash-meizu-mx4-ubuntu-edition-with-another-channel", "http://askubuntu.com/questions/645652/how-to-flash-meizu-mx4-ubuntu-edition-with-another-channel"09:47
zzarrcrusty_, I'll have some food now, good luck, I'll be back later09:48
crusty_thanks09:49
ogra_uh09:52
ogra_you really dont need fastboot there ... just use the --recovery-image option for ubuntu-device-flash09:52
ogra_(with a path to the downloaded image as option)09:53
=== marcusto_ is now known as marcustomlinson
crusty_ogra, i work very weel with --recovery-image option and not with "fastboot flash recovery". thanks you10:16
ogra_:)10:16
zzarrcrusty_, hello! I'm back, how is it going?10:39
=== faenil_ is now known as faenil
=== chihchun is now known as chihchun_afk
mardytvoss: hi! Is location-service suppoesed to build fine in wily? I'm getting errors building the tests: http://paste.ubuntu.com/12772536/11:30
crusty_zzarr, it works, with "ubuntu-device-flash touch --device arale --channel=ubuntu-touch/stable/meizu.en --bootstrap --recovery-image recovery.img"11:33
zzarrnice :D11:34
tvossmardy, nope, on it11:35
tvossmardy, mostly a leftover from the gcc5 transition, trunk is basically vivid + overlay, cleaning up right now11:36
mardytvoss: ok. I'm looking for some bite-size tasks to get familiar with the code; do you have something to suggest?11:36
mardytvoss: well, not necessarily bite-sized, but also not complete refactorings :-)11:37
tvossmardy, sure :) let me see11:41
tvossmardy, really bite sized: check that http://bazaar.launchpad.net/~phablet-team/location-service/trunk/view/head:/src/location_service/com/ubuntu/location/providers/gps/android_hardware_abstraction_layer.cpp#L324 is actually injecting the right time :)11:48
tvossmardy, that would include adding a test in http://bazaar.launchpad.net/~phablet-team/location-service/trunk/view/head:/tests/gps_provider_test.cpp11:49
tvossmardy, those tests are installed on the device for easy debugging purposes11:49
mardytvoss: cool! Is there a bug about that?11:50
tvossmardy, yup, let me find it11:50
tvossmardy, https://bugs.launchpad.net/barajas/+bug/149925611:50
ubot5`Error: ubuntu bug 1499256 not found11:50
mardytvoss: thanks11:51
tvossmardy, feel free to shoot all questions my way. so that bug should introduce you to the gps provider, next step would be to move the provider out of process, introducing you to the overall infrastructure for how location::Engine works11:51
ahoneybunmariogrip: https://wiki.ubuntu.com/UbuntuWeeklyNewsletter/Issue43811:53
mardytvoss: please consider that my C++ (as in non Qt-ish C++) is quite rusty and I'm just now familiriazing with the new standard; but, the code seems to assyme that high_resolution_clock is in ms, while in fact it could be using another period.12:10
=== alan_g is now known as alan_g|lunch
tvossmardy, very fair point, so a duration cast might indeed be required12:11
tvossgood catch :)12:11
* mardy self appoints a medal ;-)12:12
mardytvoss: the third parameter of u_hardware_gps_inject_time() is also expecting the time to be in ms, right?12:22
tvossmardy, I don't know off the top of my head12:22
mardytvoss: ok, I'll check then12:23
tvossmardy, ack12:23
=== _salem is now known as salem_
samuraihi all12:29
samuraiSomebody here who could help me with my BQ Aquaris E4.5 Ubuntu edition? Can't unlock the screen anymore, the phone does not react to swipes. And reboot by holding the power button does not work either...12:31
jgdxsamurai, maybe press the power button for a long time? I think that should do it.12:45
samuraihi... no unfortuately this does nothing. It used to work in this situation but now it doesnt :(12:45
samuraiah12:46
samurainow it did work... strange12:46
samuraiI was pressing it for more than 10 seconds before...12:47
samuraianyway, thanks for your help :)12:47
zzarrsamurai, you can emulate a battery disconnect on a phone by pressing the power button and volume down at the same time12:47
=== dandrader is now known as dandrader|afk
samuraiah i tried this as well (without knowing it emulates battery disconnect)... no reaction. But probably I pressed the power button not strong enough... was then pressing a bit stronger than the times before...12:52
zzarrsamurai, did it work?12:58
samuraizzarr: holding only the power button a little harder did work.13:04
samuraiphone is running again, many thanky13:04
zzarr:D13:04
zzarrno problem :)13:04
=== alan_g|lunch is now known as alan_g
=== dandrader|afk is now known as dandrader
=== zhxt is now known as zhxt_afk
=== zhxt__ is now known as zhxt
=== balloons is now known as Guest77290
dholbachdbarth_, alecu: thanks for helping out! once I have the complete list of track leads for UOS I'll send instructions on what to do - should be easy though!13:56
dholbach<313:56
* alecu hugs dholbach13:56
dholbachwe'll also send a mail with updated instructions on how to get session scheduled13:57
dholbachfor now I'd suggest to just ask people to file blueprint as always (and replace 1505 wit 1511 on https://uds.ubuntu.com/getinvolved/propose-a-session/)13:57
* dholbach hugs alecu back13:57
alecuwonderful13:58
dbarth_dholbach: ok, keep us posted14:07
dholbachwill do!14:08
=== chihchun_afk is now known as chihchun
=== zhxt_ is now known as zhxt
atyahi all15:43
atyaI have an awkward problem15:44
atyaI have a Bq A4.5, but I don't use it for some month, and I forgot the passcode. Can anybody tell me, how can I reset it, or what can I do<15:45
atya?15:45
atyadidn't I mean15:45
atyaIs there any way to reset passcode, or the whole device? Or reflash it completly?15:46
atyaOr I have a working brick?15:47
tathhuI think you could atleast reflash it15:48
tathhuBut then you lose all your data (15:48
tathhu:(15:48
matv1sure you can reflash15:48
atyaThat is not a problem. I need to use it, so I have no choises...15:49
jgdxatya, no dev mode?15:49
jgdxatya, at worst, you could boot to recovery/fastboot (never remember which) and mount the system and change the pwd15:50
jgdxnot sure a reflash would do you any good15:50
jgdxtathhu, and you wouldn't lose your data on a reflash15:51
tathhudoesn't it wipe everything if you use --bootstrap?15:51
tathhujgdx, ^15:51
oSoMoNrpadovani, hey congrats for the new version of falldown, I love the new theme15:51
jgdxtathhu, yes, with that flag it wipes.15:52
tathhujgdx atya but i thing that's the final solutio15:52
tathhun15:52
atyajgdx:  is any documentation of this anywhere?15:53
atyatathhu:  ok I will try to find the right passcode before :D15:53
jgdxatya, probably.. google “fastboot mount system”. Sorry I can't be of more help, gtg.15:54
atyais there any wrong passcode limit?15:54
atyajgdx:  ok, I will try to find it, and solve my problem. If I can't, I will come back later15:55
matv1atya yes there is a limit but it only makes you wait for 5 minutes after a certain amount of tries15:55
atyamatv1:  then I will try all the night ;D15:56
matv1haha15:56
atyatnx for all the help15:56
atyabye15:56
matv1also If you did enable developer mode, you could gain access over adb15:57
atyamatv1:  I can't remember, but I will try to access it15:57
matv1atya cancel that. you can only gain adb connection in unlocked mode sorry :)15:57
atyatnx again, ( I will find the passcode, I can do it :D )15:58
matv1sure. gd luck15:58
atyamatv1:  oh15:58
atyaok, bye15:58
=== chihchun is now known as chihchun_afk
=== dandrader is now known as dandrader|afk
rpadovanioSoMoN, thanks :-)16:49
=== chihchun_afk is now known as chihchun
boblobliangood morning, I have a BQ E5 that appears to detect a sim card, but no cell networks.  I am wondering how I can determine if this is a hardware limitation, or something else.16:58
=== alan_g is now known as alan_g|EOD
=== dandrader|afk is now known as dandrader
dobeybobloblian: it could be missing APN for your provider (not sure who your provider is though)17:14
boblobliandobey: thanks for responding.  Would the APN be required just to list the networks (ie when I click carrier under cellular settings)?17:16
dobeybobloblian: i don't know enough to say one way or the other about that17:18
boblobliandobey: okay, thanks....17:24
dobeybobloblian: i would guess that if APN info is required to identify the network then indeed it might not show up when scanning for networks, but i don't know enough about how that works to answer definitely17:26
bobloblianjust checked, my provider says it is not required17:27
tvossmardy, anything I can help with?17:28
=== chihchun is now known as chihchun_afk
awebobloblian, where are you based?  The APN editor is only concerned with setting up the proper attributes for the data connection17:57
=== pat__ is now known as pmcgowan
aweif you can't register to a network, what APN(s) you have configured is a moot point17:57
bobloblianawe: I am in Yukon Canada.  My provider says the same thing, I should be able to scan and see the networks available.  they showed me how that works on an android phone, but mine doesn't seem to see anything18:09
aweWhat's your provider?18:10
bobloblianthe provider is ice wireless18:10
pmcgowanwow18:10
bobloblianI tried running ./list-modems, I can see some details about the sim card, so it seems it knows the card is in there...18:10
awebobloblian, frankly the pure 2g performance of the BQ isn't that great.  I'm able to use it in the US ( Boston ) with AT&T, but's it's far from good18:11
awebobloblian, that's not going to tell you much18:11
bobloblianheh, right now I would settle for not great, but at least working ;)18:11
boblobliando you know how I can tell if the phone is failing to scan for the network, or if the networks are simply undetectable?18:12
awebobloblian, it's probably the latter.  Have you tried to see if you get any output from 'list-operators'?18:15
awe( same dir as list-modems )18:15
bobloblianawe: that outputs just the two modems, ril_1 and 018:17
awedo you have one or two SIMs installed?18:18
bobloblianI have confirmed with the provider that they support some of the frequencies listed on the spec sheet for the phone18:18
bobloblianjust one18:18
awewhich slot?18:18
awetop of bottom?18:18
bobloblianI also know there is another provider in the area that has all the frequencies, so I should be able to see them18:18
bobloblianI have tried in both, but currently it is in the top slot18:18
aweok18:18
bobloblianjust for the sake of saying it, I have been through the bug reports, exhausted google, and tried by trial and error every setting in cellular settings, and the ./list-* to figure it out...18:20
SturmFlutDoes anybody know what the plan for Bluetooth is? As far as I understand ist we'll ship Bluez5 with one of the next OTAs, but does that also mean we'll ship QtBluetooth or any other abstraction layer?18:20
bobloblianI am thinking from all I have read there shoudl be some way in ofono to tell me the problem, but I haven't been able to find any docs that tell me how18:20
aweSturmFlut, yes... there will be integration at the Qt layer18:21
awethat's needed for BLE18:21
SturmFlutawe: Cool, do you know when?18:21
aweSturmFlut, probably OTA9, however it's still being discussed.  We were shooting for earlier, but it's a huge change18:22
awebobloblian, it's not an ofono problem, it's most likely a hw problem... in that it's not a great 2g-only device;  Have you contacted BQ?18:23
SturmFlutawe: That would be in about two months then, right?18:23
aweyes, thereabouts18:24
awebut please don't take this as a promise18:24
aweI'm working on it as we speak18:24
awewe'd hoped to get it out earlier18:24
SturmFlutOh, I've been waiting since April or so, I can wait two more months ;)18:24
awegreat... we'll keep at it!18:25
awebobloblian, gimme a few minutes... I'm looking at a couple of other things here, that might help give us a better clue18:27
bobloblianawe: thanks.  I have contacted BQ.  I actually got my first phone from them, it had the same symptoms, but the card wasn't actually deteced in the first slot, only the 2nd.  so they had me flash it and do a bunch of things, then had me send it back and I got a new one.  Now both slots are working, but still no networks18:30
bobloblianthis time I am trying here first, operating on the assumption that if this is a hardware problem, is not one they can fix18:30
mcphailawe: I'd be happy to be a tester for any bluetooth changes. Would be very nice if bt actually worked18:32
awebobloblian, I'll discuss with abeato tomorrow.  After a quick re-check, there are RIL commands that can be used to query/set the RF configuration of a device, however we currently don't support these commands18:33
awethe best I can do is promise to investigate whether or not they work at all with the BQ device, and possible get you a test version of ofono to try18:34
bobloblianawe: :D thank you sooooo much :D Any help is so much appreciated you have no idea...18:35
awemcphail, for BLE, or just regular BT?18:35
mcphailBLE?18:35
bobloblianIf there is any documentation, I am also happy to try and help myself if you can point me at what I need to educate myself with...18:35
awemcphail, ;)-18:36
aweyea, it's one of the features that comes with Bluez518:36
dobeymcphail: bluetooth low energy18:36
aweit's called Bluetooth Low Energeyt18:36
mcphailaah - no just regular BT. I don't do the fitbit thing18:36
awebobloblian, unfortunately this is deep in the ofono driver code... As mentioned we'll discuss internally tomorrow, so check back me later then18:37
mcphailJust need it to connect to my car :)18:37
awemcphail, great.  We'll let folks know if we need extra help testing.  thanks for the offer18:37
dobeyit might require more work than just having bluez5 in the image, to get bt working on nexus5 or 1+1 devices18:38
dobeyworking bt would be a good step though. would be nice to have working location too :)18:39
mcphaildobey: now you're asking for the moon on a stick :)18:39
dobeymcphail: well, if i could find the moon, i might be able to get there ;)18:39
mcphailha!18:39
awedobey, we're focused on the bq devices and mx4 to start18:40
awe( at least for BLE )18:40
awealthough bluez5 should be a big improvement for regular BT as well18:40
dobeyawe: yeah, i know you don't care about the n5 or 1+1 anyway. i'm sure mcphail cares about 1+1 though ;)18:40
awebluez4 was deprecated, and not really supported by upstream18:40
dobeyyeah18:41
aweI car, just not as strongly about the official devices.  ;)-18:41
awewow,... that came out wrong18:41
awed'oh18:41
aweyou know what I mean18:41
dobeylol18:41
mcphaildobey: I'd care if I _had_ a 1+1 :)18:42
* awe goes back to hacking on ofono18:42
dobeymcphail: oh, did i confuse you with someone else? i thought it was you doing that port18:42
mcphaildobey: I'd be happy to take the credit, but neither own the device nor have ported anything in my life18:43
dobeymcphail: oh, sorry! :)18:43
mcphail:)18:43
dobeyyeah, i confused you with mariogrip :)18:44
mcphailJust a tab-completion error away :)18:44
* dobey goes back to trying to understand golang/gccgo18:45
=== dandrader is now known as dandrader|afk
jnxdI recently cloned from the Music app respository, imported it in the sdk, and hit crtl+R. it went alright, but where's the convergence?19:28
jnxdI mean, it behaves just like it does in my phone, regardless of what shape or size the window is in19:28
ahayzenjnxd, in a separate WIP branch :-)19:28
jnxdahayzen: is that public? how do I get it?19:28
ahayzenjnxd, https://code.launchpad.net/~ahayzen/music-app/refactor-adaptive-page-layout .. and you'll need to run it either on Wily or by branches the latest ubuntu-ui-toolkit19:28
ahayzen*branching19:28
ahayzenjnxd, it is still WIP and buggy as we are awaiting fixes in the ui toolkit19:29
jnxdahayzen: so nothing on the default vivid. guess there's nothing more to it than waiting19:29
jnxdahayzen: any other core-app which I can test on vivid?19:30
jnxdI want to explore more of the adative layout19:30
ahayzenjnxd, if you branch https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk and then follow the instructions to run the app with that sdk you can make use of the new tools on vivid19:30
ahayzen(thats what i do)19:31
=== dandrader|afk is now known as dandrader
jgdxdobey, whatcha working on?20:40
dobeyjgdx: stuff and things20:42
dobey:)20:42
dobeyjgdx: why, what's up?20:43
jgdxdobey, not much, but I'm looking at push/polld code.20:43
jgdxand it's go20:44
dobeyyes it is20:44
jgdxand I'm trying to broaden my horizon20:44
jgdxdobey, it's ubuntu stuffs your working on?20:45
jgdx*and things20:45
dobeyyes, purchasing framework20:46
jgdxah20:46
dobeyjgdx: part of the work currently happening there was rewriting pay-service in go. i wouldn't generally recommend go for such things yet20:50
=== JanC_ is now known as JanC
jgdxdobey, from cpp? I guess you get some wins in the concurrency dept.20:55
dobeyjgdx: yeah, from cpp. i don't know if i'd call it a win. the tests keep timing out on the launchpad builders for some unknown reason20:56
jgdxa deadlock?20:57
jgdxthose are fun to debug21:00
dobeywell it's not a deadlock i don't think21:01
dobeythe tests always pass and run fine locally :(21:01
dobeyand simply rebuilding on lp usually works21:01
dobeyplus having to statically link everything, and do vendoring of source code of libraries you need to use, and all that, is a pain21:02
dobeyalso, the general lack of useful libraries for client side stuff21:02
jgdxyeah, seems to be some duplication around21:02
jgdxdevelopment in one project required bzr, mercurial and git to fetch deps :P21:04
dobeyjgdx: if you want to fix a bug, figuring out how to get gccgo-4.9 working on vivid, and replicating https://bugs.launchpad.net/ubuntu/+source/ubuntu-push/+bug/1431486 with it, would be a good start. gccgo-5 can't be used, because it requires g++5 it seems21:21
ubot5`Ubuntu bug 1431486 in ubuntu-push (Ubuntu) "ubuntu-push fails to build with gccgo" [Undecided,Confirmed]21:21
=== salem_ is now known as _salem
jgdxdobey, it's gc now (I haven't looked)21:25
jgdx^?21:25
dobeyjgdx: on wily golang-go is used everywhere, but the older golang in vivid doesn't support all the archs, so arm64 and ppc there get gccgo, but for some reason it installs gccgo-5, which is way wrong21:26
dobeyand when i tried to install gccgo-4.9 i couldn't get it configured to be /usr/bin/go21:26
dobeyno idea why21:26
jgdxokay, I haven't gotten around to looking at how polld/push are compiled yet. Noted, though.21:34
dobeyjgdx: well, that issue isn't limited to push/polld. anything in go that has bindings to c/c++ libs on those archs will fail21:48
dobeyanyway, time for me to get out of my office. later :)21:48
mariogripahoneybun: Awesome :)23:08

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