libera/#maemo-leste/ Wednesday, 2022-10-26

buZzaw, guy who borrowed me his pinephone wants it back to play with :)12:10
buZzalso morning12:10
uvosbuZz: btw i repoduced the sphone hang bug on my laptop12:24
uvosits fixed (but not in repo yet)12:24
buZzw00t!12:24
buZzi dont think we yet have any route to add 'missed calls' or 'received sms' numbers from sphone or abook 'recent' to the addressbook, right?12:25
buZzbeside trying to copypaste from something , or eh, remembering the number? :)12:26
uvosyour sentance dosent quite parse12:26
buZzhm12:26
buZzif i miss a call, from a unknown number12:26
buZzi can return the call through sphone 'recent'12:26
uvoswe have no way to add recent or missed calls to eds from sphone no12:26
uvosim not sure what you mean by or abook12:26
buZzbut i cant copypaste the number, or send it to abook to add to a new contact12:26
buZzis that easier to understand?12:27
uvosyou cant add the number to eds (which sphone and abook both use to store contacts) from sphone, no12:27
uvosyou can copy the number tho12:28
uvosjust click on it and copy it from the dailer field12:28
freemangordon1uvos: he means "recent" stuff in abook12:29
freemangordonIIUC12:29
buZzuvos: ah yeah, thats a route indeed12:29
buZzi think i had issues with selecting the number there? let me try12:29
uvosworks fine here12:29
uvosbut yes adding a recent call/ sms to eds from sphone is a missing feature12:29
buZzthey -are- already added to eds or at least, visible in abook12:30
buZzbut eds doesnt know what to do with em12:30
uvosthats rtcom-el12:30
freemangordonI don;t think you can add "missing calls" to eds12:30
freemangordonright12:30
uvosby adding a missed call/ sms12:30
buZzfreemangordon: it kinda seems like abook expects even missed unknown numbers to be a contact12:30
uvosi ment adding the contact12:30
uvosofc12:31
uvosnot the event12:31
buZzoh, derp, 'recent' doesnt work on my sphone yet ;)12:31
uvos[12:24] <uvos> its fixed (but not in repo yet)12:31
freemangordonbuZz: no, it expects couple of things in rtcom-el database which are missing (local/remote id, things like that)12:31
buZzah hmhm12:31
buZzits something i walk into every now and then while dailydriving it :)12:32
uvosdident even know abook shows recent calls at all12:32
uvosseams like kinda a role duplication with sphone12:32
uvosthen again i dont use abook anyhow12:32
freemangordonbuZz: so, when you click on some thing in "recent", if there is no contact for that local or remote id, it will ask you if you want to create contact12:32
freemangordonuvos: it shows recent *all*12:32
freemangordonchats, smses, calls, everything that was logged12:33
buZzfreemangordon: oh yeah, that would be awesome, i was trying longholding etc12:33
buZzyeah, even IRC msgs , xmpp , anything12:33
buZzits really nice, once we get it all in shape i think :)12:33
freemangordonbuZz: but, uvos said he doesn;t want to integrate more with hildon specific libs, so that will not work until we have another dialer that is integrated12:34
buZzright, ok12:34
buZzor if/when someone works through sphone to add it? :)12:34
uvosnot sure why this requires any work on sphones side12:34
uvosbesides fixing how sphone logs events to el12:35
freemangordonI think you rejected that12:35
uvosno i dident12:35
uvosi said i wont do it12:35
buZzjust misscommunication :)12:35
uvosthats a different thing12:35
freemangordonyeah, rejected to do it12:35
uvoswell that dosent mean it will never work12:36
buZz:)12:36
buZzi too, have great hope about the future12:36
freemangordonbuZz: so https://github.com/maemo-leste/osso-addressbook/blob/master/src/osso-abook-recent-view.c#L24912:36
uvosthe relevant code in sphone is here: https://github.com/maemo-leste/sphone/blob/master/src/modules/store-rtcom.c12:36
freemangordonas soon as those are correctly logged, all functionality in addressbook will start working12:37
freemangordonuvos: do you keep econtact around if contact is selected through addressbook?12:37
uvosno and i cant, since eds isent the only possible of contact origin12:37
uvosso you have to match it again somewhere else12:37
buZzfor leste?12:38
uvosfor sphone12:38
freemangordonok, but you can keep some general 'uid' to be used by backends, no?12:38
buZzoh, sphone has a different place aswell?12:38
uvosi use sphone on plain debian12:38
uvosit works fine on regular linux, desktop too12:38
uvosif you have a modem in your laptop12:38
buZzright, but you didnt release it for debian afaik?12:38
buZzi mean, i could only find it on the leste repos12:39
uvosright no12:39
buZzok12:39
uvosi just build it localy for debian (for the droid ) and arch for the laptop12:39
buZzso its -a bit- leste only?12:39
buZzits the only place and distro where people could install it now?12:39
buZzs/people/users/12:39
freemangordonuvos: what about adding some GList attached to CallProperties?12:39
freemangordonsome "GList *properties;"12:40
uvosfreemangordon: the modapi cant/dosent leak any glib12:40
uvossphone has qt modules too12:40
freemangordonok, then whatever you use for lists or maps or even simple void*?12:40
uvossure, but im not sure what you want12:41
freemangordonso abook plugin to put there whatever info is later needed in rtcom-el12:41
freemangordonbot modules are maemo-specific12:41
freemangordon*both12:41
freemangordonso they know how to talk to each-other12:41
uvosim not sure this is the best possible way to do it12:42
freemangordonwon;t argue, I don't know sphone codebase12:42
freemangordonbut, it should be able to pass some data around12:42
freemangordonugly hack, but... :)12:43
uvosanother thing you could do is just have abook lookup the contact if the value is not set12:44
freemangordonwell, at least remote name shall start with tel:// or sms:// as it is uri12:46
uvossure12:46
freemangordonATM this is simply a number12:46
uvosbut thats just beacuse i/wizzup had no idea what to put in those fields12:46
uvossince they arnt documented anyhwere12:46
freemangordonah, I see :)12:46
freemangordonyeah, they are not12:46
freemangordonbut, we can use the code I linked ^^^ for reference how they are used12:47
freemangordonotherwise, abook already does the search12:47
freemangordongiven enough info12:47
uvosthis also begs the question what sphone should put there if its not a sms or a call12:48
freemangordonwhat else does it support?12:48
uvosright now it puts the remote identifier there (ie whatever the backend uses to identify a remote endpoint could be nummber or user name or whatever)12:48
uvosfreemangordon: well rn it only has a ofono backend and a testing backend, the testing backend has its own remote sheme12:49
freemangordonname for phone number?12:49
freemangordonsh12:49
uvoswhat name?12:49
buZzscheme*12:49
freemangordon"could be nummber or user name or whatever"l12:49
freemangordonuser name12:49
freemangordonso, how do you call 'user name'? it has its own db?12:50
uvoslike telegram://SomeGreatUserName12:50
freemangordonthat's fine12:50
freemangordonit is still uri12:50
uvosok12:50
uvossure12:50
freemangordonsee https://github.com/maemo-leste/osso-addressbook/blob/026aae425568a58c42e892c122a2dd24363d5577/src/app.c#L146712:51
freemangordonthis can be extended if needed ofc12:51
buZztiny of quality-of-life improvement suggestion ; could the 'switch off' in powermenu give a prompt 'do you want to poweroff?'15:21
buZzbumped it by accident two times now :D15:21
freemangordonno, please15:45
buZzfreemangordon: no? :(16:19
buZzweird, battery at 4.19V for over an hour, yet not hitting 'fully charged'16:19
buZzpff16:19
buZz:P16:19
uvosfreemangordon: i think the current ui is pretty bad16:22
uvosfreemangordon: this is exasperated that the power menu is triggerd by a single click of power key16:22
buZzplus single tap on touchscreen to fully poweroff16:23
buZzmaybe the lock-slide or similar could be the confirmation16:23
uvossince on android devices the power key is expected to merly lock the device its not as stiff or small as the one on n900 they tend to be large and fairly easy to click16:23
buZzand , if triggered remotely , skippable16:24
buZzmaybe even 'single power button tap' is lock screen, 'holding power button for >1 sec' gets powermenu16:24
uvosi also find it insanity that on all devices besides the n900 a double click is required to perform the single most common action a button is used for: lock the deivce16:24
buZzor eh, not sure16:24
uvosbuZz: yes thats how i use it16:24
buZzhmhm16:24
uvosyou can set it like that in mce.ii16:24
uvos*ini16:24
uvosimo the defaults are insane16:25
uvosthey only make sense if you have fremantle muscel memory otherwise they make no sense16:25
sicelothe d4's button has its own issues however, on hardware level, in addition to any perceived hildon flaws17:33
Wizzupfreemangordon: I'm kind of inclined to agree that on devices where we don't have a hardware switch like on the n900, one press to lock/unlock, hold-press for power menu makes more sense17:40
WizzupIt's also a bit weird since one press already does some sort of unlock (turns on the screen)17:41
buZzdangit, i removed the blacklisting of the bt module17:52
buZzleads to hildon not showing itself, it seems :)17:52
buZzbut wasnt an issue at home where i see 0 BT devices17:52
buZzbut cant boot at space or along the road outside17:52
buZzwhere i think there's >10 bt devices17:53
uvossicelo: i never had any issues with, what do you see?18:02
uvosbesides it being a bit to easy to press in the pocket maybe18:02
buZzyeah i bet thats the issue18:02
buZzi considered sanding it down18:03
buZzor trying to de/resolder the switch a bit further away18:03
uvosi think the power key isent even the main culprit18:03
buZzor just , no powerbutton?18:03
uvoswrt the device tunring on the the pocket18:03
uvosits the slider for me18:03
buZzyeah could be aswell, depends on hingestiffness18:03
buZzor slide18:03
buZzw/e18:03
buZzi was hoping those holsters could fix that18:06
uvosi just disabled the keyboard slide unlocks the deivce function18:07
buZzhttps://www.ebay.com/itm/40173397055618:07
uvosthe display tunring on beacuse of the powerbutton never happens to me18:07
uvosin the pocket18:07
buZzuvos: and you only use the powerbutton?18:07
uvosi dont even use a lockscreen anymore18:07
uvosbuZz: yeah18:07
buZzmaybe the safest button is one on the keyboard :D18:07
uvossure but i use the device >50% in protrait18:08
uvosso not an option here18:08
buZzor like 'slock' where you need to type a password before screen turns on18:08
uvosbuZz: you can do that with i3lock and lock generic18:08
buZzuvos: yeah i tried portrait but its always so weird18:08
uvoswith some minimal scripting18:08
uvosbuZz: whats wierd about it? just asking if you have defficancys we could fix18:09
buZzi saw loads of opensource lock replacements for maemo5 too18:09
buZzmaybe one of them is already nicer18:09
buZzuvos: mostly the shape of device, i dont know18:09
uvosok ok18:09
buZzi never really used smartphones a lot since ~nokia e7118:09
uvosi gues since i used the d4 with android for manny years18:09
uvosits not wierd to me18:09
buZzi did use n800 and n810 -a lot-18:09
uvossince android mostly assumes portrait will be used most of the time18:10
buZzn810 has such a -great- soundcard, it was my favourite mp3 player for a long while18:10
buZzuvos: yeah i barely used android , only on a 4:3 8" tablet around the time that android 3.0 was new18:10
buZzthat 8" tablet is also OMAP443018:11
uvosok18:11
uvosugh android 3.018:11
uvosprobubly the worst version ever18:11
buZz¯\_(ツ)_/¯18:12
buZzworked fine for browsing, for a while18:12
buZzplus it had a 3g modem18:12
uvosonly version of android never to be open sourced18:12
uvosoffical reason being that the code was to messy xD18:12
buZzhmmm, there's something red coming along the boot messages, before i get into 'cant see any output' . hildon does seem to be running18:32
buZzhmm, maybe not ..18:33
buZzoh yes it is, the auto-backlight stuff is working18:33
buZzlong powerbutton also brings me to white-led-poweroff , hm18:35
Wizzuphttps://wizzup.org/dirlist/openfest-2022-stand/18:43
Wizzupthere are more photos, but these are the ones from my cam18:44
Wizzup(which exclude me :p)18:44
buZzcool!18:47
uvosthats a tiny tablet :P18:49
uvosWizzup: whats all the "unusual" leste hw? first picture on the very left? some rpi based car head unit?18:49
Wizzupyeah I added in a rpi with usb/hdmi touchscreen18:50
Wizzupand the other unusual thing is the olimex tablet, lime2 powered, with lte modem and resistive touch screen18:51
WizzupI built that a day or two before openfest18:51
Wizzupit worked surprisingly well18:51
uvosthats the tablet on the very right18:52
buZzhmm, that red message on boot is 'Daemon startup failed' cant really read rest of the line :/ when it runs by18:52
uvos?18:52
uvosbuZz: whats going on?18:52
buZzi dont know exactly, but each boot does start hildon and xorg, but there's no image18:52
buZzi do see the framebuffer come by while booting18:52
Wizzupuvos: and yeah the small tablet is this allwinner thing that freemangordon was working on18:52
uvosbuZz: device? did you do something unusual?18:53
uvosWizzup:  neat18:53
buZzd4 , the unusual was that i removed the blacklisting for bt hci_uart18:54
uvosah18:54
uvosok that should not prvent boot18:54
buZzi put that back on SD now, but, its still not booting18:54
uvosbut it might break icd18:54
buZzwell, its booting, its booted18:54
uvosdoing that breaks the wifi driver18:54
buZzlongpress-power-whiteled works18:54
uvosboot to hildon i mean18:54
uvosthat just means mce is fine18:55
uvosso enableing bluetooth at boot breaks the wifi driver because of kernel bugs wrt fw loading18:55
uvosicd might have some bug that it breaks when no network intface is availbe or something like that18:56
buZzwhat during ~Last few lines of boot can give a -red- text with 'Daemon startup failed' ?18:56
uvosmight be icd18:56
buZzit seems four letters, and then .c18:56
Wizzupmaybe make a video, or capture it on serial18:57
buZzi really should make a serial cable yeah :)18:58
Wizzupit's really simple, just a regular usb ttl serial and hook it up to microusb, sans the power line18:59
WizzupI'm sure out wiki or tony's website describes it18:59
Wizzupour*18:59
buZzyeah it does, somewhere19:01
uvoswe have this link in the wiki19:01
uvoshttps://jethomson.wordpress.com/2010/02/21/diy-usb-to-serial-cable-for-3usd/19:01
uvoswtf19:01
freemangordonbuZz: is there anything in daemon.log?19:02
freemangordon/var/log/maemo19:02
uvosWizzup: um it seams like i cant build on leste-ci19:16
Wizzupuvos: what is 'it' ?19:17
Wizzupah19:17
uvosWizzup: anything lel dosent respond19:17
Wizzuplel is gone19:17
Wizzuplet's see19:18
uvosi ment phoenix-bot19:18
uvosnot lel19:18
uvosi gues19:18
uvosnot sure19:18
Wizzupyes but lel handles it19:18
uvoswhatever responds to !build in leste-ci19:18
Wizzupcan you reach phoenix.maemo.org ?19:18
uvosyes19:18
Wizzuphm, I can't for some reason19:18
uvosbut i cant build anything there either19:18
uvossince i was never granted permissions there19:18
WizzupI understand, but I'm trying to debug :)19:19
uvosright ok19:19
uvostest19:34
uvosah19:34
uvosWizzup: irc.txt also broke at the same time19:34
uvosits back now tho19:34
Wizzupyeah, we need something better than this buggy thing eventually19:34
uvosthis buggy thing == lel?19:35
Wizzupyes19:35
Wizzupit's based on suckless ii19:35
Wizzupfifo/pipes19:35
Wizzuphttps://tools.suckless.org/ii/19:36
sicelosuckmost :-P19:39
WizzupI like some of their stuff tbh19:40
siceloi do too (surf)19:40
Wizzupwmii :)19:40
siceloit was just wordplay above19:40
Wizzupbtw, I saw someone is working on a wayland compositor on X19:40
Wizzupno idea how that's going to work but seems interesting19:40
sicelomy main gripe is that they don't like having things configurable ... many times you need to recompile19:41
Wizzupmhm19:42
buZzi need a cardreader, brb :)19:45
norayryes20:05
norayrthat would be great since we dont have hhat button n900 has20:05
uvosWizzup: adding wayland support to xorg really would not be that hard21:13
uvoshonestly if it wernt for the fact that the way they decided to do compositing outside of xorg by just handing all the rendering to some other process, a _terrible_ design decision that causes a mirrad of issues, xorg with wayland support would be a really good display server21:17
Wizzupright22:02
siceloWizzup: i notice there's no N900 in your pics22:37
Wizzupsicelo: yes, I had no extra n900 :(22:53
siceloalright. nice pics22:54
sicelothe 'modern' phone is pp?22:54
Wizzupyeah22:55
Wizzupbrb22:55
bumpkinbye[m]<uvos> "Wizzup: adding wayland support..." <- But why really23:51
bumpkinbye[m]Xorg is not broken and on the way reinventing the wheel, older devices suffer23:52
uvosin the furture applications will drop xorg suppot23:52
uvosits allready happening23:52
uvosxorg is not broken23:52
uvosbut the x protocoll is23:52
bumpkinbye[m]How x protocol is broken?23:53
uvoslots of ways23:53
bumpkinbye[m]To me this seems like a vehement way to hijack linux development23:55
uvosits not23:55
uvosso some things unfixably broken in x11:23:55
bumpkinbye[m]If wayland people want a protocol not server geared they could use windows23:55
uvos1. 8 bit key codes, you cant have more than 255 keys worse these 255 keys need to be common across all devices ever 2. composeting works by letting another application render the windows, but input and window management still goes though x. this means where the window is placed and where it recieves input can and dose get out of sync, lots of effort is expended syncing these things up, badly it never quite lines up23:55
uvosx rendering works via imidiate mode on the front buffer, there is no way to sync it with vertical refresh23:56
uvosx rendering is totaly vestigel due to how compositing works23:57
uvosthen theres the issue of extentions and core features that no one uses23:57
uvoswho uses xvidinfo? xfont rendering? the core draw calls like xline etc?23:58
uvosno one23:58
uvosbut that could (and should have) been fixed by just dropping old unused extensions and core features and calling that x12 causing minimal disruption because its almost never used anyhow23:58
uvosin 200423:59
uvosbut no one had the clout in x.org to push for this sort of change23:59
uvosso.. we end up in this mess23:59

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