libera/#maemo-leste/ Monday, 2022-11-21

BlagovestPetrov[ builddeps:. : Depends: statusbar-alarm-dev but it is not installable02:18
BlagovestPetrov[this is for statusbar-alarm02:18
BlagovestPetrov[is the statusbar-alarm-dev deprecated as well?02:18
tmlindso i finally pushed out droid4-pending-v6.1 based on v6.1-rc6 to https://github.com/tmlind/linux/commits/droid4-pending-v6.106:25
tmlindfreemangordon: n_gsm had three pending fixes between rc5 to rc6.. i slightly updated your two patches, folded in your timeout change, and ended up with one sof flush fix.. also managed to fix kfef issues reloading the modules several times and few other minor fixes06:26
tmlindthen the pvr hacks are again in droid4-pending-pvr-omapdrm-v6.1 branch at https://github.com/tmlind/linux_openpvrsgx/commits/droid4-pending-pvr-omapdrm-v6.106:27
tmlindfreemangordon: i also finally dropped patch "drm/omap: Fix shmem write-combined buffer handling", so far no issues so i guess it's not needed and may be left over from the old ddk-1.9 hacks06:28
tmlindsorry i mean n_gsm to flush dlci0 sabm, not sof06:37
tmlindlooks like stellarium fps has gone down again though, now about 4fps from i think 6fps, was around 12fps initially with ddk-1.1706:42
uvos__tmlind: great ill rebase our stuff on your pending then ;)08:03
tmlindyeah v6.1 should be the lts release too08:13
tmlinduvos__: you don't happen to have voltage measurements for the d4 touchscreen lines? :)08:14
tmlindwe could avoid some warnings configuring it's regulators..08:14
tmlind1.8v vio seems to be always enabled and i don't see android tweaking it08:14
tmlindi think the 2.8'ish analog voltage for the touchscree is cpcap vhvio, (very high vio?)08:15
tmlindand probably the 1.8v vio is sone of the unconfigured cpcap sw supplies08:16
uvos__no, but could try and find it on xt875, it has most things fairly acessable while powerd up08:16
tmlinduvos__: ok whenever you happen to have it open and booted, the touchscreen controller has some online pdf with the pinout08:16
tmlindprobably surface mount though08:17
uvos__yeah its a really common chip08:17
uvos__might be a via close by08:17
tmlindif the vio is not 1.8V, it might be one of the configured cpcap regulators near 1.8v that are always on..08:17
tmlindthere's the analog voltage for the device, and then the io voltage08:18
uvos__yeah i know, standart setup for sutch a chip ;)08:18
tmlindyeah08:18
tmlindmeasuring cpcap would require soldering off the shield on some device.. and we don't know the pins for it either, but measuring voltages would provide some clues still. solderging off everything from a board and having it x-rayed would provide traces as suggested earlier by somebody :)08:21
uvos__desoldering one cann is not big issue08:22
tmlindwell soldering off everything would allow scanning the circuit board for the traces08:22
uvos__i dont have an xray tho :P08:22
tmlindhehe yeah08:22
tmlindwould be fun to put together an unofficial schematics pdf though :)08:23
tmlindquite a bit we already know from the android sources that we already have configured for linux, just some traces are really a mystery08:23
uvos__sure yeah, well theres most of the hw end stuff08:24
uvos__that linux dosent interact with08:24
tmlindanyways, we could add a fixed regulator for 1.8v vio to avoid some regulator warnings08:24
uvos__like all the modem stuff08:24
tmlindmodem power on and off works with linux though08:25
sicelosend a d4 to Doc. he x-rayed the n900 :p08:25
uvos__sure but theres lots of traces between the chips that make up the lcm2.0 ,pde,08:25
uvos__*modem08:25
uvos__etc08:25
tmlindyeah sure08:25
tmlindlcm2.0 uses the second instance of pmic inside the cpcap that we've left unconfigured fyi08:26
uvos__yeah i know08:26
tmlindsicelo: interesting, so can Doc also unsolder everything?08:26
uvos__i have played with its userspace cpcap interface while mainline is running08:26
uvos__to figure out how the leds work xD08:26
tmlinduvos__: yeah sure :)08:27
uvos__tmlind: i mean if destroying the device is no issue i can probubly clean a board off with the reflow oven08:27
tmlindideally i'd like to just do dmesg -lerr,warn to make sure things work with no errors and warnings..08:27
uvos__ie remove everything08:27
uvos__chips included08:27
sicelotmlind: i would wonder if he still has time ...08:28
tmlinduvos__: yeah would be best to solder off everything from some hw b donor that's partially broken :)08:28
tmlindthen just scanning both sides already provides some traces08:28
uvos__its like a 6 layer pcb tho08:29
uvos__but yeah08:29
tmlindsicelo: afaik there are circuit board shops that do x-rays on regular bases to make sure no crossed connections etc08:29
sicelonice08:30
tmlindWizzup: got some broken d4 hw b donor mobo for tracing the connections? i guess bying a mobo off ebay for $10 is another option08:31
tmlindWizzup, __uvos: there are $10 mobos on ebay right now fyi if no other donor is found :)08:33
tmlindoh well, i need to get busy here, bbl later tonight08:33
uvos__dosent need to be hwb08:34
uvos__the mobos are all the same08:34
uvos__they all have hwa in the silkscreen08:34
uvos__the difference is only the chips and the molds for the case08:34
uvos__well one chip08:34
tmlindok08:45
buZzdoes stellarium support the accelerometer etc?09:12
buZzmeh, chargecounter was >850 , phone shutdown with white led, but chargefull after reboot is still 650, ffs09:29
sicelo:-)09:31
sicelod4/cpcap is a lot of 'fun'09:31
buZzsuch a annoying dance :D09:31
sicelowhat's chargecounter btw?09:32
buZzcant wait to get some fresh battery inside it09:32
buZzafaik it keeps 'how many ma has battery supplied since 100%'09:32
buZztry> watch -d 'cat /sys/class/power_supply/battery/uevent '09:33
siceloi am not sure ... i think it just counts from anywhere to anywhere. i might be wrong though09:33
buZzi dont believe so, during charge its negative09:34
siceloi.e. 850 in it doesn't really mean 850mAh. the charge full is the delta between what it was at 100 and what it is at empty (or so)09:34
siceloyes @negative ...09:35
buZzi do think its what we use to keep track09:35
buZzbut could be wrong09:35
siceloyes it tracks (counts) the coulombs. i just mean that the count itself isn't a 'usable' value iirc, but you keep track of the delta between its highest and lowest, something like that09:37
buZzstill havent found a vendor selling new rightsize lipo that are 3.8/4.35v09:37
buZzi've considered making a 'powerbank' to dock the d4 in09:40
buZzjust 2x 18650 or something, would make it silly thick09:40
buZz:)09:40
buZzmaybe even 4x 18650 could fit in the 13cm width09:41
buZzand just use the pogopins interface to expand the battery09:42
buZzwith 4x parallel, they should at least be able to source enough current to not get drops from 3.6v to 'oo lets powerdown device!'09:42
buZzhehe09:42
* buZz hands out fresh pizza slices09:43
Wizzuptmlind: I don't have a dead one but can send a live one09:48
Wizzuptmlind: any chance you had a look at the MASTER_USBOSTHS issue with the modem shutting down, and that calling usbhs_omap_remove() ? (sorry if a bad summary)09:50
Wizzupuvos__: great @ kernel09:50
uvos__the value of the charge counter itself is indeed meaninless on its own09:52
uvos__it can be 10 1000 -1000 or whatever really09:53
uvos__its only capapble of telling you the delta during a single boot09:53
uvos__Wizzup: i gues that wold be sending it to me not tmlind, however we need to know where it could be xrayed first09:55
Wizzupare there services that do this?09:55
uvos__sure09:55
uvos__but $$$$ i presume09:55
Wizzupwonder how much09:55
uvos__also we need to find one close to whomever wants to clean the chips off the pcb09:56
uvos__i can do that, but yeah09:56
uvos__buZz: im not sure what you think its wrong with the nexus 4 battery09:57
uvos__its a pretty mutch perfect replacement09:57
buZzi asked which battery you ment and didnt get a reply before :) can i order and mod that 'now' ? will it be a new cell?09:58
buZzand its not 4.35v i think?09:58
uvos__yes09:58
uvos__i is 4.35 iirc (i dont use it like that)09:59
uvos__its the one that fits in the nexus 4, i dont remeber the code rn but its in the irc history09:59
buZzah, nice, hv cells have about 10-20% more capacity (if used like hv)09:59
uvos__no09:59
buZzok09:59
uvos__they dont09:59
buZzok chemistry is lying then :P09:59
uvos__the higher capacity comes from the higher nominal voltage09:59
uvos__so if you charge it to 4.2 you dont loose the advantage10:00
buZzplus lower empty voltage10:00
uvos__as the carge end voltage is not the gain here10:00
uvos__the higher nominal voltage is10:00
uvos__anyhow polarcell makes them10:00
uvos__they are new (ish at least)10:00
uvos__mine is from 2018 i think10:00
* buZz opens ebay10:00
uvos__or 1910:00
uvos__bought in 202010:00
uvos__or 21 maybe10:01
uvos__something like that10:01
buZzoo 2250mAh even , nice10:02
uvos__well mine dose 1900 ish mah10:02
uvos__so its a lie a bit10:02
buZzgee, 20euro though10:04
buZzexpensive battery :D costs almost 'another d4' hehe10:04
uvos__d4s have become more expensive10:04
uvos__so no10:04
uvos__but yes expensive10:04
Wizzuplast I checked I couldn't even find one for sale10:05
buZzgee10:05
buZzyou bought em all Wizzup !10:06
buZzend of a era10:06
buZzlol10:06
WizzupI wish there was a way to advertise on ebay that you want to buy something10:06
uvos__craiglist10:06
uvos__*s10:06
buZzlol, for 40-50 i could buy a whole nexus410:07
uvos__might be worth a shot really10:07
buZzuvos__: do you use craigslist outside of US?10:07
uvos__no10:07
buZzoh ok10:07
Wizzupno, but the d4's are only *in* the us10:07
uvos__thats the point10:07
buZzright10:07
buZzok, clear10:07
buZzso BL-T5 is the nexus4 battery10:08
buZzalmost even looks like the d4 battery connection? but i assume it requires modding10:10
uvos__yes you need to replace everything but the cell itself10:10
buZzait, ordered one10:23
buZzuvos__: so it will gain the nvram/whatever storage from the original cell too? nice!10:25
buZzi can take stepbystep pics of modding such battery, or a timelapse, or maybe a whole 5min (editted) video?10:26
uvos__freemangordon did that by harvesting the pcb from a eb4110:26
uvos__i have not, i used my custom adaper pcb10:26
uvos__i presume you can film whatever you want :P10:27
uvos__that would be good for others ofc10:27
buZzi will do a harvest from the italian? 'new' battery i got, its barely 400mAh as-is10:32
buZz(was just a new sticker around a old cell)10:32
buZzalright, a friend is going to help photo&videorecord the mod10:35
buZzphotos for the wiki, video for whatever10:35
buZzhe's excited for such nobel documentation to be made, lol10:37
Wizzupuvos__: probably craiglist is not a bad idea10:57
uvos__Wizzup: *craigslist11:36
uvos__Wizzup: yes, if you have some address people cand send stuff too permanently11:36
uvos__Wizzup: archive.org i presume11:36
Wizzupor colleages11:36
Wizzuptmlind: is there any way to get the old (pre kernel console detaching from serial for pm reasons) behaviour for chasing bugs?13:01
Wizzupinstead of running say dmesg -w from a tty13:01
WizzupI feel, and this is just a feeling, that I'd normally see 'more' on serial13:02
uvos__the pm script detachtes the konsole13:14
uvos__just add console= parameter to cmdline and comment the line in the pm script13:15
uvos__ofc this breaks pm13:15
Wizzupuvos__: so how do we change pm problems?13:15
Wizzupuvos__: I -believe- that this was possible before this change in the kernel13:16
uvos__i dont think ret while the uart is not idle (and kernel console keeps it active) was ever possible13:16
uvos__iiuc its is possible possible in the hw sense tho13:17
Wizzupmaybe I misunderstand then, I just thought that I was doing pm testing often with kernel console on serial, but it's been a while now13:17
uvos__at some point we removed the console= parameter from cmdline causeing there to be no kernel output even before the pm script loads13:20
uvos__maybe you remember that13:20
Wizzuphmm13:31
buZzmeh, trojita seems to have corrupted something in its storage and doesnt seem to recover itself, lets see if/where i can delete caches13:50
uvos__buZz: hmm13:53
uvos__buZz: ~/.local/share/trojita i think13:54
uvos__or close to it13:54
buZzyeah somewhere, just dont want to delete profile13:54
buZzweird, i have /home/user/.local/.local/*13:58
buZzhmm and no files there, boo13:59
buZzi bet its ./.cache/flaska.net/trojita/imap.cache.sqlite14:02
buZzyep14:21
buZzjust moved it away, it made a new one at launching14:21
siceloWizzup... re-ip address issue on gprs: part of the issue is that ip addresses persist in gconf. i think they should be flushed when a gprs session is torn14:33
siceloor, if they have persisted (e.g. due to unclean shutdown of system), before using them next time, check first to see if network/ofono didn't send different14:34
uvos__why save it at all?14:35
uvos__the ip is only valid as long as gprs is active and gprs is active for less than system lifetime at a time, saveing the ip to disk at all seams like a contrivance14:37
siceloi guess saving was implemented in case some (lucky?) soul has static IP addresses on gprs14:40
Wizzupno, it's just saved because that's how it is passed to the ipv4 module currently14:41
Wizzupwe can have the gprs module do its own ipv4 as an alternative14:41
Wizzupat least that's what it was before fmg changed it14:41
Wizzupmaybe it's different now14:41
uvos__something something gconf as ipc...14:42
WizzupI think it can be done differently, and maybe it already is, I haven't checked14:43
Wizzupin any case, trying to reproduce a hang I had yesterday14:56
Wizzupwas playing a video in mpv and at some point the audio started looping and it reset shortly after, nothing in pstore14:56
uvos__i get those often14:59
uvos__> 1 day14:59
uvos__when in active use14:59
uvos__its stable when not14:59
Wizzupit kind of reminded me of a long time ago when we were trying to debug a problem of reset while playing music, but then the screen was off and the device in my pocket14:59
uvos__that happend when lightly loaded14:59
uvos__or idle14:59
uvos__this is opposit14:59
uvos__i think it got mutch worse with the lasst round of xorg patches15:00
uvos__those where now dmabuf fds are created mutch more often15:00
uvos__makes me belive its pvr/omapdrm15:00
Wizzupwell, it's playing with -vo xv --loop15:00
Wizzupso we'll find out I guess :)15:00
uvos__also the problem where chargemode or xorg hangs15:01
uvos__i think these are relatd15:01
Wizzupyes but it does not reset from that15:01
uvos__yeah but i kinda think its related15:01
Wizzupor maybe the wd is not set up to dsme then15:01
Wizzupno, it must be for x15:01
uvos__no kernel just dosen hang15:01
uvos__just dri is non functional after that15:01
uvos__ie just the pvr/omapdrm driver breaks15:02
uvos__the xv loop is probubly the least usefull way to test this if my theory is correct15:02
uvos__since i think its related to buffer creation15:02
uvos__and that dosent create any15:02
Wizzupwell, but it just happened mid-way while I was watching/listening, not touching anyting15:03
WizzupI am just trying to reproduce what happened to me yesterday15:03
uvos__yeah ok15:03
Wizzupand it's a relatively easy/lazy way to test it :)15:03
uvos__may theorys also dont have to be correct :P15:03
Wizzupjust leave it here on psu15:03
uvos__give it a low voltage maybe15:04
uvos__3.6V15:04
WizzupI need to get a better psu here, it's noisy and measure is not accurate :(15:04
uvos__ok15:04
Wizzupyeah I can do that, just afraid to turn the knobs15:04
Wizzupso I'd power it down and re-try15:04
Wizzupit's on 3.9V atm15:04
uvos__i also kinda get the fealing it happens more often when battery is low15:04
Wizzupmhm15:04
freemangordontmlind: sorry, I am on a business trip till thursday15:23
freemangordonhowever, it turned out that modem poweroff patch is not needed at least on d415:24
freemangordonwhere off current is already fine15:24
freemangordonif you still want the patch, I think uvos__ has it15:24
freemangordontmlind: regarding GPU rendering - sometimes d4 has to be power-cycled to recover from low FPS15:26
freemangordonseems to be somehow related with low battery15:26
freemangordonBlagovestPetrov[: Wizzup: Please, when you porting to chimaera, make sure beowulf-devel and master branches match15:29
Wizzupyeah, I've done this15:30
freemangordonI ran on projects that have differences a couple of times15:30
BlagovestPetrov[I will check this :)15:30
freemangordonthanks!15:30
Wizzupfreemangordon: I was thinking of just merging most of -devel to non-devel15:32
Wizzupmaybe it's also time we just merge the phone stuff to non-devel15:32
Wizzupit's not that buggy anymore I think15:32
freemangordonyeah, why nbot15:34
freemangordon*not15:34
* freemangordon is afk15:37
Wizzupuvos: I imported mce-dev for now15:52
uvos__for me phone stuff is still terribly buggy16:02
uvos__i cant send sms at all ever (this broke with freemangordon's rounds of ofono bugfixing, wich did improve everything else)16:03
uvos__ofono allways fails to find an operator on first start16:03
uvos__and needs to be restarted16:03
uvos__ofono will randomly fail to make the modem search for an operator when the operator is lost16:04
uvos__untill it is restarted16:04
Wizzupuvos__: which device?16:06
uvos__d416:06
WizzupI have not seen this on the d416:06
Wizzupbut I do have some issues on the bionic16:06
uvos__i also had to add the apn by hand16:06
uvos__because icd failed to figure it out itself16:07
uvos__so really nothing works on my end besides calls _P16:07
uvos__:P16:07
uvos__the operator loosing is related to gsm only / gsm only sim16:09
uvos__btw16:09
uvos__freemangordon was able to repo this by forcing gsm16:09
Wizzupah, right16:09
Wizzupmy bionic actually refuses to go on 3g :)16:09
Wizzupbut the d4 has no problems with it16:09
uvos__that expected16:09
uvos__its antenna is horrid for umts bands16:09
WizzupI got it to work somewhat with some change16:10
uvos__ok16:10
Wizzupidk y d4 has  full bars...16:10
uvos__d4 was desgned for umts16:10
WizzupI think it's some nvram thing16:10
uvos__as its a global phone16:10
uvos__binoic was not16:10
uvos__its antenna design is different16:10
uvos__global = advertised global roaming16:10
uvos__the bionic ist just not optimized for umts bands16:11
Wizzupwell, it worked before, I think it's a config thing16:11
uvos__there was someone on xda who hooked up the antenna to a vna16:11
uvos__Wizzup: ok it should work16:11
uvos__just poor range16:11
Wizzupright16:11
uvos__depends on what band of umts too ofc16:12
Wizzupright16:15
uvos__oh and the issue that the icd conetion dialog breaks compleatly if the cellular module is installed but the dummy module is not installed and the cellular module is unable to provide a network still exists16:21
uvos__so installing the cellular icd module will break wifi on every phone with no sim16:21
WizzupI'm going to look at organising the github issues a bit differently16:21
Wizzupdo we have bugs for all of this?16:21
uvos__pretty sure yes16:21
Wizzupok16:24
BlagovestPetrov[Wizzup freemangordon  https://github.com/maemo-leste/libdsme/pull/1/files16:25
BlagovestPetrov[#27 - I cannot build the package with this line16:25
BlagovestPetrov[DH_OPTIONS=-Ndsme-testcases16:25
Wizzupuvos__: looks like it reset17:00
WizzupPPA SV ok17:00
WizzupModel ID is 0x0000001317:00
Wizzup-- OMAP 00004430 (version 00000b22) PPA release 1.6.4 R2 hash 7dd443e5--17:00
WizzupDevice type: HS, DEBUG OFF17:00
Wizzup-- CPFROM HAL API is in PPA --17:00
WizzupReset reason = 000379a217:00
WizzupFree space for PPA: 1524 bytes17:00
WizzupThe PPA is about to free 2320 bytes17:00
WizzupPPA hash Block:0xbff00000 Size:522240 Flag:317:00
Wizzupnothing too useful unfortunately.17:00
Wizzupmaybe next step is for me to disable the pm and see if I can get more info on serial17:01
WizzupBlagovestPetrov[: will get back to you on above q after all the translations ar ebuilt17:02
BlagovestPetrov[ok. I'm continuing with the rest :)17:12
BlagovestPetrov[libhildon compiled without any problems but master is 2 commits ahead maemo/beowulf freemangordon17:24
BlagovestPetrov[also, it depends on osso-sounds-ui but I can't find this package in git17:26
BlagovestPetrov[also, FYI:17:45
BlagovestPetrov[Unpacking libhildon3-doc (3.0.0-1) ...17:45
BlagovestPetrov[dpkg: error processing archive libhildon3-doc_3.0.0-1_all.deb (--install):17:45
BlagovestPetrov[ trying to overwrite '/usr/share/gtk-doc/html/hildon/HildonAppMenu.html', which is also in package libhildon1-doc 2.2.2917:45
BlagovestPetrov[dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)17:45
BlagovestPetrov[maemo-system-services-dev depends on python-gconf which is in stretch :D17:49
BlagovestPetrov[I may comment this in the porting issue ( https://github.com/maemo-leste/bugtracker/issues/644) for easier tracking?17:52
BlagovestPetrov[but python-gconf is in maemo beowulf17:58
tmlindWizzup, __uvos: here's what i did on bionic for tmo 3g voice calls, see the untested value below that just might get you signal with wcdma 90018:24
tmlindtcmdrw 1143=b1ff0000 # NV_WCDMA_1900_VGA_GAIN_OFFSET_I, tmo 3g, xt910 default value18:24
tmlindtcmdrw 3650=acff # NV_WCDMA_900_VGA_GAIN_OFFSET_I, xt894 default value, untested18:24
tmlindtcmdrw 6850=05   # NV_???, enable wcdma gsm-hr-amr for 3g voice calls to work, xt910 default value18:25
tmlindoops sorry about the extra spaces18:25
tmlindwithout changing nvram 6850, 3g voice call would sound half speed to one direction :)18:25
tmlindnot sure where i got that nvram 6850 from, but i recall diffing tcmdrw dump of xt910 and bionic to narrow down the different regs..18:29
Wizzuptmlind: yeah I think might be on our wiki but I will check it against our wiki again18:45
WizzupBlagovestPetrov[: I imported python-gconf probably, and for the file conflict, probably been there since ascii (beowulf-1)18:46
BlagovestPetrov[thanks :)18:46
BlagovestPetrov[yeah, the file conflict is something old. just mentioning it..18:46
WizzupBlagovestPetrov[: yeah maybe make an issue for it so we won't forget18:57
tmlindWizzup: yeah might be worth documenting if not there yet..18:59
Wizzupomg it reset but the reboot log flushed it out :)19:00
Wizzuptime to do it again19:00
BlagovestPetrov[python-gconf may not work in Debian 1119:05
BlagovestPetrov[because it's Python 219:06
BlagovestPetrov[I'll try :)19:06
WizzupBlagovestPetrov[: they removed python 2 alltogether?19:06
Wizzuphttps://packages.debian.org/bullseye/python2.719:07
BlagovestPetrov[I don't think so19:07
Wizzupyou almost gave me a heart attack19:07
Wizzup:D19:07
BlagovestPetrov[but it's not installed by default19:07
BlagovestPetrov[:D19:07
WizzupI am a bit surprised that maemo-system-services-dev depends on python-gconf19:07
Wizzupmaybe I did import it from stretch19:08
BlagovestPetrov[https://github.com/maemo-leste/maemo-system-services/blob/master/debian/scripts/icd2-manage-modules19:08
Wizzupmhm19:08
Wizzupis it listed in the dependencies as well?19:09
BlagovestPetrov[yeah19:09
Wizzupok19:10
Wizzupso we should probably add it to our 'upstream forks' if it is easy to do19:10
Wizzupit's part of gnome-python19:11
Wizzuphttps://packages.debian.org/source/stretch/armhf/gnome-python19:11
BlagovestPetrov[that's what I was going to ask :)19:19
WizzupI think the control file needs changing19:20
BlagovestPetrov[I will try19:31
WizzupI think the dep needs to change from python (>= 2.7) to python2.719:33
sicelomight also be time to start moving stuff to python3 perhaps19:34
uvosvery mutch high time19:36
uvosbut idk how mutch python2 stuff we have19:37
Wizzupsicelo: do you volunteer?:D19:39
uvosmaybe while porting BlagovestPetrov[ could supply us with a list19:39
Wizzupthere is a problem, which is that there was never python3-gtk2 stuff19:39
uvosah ok19:39
Wizzupat least afaict19:39
uvoshow mutch uses the python bindings?19:39
Wizzuphttps://stackoverflow.com/questions/27542828/is-it-possible-to-create-gtk2-x-applications-using-python-319:40
Wizzupnot much, there's mostly some apps.19:40
Wizzupbut python-hildon for example...19:40
uvosWizzup: maybe just target removeing them entirely19:40
uvosthe bindings then19:40
WizzupI was thinking we would do this with gtk319:40
uvosanyhow a list would be good19:40
Wizzupwe can just get this from looking at debian/control19:40
uvossure if you have all repos cloned19:41
Wizzupthe more annoying thing might be that this might make it impossible to use gconf from python 3 :D19:41
uvospresumably BlagovestPetrov[ will have19:41
uvosthats why i was asking him19:41
uvoswell gconf also has to go so..19:41
Wizzupthis easily adds up to weeks or work, I'd rather first complete the gtk3 port theming wise19:42
Wizzupand then we can look at just migration away from gtk2 perhaps19:42
Wizzupand then suddenly everything will be easier19:42
uvossure im not suggesting any timeframe for anything19:42
Wizzup(Ithink)19:42
Wizzupright19:42
Wizzupyeah I fully agree :)19:42
BlagovestPetrov[I would propose migrating directly to Qt if the menu and other widgets works :D20:05
BlagovestPetrov[gtk4 is even worse20:05
uvosway to mutch work20:05
Wizzupand also more resource intensive20:05
uvosthan gtk3?20:06
uvosdoubt20:06
Wizzup:(20:06
uvosanyhow at that point your better off throwing away hildon entirely and writeing a wayland comp.20:06
uvosfrom scratch20:06
Wizzupwhich will be years or work to get at the same point :)20:06
uvosright20:06
Wizzupwe just want to support both gtk and qt20:06
Wizzupwith gtk3 we were mostly there, but not all the way, qt5 needs mostly some bugfixing and the keyboard20:07
uvosthe main thing i would hope for from gtk3 is scaling support20:09
uvosthat really kills hildon on anything modern20:10
Wizzupwe have a problem with theming in general too though20:10
WizzupI mean gtk2 vs gtk320:10
Wizzupnothing is compatible20:10
uvosyeah20:10
uvosthey threw away the theming engine20:10
uvosand then proceeded to break the new one every release20:10
uvosso now theres only one gtk theme that works ok20:10
uvos:P20:10
uvosnot to mention the efforts to push everyone into csds20:12
uvossince those totaly work great for an app that needs to work on a phone and desktop :P20:12
BlagovestPetrov[I'm not against GTK but I am. It was a good framework but their decisions are insane. Also, most of the new Gnome apps are self painting the window frame20:13
uvoseh idk i never liked gobject at all20:13
uvoslovey erros happen due to the lack of type checking at compiletime20:13
BlagovestPetrov[C is not for GUI..20:14
uvosright if your going to be so deeply object oriented just use c++ already20:14
BlagovestPetrov[that's their main problem and that's why there are projects like Vala :)20:14
BlagovestPetrov[btw.. https://www.linuxadictos.com/en/budgie-desktop-migrates-from-gtk-to-efl-from-enlightenment-project.html20:14
uvosand its a self imposed problem20:15
tmlindbuZz: i think stellarium supports sensors maybe on android only? not sure20:28
uvos tmlind no20:29
tmlindWizzup: i might have a dead d4 mobo somewhere in my boxes but won't be able to check for a few weeks20:29
Wizzuptmlind: if you know, could you refresh my memory on my question regarding getting certain oops/panics on console and if that was easier before the kernel console detaching for pm business?20:29
uvosit supports remote sensors on linux at least20:29
tmlinduvos: ok20:29
uvostmlind: at the very least you could run the remote sensor thingy on the d4 too20:30
uvosand have it work over localhost20:30
tmlindWizzup: what are you trying to capture?20:30
tmlinduvos: i'm happy with stellarium and keyboard :) so far no need for sensors20:30
Wizzuptmlind: I am trying to reproduce some reset and want to make sure the ability for me to see any panic/oops on serial is the highest20:32
uvostmlind: hang and reboot during heavy load20:32
WizzupI somehow feel (but maybe this is just a feeling) that it was easier before the console detaching20:32
WizzupI stopped the detaching for now, but ofx during idle tests that doesn't work20:32
Wizzupofx->ofc20:32
tmlindWizzup: ok just echo Y > console in the sysfs and uart won't get idled and uart should always print out errors20:32
Wizzupdo we ever enter RET then?20:33
tmlindWizzup: also echo 9 > /proc/sysrq-trigger for the loglevel20:33
tmlindWizzup: no not with a console attached20:33
Wizzupok, I just seem to recall before all of that we did idle with serial attached, but I might recall wrong20:33
Wizzupprobably recall wrong20:33
tmlindWizzup: if you want to trace idle, you need to use pstore if you have a hang.. but seems like enabling the modem will often prevent watchdog reset from booting properly20:34
uvostmlind: well thats an important clue20:34
uvosthe hang isent related to the modem20:34
tmlindWizzup: yeah it used to work somehow, but kernel serial console no longer does any pm because if was flakey20:35
Wizzuptmlind: ok, so my memory isn't totally failing me20:35
tmlinduvos: at least i think it's the modem that somehow affects watchdog reset not booting properly, not sure20:35
uvoswell the reset works fine20:36
uvosit reboots20:36
uvosso this is not the case here then?20:36
tmlindnot with pstore enabled, there's something with either pm enabled or modem enabled where echo c > /proc/sysrq-trigger watchdog reset hangs the system before getting into the bootloader20:36
uvosor what is the symptom of not "booting properly"?20:36
uvosa double reset?20:36
tmlindincomplete reset where bootloader hangs before showing anything20:37
uvosok20:37
uvoshmm hard to catch that20:37
tmlindbut i'm not sure what exactly causes it to fail, not changing the soc reset time for pstore makes the issue go away, but ddr is reset and no pstore log20:38
tmlindi don't see how the modem being enabled triggers it though..20:39
uvosprobubly bug in mbm that is not happy with some state not clearing because the reset time is to low20:39
uvosif id have to guess20:39
tmlindyeah something like that20:39
buZztmlind: sounds like libiio for stellarium could be welcome20:40
tmlindWizzup: no i have not had a chance to debug modem disconnecting issue, totally forgot about that20:40
tmlindbuZz: yeah i guess pointing to the sky and having the map move would be cool20:41
tmlindfreemangordon: ok i'll check stellarium fps after reboot when i get a chance20:42
buZztmlind: killerfeature for such application :)20:43
Wizzuptmlind: no, I had a vim open with you remarks to that's how I remembered :D20:43
Wizzupyour remarks*20:43
WizzupI moved them to a github issue20:43
tmlindheh ok20:45
Wizzupthe annoying thing about the bug is that it recurs many times per second so it fills up fs entirely20:49
tmlindWizzup: which bug is that?20:51
Wizzupthe one where modem disappears and there's invalid access20:51
Wizzuphttps://github.com/maemo-leste/bugtracker/issues/64520:51
WizzupI can try to find the trace20:52
tmlindno need to i recall now20:52
tmlindso what causes the modem to disconnect?20:53
Wizzupthat is unclear to me20:54
uvosWizzup: https://github.com/maemo-leste/droid4-linux/commit/b33f8f340e19cd65176001e6030d3800e1a3781620:54
uvosdo we still need this?20:54
Wizzupmaybe it is lower battery, maybe something else20:54
Wizzupit seems to happen to me when I charge my phone in my car, but also when I don't and use bluetooth from it for a while20:54
WizzupI don't know if the modem disappearing is ultimately a hw problem20:54
Wizzupuvos: iirc this is for the n900, best to check with sicelo, but default I think should be keep20:55
Wizzupuvos: without this the n900 resets on modem use20:55
uvosthis looks really ugly20:55
uvosis there some work with upstream here?20:55
Wizzupso the problem is that it's unclear to me if dma was ever used on the n90020:56
tmlindWizzup: we should have phy-mapphone-mdm6600 driver get an interrupt on modem offline, and then disable the usb phy20:56
Wizzupuvos: I did sent some mails to the list, but I believe it seemed to me that people were waiting for me to do more :p20:56
tmlindi don't think we do anything with the interrupt right now20:56
Wizzuptmlind: would that allow for the modem to come back?20:56
siceloyes the patch is still needed, so it should be kept20:56
sicelowhere's the kernel config used for the kernel by the way?20:57
tmlindWizzup: it would allow phy-mapphone-mdm6600 wait for modem to come back, then re-add the phy20:57
Wizzuptmlind: that makes a lot of sense to me20:57
tmlindof course nothing protects from the invalid register access while the phy is being unloaded..20:57
tmlinduvos: can't get sudo sh -c "echo c > /proc/sysrq-trigger" to fail so far with v6.1 kernel, so far it has rebooted every time now..20:59
tmlindWizzup: maybe add some printk to phy-mapphone-mdm6600.c on state changes if you have it reproducable?21:00
uvosits camera shy21:00
tmlindyeah21:00
Wizzuptmlind: semi reproducible yeah, I just need to go on a drive in the car :)21:00
WizzupI might wait for uvos to pkg 6.121:01
tmlindWizzup: hmm phy_mdm6600_status() already prints the changed status with dev_info, maybe check your loglevel?21:01
tmlindif that does not trigger, then there might be a bug detecting changed status21:01
tmlindWizzup: also, if you just want the system to hang when it happens and reboot, you could comment out postcore_initcall_sync(omap_l3_init) in drivers/bus/omap_l3_noc.c21:04
tmlindthen an invalid device access will hang without producing the l3 irq21:05
tmlindand then after a watchdog reset, you can check the files in /sys/fs/pstore21:06
tmlindif the watchdog reboot works..21:06
* tmlind zzz21:20
buZzcan i stop charging through sysfx?21:23
buZzsysfs*21:24
buZzmaybe setting constant_charge_voltage to 0?21:24
uvoswe need to merge more stuff21:31
uvoswhy isent the d3 dts in mainline for instance21:32
uvosbuZz: yes21:32
buZzoooo then i could make a autocalibrater21:33
uvossure21:34
buZzput d4 on charger, run script, wait till fullycharged, stop charger, wait till capacity_level: low, turn on charger21:34
uvosWizzup: nerf compaction interval to 120s instead of 500ms21:35
uvosdo we still need this?21:35
buZzuvos: if i want to document batterymod fully, i also need 'obvious' evidence, that was my intention with it21:35
uvosthe do we still need this was directed at Wizzup21:36
buZzi know21:36
buZzno worries21:36
Wizzupuvos: is this for the compation?21:58
Wizzupcompaction*21:58
uvosy21:58
Wizzupthen yes, just keep it for now, although it might have been fixed, but we need to test that21:58
Wizzupuvos: btw no reset since I set console to Y and higher log level22:02
buZznice, battery already shipped from .de23:45

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