libera/#maemo-leste/ Monday, 2023-03-27

uvosfreemangordon: kernel with CONFIG_IIO_SYSFS_TRIGGER is on the way00:04
Wizzupuvos: did you also pull the n900 debugfs thing?00:29
Wizzuparno11: if you want to be directly included in these voice call mails, please lmk what email you'd want to be mailed at00:49
Wizzupactually my bionic is still on beowulf00:56
WizzupI want to test a few more things on it that broke in the chimaera update00:56
Wizzup(syncevolution)00:56
Wizzupsicelo: I think a UCM2 for the n900 will probably help with the calls too eventually01:00
Wizzupuvos: btw qtwebbrowser does run on the n900, albeit it very slowly01:02
Wizzupat least for static pages01:02
Wizzupit seems the touchscreen as mouse pointer though, so no scrolling01:02
Wizzupscrolling with arrows has <1s response time01:03
tmlinduvos: not quite sure what omapdss register that was, i think i only tinkered with the sgx clock speed07:07
tmlindWizzup: false alert on the dss blank/unblank test, it was just the ssh connection over wlan that was timing out, no reboots seen07:07
tmlindneed to try that also with sgx enabled though07:08
Wizzuptmlind: ок11:13
Wizzuper, ok11:13
Wizzupuvos__: how do you use bt on the d4/bionic?13:11
Wizzuplike, with what devices, and when do you start/stop it13:11
WizzupI'm still baffled that you don't get these modem drops that I see shortly after using bt13:11
antranigvhey al17:33
Wizzuphi17:35
antranigvsilly question: I have a Nokia N900, but I don't remember what I've done with it. it just booted fine, but I don't remember if I used a custom bootloader, or anything. do I need to reset it before installing Maemo Leste?17:37
WizzupI think you need to set up u-boot on it, easier to do with fremantle17:38
antranigv Wizzup hi! long time no see :))17:38
Wizzupbut the wiki has instructions on how to try it without changing anything17:38
antranigvlooks like I need an SD card. time to turn the house upside down!17:39
antranigvWizzup should I download maemo-leste-1.0-armhf-n900-20230326.img.xz ? wait, when did you reach v1.0? :D17:42
Wizzup1.0 was always in the images17:47
Wizzupthat image ought to boot, yes17:47
antranigvI wonder if there's a way in shell to alias an operator18:01
uvosWizzup: i just modprobe the module by hand19:26
uvosstart the bluetooth serivce19:26
uvosand thats it19:26
uvosautoconnects with my qcII hadphones i paired using blueman-manager19:26
uvosI have never seen the modem drop away at all - ever19:26
uvosbtw i know the kernel build yesterday failed19:27
uvosi tagged the wrong thing, ill fix it in a bit19:27
Wizzupuvos: ok, I wonder if it is thermal related or something20:03
uvosWizzup: well i did on occasion play openlara with audio going via bt20:12
uvosthe device can hardly get any more loaded than that20:13
WizzupI mean, I see it on both my d4 and bionic, so it can't be a hw defect20:13
Wizzupat least it's very unlikely20:13
uvosi gues you elliminated all other differences20:13
uvosi also have used several d420:13
uvosnever seen it20:13
uvosso no hw defect is unlikely20:13
Wizzupdo you customise much beyond the normal image20:14
uvosthe other differences would be: my specific bt client (ok this one is hard to repo), my sim and operator being 2g only,20:14
uvosnothing related to the modem20:14
uvosi dont use telepathy maybe it causes ofono to issues some qmi commands that the modem dosent like or something20:15
Wizzupmy bionic is on 2g here usually20:17
WizzupI also didn't have tp there per se20:17
uvosWizzup: well my sim not even having umts entries means the modem probubly dosent even scann for umts20:18
Wizzupmhm20:21
WizzupI think the bionic does the same unironically :P20:22
WizzupI can't get it to go into 3g mode even though it should20:22
uvosi mean bionic may just have poor reception on your umts band20:32
uvosits not intendet to be used on these bands after all20:32
tmlindhmm getting this now on doing dist-upgrade: dpkg-divert: error: 'diversion of /lib/udev/rules.d/85-input-devices.rules to /lib/udev/rules.d/85-input-devices.rules.leste-orig by leste-config-droid4' clashes with 'diversion of /lib/udev/rules.d/85-input-devices.rules to /lib/udev/rules.d/85-input-devices.rules.leste-orig by leste-config-mapphone'20:35
uvosyeah sorry about that20:36
tmlindany idea how to fix?20:36
uvosyeah you need to undisplace that file20:36
tmlindso how does one undisplace?20:37
uvosgood question i dont quite remember the command amt20:38
uvosatm20:38
uvosWizzup: ^^^^20:38
tmlinddpkg --undisplace maybe? :)20:38
uvosthat sounds correct20:38
uvosdpkg-divert --remove /lib/udev/rules.d/85-input-devices.rules20:40
uvostmlind: ^^^20:40
tmlindthanks20:40
tmlindok up to date now i think assuming beowulf is still the current version20:42
uvosno20:42
uvoswe are all on chimaera20:42
tmlindah ok will update to that then20:42
uvosyay resonably modern pacakges20:43
tmlindnice20:43
freemangordonuvos: have you ever built a graphic of the battery SoC approximation function?20:49
uvosa graph? no why20:49
uvosbut this shal not be hard no?20:49
uvoswhat do we need this for?20:49
freemangordonas either I am doing something stupid or that function is useless20:49
uvoshmm20:50
uvoswhat function exactly are we talking about?20:50
uvosthe one in charge-mode is not so great, we know this20:50
freemangordonfuel_level_LiIon20:51
uvosdident you come up with an improvent20:51
freemangordonyes, I did20:51
freemangordonbut now I question the function20:51
freemangordonsec20:51
freemangordonuvos: http://95.43.220.235/leste/liion.png20:55
tmlindgetting some dist-upgrade errors after changing to chimaera:20:56
tmlindE: This installation run will require temporarily removing the essential package hildon-base:armhf due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option.20:56
tmlindE: Reverse conflicts early remove for package 'elogind:armhf' failed20:56
freemangordonhmm, actually it is not *that* bad20:56
freemangordontmlind: do as it says, activate the option20:57
tmlindfreemangordon: ok thanks20:57
uvosfreemangordon: i mean this dosent look totaly unresonable20:57
uvosa bit high in the middle20:57
freemangordonuvos: so, it is very, very bad at the linear approximation part (the straight line @ 20%)20:58
freemangordonbetween 20 and 10 % we shall have something else20:58
uvosi mean if you look at a typical lip dscharge curve20:59
uvosthis bit is alot steeper20:59
freemangordonsee https://www.powertechsystems.eu/wp-content/uploads/sites/6/2018/11/LiFePO4-vs-Lead-Acid-Discharge-Curve-EN.png20:59
freemangordonright20:59
uvosi dont think the function is totaly out of wack, i doubt you can do mucht better than 10% without mesureing the discharge curve for the battery that is installed21:00
uvosso +-5%21:00
freemangordonhmm21:01
freemangordonanyway, I think I now measure Ri with much bigger precosion21:02
freemangordonfor the battery here it is Ri ~= 0.1221:02
freemangordondepends on the current ofc21:03
freemangordonbut not much21:03
tmlindfreemangordon: also the 1-wire chip on the battery consumes some minimal amount of power that we're not measuring in addition to the 20mohm shunt resistor21:03
freemangordonyou mean a couple of mV that we don;t account for?21:04
tmlindyeah, i think it's a ds2450 on the battery, the datasheet might say how much it consumes21:05
freemangordonbut, that should be part of Ri, no?21:06
freemangordonI mean - no matter how many resistors we have before the stunt, they are all part of Ri that we calculate based on the measurements21:06
tmlindi guess, the datasheet for ds2450 says 25 μW idle21:07
tmlindbattery voltage is sampled before the 20mohm shunt though21:08
freemangordonumm, no21:08
* freemangordon checks the datasheet21:08
freemangordonoh, right21:09
freemangordonbut thats ok, no?21:09
tmlindi guess just trying to list what all is outside the pmic21:09
tmlindsee mc13783 8.1.1 dual path charging for the shunt, i think BATT is what the adc measures, then your 2x4 also uses BATTISNS21:12
freemangordonyes21:12
tmlindand then the ds2450 is before BATT21:12
freemangordonyes21:13
tmlindok21:13
freemangordonbut, we can account it as part of Ri21:13
tmlindok great21:13
freemangordonbecause we don't really care about the internal structure of the battery21:13
tmlindok21:13
uvosi mean if its very inductive it might throw you off21:19
uvossince you assume the battery is a first order thevenin model21:20
freemangordonI am doing lots of non-linear filtering, so spikes does not do much damage21:20
freemangordonhmm, wait21:21
uvosok21:21
freemangordonactually it is not that bad21:21
freemangordonbecause 100% full for the driver is ~95 for 'us'21:21
freemangordonbecause driver stops charging before OCV hits 4.2V21:22
uvosofc21:22
uvossince charge terminateion is based on current dropping below some thresh while charge voltage is 4.221:22
freemangordonmhm21:22
uvosnessecarly this means that ocv is a bit below 4.221:23
freemangordonright21:23
freemangordonwhich we account as 95%(or similar) full21:23
freemangordonso driver reports a bit highr value21:23
freemangordon*higher21:23
freemangordonok, I'll capture a couple of discharge curves (driver vs algo) for idle, medium and full load21:24
freemangordoncharge curve as well21:24
tmlindthat will be fun to see :)21:29
freemangordonmhm21:29
freemangordonbut will take time21:30
tmlindyeah.. i'll leave dist-upgrade running here, ttyl21:33
freemangordonttyl21:33
uvosyour lucky your not updateing a n90021:33
freemangordonheh21:34
tmlindyup.. later21:34
kroldenhello22:34
kroldenany chance to run maemo on photon Q (xt897)? would the droid 4 image work or do i need to build?22:35
kroldenim gonna try a sailfish image but looks like it has a hard time dealing with the lack of ram22:37
Wizzupis it omap?22:44
Wizzupthe droid 4 img won't work I think22:44
kroldenno ive been reading in the irc logs i just found after i joined lol22:45
kroldenhttps://libera.ems.host/_matrix/media/r0/download/connolly.tech/vywfbjfkhdzfoIXnKYZyrIxl/IMG_20211113_010422.jpg looks like fun22:45
kroldenbuddy just sent me one for free and im loving it. great slide mechanism22:50
kroldenno sim card slot without mod tho22:51
Wizzupyeah22:55
WizzupI have one at home but had no time for it22:55
WizzupI sent one to a guy in the UK22:55
WizzupI don't know if he did much with it22:55
kroldenits too bad the screen is nicer than the droid 422:57
kroldengonna give sailfish a shot22:58
kroldenalways wanted to try meego22:58

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