libera/#maemo-leste/ Thursday, 2023-05-04

sicelolooks like they exercised their freedoms extensively, given they owned qt by then ;-)00:15
uvosmaybe conversations could just be a sphone ui modlue, then it would not have to worry about any backend stuff, and scope would be quite limited at first - to the stuff sphone supports01:34
uvosrecent qt style changes have broken at least smplayer btw01:36
Wizzupbroken how?01:38
freemangordonuvos: how was smplayer broken?07:03
freemangordonmenu text colors?07:04
freemangordonuvos: keep in mind smplayer uses its own stylesheet07:47
freemangordonif you choose maemo5 style from options it looks ok to me08:18
uvos__freemangordon: right @smplayer i tripped over that, its fine09:21
Wizzupwhere is this option?09:21
uvos__Wizzup: options->settings->interface09:22
freemangordonwe have an issue with filechooser, it is not native. I am on it10:47
norayrfreemangordon: i tried, but i got no vibration on notifications. i am updating again.14:00
norayrto try.14:00
norayrbtw i did something with my terminal and it now shows very smaaaallll letters.14:00
norayri think i was able to increase decrease fonts but now i cannot figure out how i did that in past.14:00
Wizzupvolume butons?14:04
uvos__norayr: device?14:06
uvos__what sceanrio dose it not vibrate? you have vibration enabeld in the profile right?14:06
norayruvos__: d414:08
norayryes, it vibrates when i receive mails.14:08
norayri was asking fmg to make it vibrate when i get notifications from dino.14:08
norayrbecause i miss what my friends write me when i walk.14:08
norayreven when i look at the phone every 10 minutes.14:08
norayrthough it is very exhausting i try to do that.14:08
norayrbut then it happens that i looked not every ten minutes, but every 20-3014:09
norayrand i miss what they write. that is a big problem for me.14:09
norayrand since dino already sends notifs via libnotify, and maemo shows those.14:09
norayri asked fmg if he can do something about it, so that other programs, that send notifs via libnotify14:09
norayrwould vibrate.14:09
norayrvery short. he said in the beginning that it doesn't correspond to freedesktop.org spec, but well, i need to get notifs from regular linux apps.14:10
norayrso he said to test it after some time, but i tested and dino doesn't cause vibration again.14:10
norayruvos__: i have something to tell you. i discovered an Xfree function that14:10
norayradds a key to the current layout.14:11
uvos__i know of this function14:11
norayrthat can solve our keyboard problem, maybe with just one function call.14:11
uvos__but thank you14:11
norayroh you read what i wrote?14:11
norayrdo you think it can help? when the key is pressed, the function would add that key to the current layout?14:11
uvos__no i mean this function was not news to me,  but thank you anyhow.14:11
norayri found it from svkbd source.14:11
uvos__this corrispondes to the solution of generateing a keymap on the fly14:12
norayryes, instead of doing setxkbmap every time.14:12
uvos__sure14:12
uvos__but you still cause a lot of wakeups14:12
uvos__because all of the applications need to get the new sybol translation table14:12
uvos__so you dont want to do this all the tie14:12
uvos__*time14:12
uvos__svkbd is a good hint14:13
uvos__ill look at what they do, essentally you would have to have some region reserved for him14:13
uvos__and then place the next x chars you need there14:13
norayrwell if that solven a kbd issue, i want. because currently our keyboard without english is only useful with maemo apps or if one knows they need to do setxkbmap by hand.14:13
uvos__and then send the codes and change it to the next x keys14:13
uvos__to avoid wakeing up all x clients on eatch key input14:13
norayrbut even that is a problem because when i do setxkbmap by hand, some symbols from armenian keyboard layout, let's say the hyphen don't work.14:14
uvos__so anyhow, yeah you can do this14:14
uvos__but it needs some tought14:14
norayrbefore i discovered the func i was thinking to create a map - maemo layout - xkbmap14:14
uvos__that imo also makes sense14:14
norayrand do setxkb by program when the layout is switched.14:14
norayrbut14:14
uvos__since its the best solution power wise14:15
uvos__updateing the syboml table is very expensive14:15
uvos__*symbol14:15
norayrthen as i say, if i do setxkbmap, symbols from latin, that i use in armenian layout, don't show.14:15
norayrso i need to do setxkbmap us.14:15
norayrso svkbd's approach i really like.14:15
norayri discovered it because when i created armenian layout for svkbd, which i use on sxmo/pinephone14:15
uvos__well you could have a layout for each supported langugage x eatch device with hwkbd + ibm pc layout14:15
uvos__you have 251 keycodes available14:16
norayrit had a problem, and i looked in to sources, and found that function, and i have another patch which i need to send them, maybe today i will send.14:16
uvos__this is sufficant for 2 languages14:16
uvos__this is the "best" soluton14:16
uvos__but requires one to create a bunch of maps14:16
uvos__(you can automate this ofc=14:16
uvos__)14:16
norayrhmmmm...14:16
norayrokay, i might do that.14:17
norayrso i found that func in svkbd, they do it, and it works. and i thought that might be best solution.14:17
uvos__it works14:17
norayrbut if u really think the best is to have maps i may try to generate maps.14:17
uvos__its realitvely low effort14:17
norayryes.14:17
uvos__idk if its the best way14:17
uvos__this is why i say it needs some tought14:17
norayrbut for now it would solve the problem.14:17
norayrand later we can think of replacing that.14:17
norayrjust it is a torture to write in any non-english layout currently. and most of the users don't even know they need to do setxkbmap.14:18
norayrplus if one don't have hw kbd, it is harder to do setxkbmap. with hwkbd u always have latin to type the command.14:19
norayrbut on pinephone it is not the case.14:19
norayrthank you for discussing it.14:19
norayrsorry what was the way to increase font size in terminal?14:40
norayrfreemangordon: i just checked dino again, it receives the message, shows maemo notification, in separate window, but does not vibrate.14:43
norayrfolks something happened. not latest version of photolightmeter is in repos.14:56
norayrit is 1.9.8-m7, but that is very old. it should be 2.0.0.1-leste1+2m714:56
norayroh i did something wrong when i was making chimaera build.15:07
buZzeh huh15:38
buZzmy d4 was on usb power all night15:38
buZzyet, battery percentage is absent? :O15:38
buZzprior i even saw '100% battery' in /sys , while battery voltage was 3.9V :/15:38
buZzpowercycling now to see if that fixes it15:39
norayrrebuilt photolightmeter with normal recent changes.15:41
norayryes, terminal font is controlled by volume up/down keys.15:42
norayrso how is leste on n900? i have a dev friend, i have n900, i want to give him that n900 as a present, though the blood will pour from my heart. (:15:42
norayrin hope that he will contribute.15:42
norayri had another n900, i gave it to other dev friend, and he looked so excited, but didn't do anything. :/ didn't even install leste. :/15:43
norayrso pity.15:43
norayrthis friend doesn't have any enthusiasm about mobile linuxes or phones at all, and has no phone.15:43
norayrand he lives in other city and other country. i am thinking to send him other n900. :/15:43
norayrthe HAM shows the new version15:44
norayrok i hope the users will get the update.15:45
buZznorayr: ask the n900 back from the first user16:02
buZz:)16:02
buZzweird, i dont believe my phone now ever gets to 'Fully Charged' :O16:43
buZzits charging at 10mA now16:43
Wizzupbattery unhappy/dead?16:45
buZzbattery seems totally fine16:45
buZz4.28V now down from 4.31 , while still charging16:46
bencohuh, voltage doing down while charging doesn't sound normal16:58
bencohgoing*16:59
buZzbencoh: pretty normal while we dont switch to USB power17:05
buZzthe phone isnt powered by USB while charging, or at least, not exclusively17:05
buZzwhile the hw -can- do that17:05
bencohoh right17:06
buZzalready back at 4.3v now , it keeps going up&down, but never reaching 'fully charged'17:06
buZzso no percentage displayed :(17:06
buZzi -thought- this was all happening in kernel?17:07
buZzso i dont really understand what/why this is happening17:07
Wizzupwhat makes you tink it is not happening in kernel17:19
WizzupV4.28 sounds like just about the max17:19
buZzwell , its been >4.2 for -hours- now17:19
buZzcpcap_battery cpcap_battery.0: calibration done: 0x000017:21
Wizzupwhat do you expect?17:21
buZzhuh17:21
Wizzupall of this seems normal17:21
Wizzuplike, in line with things17:21
buZzWizzup: i expect to get 'fully charged' and see a percentage in /sys/class/powersupply/battery/uevent17:21
buZzi mean, this works fine, there's just no percentage shown17:21
buZzits been on charger all night, and most of today, but never reached charged17:22
freemangordonnorayr: did you reboot after upgrade?17:49
arno11Wizzup: n900 voice call news: now my patch is working with states at the right time with no external troubles. Only one bug remaining: if it takes too long to answer a call a weird latency happened during few seconds.19:39
arno11and i think it is because of the ringtone running at 44100hz.19:41
arno11to be sure i will test a 4000hz ringtone to avoid 2 different rates at the same time.19:42
Wizzuparno11: great progress!20:47
uvoswhy would voice and the rinnger ever be active at the same time?20:51
arno11uvos: good question. in fact record and play are not starting exactly when you answer the call21:00
arno11and anyway 3 pulseaudio process are running at the same time21:01
arno11cmtspeech is really tricky...21:02
arno11per default record starts when the phone starts ringing21:02
Wizzuparno11: 3 PA servers?21:06
arno11yes probably21:06
Wizzupthat seems really wrong to me21:07
Wizzupyou sure?21:07
arno11not 100 percent sure21:07
arno11but 80 lol21:07
arno11i just doublechecked: 3 server daemons21:15
Wizzupare they just threads of the same server?21:16
arno11probably one for general stuff. one for record/play. and one for buffer/dynamic latency ?21:16
arno11htop shows 3 different daemons21:17
Wizzupdinner time21:17
WizzupI can check on my n900 in a bit21:18
arno11ok enjoy21:18
Wizzuphow's latency looking?21:18
arno11latency is fine but tricky: PA constently try to balance I/O latency21:19
arno11for example if incoming and outgoing latency are both 200ms that's sound like zero ms21:20
arno11the diff is the real latency21:20
arno11so sometimes when local latency is 20ms and incoming is 40 the result is not better21:22
arno11so i think the most important thing is I/O latency stability21:29
arno11uvos: freemangordon: Wizzup: sicelo: for me the main concern is why Xorg burns 35-40% cpu during calls (and 5 without...)21:38
Wizzupyeah, that's weird for sure21:59
arno11yep22:01
uvosis any non-obivous x client also using a lot of cpu in call?22:47
norayrfreemangordon: yes, today i did. and no result. :/22:51
norayrlast time i also did.22:52
norayrbuZz: yeah right?22:52
arno11uvos: apparently not22:55
buZznorayr: whats right?22:57
norayrright to ask him to return n900.22:59
norayrbut it is very hard for me...22:59

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