libera/#maemo-leste/ Sunday, 2023-07-23

Wizzupuvos: freemangordon, I am looking at the diff between devel and stable04:16
WizzupPackages in chimaera-devel that are newer than chimaera04:16
Wizzupdsme 0.61.13+m7 (> 0.61.10+m7 )04:16
Wizzuphildon-base 1.14+m7 (> 1.10+m7.1 )04:16
Wizzuphildon-meta 2.4+m7 (> 2.3+m7 )04:16
Wizzupmaemo-system-services 0.6.10-0+m7 (> 0.6.9-0+m7.1 )04:16
Wizzupmce 1.10.8+m7 (> 1.10.5+m7 )04:16
Wizzuposso-af-startup 1.81.13+m7 (> 1.81.12+m7 )04:16
Wizzuppython-mafw 0.2+m7.1 (> 0.2+m7 )04:16
Wizzupleste-config 1.96-1+m7 (> 1.88-1+m7.1 )04:16
Wizzupxorg-server 2:1.20.11.4-1+m7 (> 2:1.20.11.2-1+m7.1 )04:16
WizzupI think we can move all of these over, agreed?04:16
Wizzupbtw if oyu're upgraded to latest devel the nyou can install openmediaplayer from ham04:19
Wizzupit's only for internet radio atm04:20
_uvos_Wizzup: mce anf leste-config are fine10:54
_uvos_im unsure what the others entail10:54
Wizzupuvos: I think it is still logind related stuff17:38
Wizzupbut I've been using it on all my devices17:38
tmlind_Wizzup: bionic was working on 3g with t-mobile prepaid sim.. not sure if they still have 3g running, probably not18:50
tmlind_some tcmdrw commands were needed for 3g voice calls, i think i posted them here a while back in case you have some prepaid 3g sim still working..18:51
tmlind_xt910 has the qmi over spi modem that likely will never work18:51
tmlind_bionic is xt875 fyi18:52
Wizzuptmlind_: yeah it works on 2g on other networks19:01
Wizzuptmlind_: why do you mean it will likely never work?19:01
Wizzup'yeah it works' = bionic19:02
Wizzup'it will likely never work' = xt91019:02
Wizzuparno11: so just this:19:30
Wizzup19:58 < arno11> you need to use resample-method = trivial, alternate-sample-rate = 4000 and avoid-resampling = false in daemon.conf to get sip calls working both ways -and see the 3 PA daemons running-19:30
Wizzupor is this on top of other changes19:30
arno11hi. just this should be enough for sip19:44
arno11(reboot needed)19:45
Wizzupor service pulseaudio restart19:45
Wizzup?19:45
arno11not enough19:45
Wizzupand this is in system.pa yeah?19:46
Wizzupwait no19:46
Wizzupdaemon.conf19:46
arno11in /etc/pulse/daemon.conf, yep19:46
WizzupI'll do /etc/pulse/daemon.conf.d/00-leste.conf19:46
WizzupI also have:19:47
Wizzupdefault-sample-rate = 4800019:47
Wizzupremixing-consume-lfe = yes19:47
Wizzupshould those go?19:47
arno11you need default-sample-rate = 4410019:48
Wizzupand do you test with headphones or with speakers19:48
arno11and no matter for lfe19:48
arno11it works with both19:48
Wizzupwill setup twinkle acc and then reboot19:48
arno11if you have last ucm19:48
arno11ok19:48
Wizzupif I pushed it to repos then I have it19:49
arno11yep19:49
arno11i just dicovered why there are few troubles with inbound sound during inbound calls19:51
arno11PA sink daemon state is locked on 'disk sleep' (the sink is not starting properly)19:52
WizzupI think the first thing we have to fix is having multiple PAs19:52
WizzupI suspect there is something with the pa auto start and session19:52
Wizzupin any case I think I'm ready to reboot, I have twinkle in cli mode starting now19:52
arno11ok19:52
Wizzupfinishing some unrelated upgrade just in case19:55
tmlind_Wizzup: yup you got it, xt910 is likely never going to work because of the qmi over spi modem, bionic xt875 does not have this problem. heh 2g is still better than 0g :)19:55
Wizzuptmlind_: is this a kernel driver problem or just in general a lot of work that would have to be done for qmi?19:56
Wizzuptmlind_: yeah it is better than 0g ;)19:56
tmlind_unless you're an astronaut19:56
Wizzuphehe19:58
Wizzupwell, still, xt910 and xt912 support, even without spi modem is still good19:58
Wizzupbtw, I don't know if others see this problem, but for me the leste devices still show usbnet on usb plug, but they don't seem to set an ip on their own interface19:58
tmlind_no idea but fyi i'm still stuck with xyboard lcd.. drivers load, i can write back android values from userspace over i2c, no picture, just continuous dsi errors still19:59
tmlind_dsi errors on the bridge side, the error count is constantly changing. i guess i should verify this is not happening on adroid20:00
Wizzupmhm, that would make sense20:01
Wizzupand the general setup (vals of regs) is the same as in android otherwise?20:01
* Wizzup hoping :) 20:01
tmlind_yeah i can set whatever reg values, this with the patched up tc358775 driver to also support tc35876520:02
tmlind_the registers are the same, clock speeds are a bit different, tc358775 has an extra pin for standby mode while tc358765 does not have it20:03
Wizzuphmm20:03
tmlind_afaik the dsi1 lines are not muxable so no idea why the dsi signals would be all messed up20:03
tmlind_i guess i should just clean up and push out some non-functional hacks branch to github soonish20:05
tmlind_might be several days before i get around to it again though20:06
Wizzup*nod*20:06
Wizzupyeah that would be useful20:06
Wizzuparno11: ok booted :p20:07
arno11cool20:07
Wizzupso I just call some other sip number?20:08
arno11yes it should work20:08
Wizzupok20:09
Wizzuplet me see if I can get another one up :)20:09
tmlind_Wizzup: if you happen to need 3g voice on bionic xt875, grep the irc logs for tcmdrw, i posted two writes for that to work20:10
Wizzuptmlind_: check, I think it might even be on the wiki somewhere20:12
arno11Wizzup: should be really interesting to call your d4 with your n900 (and check differencies in htop)20:12
WizzupI am going to use fremantle first20:12
Wizzupbut you're right that is a good idea too..20:12
WizzupI could do that20:12
arno11to compare PA daemons and states20:13
arno11;)20:13
tmlind_hmm strange, uptime now over 38 days on d4 with the same old patched up 6.1.0-rc6 kernel. no idea what i might be doing different now compared to earlier..20:13
Wizzuparno11: hm it says contact offline on fremantle, maybe I am not using the command line twinke correctly20:13
Wizzuptmlind_: heh20:14
tmlind_no spi errors to be seen, or whatever ends up causing the reboot eventually20:14
Wizzuparno11: trying presence -b online20:14
arno11and check if you are using tcp or udp20:14
arno11prefer tcp on both devices20:15
Wizzupwhere do I check this?20:15
Wizzupok, twinkle to twinke worked20:17
Wizzupnow to check audio routing20:17
Wizzupstill just one pulse...20:17
arno11just one pulse in fremantle or d4 ?20:18
arno11or both lol20:18
Wizzupn90020:18
Wizzupbut I don't think I get any audio at all yet20:18
arno11ok so that's normal20:18
Wizzupwhen you say that you see multiple pulseaudios, do you check htop or something else20:19
arno11just htop20:19
Wizzupok, so that mystery is solved20:19
Wizzupyou're just seeing threads20:19
Wizzupnot different processes20:19
arno11when audio sync is ok20:19
sicelowhy tcp?20:20
Wizzup20:19 < arno11> ok so that's normal20:21
Wizzupwhat do I do to get that to work?20:21
arno11sicelo: it only works with tcp, no idea why20:21
Wizzuparno11: btw for input devices on n900 it says 'internal speaker', should this be named differently?20:22
Wizzupin pavucontrol20:22
Wizzupmaybe internal microphone?20:22
arno11Wizzup: no it's ok thx to ucm20:22
WizzupI just mean the name is weird20:23
Wizzup'speaker' for 'microphone'20:23
Wizzupbut nevermind that for now20:23
arno11just 1 min20:23
Wizzupsure20:23
Wizzupbtw when I am doing a sip call, cpu usage is 100%, but it's all pa and twinkle, not Xog20:24
Wizzup(and I'm not overclocked like you are I think)20:24
arno11indeed it's weird in pavucontrol but when call is starting microphone appears in 'recording'20:25
arno11yes i forgot overclock20:25
arno11anyway to see PA weird stuff, audio sink/source must be synchronised20:27
Wizzupcan you clarify a bit on what I need to do to get there?20:27
Wizzupshould I OC first?20:27
arno11it should work with no overclock20:28
Wizzupok20:28
Wizzupso how do I get these synchronised, and how do I check if they are synchronised?20:29
Wizzupand what is the exact weird stuff?20:29
Wizzupbut, maybe you could clarify that for you, when you do 'ps xua | grep pulse'20:29
Wizzupthat you only see one process, not three20:29
arno11ok let me try20:29
Wizzuptmlind_: https://leste.maemo.org/Motorola_Droid_Bionic#Unlocking_the_modem_for_usage_in_Europe this is what we have on the iwki20:33
Wizzupwiki*20:33
arno11Wizzup: i see 2 process, one pulse (the system one) and another one (user)20:35
WizzupI don't see that20:35
Wizzuphow do you run twinkle?20:35
arno11twinkle-console but anyway that's the same with cmtspeech for example20:36
Wizzupdo you login over ssh, or?20:36
arno11nope20:37
Wizzupand does the user pa exist always, or just during call?20:37
Wizzupok, I logged in as root over ssh, and then did 'su - user', and then ran twinkle there20:37
Wizzupand you also stull have this, right:20:37
Wizzup# cat /run/pulseaudio-enable-autospawn20:37
Wizzupautospawn=yes20:37
Wizzup(even though we probably don't want that.)20:37
Wizzup(I also have that still here)20:37
arno11no still autospawn=no20:38
Wizzupok, so you edited /etc/init.d/pulseaudio-enable-autospawn ?20:38
arno11yes iirc20:38
Wizzupok20:38
arno11or maybe in client.conf but anyway autospawn is locked20:39
Wizzupand the uesr PA, it runs only during the call?20:39
arno11wait20:40
arno11let me compare to htop20:41
Wizzupif you press 'H' while having htop open, it won't show you threads anymore20:41
WizzupPA uses very little cpu on the droid4, btw, compared to on the n90020:43
WizzupI guess for my SIP audio not working I probably need to set up a STUN server20:43
Wizzuparno11: so you set sip_transport to tcp?20:47
arno11sorry man, too much questions at the same time lol20:49
tmlind_Wizzup: ok thanks20:50
arno11so yes for tcp, yes for stun server20:50
arno11and for PA process, it still unclear.20:51
arno11btw it is not normal you have 100% cpu with no sound20:52
arno11usually it's arround 20 in this case20:52
Wizzupok20:53
WizzupI need to hop on a work call atm, but I will be back a bit later20:53
Wizzuparno11: I wonder if we should make sure our setup/config is the same20:53
arno11i have to go (kids) back in one hour i think too20:54
arno11yes we have to check config to avoid bias20:54
Wizzupok20:54
WizzupI can flash a new image to a new microsd that I have here20:54
arno11ok20:55
Wizzupcan you do the same, or?20:55
Wizzupdon't override your existing stuff20:56
arno11i think i can't do that lol20:56
arno11i've to go20:57
Wizzupok20:57
arno11back. ok so (reading your messages again) i think the problem to get audio is your twinkle config in N900 (otherwise if you are up to date the only diff with my config could be only daemon.conf)22:23
arno11twinkle config file must be in /home/user/.twinkle/twinkle.cfg22:24
arno11check your outbound proxy and sip_transport=tcp22:25
arno11Wizzup: maybe stun server is necessary but really depending of provider and isp. (for me it works with or without)22:29
arno11maybe you can test messages between the 2 devices first ?22:31
Wizzupback22:35
Wizzuparno11: so I think it's best to ensure that we really have the same config22:36
Wizzupbecause I don't see this second PA server that you mentioned22:37
WizzupI am not sure how to best do this though22:37
Wizzupother than flash a new microsd and work from there22:37
arno11ok makes sense22:41
Wizzupbut I agree it's cumbersome to do that :D22:42
arno11yep but pragmatically, no other choice22:43
arno11i need to find my only empty sdcard22:43
arno11back in a bit22:43
Wizzupjust don't overwrite anything important :D22:44
arno11lol indeed. sdcard found and last img downloaded23:00
arno11burning img now23:00
Wizzuplink to img? I'll do the same then23:00
Wizzupjust to make sure we both have the same/latest23:01
arno11ok i used the last one from 06/1823:02
arno11hope it is not broken23:02
Wizzup:)23:03
arno11need to switch irc device, back in a bit23:06
arno11back23:09
Wizzupohi23:09
Wizzupso this one? https://maedevu.maemo.org/images/n900/20230618-chimaera/maemo-leste-1.0-armhf-n900-20230618.img.xz23:09
arno11yes23:10
maxwelldswitched back to 16gb adata card.23:10
maxwelldapparently adata works much faster and much more reliable than this supposed to be sandisk.23:10
* maxwelld need to eventually package songrec.23:10
* maxwelld also needs to update lagrange package.23:10
arno11Wizzup: trying to boot23:16
arno11ok seems to work23:17
arno11ok be careful, no swap on first boot23:19
Wizzupok, let's try to keep a log of changes made23:20
WizzupI guess the first thing to do is to add -devel23:20
Wizzupand upgrade23:20
Wizzupbrb23:22
arno11need to activate swap first to avoid OOM during update23:24
Wizzupok23:24
arno11ok swapon /dev/mmcblk1p3 works on the fly lol23:25
Wizzupyeah23:26
arno11woo the new img seems to work really well no troubles during first boot23:26
Wizzupbtw23:26
Wizzup-devel has the change to add swap23:27
Wizzupand I am syning it now23:27
Wizzupso next image will have swap23:27
arno11ok nice23:28
Wizzupplease keep a log of changes made btw :)23:30
arno11no probs23:34
arno11-devel added23:34
arno11arghh automatic apt-worker is to much for n90023:36
arno11if you can disable it in next img...should be useful23:37
Wizzuphm, isn't this a maemo thing?23:37
arno11oh maybe23:37
arno11dist-upgrading23:38
arno11(i will edit daemon.conf before rebooting)23:39
arno11really good work guys, the last img is really impressive for me23:40
arno11and with auto swap in the next one, no probs for users i think23:41
Wizzupplease share the exact changes here, better to just be verbose :D23:44
arno11the daemon.conf ones ?23:45
WizzupI mean maybe just everything, so:23:46
Wizzup- new image dd23:46
Wizzup- enable swap23:46
Wizzup- add -devel to sources.list23:46
Wizzup- apt dist-upgrade23:46
Wizzup- change daemon.conf (add foo, bar)23:46
Wizzup- reboot23:46
Wizzuplike that or something :)23:46
arno11ah ok23:46
Wizzupthe goal is to have the exact same setup, otherwise it'll be in vain :D23:47
arno11ok :)23:47
arno11so after after the first boot, run /etc/expandcard.sh first23:48
arno11then activate swap with swapon /dev/mmcblk1p323:50
arno11then add -devel in /etc/apt/sources.list23:51
arno11then adjust the clock lol23:51
arno11apt update23:51
arno11apt dist-upgrade23:52
arno11before rebooting, we need to modify /etc/pulse/daemon.conf23:53
Wizzupok23:56
arno11iirc: resampling-method = trivial, alternate-sample-rate = 400023:58
arno11i think it's enough for voip/sip calls23:58
Wizzupok23:59

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