libera/#maemo-leste/ Monday, 2022-08-08

Wizzupuvos: https://github.com/maemo-leste/sphone/tree/wip-rtcom don't merge yet, but this mostly does it00:01
WizzupI will do another test tomorrow morning00:01
Wizzupnot sure why the remote_name is not set for me, but maybe it doesn't get the contact00:02
uvosit looks up the name in the default eds address book00:04
uvosabook dosent use the default eds address book at all irrc00:04
uvosit just creates its own and dosent want to interop with other applications that use eds at all (gnome-contacts, evolution etc)00:05
Wizzupah, ok, so that's why it didn't find anything00:05
uvosyou can just set the abook addressbok to be the default00:05
uvosin eds00:05
uvosor you can tell sphone what address book to use00:06
Wizzupdo we have some doc on that?00:07
uvosno00:07
uvosreally abook should just use whater book is set as default00:08
uvosinstead of hardcodeing the selection by name or whatever00:08
WizzupI don't know how to change it in sphone or in eds really00:15
Wizzupbut would like to know for testing purposes :)00:15
SuperMarioSFJust bought 2 Droid 4, in case something went wrong.05:35
SuperMarioSFwith replacement batteries.05:35
SuperMarioSFI found the dock for d4, also getting one.06:00
SuperMarioSFwow, one of my d4 had already started shipping. ETA: Aug. 11th06:01
dsc_SuperMarioSF: where did you find 'm?09:34
SuperMarioSFI was introduced by #aosc guys long before, and recently rediscovered by searching Linux based phone distro.09:35
SuperMarioSFAnd I had a Nokia N900, so I looked in.09:36
SuperMarioSFmore accurately, I was introduced by #aosc-retro guys.09:38
SuperMarioSFthey were trying some hildon desktops themselves iirc09:38
dsc_SuperMarioSF: oh I meant where did you find the Droid4's09:38
SuperMarioSFoh, here are plenty in second-hand market of China.09:39
SuperMarioSFeven spare parts are available.09:39
dsc_ah cool09:39
SuperMarioSFso I can just buy some batteries and replace the old one.09:39
SuperMarioSFI also found a dock for d409:41
uvos__SuperMarioSF: the problem with the "new" batteries is that they where all produced before 201409:41
SuperMarioSFyeah, that was old stock09:41
uvos__they often have little remaining capacity09:41
SuperMarioSFbut they never used, seems keeping at a good condition.09:41
uvos__50% is typical09:41
uvos__the d4 uses screw terminals, and is fine with a bare cell09:42
uvos__i would reccomend soruceing some other cell and just using that09:42
SuperMarioSFif there is need and enough demand, maybe you can order a custom batch of fresh new batteries.09:43
uvos__SuperMarioSF: its not nessecary09:43
uvos__really09:43
uvos__i desinged a pcb to connect to the battery terminals09:43
uvos__and you can just solder some leads to that09:43
uvos__SuperMarioSF: the batterys age particualy badly btw09:43
uvos__they are hvlipo chem09:43
SuperMarioSFso is there a way to convert existing battery into it?09:44
uvos__so no the unused ones are usually not in good condition09:44
uvos__SuperMarioSF: yes09:44
SuperMarioSFfor example, mass produced (or should I say, mass copied) Nokia battrries?09:44
uvos__i would just buy a bare cell09:44
SuperMarioSFI usuay don't want to deal with bare cell. but from capacity standpoint you are right.09:45
uvos__http://uvos.xyz/maserati/screenshots/IMG_20201015_185706.jpg09:45
uvos__i ended up with another cell09:45
SuperMarioSFsince those old batteries are dirt cheap now I can just replace them at will.09:45
uvos__(this one had high internal resitance)09:46
uvos__but thats what i did09:46
uvos__http://uvos.xyz/maserati/maseraiBatteryAdapter.tar.xz09:46
uvos__adapter pcb09:46
uvos__SuperMarioSF: btw since you say there are spares available09:53
uvos__SuperMarioSF: are battery doors available? with or without the inductive chraging. we have i thin on the order of 20 d4s with no rear door09:54
uvos__if you can find where we could maybe buy those, that would be neat09:54
SuperMarioSFno luck finding those.09:55
SuperMarioSFHowever if you need I can design a 3D printed one.09:55
uvos__sure, but unfortinatly its not so easy09:56
uvos__i did a test design09:56
uvos__and the hooks where to fragile (sla)09:56
SuperMarioSFyup, that were the problem.09:56
uvos__yeah09:57
SuperMarioSFbtw I'm going to Shenzhen next week, maybe we can find some really old parts there.09:59
SuperMarioSFLast time I checked there I found a lots of weird old thing.10:00
uvos__would be neat10:01
uvos__Wizzup: btw that patch for sphone10:01
uvos__Wizzup: thats not sufficant10:01
uvos__Wizzup: you changed the code for writing a call int the store and reading a sms out of the store10:01
uvos__Wizzup: but the code for reading a call and writing a sms remains unchainged10:01
SuperMarioSFmaybe I can came up a solution for 3d printing back cover.10:02
uvos__SuperMarioSF: maybe yeah, you could friction fit it to the inside of the bay i gues10:03
uvos__at the very least10:03
uvos__you pull that off with fdm even10:03
uvos__Wizzup: get_calls_for_contact for instance10:03
SuperMarioSFfor example change some part to some more sturdy material like epoxy.10:04
uvos__im skeptical that would work10:05
SuperMarioSFor why not just DIY molding with epoxy?10:05
uvos__you could insert stamped or milled sheet of aluminum as the hooks10:05
uvos__that woudl probubly work10:05
uvos__i have been wanting to try that on my mill10:05
SuperMarioSFprobably.10:05
uvos__Wizzup: btw its ContactsSource in sphone.ini10:06
uvos__to tell sphone what to use10:07
uvos__Wizzup: this takes the book uid10:07
Wizzupuvos__: just woke up, will take a look at the sphone commit momentarily10:32
Wizzup09:38 < SuperMarioSF> they were trying some hildon desktops themselves iirc10:33
Wizzupwhen was this?10:33
SuperMarioSFI can't remember, should in few months ago.10:41
Wizzupokay, would be good to know in case we could collaborate10:45
SuperMarioSFI guess they are happy to help. They managed to boot a i486 with 96MB RAM with full systemd support.10:47
SuperMarioSF(on AOSC/Retro branch)10:47
Wizzupwith h-d?10:48
SuperMarioSFh-d?10:48
uvos__hildon-desktop10:48
SuperMarioSFnope. desktop-less.10:48
SuperMarioSFfor a desktop enabled one, at least 128MB10:49
SuperMarioSFrunning icewm10:49
Wizzupinteresting, so aosc (android open source?) retro are booting, what, android on old pcs?10:49
SuperMarioSFAnthon Open Source Community, not Android related.10:49
SuperMarioSFon really old PCs, PDAs, UMPCs and forgotten Dev boards.10:50
WizzupOooh10:51
Wizzupcool10:52
SuperMarioSFfor details: https://wiki.aosc.io/aosc-os/retro/intro/10:52
SuperMarioSFthey have IRC channel on libera.chat #aosc-retro10:53
Wizzupcool, I'll idle there10:54
SuperMarioSFbtw the IRC channel is bridged with Discord and Telegram. So you can see the whole picture on the community.10:56
dreamer"bridged"10:56
WizzupI've seen that before, usually, depending on the integration it becomes a bit messy10:57
dreamernot a bridge10:57
Wizzupdreamer: aren't there some more neat/native integrations?10:57
WizzupI naively assumed there were10:57
dreamerindeed there are not10:57
dreameronly matrix does actual bridging of protocols10:57
Wizzupwell, I suppose for the things you can't self host it's harder10:57
dreamerthigs like discord and telegram rely on bots shouting messages back and forth10:57
Wizzupwhat about mattermost, or spectrum?10:57
dreamerI call those "tin can telephones"10:58
dreamermattermost has an ircd bridge10:58
dreamerthat essentially works as a kind of bouncer service10:58
dreamerworks rather well imo10:58
Wizzupin any case, it would be good to make it easier for folks to join at some point10:58
dreamer(means you connect to that service as if it's an ircd. using your irc client)10:58
Wizzupyeah I understand10:58
WizzupSuperMarioSF: noted, I only saw a few folks on irc and /names doesn't show the rest I guess :)10:59
dreamerimo is generally less annoying as matrix with it's massive quits/joins :P10:59
dreamerand doesn't really have to "bridge" any thing, since it connects directly with mattermost10:59
SuperMarioSFon telegram side there are 120 members.10:59
Wizzupyeah, one of the downsides of your own ircd is that people usually prefer being on one of the larger irc servers I thought11:00
WizzupI know that debian bridged xmpp and irc somehow, any idea how that worked?11:00
SuperMarioSFwell maybe that is not actually 'bridging', more like forwarding.11:19
SuperMarioSF(also apply on AOSC's)11:19
SuperMarioSFsome bad news.12:48
SuperMarioSFI can't get the old stock XT883. because seller refused to sell me.12:49
SuperMarioSFapparently someone tricked this person, make him paranoid about buyer request pay shipping fee when arrived.12:50
bencohuh12:50
SuperMarioSFthere are two less good condition XT883 available. also new stock.12:51
SuperMarioSFI had to admit these days the trust between two random strangers is basically a non-existence thing in China, no matter online or offline...12:58
WizzupI can imagine13:07
SuperMarioSFOne of XT883's stock have been secured.13:37
SuperMarioSF1 to go.13:37
Wizzupsweet :)13:43
Wizzupnot sure if anyone has seen it before, but my d4 has a slightly smaller screen render now, like there's a black border everywhere, and the screen redraw works weirdly14:24
WizzupI have occasionally seen this on my n900 with fremantle, but it happened very rarely14:25
Wizzupscreen rotation also fails14:26
Wizzupa few xrandr rotates makes it work again14:27
Wizzupweird14:27
SuperMarioSFmaybe some X or compositor issue?14:32
siceloi think it never happens in stock hildon, but from modified hildon as found in cssu onwards. I recall it happens when device boots up in portrait instead of landscape (hence not a problem in stock hildon, as portrait isn't really supported there)14:33
Wizzupsicelo: this just happened 'over night'14:41
Wizzuplike, I woke up, unlocked the device, and it was like this, but uptime was 1+ day14:41
buZzWizzup: i have sometimes seen such , but always assumed it was just my mind14:41
buZzdoes 'xrandr' also see it?14:42
WizzupbuZz: yes, it had a weird effect on me some times a few years ago when I was like "is this me?"14:44
buZzmaybe you can see it on scrot?14:45
WizzupI 'fixed' it already14:45
Wizzupbut I'm sure it's there14:45
buZznext time14:45
Wizzuptrust me, it is :)14:45
buZzis eh 'google talk' in 'voip&IM accounts' the general XMPP one?14:54
buZzoh 'telepathy-gabble' perhaps?14:55
Wizzupdid you update?14:56
Wizzupthere should be normal jabber/xmpp14:56
buZzi did, still have google talk and irc in there, no xmpp/jabber14:56
buZzdo i need to install telepathy-gabble ?14:56
Wizzupsure, but isn't that pulled automatically14:57
uvos__Wizzup: does 'xrandr' also see it?14:57
uvos__this one is imporant14:57
buZzmaybe some meta package isnt grabbing new items for it?14:57
Wizzupuvos__: it was giving the usual res14:58
WizzupbuZz: sorry, I can't check for you now, I can check in a few hours, I'm about to go out14:58
uvos__ok14:58
Wizzupuvos__: I didn't check overscan and such14:58
uvos__i gues also kill h-d next time14:58
uvos__to exonerate xorg14:58
uvos__but sounds like a bug in hildon14:59
buZznp, i'll just try installing it, someone at nurdspace setup a xmpp server14:59
buZzi might be online with buzz@space.nurdspace.nl now15:00
Wizzupwhich server? prosody?15:00
buZzyez15:02
buZzindeed15:02
buZzhttps://nurdspace.nl/Xmpp <- poor documentation15:02
buZzi might only have seen your msg because i opened conversations manually?15:02
buZzcan you send another15:02
buZzany interface to send a msg to a random address? :P15:03
WizzupI don't know if we even built the latest conversations for the repo btw15:03
Wizzupyes, conversations currently does -no- notifications whatsoever15:03
buZzits been a while, but it does have tabs for irc/jabber/ofono15:03
buZzyet, all SMS are only in 'all' , not in 'ofono'15:04
buZz:)15:04
Wizzupyes, the ofono logging of sphone is broken15:04
WizzupI am going to fix it today15:04
buZzah ok15:05
buZzWizzup: can you also s/Unkown/Unknown/ everywhere :P15:05
uvos__buZz: its as the author intended15:06
buZz^_^15:06
buZzsome kinda interface to see my xmpp friends and their status would be useful too i guess15:07
buZzmaybe i'll just try installing pidgin or something?15:07
WizzupbuZz: this will be in the address book15:08
Wizzupit should work already15:08
buZznot sure how 'contacts' will let me state if a user is jabber/irc/phone15:09
Wizzup(1) it should populate based on your contacts (2) just like on fremantle/n900 :)15:10
buZz:)15:10
buZzfrom the xmpp server you mean? i think ours doesnt store contacts15:10
buZzwait , -contacts- should populate on my -contacts- ?15:11
buZzcontacts > get contacts > import contacts from new account > tap my xmpp one > i just get a edit screen?15:12
Wizzuposso-addressboot reads the roster from telepathy jabber contacts15:12
buZzhm ok15:12
Wizzupsorry, this is fremantle territory15:12
Wizzupgot to go15:12
Wizzupttyl15:12
buZzci8ao15:12
buZz-815:12
buZzahhh https://farm4.static.flickr.com/3525/4031796040_62de75ded3_o.png15:15
buZzthose 'jabber xxx' fields are missing in my osso-abook15:15
buZzmaybe needs to restart15:15
buZzhi15:18
buZzbtw, rebooting did bring some jabber fields, but kinda weird? i'm not allowed to edit the jabber IM field for instance16:26
buZzi do wish i could start a conversation yet :P16:38
dreamerI think this is the universe telling you something ;)16:38
buZz^_^16:38
buZztelepathy seems pretty wide? especially in KDE land16:41
buZztelepathy-tank matrix, telepathy-rakia sip, telepathy-idle irc, telepathy-haze 'anything libpurple', telepathy-gabble jabber, telepathy-salut some linklocal/bonjour xmpp variant, telepathy-ring something-for-GSM ?16:43
buZzbut not finding a lot of frontends that could co-exist on maemo, i think16:43
norayrplease give me a link to a proper usb condom.17:03
norayrmine turns droid4 up.17:03
norayruvos said it shoudn't.17:03
norayrbut when i search a usb condom on ebay, i only see something which looks like mine. and which i already got.17:03
buZznoidea_: eh, i just made one myself, with a USB-A female and a USB-A male17:14
buZzand just connected GND and +5V inside it17:14
buZzi plan to make another one that does D+/D-/GND but no +5V17:14
uvos__you could build a condom that still pulls the id pin up17:20
uvos__a condom by itself dosent guarentee that the device says off17:20
buZzuvos__: or add a switch for that!17:20
uvos__you need to just connect vbus and gnd17:20
uvos__buZz: sure17:21
buZzbut USB-A has no ID pin17:21
uvos__yeah but microusb dose17:21
uvos__the id pin is for iding the cable17:21
uvos__not for anything with the host17:21
buZzjust noticed: osso-abook can show 'recent' contacts, which includes unadded contacts17:21
buZztapping one crashes the tool17:21
buZzuvos__: so, a usb-micro condom could use a ID switch17:22
uvos__buZz: you could, im not sure why you would want to tho17:22
uvos__(for d4 usage)17:22
buZzyeah not sure, a data-only condom could benefit more i guess17:24
buZz'export' in osso-abook also crashes :(17:33
norayranother question (not sure it was answered, but maybe i missed the answer) is why maemo kbd opens a window to type in? why initially they didn't do it the way it is in meego/sailfish/android. is wayland/xorg the issue?17:47
norayr(i cannot do hw hacks myself i think)17:47
WizzupbuZz: it shouldn't crash for sure, but yes, it's normal that it adds online folks from protocols even if they are not in the book17:50
buZznorayr: afaik thats just the plain maemo method17:55
buZzmeego/sailfish/android are indeed different, ios is similar though17:56
WizzupbuZz: I think if you want to edit the fields, you need to first add the contact as a contact, and then edit it18:04
buZzright, i dont really need to/want to, just trying to figure out how it works :P18:14
buZzfun to see my hackerspace buddies presence icons in contacts now though :)18:14
Wizzup:)18:17
sicelonorayr: maemo predates those OSes you talk about. Also, they may have done it that way because by then, they had no other way to do spell-checks for example18:25
siceloFYI  that 'window' was largely unchanged from even older iterations of Maemo (think N770, N8x0)18:26
uvosits a limitation of the way the vkb was desined not anything else18:26
Wizzupthey designed it that way, yes18:26
sicelonorayr: also they supported text input via scribbling (but this didn't make it to Fremantle, probably ran out of time)18:28
siceloSo yeah, today it's considered a problem for obvious reasons18:29
siceloMaybe Leste should have built itself on Harmattan as opposed to Fremantle :-p18:29
uvosit should be noted that the window is also an option on android, that android uses below a certain screen size18:29
uvos(not really relevant anymore)18:29
siceloAndroid definitely does on landscape afaict18:30
uvosdepends on screen size18:30
siceloTbh, the window thingy is somewhat expected in landscape (which maemo before harmattan was designed for)18:31
sicelouvos: very few phones have 'deep' enough screen in landscape18:31
uvoson asop the screen has to be very small18:32
uvosi know samsung fidlled with it18:32
uvosbut on asop it has to be less than 5 inches or something18:32
uvos(at 16:9 ofc)18:33
siceloContinuing on my earlier thought - landscape keyboard is also a problem for phosh ... they're currently trying to keep the application visible, but the keyboard gets weird after that18:33
sicelo5 inches 🤣18:33
siceloN900 diagonal is 3.5", ftr18:34
buZzmaybe a osso-xterm fork could be made thats only portrait mode , plus , keeps a keyboard on bottom half of the screen18:47
Wizzupmaybe different h-i-m could be made so it works for more apps18:47
siceloAnd then I'm back to battery woes on d4 :'(18:47
buZzsicelo: you are?18:47
buZzwhat kinda woes18:47
siceloFailure to charge18:48
buZzcompletely?18:48
siceloYes18:48
buZzit doesnt boot when connecting a usb cable?18:48
siceloIt boots, to death :-D18:48
buZzsicelo: what do you mean? you get kexecboot?18:50
siceloYeah18:50
buZzdoes it start the kernel then?18:50
buZzever reaches that chargemode-sdl application?18:50
siceloCurrently doesn't get there18:50
siceloBecause cpcap thinks there's no charger or some such18:51
buZzsicelo: eh, during boot on lowpower, often for me, the d4 doesnt notice the USB cable offering power18:52
siceloYes, i remember you sais18:52
buZzsicelo: so during the time -after- kexecboot and the vibrating notification , but -before- i get txt on display, i tend to disconnect/reconnect USB cable a couple times, until LED goes green18:52
siceloAnd it matches what i always see. I've accepted it as a "feature"18:53
buZzmaybe this can help you?18:53
siceloI know  and do that18:53
buZzas a failsafe, i just have a external li+ charger in my bag with 2 wires :P18:53
buZzjust connect it to the battery straight up, and charge from ~whatever (often a powerbank)18:53
buZzjust some while is plenty to have it able to boot fully and charge itself again18:53
siceloYeah. It's a hassle18:55
buZz¯\_(ツ)_/¯18:56
buZzsicelo: another thing i do, is just carry my second d4 along with full battery and powered off18:56
WizzupI've never been able to not power it18:56
buZzsicelo: then when first is ded/empty, just swap sim+SD over18:56
buZz:P18:57
siceloI have 1 d4 ;-)18:57
buZznot really recommended imho (wifi calibration and battery calibration goes off)18:57
siceloWhy wifi calibration goes off when you swap sim?18:57
buZzWizzup: ooo yesterday i almost got a nurdspacer into joining the maemo leste dev-ers , but he's still a bit held back :P any convincing arguments for him?18:57
buZzsicelo: because the wifi radio is calibrated18:58
siceloAh, sd18:58
buZzyeah sim&SD18:58
Wizzupdepends on what he'd find a convincing argument :P18:58
buZzWizzup: hehe not sure18:58
buZzhe was going on that he really -needs- root on a device and how so many dont really do that18:58
buZzor how they arent coming with source, etc18:59
siceloWizzup: uvos says he also hasn't experienced it. But at least myself and buZz do, and somewhat frequently18:59
buZzyeah quite regular18:59
Wizzupsicelo: yeah, when I leave it on a wall charger for a bit it usually just boots after ~10 mins18:59
buZzbut i can leave it 'on usb' while 'not charging' (no led goes on, doesnt boot)18:59
buZzjust leave it for a while, it -will- charge some, slowly18:59
Wizzupright19:00
buZziirc that even works when it boots directly from USB connecting, and then crashes during bootup19:01
siceloIt's never happened to me, or I didn't wait long enough. I'm not used to this :-P19:01
uvosdid you update to devel19:09
uvoslike this week?19:09
uvosi made the cpcap module built in19:09
uvosand ajdusted the irq timeing19:09
uvosand yeah i never have a problem with it19:09
siceloI am updated19:12
buZzuvos: built-in so the cpmem stuff can work now/soonish ?19:13
Wizzuplooks like if we implement handle channels well, we might be able to start a conversation from the address book easily19:13
buZzwas it cpmem? not sure19:13
uvosbuZz: cpmem?19:21
buZzeh, the library in kernel to read the data from battery? to know if its HV lipo or not19:37
buZzsome 1wire protocol19:37
uvosbuZz: no thats unrealted19:41
uvosalso that works right now19:41
uvosi tested it recently on xt87519:41
buZzi dont see it working19:41
uvosyou just have to unblacklist the module19:41
buZzoh19:41
uvosthen detection works and design voltage is set to 4350 mV19:42
uvosyou still have to change the charge voltage to 4.3 too19:42
uvosbut you can do that over sysfs19:42
buZzi see just bluetooth and idle blacklisted?19:42
buZzat least, in /etc/modprobe.d/*19:43
uvosno19:43
uvosin leste we also blacklist hdq19:43
uvosi cant check rn19:44
buZzah, yeah , thats in _idle19:44
uvosbut im sure its there19:44
buZzi didnt know that was the one you ment :P19:44
buZzi didnt know charge voltage was settable over sysfs, nice :)19:45
* buZz reboots with hdq unblacklisted19:45
uvosshould be reflected in voltage_max or what the sysfs file is called19:47
uvosand theres also charge_voltage or so19:47
buZzsadly, still sees 4200000 as max_design :(19:48
uvosthats stays 4.2 (design decision)19:48
buZz'can not find battery nvmem device' sadly in dmesg :(19:48
uvos check if the module probed19:49
uvosalso i do have one battery where the nvmem failed19:49
uvosso theres that19:49
buZzomap_hdq couple lines above, also a 'w1_master_driver attaching...' right after first 'can not find battery nvmem device' , then another two 'can not find battery nvmem device'19:49
buZzi can try with another eb41 i guess19:50
uvoshmm thats wierd maybe dump the nvmem19:50
uvosits in systfs19:50
uvossomewhere19:50
uvosbus/twi or something19:50
buZzits saying it cannot find the nvmem device, how could i read it then?19:50
uvosit cant find the battery nvmem device19:51
uvosthe way it works is i dumped a bunch of batteries and looked at the contence19:51
uvosidk what the bytes mean19:51
* buZz rubs the flexpcb against contacts a bit19:51
uvosif its some other version than i know of it might not work19:51
buZzuvos: ahh, ok, i'll check then19:51
dreamerbuZz: or else it gets the hose again?19:52
buZz:D19:52
uvosah also it wont work rn19:52
uvossince i built the cpcap modules in19:53
uvosbut the 1w module is a module19:53
uvosthe cpcap dependancy is soft19:53
uvosso in this case it cant work19:53
uvosit wont wait for the 1w module19:53
uvossince building it in dosent seam to help sicleo ill make it a module again next release19:53
buZzah, hmm19:55
buZz'break irqstatus not cleared (04)' and 'TX irqstatus not cleared' are flooding my dmesg now, it seems19:58
buZzah, after 'cat nvmem' a bunch of times, it eventually does give a reply19:59
uvosthat sounds like you also have a hw issue19:59
buZzperhaps, or the irq isnt properly handled? should that happen through dtb?20:00
buZzhttps://space.nurdspace.nl/~buzz/2022-08-08-195917_960x540_scrot.png20:01
buZzuvos: does that help? does it confirm 'not the same as my dumps' ?20:05
uvoscant ceck rn20:07
uvosplease just provide the file20:07
uvosor sha120:07
buZzah 89-500029ba0f73 is what you seem to check on, but i have 89-5000385c064b20:09
buZzhttps://space.nurdspace.nl/~buzz/89-5000385c064b.nvmem is the raw file20:10
buZzat least, here you check for that 1w device ; https://github.com/maemo-leste/droid4-linux/blob/maemo-5.18/drivers/power/supply/cpcap-battery.c#L42620:13
uvosbuZz: yeah so you have a different chip20:14
uvosthats thorny20:14
uvosbut ok that explains why it never worked for you20:14
buZz:)20:15
buZzi wonder what my other d4 has20:15
buZzor where it is :D20:15
buZzlol, first drawer20:15
buZzthe other d4 -also- has a different chip for its EB4120:23
buZzhttps://space.nurdspace.nl/~buzz/89-50003a31240b.nvmem is the other battery20:25
buZzseems to contain the same data?20:25
buZzat least, md5,sha1 and sha256sum match ;)20:29
Wizzupbtw, this is with our kernel, right?20:30
Wizzupnot yours?20:30
buZzyes, with stock kernel , but removed a single blacklist entry in /etc/modprobe.b/blacklist-idle.conf20:31
buZzstock -devel kernel, btw20:31
buZzWizzup: uvos was telling me it 'should/could' work for getting HV lipo modes working20:31
buZzbut alas, it seems to work only with the 89-500029ba0f73 identifying battery, thats in uvos possession? :D20:32
uvosbuZz: well all of my batteries report as sutch, since it works on both the d4 with eb41 and bionic with bw8x and and hw4x20:34
uvosbut looks like thats just luck20:34
uvosor is unlucky really20:34
buZzperhaps20:34
buZzor maybe you have clones that all copied that one sting?20:34
buZzstring*20:34
uvosnah20:34
uvosthere are no clones20:35
buZzhttps://github.com/maemo-leste/bugtracker/issues/621#issuecomment-1208472742 <- has some instructions to get it locally20:40
norayrI saw a unisoc t606 device today first time in my life. never heard before about unisoc company20:41
norayrit's nokia g2120:41
buZzcool :)20:46
norayri also cannot charge my droid again20:47
norayrneed to unscrew the battery to use separate charger20:48
norayrhate doing that.20:48
buZztried just leaving it for 30mins on 'unable to boot, not showing sign of charging' ?20:48
buZzwith USB connected20:48
buZzthat so often works for me20:48
uvosthats _supposed_ to work20:48
buZza 'usb doctor' then shows ~50mA of draw20:48
uvoscpcap has device off trikle charging20:48
buZzwhich isnt a lot :P20:49
uvosthats what its set to by mbm20:49
buZzbut, enough to get some boot working well enough to charge more later20:49
norayrmy pine64 charger shows how much the device draws20:49
buZzuvos: we cant change that right?20:49
buZznorayr: ah, built-in doctor :)20:49
uvosbuZz: no also its like 75mA max20:49
buZzi'd love if some people could do the unblacklisting + check their 89-50003xxxxxxxxx number in /sys/bus/w1/devices/20:50
buZz:P20:50
buZzmaybe thats visible on android even?20:50
uvosnot sure what to do about that btw20:50
norayrso i noticed in android mode (with empty  battery sign) it draws about 0.1-0.2 amper, so i left it like that overnight, but that dxdn't help.20:50
uvosnot really sure how to id the chip then if its not allways the same20:50
buZzuvos: i know, but we first need to know how/what is happening , right? so more data could help20:50
norayrsometimes in same mode it ioesn't draw at all.20:50
buZzmaybe we used the unique ID of the chip as the -name- of chip , while its actually just the ID string of the same chip?20:51
buZznorayr: maybe your ribbon is breaking a bit on the battery?20:51
uvosbuZz: i mean its something to check but it for sure works on various batteries i have20:51
buZzright, but it would maybe be nicer if this works for >1 person? :D20:52
uvosyeah android not wanting to charge after booting (the ! battery sign means the android kernel bootet fully)20:52
uvossuggests some kind of hw failure20:52
uvosor you discharging the battery below 2.5V or something20:53
uvosandroid refuses to charge below some thresh around there20:53
uvos(also this is _terribe_ for the battery)20:53
buZzuvos: it may be as simple as 'just check for leading 89-500003'20:54
buZzeh, one 0 less20:54
buZzmaybe its '89-5000' as chip identifier, and the remaining 4 bytes hex are just the unique battery serial# ?21:55
Wizzupuvos: so I am trying to understand your comments regarding my sphone patch and rtcom22:42
WizzupI only see two rtcom_el_event_new, and I thought I patched both22:43
joergbuZz: >>leaving it for 30mins on 'unable to boot, not showing sign of charging' << didn't work e.g. on my N950 recently22:55
buZzjoerg: yeah i was talking about the droid4 specifically22:59
joergbuZz: probably a common problem with a lot of embedded devices that use somewhat software controled charging23:00
siceloindeed23:00
joergseems the hysteresis between where the system tries booting when batvoltage goes up and where it stops working when batvoltage drops is too small for old batteries with high ESR23:01
buZzyeah totally23:03
buZzmany devices just let the battery charger chip itself manage the poweron/off , so it can always trickle prior to booting23:04
buZzor at least, many i was analyzing23:04
joergthey do tricky charge with a tiny current like the aforementioned 50mA (USB Vbus) and then when a certain battery voltage threshold gets tripped, the system tries booting and often succeeds to get to the point where it messes with charging chip, enables USB PHY and statemachine and the latter two alone need 60mA for themselves on N900 OMAP3. This in turn means the battery suddenly doesn't get charged by a 50+mA but gets DIScharged at a rate of (trickecharge23:15
joerg- sytembootcurrent) = possibly up to 100mA. Depending on the internal impedance of the battery this will cause a Vbat drop that might suffice to make the whole system emergency-shutdown from brownout-detection23:15
joergtrickle* not tricky :-)23:15
uvosWizzup: yeah but sphone also reads events23:17
uvosand now its reading the backend in the wrong place23:17
Wizzupuvos: right, but the writing was ok23:18
Wizzupuvos: I get confused with the usage of local-name in sphone23:18
Wizzupwhat is this supposed to be?23:18
Wizzupit's always '<SelfHandle>' in fremantle23:18
Wizzup(since there is no name for the local contact/phone)23:18
WizzupIs that supposed to be the name of the contact, human friendly?23:18
uvosno idea what its supposed to be in rtcom-el23:20
sicelojoerg: yeah. i always knew N900 to have that problem. but compared with what i've experienced on the Droid 4, N900 problem becomes completely insignificant. Maybe it's kexecboot dance that affects it (since device takes a while to get into kexecboot menu, and all this time it's only draining, not charging battery)23:21
uvosthe point is that you changed the way that sphone stores events23:22
uvosbut not it reads them23:22
uvosso this disconnect obv breaks sphone23:22
Wizzupyeah, I fixed this locally I think23:22
WizzupI am just trying to figure out what sphone does with the "name"23:22
uvoswhat name?23:23
Wizzupit seems to use local-name for the contact->name23:23
Wizzupwhich is also wrong23:23
uvosthats human readable contact name23:23
uvosas the struct would suggest23:23
WizzupI think that should be remote-uid23:23
uvosmaybe, i cant help you with how rtcomm fields are supposed to be filled23:23
Wizzup:)23:24
uvosi have nothing to go by other than the field name23:24
Wizzupwhat about a n900 with fremantle? :P23:24
uvosnope23:24
sicelo:-P23:24
joergsicelo: basically the problem needs hardware and bootloader cooperation to get solved. I N900 they had average hardware support for it and they compensated a lot by fixing the bootloader23:27
joergobviously the OMAP3-ROMBL enables USB to allow coldflashing, but in NOLO (next "1st" stage bootloader after OMAP's ROMBL) I think they deliberately shut down everything not needed - maybe incl USB PHY and interface - as soon as possible to reduce system power demand, and then let the battery charge while monitoring battery voltage for a certein higher threshold that allows safe regular system boot. Unless the battery is very old and high impedance23:36
uvosthe d4 on the other hand is fully hw implemented, the bootloader just sets some regs and shutsdown23:37
joergwow23:37
uvosproblem is the comperator threshold is low23:38
uvosand we have to boot android and then linux before we can charge23:38
uvosthis takes to long23:38
joergthe N900 charger controller has a watchdog that mandates tickling every ~10s or it will reset all registers to safe default state which is trickle charge23:39
joerguvos: yeah, I can see how that takes waaaay too long23:40
uvosnew version of mce: pools all key events into one handler and filters from there23:51
uvosthis fixes:23:51
uvos* volume keys on xt87523:51
uvos* volume keys on pp23:51
uvos* lock-generic's lock on slide23:52
uvos* lock-tklock's relock feature23:52
uvos* power key on mz61723:52
uvosunfotinatly is also very likely to cause some hithero unkown subtle bugs23:53
uvosso please report23:53
Wizzupwhich kind of bugs should we look for?23:54
Wizzupis this -devel?23:54
uvosWizzup: yeah23:54
Wizzupok23:54
uvosanything with input23:54
uvosobv23:54

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