/srv/irclogs.ubuntu.com/2015/03/19/#ubuntu-touch.txt

Elleokenvandine: approved that MR00:25
kenvandineElleo, thx01:06
=== salem_ is now known as _salem
=== ecloud is now known as ecloud_wfh
dholbachgood morning08:18
dholbachMirv, can you let me know how I roll back to an older version of the image?08:18
dholbachor anyone else?08:18
dholbachah no, Joey Chan just replied08:19
Mirvdholbach: ok. one can flash. if you're on #141, you can just apt upgrade too now.08:24
dholbachyep, Joey gave me the exact command line bits I needed to enter08:25
brogrammereverytime I try "apt-get install openjdk" there comes an error message...08:25
brogrammerW: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt E: The package lists or status file could not be parsed or opened.08:28
=== timchen1` is now known as timchen119
=== dholbach_ is now known as dholbach
seb128Cimi, hey, can you approve https://code.launchpad.net/~larsu/overlay-scrollbar/blacklist-gnome-boxes/+merge/251566 ?08:57
aki237I have a Moto G XT1033 running lollipop 5.0.2. I have followed all the instructions to flash ubuntu in my device given in the XDADevelopers page. but i doesnt boot and it just stops at a blank black screen....And Lollipop stock rom has 4 System images namely "system.imgsparsechunk0 and1,2,3"......What should I do?09:06
aki237 I have a Moto G XT1033 running lollipop 5.0.2. I have followed all the instructions to flash ubuntu in my device given in the XDADevelopers page. but i doesnt boot and it just stops at a blank black screen....And Lollipop stock rom has 4 System images namely "system.imgsparsechunk0 and1,2,3"......What should I do?09:34
aki237 I have a Moto G XT1033 running lollipop 5.0.2. I have followed all the instructions to flash ubuntu in my device given in the XDADevelopers page. but i doesnt boot and it just stops at a blank black screen....And Lollipop stock rom has 4 System images namely "system.imgsparsechunk0 and1,2,3"......What should I do?09:43
k1laki237: well, did you try to talk to the guy who did the ubuntu-touch port for that device?09:44
aki237no09:45
Cimiseb128, ok09:51
seb128Cimi, too late but thanks09:51
Cimiseb128, had wifi issues :/09:52
JamesTaitGood morning all; happy Chocolate Caramel Day! :-D10:11
=== dholbach_ is now known as dholbach
=== dholbach_ is now known as dholbach
=== chihchun_afk is now known as chihchun
jivinhello11:37
jivinOne question11:37
jivinDoes App "MediaPlayer" on touch use Android MediaCodec?11:38
davmor2jivin: no, gstreamer iirc, why?11:45
davmor2jivin: might use the hardware acceleration drivers not sure on that though11:46
svijcan anyone tell me, where I can find the Tab-key on the keyboard? using the terminal without a tab is a bit annoying12:03
popeytap the screen12:03
svijpopey: oh lol, thx12:04
=== MacSlow is now known as MacSlow|lunch
simosxI am trying to upload an app created with the webapp-generator. When submitting the app, I get the error "The uploaded package name (realmobilegr-jwe.simosx) does not use your namespace (None)".12:37
simosxIn my dev account details, the namespace is "simosx" (instead of Empty/None).12:37
ogra_beuno, ^^^12:37
ogra_could be the dash in the package name ... (not sure, just guessing)12:38
beunohm12:38
beunosimosx, can you try something for me, before I go in to debug?12:39
beunogo to your account page again12:39
popeythe dash is fine, i have an app with a dash12:39
beunoand just hit "update my account"12:39
simosxhmm, it appears that "simosx" in the dev settings was taken or something. Changed it to "simos" and appears OK (green).12:39
beunoand try to upload again12:39
beunoah12:39
beunothere we go12:39
ogra_popey, ah, good to know12:39
beunoogra_, we fixed that!  :)12:39
popeythat sounds unlikely - two people with simosx?12:39
ogra_beuno, i know it was fixed for version numbers ... never used a dash in package names though12:40
simosxprobably some issue. I changed back to "simosx" and it was now accepted. Will try to upload the app to see if it makes a difference.12:40
popeyyay12:40
popeyeek, need to recalibrate my graph! http://popey.mooo.com/mirror/clicks/graph_clicks.png12:41
simosxnow it worked. app was uploaded.12:43
beunoogra_, we fixed all the things12:44
ogra_haha, k :)12:44
beunopopey, it's trying to escape!12:44
popeyhah12:44
ogra_why re-calibrate the graph ...12:45
ogra_just limit the number of apps in the store to 1000 ... done12:45
ogra_you guys always look for the complicated solution ...12:45
=== _salem is now known as salem_
jgdxanyone seeing a black screen when trying to unlock a mako running latest vivid?12:47
=== alan_g is now known as alan_g|afk
om26erartmello, Hi!12:55
om26erartmello, re: fix for 1425563 I still see some flicker when app goes fullscreen12:55
om26eri do have the click installed12:56
artmelloom26er: Yes, there are still some flicking related with the header hiding. We will neither further investigation with sdk guys on that12:59
om26erartmello, ok, just wanted to make sure it was known. Your fix does reduce the flickering13:00
=== MacSlow|lunch is now known as MacSlow
artmelloom26er: sure, thx13:01
om26erartmello, re: this https://code.launchpad.net/~phablet-team/gallery-app/gallery-app-photo-editor/+merge/24324313:03
om26erartmello, it says we are using photo editor from ui-toolkit-extras, I would expect code deletions to be much more than additions ?13:04
=== chihchun is now known as chihchun_afk
artmelloom26er: unfortunately, right now, we cannot make sure that the user will have the correct version of extras before he updates gallery (ie. from click store). If that happens the user will not be able to edit any photo. So basically we have a local version of the editor on gallery in case the extras is not updated/not present13:06
om26eruh13:07
om26erartmello, the CI spreadsheet does not mention the TestPlan to run, probably something to add to the sheet13:09
artmelloom26er: I will update the TestPlan13:13
om26erartmello, with the fix for flickering, I am noticing some oddity when playing with albums13:44
om26erartmello, some part of the album goes under the header13:44
artmelloom26er: ok, how do you reproduce the issue?13:46
om26erartmello, create a new album, click on it13:47
om26erartmello, http://i.imgur.com/SGDOvyD.png13:47
om26erhttp://i.imgur.com/q1JA21x.png13:47
artmelloom26er: I am taking a look13:53
Anon287Hello. I have a question about using non-Canonical system-image servers: Is the server used only for first time installation or do all OTA updates get downloaded through this server too?14:00
Anon287I ask because I'm interested in getting an N7, I've come across an N7+LTE (Deb, rather than Flo) but that means I cannot use Canonical's system-image server, instead I have to use Vojtech Bocek's server here: https://wiki.ubuntu.com/Touch/Devices14:01
dobeyAnon287: the OTAs would come through it too14:01
Anon287I'm concerned that if this user (unlikely as it may seem) took down the server I would no longer get updates for the N7.14:02
Anon287Ah, okay... So if I want 'official' builds I need to get a non-LTE N7 (Flo).14:02
dobeyyes, if the server (or the images for that device) were taken down, you would no longer get updates for it from that server14:02
dobeythe canonical server has stopped providing images for certain devices before as well14:03
Anon287Okay, great. Although a shame (because it seemed like a good price) I think I'll hold out and get a Flo. I'd rather grab Canonical's images.14:03
dobeyie, groupe and maguro no longer have images avaialble14:03
Anon287Sure, but I guess N7 is a safe bet for a while yet (and hopefully by that time an official tablet will be available)14:04
Anon287I guess you cannot flash Flo onto Deb and just not get the cellular functionality? That'd be an okay compromise...14:04
Anon287I guess not though.14:04
dobeywell the deb builds are probably not likely to stop building, unless flo goes away too14:04
dobeythe deb images follow the flo images14:05
dobeyi don't know if all the hardware on deb works the same as flo though14:05
Anon287Sure but there is a total reliance on one guy for Deb builds, right?14:05
dobeynot really. more like reliance on some python scripts. as long as nothing breaks and the server bill is payed, i guess he doesn't actually have to do anything14:07
dobeyand he hangs out in here14:07
dobeyand he maintains the MultiROM app which many people use for dual booting android and ubuntu14:07
Anon287Okay. thanks for the heads up. Now really confused whether to grab the Deb or wait for a Flo to come along :P Decisions! :)14:09
=== dandrader is now known as dandrader|afk
adrian47E/HAL     ( 1717): dlopen failed: could not load library "libcamerapp.so" needed by "camera.vendor.msm7x30.so"; caused by cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "libcamerapp.so"...14:12
adrian47Someone have some idea about it?14:12
adrian47P.S. Hello :)14:13
adrian47'about that'* (?)14:14
om26erartmello, I'll move the silo to failed section and then once we have the fix and silo rebuilt I guess we will have a new card in trello.14:15
om26erwhat you say ?14:15
artmelloom26er: ok, if it has a problem makes sense. I am still trying to find out what is wrong since that was tested14:23
=== dandrader|afk is now known as dandrader
barrywhat's the last known good revision (before the latest one) in ubuntu-touch/devel-proposed?14:39
barryi'm testing upgrades so i need a known good older revision to upgrade to the latest one14:40
dobeybarry: for mako?14:46
barrydobey: krillin14:46
dobeyah, no idea :)14:47
barrywhile still_bricked: i -= 114:49
Anon287What device is Krillin?14:50
Isotop7bq aquaris14:50
Anon287oh okay :)14:51
Anon287Thank you14:51
om26erboiko, Hi!15:07
jgdxawe_, cyphermox, would wpa_supplican! need something special to create a secure ap on mako? I can't seem to get it to work. Getting http://pastebin.ubuntu.com/10627959/ — even when I blanket OK all wpa_supplicant interfaces in the dbus policy.15:09
awe_jgdx, not sure... I can look into this, but let's discuss during tomorrow's system settings mtg15:10
jgdxaaa right15:10
balloonsping tedg. can you tell me if the url dispatcher still has temporary hardcoded urls in it? See the bottom of this page: https://developer.ubuntu.com/en/apps/platform/guides/url-dispatcher-guide/.15:10
cyphermoxjgdx: no, nothing special. but you also shouldn't create the AP using the supplicant directly, you should go through NM15:12
brendandtedg, can you join #ubuntu-quality?15:12
jgdxcyphermox, we're not touching wpa, except to set the driver on hybris devices.15:12
jgdxcyphermox, but wpa is the one complaining when trying to connect to the AP, as well as lock up for some reason.15:13
cyphermoxit would help then if you explain what you mean by complaining and locking up... like debug logs15:14
jgdxcomplaining is the one above ( http://pastebin.ubuntu.com/10627959/ ) and locking up is [1] ad nauseam [1] http://pastebin.ubuntu.com/10628171/15:19
jgdxcyphermox, ^15:21
cyphermoxjgdx: sounds like driver issues15:25
kenvandineElleo, can you test silo 28 after it finishes building?15:27
jgdxcyphermox, uh oh15:29
Elleokenvandine: sure15:30
rvrpopey: Hey, quick question. A friend of mine is testing my bq phone (don't ship here, asked him to receive the package and resend). He wonders why we don't ship a native email client, do you know why Dekko is not installed by default?16:00
popeyrvr: because it's not finished :)16:01
rvrpopey: Does it mean it is in the roadmap? :)16:03
popeyrvr: we're constantly re-evaluating apps that are in the image16:03
rvrpopey wins 10 points for "politically correct" answers ;)16:05
popeyhaha16:06
oSoMoNkenvandine, hey, I’m gonna need a packaging review for https://code.launchpad.net/~osomon/webbrowser-app/bottom-edge/+merge/248019 (changes to debian/control are rather trivial but I’ll an ack for landing anyway)16:09
oSoMoNwould you have a moment to do that sometime today?16:09
kenvandineoSoMoN, sure16:11
oSoMoNthanks!16:11
kenvandineoSoMoN, done16:13
kenvandinethat was easy :)16:13
ogra_kenvandine, oSoMoN can you pretty please make sure to mention dependency changes in the commit message or changelog (whatever you use)16:15
oSoMoNogra_, sure, updating the commit message now16:16
ogra_thx :)16:16
=== seb128_ is now known as seb128
Elleokenvandine: tested that silo, all looks good to me16:25
peat-psuwitWhat should happen if something calls AudioSystem::setParameters in libmedia? libmedia tries to talk with AudioFlinger, make it wait forever.16:27
kenvandineElleo, cool, can you mark it on the spreadsheet?  line 616:30
kenvandineline 6616:30
Elleokenvandine: ah, I don't seem to have edit access on the spreadsheet16:35
kenvandineoh... ok16:35
kenvandinewhat image did you test with?16:35
Elleo#14216:35
Elleoon mako16:35
=== alan_g|afk is now known as alan_g
kenvandineElleo, thx16:36
Elleono problem16:36
boikohi om26er16:44
om26erboiko, hey16:44
om26erboiko, in dialer-app dialing a key quickly 3 times only produces sound twice.16:44
boikoom26er: there is a bug reported for it already, it is a problem in the tone generator16:44
boikoom26er: let me find it16:44
peat-psuwitrsalveti, do you remember my question about the voice flow?16:53
AskUbuntu_Ubuntu Touch (of Aquaris E4.5 Ubuntu Edition) freezes when booting up | http://askubuntu.com/q/59879717:00
AskUbuntu_How to import Contacts form Sim Card to Ubuntu Phone? | http://askubuntu.com/q/59880117:00
adrian47How can I run shell script automatically when poweroff was pressed?17:01
adrian47Or in another way before device powering off17:06
popeybfiller: do we have an ETA on SIM contacts import? (see above askubuntu question)17:06
Isotop7i dont know if this works on the ubuntu touch images but you could write a init script...17:07
dobeypopey: ah, i just answered it. afaik, rtm is only going to get critical/mfg bug fixes, but it's in vivid already. and hopefully vivid will become stable enough to update everyone to soon17:15
rsalvetipeat-psuwit: the one I replied, yep17:46
rsalvetinot sure if you asked me another one17:46
peat-psuwitrsalveti, In Ubuntu, pulseaudio notify hardware to let voice flow to speaker. What's doing the same on Android? AudioFlinger?17:48
rsalvetipeat-psuwit: yeah17:49
peat-psuwitrsalveti, Then, who notify AudioFlinger?17:50
rsalvetipeat-psuwit: don't remember exactly, would need to dive the codebase, but I think they have some sort of telephony manager17:59
rsalvetithat gets the notification that the call is active17:59
rsalvetiand then requests audioflinger to change the audio mode to call mode17:59
rsalvetithat ends up affecting the hal, similar to the way we do with pulseaudio18:00
kenvandinerenatu, bfiller: i proposed a branch for address-book-app that properly quits when the app is killed, so your destructors will get called18:04
peat-psuwitrsalveti, How rild may involve in this process? On my device, I see that rild calls AudioFlinger (via libmedia). Don't know what it may do.18:04
rsalvetipeat-psuwit: there are 2 pieces for rild, the low level layer (daemon), and the java telephony stack that implements the rild protocol18:05
rsalvetithe java layer is the one doing that work18:05
peat-psuwitrsalveti, No, I means daemon, because it also happens on my port of Ubuntu Touch too. It makes rild (daemon) somewhat hang because it's waiting to connect with AudioFlinger.18:08
=== alan_g is now known as alan_g|EOD
rsalvetipeat-psuwit: oh, if that is indeed true, then it's a massive hack18:09
rsalvetipeat-psuwit: what do you get on logcat?18:10
rsalvetias root, /system/bin/logcat18:10
rsalvetipeat-psuwit: at least even for the low level daemon, there are 2 pieces18:10
rsalvetithe low level library (closed source binary)18:10
rsalvetiand the open one, that loads the closed source binary18:11
peat-psuwitrsalveti, I/ServiceManager( 1001): Waiting for service media.audio_flinger...18:19
peat-psuwitW/AudioSystem( 1001): AudioFlinger not published, waiting...18:19
peat-psuwit1001 is pid of rild. They repeat a few times.18:20
rsalvetipeat-psuwit: do you have any source code for that piece specifically?18:22
rsalvetirild shouldn't be talking with audioflinger at all18:23
rsalvetibut the problem is that people end up doing all sort of hacks on android18:23
cwayneTassadar, did you follow a guide to get your s-i server setup?18:24
cwayneand/or do you have any notes?18:24
TassadarI did, but had to do bunch of extra things, and I do not have any notes18:24
peat-psuwitrsalveti, I'm afraid not.18:25
TassadarI'm suing my fort too - http://bazaar.launchpad.net/~vbocek/+junk/system-image-server-tasemnice/revision/225 has support for pathing of rootfs tars (for hammerhead) and can sync version numbers with anoter s-i server18:25
Tassadar*fork18:25
Tassadar*using18:25
Tassadar*patching18:26
rsalvetipeat-psuwit: otherwise we'd need to have mock service for audioflinger18:26
Tassadar*another18:26
Tassadarwow, I'm bad at typing18:26
peat-psuwitrsalveti, It's Qualcom's qcril. Maybe Qualcom have released some of code around?18:26
rsalvetifor the interfaces used by rild18:27
rsalvetipeat-psuwit: could be, yeah18:27
peat-psuwitrsalveti, I think it use setParameters, because I see that on the radio logcat on Android.18:29
cwaynersalveti, whats the best way to debug missing wifi on a new port?18:49
rsalveticwayne: first check if you have a wireless device18:49
rsalveticwayne: if not, then we need to check if the kernel failed to load the firmware and so on18:50
rsalvetiusually the output of ifconfig -a and dmesg already helps quite a bit18:50
cwaynelooks like no wireless device18:51
cwayneso what am I checking for in dmesg?18:53
cwaynersalveti, if youre interested, dmesg: http://paste.ubuntu.com/10629349/19:04
* rsalveti checks19:04
rsalveticwayne: which device?19:04
cwaynersalveti, oneplus, using mariogrips build19:05
rsalveticwayne: not much indeed19:07
rsalveti[    1.071421] wcnss_wlan probed in built-in mode19:07
rsalvetithat is probably the wifi driver you have19:08
rsalvetinow would need the kernel source to actually see why that didn't actually loaded anything19:08
cwaynersalveti, should be here: https://github.com/ubuntu-touch-oneplus-one19:09
rsalvetihm, need a beer19:10
rsalvetiqcom_conn_init19:10
rsalvetiwonder if that also helps19:11
cwaynewhat, beer? :P19:11
rsalvetitrying to remember the hacks we did with other qcom devices to have a working wireless19:11
rsalvetialways19:11
rsalveticwayne: http://paste.ubuntu.com/10629420/19:12
Anon2938Hi. Can anybody point me at any efforts to port Ubuntu Touch to Nexus 9? I assumed there would be work on it but I've searched and cannot find anything...19:13
rsalveticwayne: see if you have /sys/devices/platform/wcnss_wlan, or something like that19:13
rsalvetiso, how it works on flo:19:14
cwaynehm, dont have that19:14
rsalveticwayne: http://paste.ubuntu.com/10629436/19:15
rsalveticwayne: as part of the android init script for flo there is a service called wcnss_init19:16
rsalvetiand that service is just a script, that calls /system/bin/conn_init19:16
rsalvetiand echo 1 > /dev/wcnss_wlan19:16
rsalvetithen my other init_wlan.sh script makes it to load the firmware19:16
rsalvetiecho sta > /sys/module/wlan/parameters/fwpath19:17
rsalvetiyou can get the android console by calling lxc-console -nandroid -t019:17
rsalvetithen from there you can call conn_init (as that's a binary from android)19:17
rsalvetihttps://github.com/ubuntu-touch-oneplus-one/qcom_conn_init19:17
rsalvetiit seems the maintainer was trying to get that to work somwhoe19:18
cwayne127|root@bacon:/ # conn_init19:18
cwaynesystem/bin/sh: conn_init: not found19:18
rsalvetifull path makes any difference?19:18
rsalvetimaybe that binary wasn't installed by the build19:18
rsalvetioh, he had that, but removed19:19
rsalvetihttps://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/commit/43c904a8c0f92f2e9055815ce7c2b1cd04ca5bb419:19
rsalvetibut he actually included as a build requirement19:20
rsalveti /system/bin/wcnss_service needs to run as well19:20
Talustushello :)19:20
cwayneyeah, seem to not be in the build19:22
rsalveticwayne: how maintains that port?19:25
rsalvetiI can easily help if I find the guy19:25
cwaynehe seems not online atm but mariogrip19:26
cwaynehm, i cant seem to do the reverse tethering via ppp either :/19:30
cwaynegot a build running now at least :)19:35
rsalveticwayne: just ask him to ping me if he needs any help19:37
cwayneyeah, ill try and find him19:37
cwayneid love to get this port working well19:37
strahtwDoes anyone know if the Ubuntu SDK is running also on XUbuntu or LUbuntu?19:46
strahtw I know its not running on my actual OS (!#). But my machine isn't fast enough for actual Ubuntu19:46
dobeystrahtw: it should run on them just fine, yes20:00
strahtwokay, thx ;) So will change OS on weekend and try to install.20:01
cwaynemariogrip, hey!20:53
cwaynemariogrip, got your port booted on my OPO, was just talking to rsalveti about what to do re: wifi20:54
Tassadarwould you want to add opo builds to my s-i server?20:56
cwaynethatd be pretty excellent20:59
Tassadarhow do you build it now? How about adding it's device tree to https://code-review.phablet.ubuntu.com , like hammerhead is, I'm pretty sure it'd would be possible if you ponder the right people21:00
cwayneTassadar, youd have to ask mariogrip, my guess is its not quite ready yet21:01
Tassadaronly issue is my VPS is pretty tight on disk space, would have to buy a higher tier21:01
cwayneTassadar, i'd be happy to help pay, I've been using your s-i for my hammerhead for awhile21:02
Tassadarit's fine for now, the payment is around christmas each year and it gets covered by multirom donations, mostly. Just saying that I'd happily add opo to my s-i server once it is ready if you want to21:03
Tassadarheh, thank god the traffic on that VPS is unlimited, it has uploaded over 1TB over past 19 days21:09
cwaynewhoa21:10
Tassadarhttp://tasemnice.eu/mrtg/46.28.111.65_eth0.html , doesn't show how much data it transfered but you can see the average upload (1TB is in ifconfig)21:11
cwaynejeeze21:12
cwayneaaaaaaaand now my OPO wont boot at all21:12
Letozaf_Hi guys I have found a problem when trying to submit an application to the app store that has been created with https://developer.ubuntu.com/webapp-generator/21:37
Letozaf_I get this error: "The package name planetubuntu-itorg-tfu cannot be more than 20 characters."21:38
Letozaf_but the apps name when creating the webapp package was "Planet Ubuntu-it" is that too long ?21:39
mariogripcwayne, Hey21:40
cwaynemariogrip, heya, was just trying to figure out how I could help get wifi working21:45
cwaynethough now I've got that fun thing where my opo won't boot even to fastboot or recovery21:45
balaframeworks/base/include/android_runtime/AndroidRuntime.h:29:30: fatal error: nativehelper/jni.h: No such file or directory21:46
balacompilation terminated.21:46
mariogripcwayne, you cannot boot into fastboot mode? :O21:50
mariogripcwayne, about wifi, some ideas?21:53
cwaynemariogrip, i was gonna point you to rsalveti, he said he'd be able to help21:53
cwaynersalveti, ^ :)21:54
mariogripcwayne, what i have found out yet (i have been sick this week, so i haven't done much), but i switched to conn_init and found it missing .mdt files21:56
cwaynemariogrip, so it wouldn't build?22:03
cwaynemariogrip, hm, I can't get the image to build at all: ubuntu/platform-api/android/hybris/../..//include/ubuntu/application/instance.h:28:44: fatal error: mir_toolkit/mir_client_library.h: No such file or directory22:04
cwaynecompilation terminated.22:04
cwayne\o/ finally got phone to boot at least22:05
mariogripit will build, but wcnss is missing wcnss.mdt22:06
mariogripwcnss.mdt is just a link file,22:07
=== davidcalle_ is now known as davidcalle
cwaynemariogrip, hm, I've got it from when I did a CM build of bacon22:11
mariogripyeah, i tried that, but it seems like the link does not direct it to the correct place, or that fstab is not mounting firmware correctly22:15
mariogriphumm, /firmware seems to be empty22:15
cwaynemariogrip, not sure if this is relevant:22:16
cwayne<rsalveti> cwayne: as part of the android init script for flo there is a service called wcnss_init22:16
cwayne* brendand (~brendand@5751f17e.skybroadband.com) has joined #ubuntu-touch22:16
cwayne<rsalveti> and that service is just a script, that calls /system/bin/conn_init22:16
cwayne<rsalveti> and echo 1 > /dev/wcnss_wlan22:16
cwayne<rsalveti> then my other init_wlan.sh script makes it to load the firmware22:16
cwayne<rsalveti> echo sta > /sys/module/wlan/parameters/fwpath22:16
cwayne<rsalveti> you can get the android console by calling lxc-console -nandroid -t022:16
mariogriphttps://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/tree/v4.4/configs-ubuntu22:18
mariogripi made some scripts22:18
cwayneah hm, that looks pretty much the same22:21
cwaynehmm22:21
cwayneondra, ^ any ideas?22:24
mariogriphttp://paste.ubuntu.com/10630412/22:28
mariogripthis is better: http://paste.ubuntu.com/10630428/22:29
mariogrip[   31.148635] pil_pronto fb21b000.qcom,pronto: wcnss: Failed to locate wcnss.mdt22:30
mariogrip[   31.148720] wcnss_notifier_cb: sysmon_send_event error -1922:30
mariogrip[   31.148767] wcnss_wlan fb000000.qcom,wcnss-wlan: Peripheral Loader failed on WCNSS.22:30
cwaynemariogrip, and its not in /firmware/image?22:33
mariogripthere is not any files or folders inside frimware22:34
mariogripfirm*22:34
mariogripah, i see fstab is trying to mount /dev/block/platform/msm_sdcc.1/by-name/modem22:38
mariogripbut that does not exist22:38
mariogripwait, it does exist inside lxc22:39
mariogripbut, firmware is not mounted in lxc22:42
=== chihchun_afk is now known as chihchun
cwayneTassadar, did you have any issues with wcnss on deb?22:52
cwayneor are you just using the flo image basically22:52
TassadarI'm building it from source, and with nexus devices, google prepares packages with proprietary binaries that go to vendor/ in android tree and they contain, among other things, fw for that wcnss thing22:53
Tassadarask some ROM builders how do they do it with opo, might have to just extract them from a stock ROM22:54
mariogripopo i think make .mdt files in Android.mk, but for some reason it does not work, i just added the files manually22:55
Tassadarit's kinda messy, because you can't really redistribute those files according to the license22:56
mariogripthe .mdt files is just link files22:57
Tassadarwell they are obviously not supposed to be :)22:57
mariogrip:O they are like that in android22:58
Tassadarwell they link somewhere22:58
Tassadar*point22:58
mariogrippoint to a file in /firmware22:58
cwaynehm, its not in the list of files that's pulled with extract-files.sh22:58
mariogripbut /firmware is empty22:59
Tassadaroh, then just mount /dev/block/platform/*somethingIdon'tRemember/by-name/modem to /firmware22:59
Tassadarsome of the fw files are on special partition, it is different for each device22:59
mariogripyeah, fstab does that22:59
Tassadarthen what's the problem, it's not /firmware on ubuntu or what?22:59
mariogrip/dev/block/platform/msm_sdcc.1/by-name/modem        /firmware       vfat    ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0        wait23:00
Tassadaror it won't mount it?23:00
Tassadarmight have to remove the "context=..." mount flag, since ubuntu kernels don't have SELinux23:00
mariogripi will give that a try23:01
Tassadarwell is it mounted or not? and it would print out error in dmesg if that were the problem23:01
Tassadar*should23:02
mariogriphttp://paste.ubuntu.com/10630428/   btw, i have to get to sleep, i have work tomorrow :P23:02
mariogripi cannot find any errors23:03
cwayneFWIW on flo it's in /system/vendor/firmware/wcnss.mdt23:03
Tassadaryeah, it doesn't have it on that partition, but it has different firmware files on there23:04
Tassadarlooks like it was mounted just fine23:04
mariogripbut, why is it empty then?23:04
Tassadaryou could use lxc-console ...some parameters I don't remember... to get to that android container and check there23:04
cwaynesudo lxc-console -nandroid -t023:05
Tassadaryeah, that23:05
mariogripyeah, but there is no /firmware there23:05
Tassadaris it in ubuntu root?23:05
mariogripyeah23:05
mariogripbut not in lxc23:05
Tassadarwhat does mount say? is it mounted there?23:05
mariogripI have rebooted my phone back to android, i will try more tomorrow.23:07
Tassadarfinding what exactly loads the firmware could be useful too, if it is the kernel then it needs to be in /firmware, if it is via android's init, then you have to make it mounted to /firmware in that android container23:07
Tassadaryeah, I'm going to bed too23:07
mariogrip it late here in norway :P23:08
Tassadarit's midnight here23:08
mariogripyeah, i will try to find that out, but i do think it's the fstab file, because if i removes that, it doses not show up23:09
cwayneI'll keep poking (although I still can't even get it to build :P)23:11
* rsalveti waves23:11
rsalveticwayne: current build is broken23:12
rsalveticwayne: we're fixing that, latest platform-api landing broke all the builds23:12
cwaynersalveti, ah, okay23:12
cwaynei vaguely remembered that23:12
cwaynersalveti, so as for our wifi issue, if you wanna read scrollback, it's failing at pil_pronto fb21b000.qcom,pronto: wcnss: Failed to locate wcnss.mdt23:13
rsalveticwayne: right, just need to find out who provides that23:14
cwayneyea23:15
rsalveticwayne: because there are usually 2 issues, one is that the path for the firmware directory is usually wrong, as that's pointing out for the android path23:15
rsalvetiand the other is actually making that file available in the ubuntu side23:15
cwaynemakes sense23:15
rsalvetiit's common for a few devices for us to change '/etc/firmware/foobar' into '/system/etc/firmware/foobar' in order to get it to work (in the kernel code)23:16
cwaynei see23:17
rsalveti vendor/sony/rhine-common/proprietary/etc/firmware/wcnss.mdt23:17
rsalveticwayne: for one sony device using the same chipset23:17
rsalvetisystem/etc/firmware/wcnss.mdt23:18
rsalveticwayne: can you check if you have something under /system/etc/firmware ?23:18
DonkeyHoteianyone know what causes the power mgmt problems on hammerhead?23:18
cwaynersalveti, i've got some stuff, but not the wcnss23:18
rsalveticwayne: the device git repository should have something23:19
rsalvetiunless it's under vendor23:19
cwaynealthough I do have system/etc/firmware/wlan/prima/WCNSS_CFG.dat23:19
rsalvetiright, that's one thing23:19
cwaynersalveti, https://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/blob/v4.4/Android.mk starting at line 53 maybe23:21
rsalveticwayne: yeah, that would be /system/etc/firmware23:22
cwaynehm, wonder why its not there then23:22
rsalvetiguess the files are just missing from this repo23:22
rsalvetilet me check the CM one23:22
rsalvetioh, sorry23:23
rsalvetiyeah, it's under /firmware/image23:23
rsalvetithat is just a logic to add a syslink23:23
rsalvetinow what is this /firmware, probably a partition23:24
rsalveti/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait23:24
rsalvetiyeah23:24
rsalveticwayne: try mounting that by hand23:24
rsalvetiin theory we have a logic inside our initrd that is responsible for mounting all the partitions from fstab23:25
rsalvetibut last time I check I think we had a bug in there23:25
cwaynejust sudo mount /dev/block/platform/msm_sdcc.1/by-name/modem ?23:25
rsalvetibut first try mounting that by hand and check if the files are there23:25
rsalvetiyeah, somewhere, like /tmp/foobar23:25
cwaynemount: special device /dev/block/platform/msm_sdcc.1/by-name/modem does not exist23:25
cwayneer wait should i be in the lxc23:26
rsalveticwayne: no need23:26
rsalveticwayne: the path is just different under udev23:26
rsalveticwayne: find /dev | grep by-name23:26
rsalveti/dev/disk/by-partlabel23:27
rsalvetishould probably be under that dir23:27
rsalvetilike /dev/disk/by-partlabel/modem23:27
cwayneyeap, there it is23:28
rsalveticwayne: is there a wcnss.mdt in there?23:29
cwaynersalveti, yeap23:29
rsalvetilet me clone the kernel23:29
rsalveticwayne: great23:29
cwaynersalveti, so is it an initrd bug? or is the fstab wrong23:30
rsalvetichecking now23:30
rsalveticwayne: can you give me the output of 'sudo cat /var/lib/lxc/android/rootfs/fstab*' ?23:37
cwaynecat: /var/lib/lxc/android/rootfs/fstab*: No such file or directory23:39
rsalvetioh, that explains23:39
rsalveticwayne: 'rootfs' here is the android initrd23:40
rsalveticwayne: so in order for this to work, we first need to produce an android initrd that includes the fstab23:40
rsalvetiwith sudo lxc-console -nandroid -t0 you can also see the files that are mounted in android23:40
rsalvetithat would show you the initrd + rootfs (system)23:41
rsalveti408         # Mount all the Android partitions23:41
rsalveti409         mount_android_partitions "${rootmnt}/var/lib/lxc/android/rootfs/fstab*" ${rootmnt}/android23:41
rsalvetifrom our initrd logic23:41
cwayneah23:42
cwaynehttp://paste.ubuntu.com/10630805/23:43
rsalvetiright23:43
rsalvetishould be an easy fix23:43
rsalvetinow let me check if we also need to change the kernel23:43
rsalvetigit fetch taking forever :-(23:44
cwayneboo23:45
cwaynealthough yay for easy fix23:45
rsalvetilet me check the git repo23:45
cwaynewhatre the chances this'll fix a bunch of stuff or would it be just wlan probably23:45
rsalveticwayne: http://paste.ubuntu.com/10630818/23:46
rsalvetibunch of stuff23:46
rsalveticwayne: if you want to build the image23:46
rsalvetijust manually apply that diff under ubuntu/platform-api23:46
cwaynetryin to build now23:48
cwayneseems to be goin23:49
rsalveticwayne: https://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/blob/v4.4/device.mk23:51
rsalveticwayne:23:51
rsalvetiPRODUCT_COPY_FILES += \23:51
rsalvetidevice/oneplus/bacon/configs-ubuntu/fstab.bacon:root/fstab.bacon \23:51
rsalvetiin theory it's trying to copy the fstab into the initrd23:51
rsalvetibut we can check the output of your build once you're done with it23:52
cwayneis it possible to mount it manually on a running image and re-init wifi to see if it works?23:53
rsalvetiyup23:55
rsalvetijust mount it under /firmware23:55
=== chihchun is now known as chihchun_afk
cwaynei did that23:55
cwaynedidnt seem to do anything though, didnt know if i needed to start some service or something23:56
rsalveticwayne: you said you're still missing /system/bin/conn_init, right?23:57
cwayneyea23:57
rsalveticwayne: try echo 1 > /dev/wcnss_wlan23:59
rsalvetiit seems your image is not necessarily reflecting latest from github23:59

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