libera/#maemo-leste/ Saturday, 2024-01-13

uvosWizzup: hi :)00:14
uvosmz608 has the less locked bootloader00:14
uvosi would start with that00:14
Wizzuphey00:15
Wizzupok00:15
Wizzupdo you think the kexecboot utags from mz609 will work?00:15
uvosto my knowlage the bootloader dosent care about the device string in utags and the partition layout is the same enough, but you should check the latter in android00:16
uvossince the modem partions might be missing on mz60800:16
WizzupI'll boot it to android00:16
uvoson mz608 flashing wrong utags is also no issue since you should be able to just issue a erase via fastboot00:16
uvos(try it first ofc)00:17
Wizzupyeah, I need to check if I have the right android images for it00:17
uvoson mz61* incrorect utags is a hard brick00:17
WizzupI'm so used to just doing it for the droid 4 that I need to remind myself of all the steps I have to do on the other ones :)00:17
uvosyou dont need any android images to undo utags00:17
uvosits just erase00:17
uvosthe stock utags is emtpy00:17
Wizzupok00:17
Wizzupand I guess I should take a droid4 image and make it load the right dtb after kexecboot is set up00:18
uvosyes00:18
uvoswel no00:18
uvosyou need to build a new kernel00:18
Wizzupah, we don't have the dts in the -devel kernel yet?00:19
uvosthe kernel we have in devel dosent have the hacks required for the display either00:19
WizzupI see00:19
uvoshttps://github.com/maemo-leste/droid4-linux/tree/maemo-6.600:19
uvosthis one dose tho00:19
uvosbut i have never tried it on mz6xx00:19
Wizzupok, would it make sense to build that for -experimental ?00:20
uvossure00:20
uvosit works fine00:20
uvosjust the cpufreq issue00:20
uvosi have not had the time to look at again00:20
Wizzupok00:20
Wizzupwell, that's better than no display :)00:20
Wizzuplooks like I have a flash-mz609-android.sh script, from jan 16 2023, hrm00:20
uvosmz609 android for sure wont work on mz60800:20
uvossince it will try to flash modem stuff00:21
Wizzupright, I wasn't planning to flash it, I was just browsing to see what I have00:21
WizzupI do have some mz607 files00:21
uvosflashing single partitions might be ok however00:21
Wizzup$ ls mz607|cat00:21
Wizzup1.6.0M-272.15_MZ607_p2HW_BlurRegion01_APCFC1FF_fastboot_signed_latam.xml.zip00:21
uvosnot sure what the difference between 607 and 608 is even if any00:21
WizzupMotorola+Xoom+2-RETAIL_MZ607_1.6.0_278_1FF.xml_By(DzTechPhone.Com).zip00:21
WizzupRETAIL_7.7.1-85_MZ607-31_CFC_1FF.xml.zip00:21
WizzupRETAIL_MZ607_1.6.0_278_1FF.xml.zip00:21
Wizzupmz607 has no modem, mz608 has modem00:22
Wizzuphttps://www.gsmarena.com/motorola_xoom_2_media_edition_mz607-4306.php00:22
uvosah ok00:22
Wizzuphttps://www.gsmarena.com/motorola_xoom_2_media_edition_3g_mz608-4465.php00:22
Wizzupaccording to this at least00:22
uvosi thought only 609 had a modem00:22
Wizzupmz608 has a microsd slot, so somehow it has modem and microsd then00:23
uvosyeah seams like the best version then even00:23
Wizzuplet me see what kernel this has00:24
uvoswell no lte (which acutally might even work in eu on 609)00:24
Wizzupcurrent is android 3.2.2, system version 0.268.4.mz608.retail.en.eu00:24
Wizzupbaseband is x1_01.49.00RU00:25
Wizzuplinux is 2.6.35.700:25
uvosuh ainchent00:25
Wizzupyeah, seems like I might need to find an image to flash to it00:25
uvosthats honycomb the only android version for which soruce was never released00:25
Wizzupheh00:26
Wizzuphttps://mobilefirmwaredownload.blogspot.com/2014/02/motorola-xoom-2-mz607-mz608-mz616.html00:26
uvosgoogles explenation for this: the code is to bad (no joke)00:26
WizzupBlur_Version.77.128.14.MZ608.Retail.en.EU seems like the one to get00:26
uvosyes00:26
Wizzupia doesn't have it00:27
Wizzupnot this again :D00:28
uvos:(00:28
uvosi only grabbed the 609 version00:28
Wizzuphttps://web.archive.org/web/20130820232527/http://sbfdownload.droid-developers.org/xoom2/7.7.1M-128.14-FLEMEM_SIGN_USAPASTE02RTEUE102A.0R_UCATBLTICSUMRTCOREEU_P010_p2_fastboot.xml.zip00:29
Wizzupfrom this chinese website: http://sbf.ihei5.com/MZ616/00:29
Wizzupsearched on md500:30
Wizzuplet's see if it is correct00:30
uvoshttps://firmware.center/firmware/Motorola/Xyboard%20%28Xoom%202%2C%20Droid%20Xyboard%29/Stock/00:30
uvostheres also several here, not sure what android version is behind for instance RETAIL_7.7.1-85_MZ607-31_CFC_1FF.xml.zip00:30
Wizzup77 seems to be 4.0.4 in other filenames00:31
uvosok but thats 607 anyhow00:31
uvoswe should grab all the stuff from firmware.center while its still around00:32
uvosthat website went away for like 6 months before allready00:32
uvoswho knows how long it will stick around00:32
WizzupI can store any amount of data, do you have a way to gab it?00:32
uvosno maybe we cant get a hold of the website "Zorge.R" owner for a dump00:34
uvoszorg.rhrd@gmail.com apperantly00:34
Wizzupsounds like it is worth a shot00:35
Wizzupso I guess the procedure is to flash new android, and then perhaps find allow-mbmloader-flashing-mbm.bin (if necessary)00:42
Wizzupthen flash kexecboot to the right place00:42
Wizzupsame for utags00:42
uvosyes necessary00:42
uvosotherwise yes00:42
uvossame procedure as on d400:42
uvosjust different partition for kexecboot00:42
Wizzupnot bpsw I assume00:43
uvosyes00:43
uvosyou dont really have to update android00:43
uvosyou could just flash the kernel only00:43
uvosofc updateing android is good too00:43
WizzupI want a working android to be able to charge, this is not hooked up to the lab psu yet00:43
uvosright, yeah00:43
WizzupI am looking at the latam (latin america) zip that I downloaded already00:44
uvosaltho presumably on mz60x the battery charging via cpcap only isent quite as bad00:44
Wizzupflash_fastboot.bat00:44
Wizzupit has this:00:44
Wizzupfastboot  flash  motoboot motoboot.bin00:44
Wizzupfastboot  flash  boot boot_signed00:44
Wizzupfastboot  flash  recovery recovery_signed00:44
Wizzupbut no mention of mbm specifically00:44
WizzupI do see ota/mbmloader_ns.bin and ota/mbmloader_hs.bin00:44
uvosnot every update updated everything00:44
uvosyou may have to grab other updates to get a full set00:45
Wizzupthe other zip is similar00:45
WizzupI have this atm:00:45
Wizzup$ ls *FLEM*|cat00:45
Wizzup7.7.1-141-7-FLEM-UMTS-LA_MZ608_p2HW_BlurRegion06_CFC1FF_fastboot_signed_latam.xml.zip00:45
Wizzup7.7.1M-128.14-FLEMEM_SIGN_USAPASTE02RTEUE102A.0R_UCATBLTICSUMRTCOREEU_P010_p2_fastboot.xml.zip00:45
uvoswell without a android update.zip with /system or a fastboot image of /system00:46
uvosupdateing android will go nowhere00:46
WizzupI think these zips contain android00:46
Wizzupoh, hm00:47
uvosso there are recovery zips (used by technicians to recover a bricked device) those contain system.img etc00:48
uvosand there are update.zips ment to be executed by android recovery for the purposes of otas00:48
Wizzupwell there is00:48
Wizzup600M -rw-rw-rw- 1 merlijn merlijn 600M Aug  9  2012 system_signed00:48
uvosthose contain an android file structure00:48
uvosok thats a system image00:48
uvosits just named wierd00:48
WizzupYEAH00:48
uvosso what you have is a recovery zip00:48
Wizzupsorry caps00:49
Wizzupyeah, they're about 1.6GB in data00:49
Wizzup(compressed 500MB or so)00:49
Wizzupanyway maybe it's best if I continue with this tomorrow00:50
Wizzupwill you be around in case I inevitably have questions? :P00:50
Wizzup(also, good to know charging on mz607/608/609 might not be as bad)00:50
uvostomorrow will be sparse00:50
uvosyoull manage :P00:51
Wizzupprobably not, but I'll get some scripts to flash android at least :P00:51
Wizzupthe zip files contain a .bat script so those are easy to convert00:51
Wizzupdid we have some allow-mbmloader-flashing-mbm.bin for mz60x ?00:52
Wizzuptony's commit message to kexecboot mostly mentions not having it for mz61700:52
uvosyes we do00:53
Wizzupoh yeah I see it for mz60900:53
uvosits not for mz609 its really for 60700:53
uvosbut it dosent matter00:53
Wizzupwould I be wrong to assume that would work for mz608?00:53
WizzupI see00:53
uvosthe signing keys are the same00:53
uvosfor mz6xx they changed how they updated the bootloader00:53
uvosso they dident need allow-mbmloader-flashing-mbm.bin anymore00:53
uvosfor some reason it was still used once on an ota update00:54
Wizzupok00:54
uvoswe have that update for mz607, all other versions are lost to history00:54
Wizzupsorry if I asked these things before, somehow these things don't quite stick to my memory :)00:54
uvosnp00:54
Wizzupso where to I flash kexecboot to for mz60x00:54
uvosandroid cache00:54
uvosit tells you in the utags file name00:55
Wizzupah00:55
Wizzupthis might be the 16GB model00:56
Wizzupwell, looks like there is only 16GB00:56
Wizzupfor mz607/mz60800:56
Wizzupah no, mz607 can have 32GB, but mz60 doe snot00:57
uvosi wonder who comes up with these things00:57
Wizzupyup00:57
uvossome one at motorola: so in the us they get 32gb and lte but dont need a sdcard, in latin america not lte but an sdcard etc00:58
uvosseams really random00:58
Wizzupmz608 also does not have lte it seems00:58
uvosyeah different modem it seams00:58
Wizzupok, right, so that's why it has microsd00:58
Wizzupsince there are no two modems00:59
uvosmz609 has only one modem00:59
uvosits a more modern qcom modem than d400:59
uvosthat can do lte00:59
WizzupI see00:59
uvosthere is no lcm2.0 in mz6xx00:59
uvosno idea about what is in 608 then, but something else presumably00:59
uvosprobubly mbm6600 going by specs01:00
Wizzupwill probably know more tomorrow01:05
Wizzupis it a lot of work to kick off a kernel from experimental for the branch you linked earlier?01:05
Wizzupbtw, the utags for mz609 are for 32GB I think, so this might be a problem01:06
Wizzupalso, tdlib on armhf runs out of address space in cc1plus :(01:08
Wizzupok, worked around that with -O1 for now02:00
tmlindWizzup: i only tested flashing mz608 as mz609 after clearing that one partition, did not try doing it on mz615 so far04:58
tmlinduvos: possibly if you mess up utags on mz617 and then reset the device from recovery utags also gets reset, unconfirmed though05:00
tmlindhmm so which xyboard tablet models have a working micro-sd then?05:01
tmlindthe mz609 variants have a sucky touchscreen controller not supported in the mainline kernel btw, vendor upstreamed earlier controller then never bothered to send updates so nobody has cared about the new controller i think05:03
tmlindi'll be sending the updated display bridge patches to the lists after -rc105:04
tmlindwith those mz617 should be mostly usable with mainline kernels05:04
freemangordonWizzup: ping10:07
freemangordonI need some help with gdbus10:07
Wizzupfreemangordon: hi10:39
freemangordonhi10:39
Wizzuptmlind: mz608 should have working microsd, as does mz607 I think10:39
freemangordonWizzup: how should I iterate over     "(@a(oa{sv}))" ?10:39
freemangordon'o' is object path I guess10:40
freemangordonbut what is a{sv}?10:40
freemangordonarray of?10:40
freemangordonwhat?10:40
WizzupI think thas is a map10:41
Wizzuphang on10:41
freemangordonah, dictionary10:41
freemangordonright10:41
Wizzupa{sv} is a map[string]=variant10:42
WizzupI think10:42
freemangordonhmm, ok10:43
Wizzupdo you have some example of this in dbus, or not?10:43
freemangordonno idea10:44
WizzupI am looking at my wpaicd.c code from libicd-network-wpasupplicant to see if there is anything analogous10:44
Wizzupis this tp related?10:44
freemangordonI think it should be   while (g_variant_iter_loop (iter, "(oa{sv})", &path, &map) )10:44
freemangordonofono10:44
freemangordonGetModems10:44
WizzupI see10:44
Wizzupand yes o is object path, so (oa{sv}) is a tpuple of two values, with the first being an object path and the second a map10:45
Wizzupso I think this is indeed ok10:45
freemangordonok, thanks10:45
Wizzupbtw, I don't know how tricky this would be, and maybe it already does, but if tp-haze could export some of the Room interfaces, it could be used to get channel identifiers10:50
Wizzuplike on telegram the channel ids are just chat-12443543534310:51
freemangordonYes, I know10:51
Wizzupah ok :)10:51
freemangordonactually, I ythink we already do it, at least partially10:51
freemangordonbut I didn't dig much into it10:51
Wizzupok, it might also depend on the purple plugin being loaded10:52
WizzupI could definitely get the participant names btw :)10:52
Wizzupjust not the room title10:52
freemangordonsee https://github.com/maemo-leste-upstream-forks/telepathy-haze/commit/b06ed7a2e579a8998e0ed8e1504fdb66c47ce3c310:52
freemangordonI had no idea what to do there10:52
freemangordonfeel free to fix it10:52
freemangordonI can't test with FB as there is no room name there10:53
freemangordonjust an id10:53
WizzupI meant like this: https://web.archive.org/web/20231116152346/https://telepathy.freedesktop.org/spec/Channel_Interface_Room_Config.html10:54
Wizzupright @ fb10:54
freemangordonthat one as well10:54
Wizzupit looks like telegram and discord have the same10:54
WizzupI think the id is probably correct as it is now in haze10:55
freemangordonperhaps UI can do something smart, like combining nicks10:55
freemangordonor avatars, dunno10:55
Wizzuphm?10:55
freemangordonto create some meningful room name10:56
freemangordon*meaningful10:56
WizzupI think if we implement the room config in haze we'll get it for free10:56
freemangordoncould b10:56
freemangordone10:56
Wizzupor rather, we'll get the right behaviour10:56
freemangordonbut where we will get the name from?10:56
Wizzuppurple10:56
freemangordonit does not provide10:56
WizzupI think it does10:56
freemangordonat least for FB10:56
Wizzupmhm10:56
freemangordonin pidgin I see the same big int10:57
Wizzupbtw, I ended up building tdlib (the telegram purple lib) with -O110:57
freemangordonthat's why I said I cannot test10:57
Wizzuparmhf ran out of memory with -O210:57
freemangordonyeah, I saw it10:57
Wizzuplike, because it's 32 bit10:57
freemangordonheh10:57
freemangordonwhat TF do they do?10:57
Wizzupdon't know, could also be a poor path in gcc somehow10:57
Wizzupthe memory usage is pretty good though10:58
Wizzupfreemangordon: btw, what should trigger icon update cache?11:06
Wizzupnow if I install a rtcom-accounts-plugin-... I don't get the icons until I manually update the cache11:08
Wizzupalso, looks like apparmor isn't running on d4 hehe11:08
freemangordonI think you should call from postinst, lemme check11:09
Wizzupok11:09
Wizzupthat's easy in that case11:09
freemangordonhttps://github.com/maemo-leste/rtcom-accounts-plugins/blob/master/debian/rtcom-accounts-plugins.postinst11:09
Wizzupok thanks11:13
freemangordonWizzup: how to get value from dictionary? shall I iterate?11:16
freemangordonah g_variant_lookup_value11:17
Wizzupyeah11:19
Wizzupsicelo: hm, having trouble with totp and gitlab now11:19
Wizzupdigging deeper in this tablet with mz608 firmware, I don't see a microsd card, only a sim slot, so that's a bit weird11:45
Wizzupthis mz616 definitely has one though11:47
WizzupI suppose for mz616 the dts will need to be modified to support a microsd11:50
Wizzupactually looks like common still has mmc1 entry11:51
Wizzupah, ok, yeah, the tablet dts overrides it11:56
Wizzuptmlind: anything meaningful I can extract from mz616 with android 4.0.4? maybe where microsd card and where modem is?12:01
WizzupI've at least verified that this mz616 has both microsd and modem working in android 4.0.412:02
siceloWizzup: what's the problem?12:03
* sicelo is not available though, at least for next 6 hours12:04
Wizzupsicelo: 'did not work' :)12:06
Wizzupmaybe I need to sync time or sometghing12:07
Wizzupsicelo: as in, code not accepted12:07
Wizzupit's not too important, I'll debug that later12:07
sicelook. plausible @time12:07
sicelootherwise on the d4, i have a token for gitlab12:09
Wizzupok12:23
tmlindWizzup: ok, not sure if the microsd is added properly on any tablets as it's not working on mz61712:37
tmlindthe mmc regulator is different from d4 i recall12:37
Wizzupmz616 has a working microsd12:38
WizzupI tested it on android 4.0.4 just now12:38
Wizzupinserted a microsd card and formatted it through the android ui12:38
tmlindok, if you get a chance to open one at some point would be interesting to see if there are some extra components populated on the micro-sd card cable compared to mz617 that seems to be missing the micro-sd cage12:44
tmlindtried popping in a micro-sd card to mz608, it seems to move sideways in the slot, not sure if it's functional12:47
WizzupI'll open up the mz616 today12:49
Wizzupwrt mz608, is that the sim slot or microsd card slot12:50
WizzupI thought it was a microsd card slot on my mz608, but I think it is the sim slot12:50
tmlindyeah might be hard to see12:52
tmlindhere's a picture of the unpopulated mz617 sim + micro-sd cable: https://www.ebay.com/itm/22308687193312:52
Wizzupif you peek inside it you might see that it has 3 pins close to the entry12:52
WizzupI think that is why they are sim, not microsd12:52
Wizzupmicrosd needs a whole array of pins deep inside the port12:52
tmlindyup that would explain why the card moves sideways :)12:53
tmlindneed to go out here, bbl12:53
Wizzupha, this cable you linked can be used to add a microsd to mz617?12:54
Wizzupok ttyl12:54
Wizzupoh, sim card.12:54
Wizzuptmlind: do you know if the digitiser should work with the case removed? or does it detect this somehow?16:44
Wizzuphah, nevermind, the cable was loose16:46
Wizzuplet me make those photos16:47
siceloso i copied the totp key from my android phone (aegis from f-droid), entered it in maeotp. the generated codes are the same16:50
Wizzupsicelo: ok, must have been time related then\16:54
Wizzuptmlind: https://wizzup.org/dirlist/mz616/17:05
Wizzupdo you need me to also open up a mz617?17:07
Wizzupsicelo: yeah, time was 59s off18:58
siceloah :-)19:16
arno11hi guys, i noticed few things today: idle current draw increased a bit on N900: around 8-10mA (modem On, screen Off, hspda network: 57mA instead of 47). there is no effect if i change cpu frequency: same result @250MHz and 850. BTW default governor 'ondemand' doesn't work properly and keeps the max freq available all the time19:44
Wizzupif it is with internet on, it could just mean the modem is idle less often?19:46
arno11conservative governor works far better19:46
arno11internet is off19:46
Wizzupoh, I got confused because you said HSDPA network19:46
Wizzupyou meant just 3.5g?19:46
arno11ah ok19:46
arno11yes19:46
Wizzupdid anything change on your side?19:47
arno11absolutely nothing19:48
arno11idle was usually around 47 since march 2023 in normal conditions19:49
Wizzupwhen was the draw 47mA?19:49
arno11wdym exactly ?19:50
Wizzupyou wrote it was 47mA19:51
Wizzupwhen did you measure this?19:51
arno11every weeks usually19:52
arno11idle current draw has been stable and the same for several months19:53
Wizzupis iphbd installed?19:55
arno11iirc yes19:55
Wizzupcan you check?19:56
arno11yes it is installed19:57
Wizzuphm20:00
arno11stopping it and things are back to normal :)20:01
freemangordonhmm, that's weird20:02
freemangordonit should decrease the usage, not increase :)20:03
arno11lol indeed that's a problem20:03
freemangordondo you have iphb module loaded?20:03
arno11ah it seems to not be loaded by default20:04
freemangordonit is loaded, if it is build at20:04
Wizzuptmlind: apart from no microsd holder from my photos there does not seem to be a difference between mz616 and mz61720:04
freemangordonarno11: do you have iphb-dkms installed?20:04
arno11let me check20:05
freemangordonarno11: hmm, stopping iphbd removes the module as well20:06
arno11ah ok20:06
arno11(iphb-dkms is installed btw)20:06
freemangordonstill, does modprobe iphb loads it?20:06
arno11nope20:07
freemangordondo you have that module build?20:07
Wizzupfind /lib/modules/ | grep iphb20:08
Wizzup(nothing)20:08
Wizzupon d420:08
freemangordonwhy is that?20:08
Wizzupgood question20:08
freemangordon/lib/modules/6.1.67/updates/dkms/iphb.ko20:08
WizzupI don't have that on d420:09
freemangordon:(20:09
arno11i have it on n90020:09
freemangordonbut you can;t modprobe it?20:09
Wizzupdpkg-reconfigure iphb-dkms20:09
Wizzupseems to build it20:09
arno11indeed i can't load it20:09
freemangordonwhat is the error?20:10
Wizzupit probes fine for me on d420:10
arno11modprobe : error: could not insert iphb: no such device20:10
freemangordonwhaaat?20:10
freemangordonare you sure your FS is ok?20:11
arno11that's still a fresh install and everything seems ok20:11
freemangordonand you are on 6.1.67?20:12
arno11yes20:12
freemangordonno idea, I have never seen such an error on modprobe20:12
freemangordontry  dpkg-reconfigure iphb-dkms20:12
arno11ok man20:13
arno11seems to build20:14
freemangordonarno11: BTW, what is iphb-dkms version?20:14
arno111.5+m720:15
freemangordonok20:15
arno11build seems ok20:15
freemangordonso, can you modprobe it now?20:15
arno11let's try20:15
arno11still doesn't work20:16
freemangordondmesg?20:16
arno11with same error20:16
arno11let me check20:16
arno11nothing in dmesg20:17
freemangordoncould you check with lsmod | grep iphb that it is not loaded?20:18
freemangordonif not, please reboot the device20:18
arno11rebooting...20:18
freemangordonok20:19
arno11loading hildon...20:23
arno11now i see it with lsmod20:24
freemangordonok20:24
freemangordonhow is idle usage?20:25
arno11let me check20:25
arno1157mA20:26
freemangordon:(20:27
freemangordonuse dsmetool to stop iphbd20:27
arno11ok let's try20:27
freemangordondsmetool -k /usr/bin/iphbd20:27
freemangordonhmm, wait20:28
freemangordonit is not dsmetool started it seems20:28
arno11yes indeed20:28
arno11init.d20:29
freemangordonno20:29
freemangordondo not stop it through init.d script20:29
arno11ok20:29
arno11so how we can stop it properly ?20:32
freemangordontrying to find a way20:32
freemangordonsec20:32
arno11ok20:32
freemangordonarno11: /usr/sbin/dsmetool -U root -k '/usr/bin/iphbd '20:33
arno11ok20:35
arno11Process not killed: not found, not root or kill failed20:37
freemangordonyou should do that as root20:37
arno11yes even as root20:37
freemangordonand just copy/paste /usr/sbin/dsmetool -U root -k '/usr/bin/iphbd '20:38
freemangordonsee the space before the closing apostrophe20:38
arno11yes i see20:38
arno11same result20:38
freemangordonps -ef | grep iphbd20:38
arno11that's ok now20:39
arno11iphbd killed20:39
freemangordonsorry, can;t parse20:39
arno11let's check current draw20:39
freemangordondid you miss that space?20:39
arno11nope i missed 'd' in iphbd lol20:39
freemangordonwhy don;t you copy-paste?20:40
arno11because i'm cooking, using irssi on my wife's pc and working directly in the n900...20:41
arno11and drinking a tripel karmelitt20:41
freemangordonwell, but that's kinda slow and error prone20:41
freemangordonheh20:41
freemangordonmaybe I deserve a drink too20:41
* freemangordon checks20:41
arno11:)20:42
arno11(the current draw is back to normal again, once iphbd is killed)20:42
freemangordonok, could you start it as root:20:43
freemangordon/usr/bin/iphbd -d20:43
arno11ok20:44
freemangordonbut please, do that from remote shell, I would need the output20:44
arno11ok sec20:44
Wizzupuvos: tmlind: ok, have this mz617 on my lab psu now, next is to try leste :)20:45
Wizzuparno11: tripel karmeliet is great :D20:45
arno11oh yeah :)20:45
arno11freemangordon: opened client socket 5 to /dev/shm/iphb20:47
arno11waiting events...20:47
arno11waiting with sleeptime 3600, nfds=1, clients=020:47
freemangordonso, that should not increase idle current :)20:47
freemangordoncould you go offline->online with IM accounts20:47
arno11i doublechecked and there is still 10mA diff20:47
arno11im accounts are off20:48
freemangordonthat does not make sense20:48
freemangordonok20:48
freemangordondo you have any activity in top?20:48
freemangordonarno11: how do you check idle current?20:48
arno11nothing unusual20:49
arno11sleep 30 && cat /sys/class/power blabla/current_now20:49
freemangordonno20:49
arno11?20:50
freemangordonyou should use current_avg20:50
freemangordonor even better power_avg20:50
arno11yes but honestly it makes no diff20:50
sicelothere's no current_now on N900, iirc20:51
siceloi mean, current_avg20:51
arno11indeed20:51
freemangordonyeah, power_avg20:51
arno11only power avg20:51
freemangordonif there is such thing20:51
arno11right20:51
freemangordonok, use power_avg20:52
freemangordonin the meanwhile I am testing on d420:52
freemangordonwith/without iphbd20:53
arno11ok but power_avg is not relevant for idle only imo20:53
freemangordonit is20:53
freemangordonmost of the time20:53
freemangordonhmm, it seems the same happens on d420:53
freemangordonlets wait 2 more minutes to be sure20:54
arno11ok20:54
Wizzupuvos: tmlind: well, android also idles in off mode it seems at least20:57
freemangordonarno11: I see no increase here because of iphbd20:59
freemangordonthere is something else going on20:59
arno11freemangordon: results are pretty similar for me (power_avg / voltage_now)20:59
freemangordonvoltage_now?20:59
arno11i mean pretty similar to current_now20:59
freemangordonhow is voltage_now relevant?20:59
freemangordonah20:59
freemangordonok21:00
arno11:)21:00
freemangordonso, may I have the output of iphbd?21:00
arno11i already sent, no ?21:00
freemangordon"waiting with sleeptime 3600, nfds=1, clients=0" is the last?21:00
arno11yes21:01
freemangordonI don;t see how it could increase idle draw21:01
freemangordonarno11: lets try another thing21:02
arno11i don't know :( maybe iphb is not directly the root cause ?21:02
freemangordonstop iphbd21:02
freemangordonand start it again as '/usr/bin/iphbd -d -k'21:03
freemangordonyou should see 'iphb:TCP keepalive queuing disabled'21:03
freemangordon-k prevents opening kernel module21:03
arno11ok21:04
freemangordonso we can check if there is any issue there21:04
arno11yes i got the same msg21:05
freemangordonok21:06
freemangordonhow's the current now?21:06
arno11currently waiting for the result21:06
freemangordonok21:06
arno11argh wifi was on (ssh), need to test again21:08
freemangordonok21:08
arno11ah it's better (?!)21:09
arno11let me check gain21:09
arno11*again21:09
arno11got 50mA now21:11
freemangordonok, but iphbd waits in select(), so it cannot increase the idle draw, iiuc21:12
freemangordonalso, the kernel driver is not involved21:12
freemangordonarno11: basically, kernel driver queues keepalives untile there is some other activity21:15
freemangordonso I can;t see how would it increase the idle consumption as it prevents radios from being turned on21:15
arno11but that's a fact that current draw is higher if we don't restart ipbh properly21:16
freemangordonwthym "properly"?21:17
arno11like h-s-m or nokia-modem sometimes btw21:17
arno11i mean using the right command21:17
freemangordonarno11: process waiting in poll() is idle21:18
freemangordonand this is where iphbd stays most of the time21:18
freemangordonif not all the time21:18
arno11ok21:18
freemangordonso it is something else, IIUC21:18
arno11maybe something is unstable on boot21:18
freemangordon?21:19
arno11i mean, ATM, i have to restart h-s-m, ipbh and sometimes nokia modem after boot21:20
freemangordonwhy?21:20
freemangordondo you still have issue with presence-ui?21:21
arno11ofc21:21
freemangordonok, lets debug that first21:21
freemangordonmaybe there is a common root for all the issues you have21:21
arno11yes i think so21:22
freemangordonso, after boot there is no "availability" button in h-s-m?21:22
arno11yes21:22
freemangordonand there is no coredomp for h-s-m?21:22
freemangordon*coredump21:23
arno11no coredumps, i need to go (kids), back in 30 min21:23
freemangordonok21:23
Wizzuptmlind: for kexecboot on mz617 we need android 4.0.4 as well yeah, not 4.1.2?22:11
Wizzuphm it's still 3.0.822:12
Wizzuptmlind: uvos: as I understand it, cache is only 900MB, so that's all we get for our rootfs?22:33
Wizzupah I see uvos write this (way) earlier:22:42
Wizzup00:10 < uvos> we have to create a small 600 mb ish image that we flash to preinstall that copyies itself over to userdata and then downloads the rest of the packages22:42
Wizzupok, so I have root now om mz617, and almost done reading the whole backlog over the last years regarding mz61722:53
Wizzupit seems like I can nuke some android partitions for mainline now that I have it hooked up to lab psu, since I won't run into battery charging problems22:54
Wizzupone thing that is not clear to me yet is is the utags-mz617-32 are also ok for a mz617 16GB tablet22:57
Wizzupmy mz616 is also rooted, and it is 32GB, so it seems like I should be able to get kexecboot on there23:06
Wizzupuvos: tmlind: ok, so I got my mz616 flashed with kexecboot. I dd'd both utags and kexecboot from android, and then I got kexecboot. that booted into android, and that molested my cache partition and thus kexecboot, but then with fastboot I can restore kexecboot and so get back in23:34
WizzupI think the next step is for me to get some serial set up because kexecboot really quickly just wants to boot to android23:35
Wizzupuvos: you didn't pull in the commits for builddeb in the maemo-6.6 branch23:55

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!