libera/#maemo-leste/ Wednesday, 2023-04-19

Wizzupuvos: re: duplication stuff, do you mean leste-config, image-builder and the like?00:50
Wizzupimage-builder has support for the OUYA, which has fastboot, so probably image-builder can deal with it00:51
WizzupI guess we'll have another kernel pkg, right?00:54
buZzWizzup: woa, leste on Outa? :D02:32
buZzouya*02:33
buZzthat would be legendary, haha02:33
uvosWizzup: sure copy what ever makes the most sense, image builder wise.09:42
uvosfor the meta package, leste-config, copy pp09:43
uvoswe will need a new kernel yes, its not really _that_ manny patches, we could maybe integrate it later09:43
uvoswe also need to package quite a bit for firmware09:44
uvosnot sure what to do about that, pmos has a script that scrapes fw from the android partitions on boot09:44
uvosthey dont pacakge the fw either, for the most part09:44
Wizzupfreemangordon: if device is locked and opened by program, say alarm, then ts does not work10:14
WizzupI had to lock and unlock manually10:14
Wizzupuvos: oh, that is a bit odd10:14
Wizzup@ scraping10:15
uvosfw has unclear licence10:17
uvosi dont think we really need to care about that tho10:19
uvoslos dosent either10:19
uvosand they are the mutch bigger and more visible target10:19
WizzupI agree10:35
Wizzupwe might want to watch for fw being different for the different models10:36
freemangordonWizzup: maybe pester uvos about it, that's mce realm11:59
freemangordoni may have a look at it as well though11:59
freemangordonWizzup: or, perhaps TS is inhibited?12:02
freemangordoncould you check?12:02
Wizzupfreemangordon: I think it could be the inhibit thing12:05
Wizzupfreemangordon: yeah ok will check today12:05
norayruvos, btw i checked svkbd from suckless/sxmo projects, they do setxkbmap by code.12:11
norayri checked the source because i added two layouts there, dvorak and armenian.12:12
norayrso my understanding is that they also have to use setxkbmap, and it has to be in the code, for this layout you do setxkbmap this, and for that - setxkbmap that. no detecting, just mapping.12:13
norayreverybody: other interesting thing is that i like that tapping on the input field doesn't bring the keyboard up.12:15
norayrfor bringing up the keyboard one needs to specifically use the gesture in sxmo to bring it up.12:17
norayrand to bring it down the same.12:17
norayri happen to like it very much. and it behaves just as regular xorg onscreen keyboard. it types in everything.12:17
norayr>apping on the input field doesn't bring the keyboard up.12:18
norayrmaybe i intent to use hw kbd, or i tapped to then do ctrl-a ctrl-c and copy what is there.12:18
sicelothat could just be toggled by presence or state of hwkbd, i guess ... like with the stock OSes of the hwkbd phones13:09
uvosusbnet dosent apear to work14:35
uvosshouldent something bing up the interface?14:35
uvosdevice side14:35
uvosi have to do that by hand14:35
Wizzupuvos: do you have configfs and such?14:38
Wizzupuvos: ke-recv should do this14:38
uvosCONFIG_USB_CONFIGFS=y14:39
uvosjup14:39
uvosdosent seam to work14:40
uvosbut it dosent seam to work on my d4 eihter14:40
Wizzuphuh14:41
uvosbtw xorg crashes on reboot, poweroff14:41
uvosbeacause logind is stopped before xorg14:41
uvosxorg really really dosent like this14:41
Wizzupwe can add 'before logind' for stopping to the init script I think14:41
Wizzupuvos: I get this:14:42
Wizzup[2739419.234385] rndis_host 6-1.4:1.0 usb0: register 'rndis_host' at usb-0000:07:00.4-1.4, RNDIS device, 7a:77:d5:b8:3c:af14:42
Wizzupmaybe you forgot we now use rndis rather than the usual method14:43
Wizzup(just a guess)14:43
Wizzup(on d4)14:43
uvosthats not the problem14:44
uvosthe problem is that if i configure the interface on the host side, i cant access the phone side untill i configure the interface there too by hand14:44
uvosor am i missing how this is supposed to work14:45
uvoswhere is the phone suppsoed to get an ip address from on the usb0 if14:45
Wizzupright, ke-recv-extra sets this14:46
Wizzupsec14:46
uvosthen its not working14:46
uvosanyhow wlan wroks on xt1602 now14:46
uvosso imidate need is reduced14:46
Wizzupsorry, ke-rexc*14:46
Wizzuprecv*14:46
Wizzuppcsuite_enable.sh should bring it up and assign it14:47
Wizzupif the interface called usb0?14:47
Wizzuplogger "$0: starting pcsuite"14:47
Wizzup# TODO: check error code here14:47
Wizzup/usr/sbin/hildon-usb-gadget-network14:47
Wizzupifconfig usb0 up14:47
Wizzupifconfig usb0 192.168.42.214:47
uvosifconfig14:47
uvoscommand not found14:47
uvosobvious problem14:48
uvosthat whent away with chimaera14:48
uvosunless you have the compat package installed14:48
Wizzupuvos: that's one, and then there is that it might not detect it being hotplugged14:50
Wizzupif it is extcon it might just work14:50
Wizzupuvos: can you check if it works if ifconfig is installed?14:50
uvoswell missing ifconfig def is the reason why it cant work on my d414:51
Wizzupmhm14:51
WizzupI meant on the moto g 414:51
uvosright14:51
uvosqtwebbrowser is really fast on xt160214:51
uvosbut the hildon button in the top left corner makes it impossible to use the deivce left handed :|14:52
uvoser one handed i mean14:52
Wizzupin portrait I guess?14:52
uvosi mean both14:53
uvosin landscape its maybe ok if your one hand is the left hand14:54
uvosbut then there is no getting to X14:54
Wizzupok14:56
uvosfor some reason mce cant handle the device haveing 4095 pannel brightness levels14:59
Wizzupbuilding new ke-recv15:00
Wizzupuvos: maybe log scaling or something?15:00
uvosmaybe, should not be to hard to figure out15:00
Wizzupuvos: ah, is this what 'turns off' the screen?15:00
uvosno theres more to it than that15:01
uvossomethings wrong with freedreno/glamor15:01
uvosit works fine in sw mode15:02
Wizzupok15:03
siceloPorting the script to use iproute2 instead of ifconfig is trivial15:08
uvospretty sure Wizzup did so just now15:08
Wizzupno, I just had it depend on ifconfig15:11
Wizzupnet-tools rather15:11
uvoshm ok15:11
Wizzupsince we rely on it in other places too15:11
WizzupI bet15:11
uvosbut those will go away eventually15:11
Wizzupprobably :P15:11
Wizzupsicelo: if you want to find all usage of 'ifconfig' in maemo-leste and submit PRs for each then we can stop depending on it15:12
Wizzupfor now I just fixed the regression15:12
sicelook. will try and find time for that15:12
Wizzupas far as I am concerned you don't have to btw15:15
Wizzupmostly just indicating that I personally don't care too much about this15:15
Wizzupwhenever I find that ifconfig isn't installed on a machine, I just install it15:16
Wizzup:p15:16
Wizzupbtw, I have invited to speak at https://www.dorscluc.org/15:16
Wizzupand might have a stand too15:16
Wizzup(maemo)15:16
sicelooh cool15:18
Wizzupit won't be anything new talk wise15:18
Wizzupbut at least it's publicity :p15:19
siceloit'd be great to get a user who has pinephone pro, so support for it could be done as well15:19
Wizzuphow much do they cost?15:21
Wizzup400 eur?15:22
sicelommm, no idea tbh :-)15:22
siceloshould be less than that15:22
Wizzup400 dollar then15:22
sicelojust checked, yes15:23
Wizzupok, hm15:23
WizzupI think we could just order one or two15:23
buZzi'm still hunting for a affordable Pocophone F1 :P16:11
Wizzupto do a leste port?16:14
buZzwell, someone started one already? at least its somewhere between our files16:16
buZzsupposedly that Xiaomi phone can run mainline16:16
uvosyeah the pocophone has most everything in place16:34
uvosit just needs a maintaner16:34
uvosit probubly bitroted quite a bit by now16:34
buZzi guess, i just mostly want to see how well mainline works, and then try whatever i can find :) maybe pp rootfs already gets me most the way16:38
Wizzupwe have code to build poco images16:39
Wizzupbut it will take quite a lot of time to make it work well I guess16:40
freemangordonuvos: re xorg/logind I think we shall decide what we need stopped actually in off runlevel16:46
freemangordonI think we can have xorg/logind running till the end16:47
freemangordonthis will speed-up poweroff too16:47
freemangordonor maybe not, maybe this will prevent unmounting filesystems16:48
buZzWizzup: yeah i have no dreams of making it work well ;) just work would be enough for me16:48
buZzand seems like fun to try :)16:49
HatmanHi17:14
Wizzuphello17:19
uvosfreemangordon: i dont think leaving the session/xorg running untill the kernel kills every process right at the end is sane17:44
uvosalso xorg will still likely exit with error in this case17:44
freemangordonuvos: not that important, but it is not the kernel that kills the processes, there is 'sendsigs' init script that does it.18:11
freemangordonhowever, I don;t see what is the benefit of having xorg exit gracefully18:11
freemangordoncould you elaborate?18:12
freemangordonalso, dsme can be used to control elogind/autoboot/xorg, so it is not that complicated to fix the order18:14
freemangordonwell, not elogind, but autologin/xorg18:14
freemangordonbut, if we go that route, we shall stop all processes running in xorg before stoppong xorg18:15
freemangordonI implemented that in dsme, but reverted it, as it takes 10-15 seconds on d4 to terminate all dsme processes gracefully18:16
WizzupHatman: what's up18:32
HatmanHi. All fine just joined18:57
Wizzupcool, let us know if you have any questions19:09
freemangordonWizzup: do you fix ke-recv?19:26
freemangordonbecause there is some bug causing it to segfault in VM19:26
freemangordonWizzup: https://pastebin.com/kJ9s8DwD19:29
freemangordonshall I fix it?19:30
Wizzupfreemangordon: never saw that, pls check if you can19:56
Wizzupfreemangordon: looks like you already did19:59
Wizzup:D19:59
freemangordonyep20:00
arno11Wizzup: quick news about n900 calls. i've restarted from the beginning using pulse.c from master branch with very few modif and no hack21:12
arno11results:21:12
arno11i get 29ms latency very stable with good sound quality21:13
arno11in one way there is almost no latency21:13
arno11and in the other way few more21:13
arno11but acceptable i think21:14
arno11when i receive a call there is a weird 3 sec latency at the beginning of the call (PA is setting up latency)21:15
arno11and then everything is fine21:15
arno11at the opposite when i call another phone, no latency at the beginning and everything is fine21:16
norayrfolks, does droid4 vibrate when getting libnotify message?21:16
norayrhow can i make it vibrate when dino sends notification?21:16
Wizzuparno11: 'no hack'?21:24
arno11Wizzup: i mean no pactl latency command21:25
arno11like we tried with your pulse.c version21:26
Wizzupok, but with my changes?21:26
arno11no i used the master branch version with few other changes21:27
arno11(just 2 or 3 values changed)21:27
Wizzupwell, before you had a much higher latency, so that's weird21:28
Wizzupin any case the code in master is quite clearly wrong (imo) wrt latency handling21:28
Wizzupwhat did you change?21:28
arno11well, the original code is not as wrong as we think21:28
arno11sec21:29
arno11because pa_usec_to_bytes for example cannot work21:31
arno11it is just like a request for pulseaudio21:32
arno11and it is canceled by other PA stuff21:32
arno11and it is in fact unstable if we do several calls21:33
arno11other example21:33
Wizzupcancelled how?21:33
arno11sec21:33
Wizzuponline doc says this is the best way to tell PA to do low latency without hickups and other issues, IIUC21:34
Wizzupif it gets slower maybe there is too much resampling going on (?)21:34
arno11yes the best way if tsched is deactivated21:36
arno11no diff with resampling21:36
arno11in every case still high21:36
arno11i even tried to change your settings and PA canceled in fact everything21:37
arno11how i know that ? i tried to test latency with my voice using always the same syllables and different settings in pulse.c and compared with pactl latency results21:40
arno11result is there is almost no diff. excepting stability and quality of sound21:40
arno11i mean, even if pactl says there is 10ms latency, it is not the case in real conditions21:42
arno11i think in every cases we will have a lot of resampling because other stuffs are running at 44100hz or 48000hz (like ringtones)21:54
Wizzup(sorry, work mtg)22:02
Hatman900connecting to irc in n900 nice }22:03
Wizzup-)22:05
arno11oh yeah no probs man, sorry. Anyway everything is running well :)22:07
arno11Hatman900: yeah irc rocks on n900 :)22:07

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