libera/#maemo-leste/ Sunday, 2023-06-11

sicelowill test00:01
arno11ok00:01
siceloI'm not sure it will show up in alsactl monitor though, but it might ...00:01
arno11ok00:02
siceloyes doesn't show up00:17
Wizzup_ah right\00:18
arno11ok and is there any issue with mixers ?00:22
Wizzup_good q00:32
* Wizzup_ needs to sleep00:32
arno11gn00:32
Wizzup_exciting progress man :)00:33
sicelonot sure i understand the question ...00:33
siceloseems fmtx not working .. will try to test properly tomorrow (also sleepy now)00:34
siceloanyway,  getting voicecalls integrated ootb is higher priority than fmtx imo00:34
pere<URL: https://people.skolelinux.org/pere/blog/What_did_I_learn_from_OpenSnitch_this_summer_.html >08:23
arno11Wizzup: sicelo: fmtx works great with ucm :)11:36
arno11it will be very easy to create a specific use case11:37
arno11no troubles with mixers11:37
arno11enabling fmtx through alsamixer is needed because i disabled it in ucm lol11:38
siceloah  yes11:38
Wizzupright11:39
arno11so this evening i will create a specific use case in HiFi profile or another one if you want11:39
Wizzupdo we need to make a special use case for it, like we have HiFi and then we have FM Radio Transmitter, or do we want to combine it somehow?11:39
Wizzupright... I am wondering about this11:39
WizzupI don't think we need speakers + radio ever11:39
Wizzupin this case I think profile in Hi Fi makes the most sense, I don't think we need or want to route audio calls over radio?11:40
buZzlol that would be special11:40
arno11good question11:40
buZzusing FMTX as a handsfree setup11:40
Wizzuparno11: sicelo: do we still need other tools to router over radio, or is it just a matter of alsa controls now?11:40
buZzi dont think thats been done before11:40
arno11could be very funny11:40
arno11Wizzup: just a matter of alsa controls11:41
buZzand maybe not very hard to implement, could get leste some media attention :)11:41
arno11:)11:41
siceloit can be done. the fmtx is essentially a built in Ralph one11:41
siceloearphone*11:41
Wizzuparno11: I guess the v4l tooling is for it then is to change channel?11:41
arno11yep11:41
siceloyes you need v4l11:42
Wizzuparno11: buZz: might be difficult for echo cancel though11:42
buZzah true11:42
siceloeven to enable transmission11:42
arno11not sure11:42
buZzunless the modem can do that by itself11:42
Wizzupit cannot11:42
buZzah11:42
arno11mixers already cancel echo with right settings11:43
Wizzuparno11: which settings are those?11:43
Wizzupas far as I know n900 modem cannot do echo cancel11:43
siceloyeah, even the audio is processed by cpu11:44
Wizzupwe can do it in PA when we run into it though11:44
arno11i don't remember what are the key settings11:45
arno11let me 15 min i will try voice call through fmtx by hand11:45
arno11to see wgo11:46
Wizzupbe ready to mute :P11:46
arno11lol ok11:46
Wizzuprafael2k: hey ho11:54
arno11believe me or not, it works well with absolutely no echo11:59
arno11i used voice call profile, selecting manually jack output in pavucontrol to route sound through fmtx12:00
arno11and of course enabling fmtx in alsamixer12:01
arno11so it means we can create a hifi fmtx use case and another one with voice call12:02
arno11oh i forgot we need to start v4l2 ctl of course12:03
sicelo:-p12:05
Wizzup'start v4l2 ctl' ?12:05
siceloyup, you can only enable the transmission via v4l12:06
Wizzupright12:06
arno11is it possible to run xterm command in ucm profile ?12:07
WizzupI don't think so, this needs to be arranged from another place12:09
arno11ok makes sense12:09
sicelohonestly i don't think fmtx for calls is something we should worry about too much :-)12:09
WizzupI agree12:09
siceloremember that anyone in vicinity can get that call ... and you won't even know12:10
Wizzupwith pipewire this would get easier eventually12:10
arno11lol of course just for fun12:10
sicelo:-)12:10
arno11so forgetting funny calls, hifi fmtx use case is easy to config but how to use v4l2 in a user-friendly way ?12:20
Wizzupthis is problematic and not trivial, I would skip over that for now12:23
Wizzuplike, pulseaudio cannot do it I think, alsa cannot do it, some PA plugin could, or some other program could listen to events and do it, but we currently don't have such a program12:23
Wizzupfremantle and nemo had OHM to do some of this, but we don't have that currently12:24
WizzupI would leave this to some status applet for radio for now12:24
Wizzupdoes it hurt pm to just have fmtx routing on in alsa?12:24
Wizzupactually no need for that, the status applet can just switch12:24
Wizzuppipewire would eventually make this a bit easier I think12:25
arno11ok12:26
arno11i'll test pm with fmtx12:26
arno11indeed a status applet is enough in fact12:29
rafael2kWizzup, hallo!12:29
rafael2kfinished my relocation... back to life12:29
rafael2k: )12:29
Wizzuparno11: https://github.com/maemo-leste/bugtracker/issues/4012:29
Wizzuprafael2k: same for me :)12:29
Wizzupwell, still no kitchen, but yeah...12:29
rafael2kI already have washing machine and vacuum cleaner... all good12:30
rafael2k: )12:30
Wizzuparno11: the code linked doesn't use v4l of course, but it could be used as a staert12:30
Wizzuprafael2k: same here...12:30
rafael2kmost of my stuff is on the way crossing the old continent, including the PP12:31
rafael2kshould arrive soon thou12:31
Wizzupmy pallet of stuff comes tomorrow :)12:31
Wizzup2 m^312:31
rafael2k8 m^312:31
arno11Wizzup: (for v4l) ok nice !12:32
buZzWizzup: holy, 2m³ of droid4? :D12:32
Wizzupno, my stuff... :)12:32
buZzoooo12:32
buZz;)12:32
sicelothe fmtx applet *should* be using v4l somewhere, i think12:55
siceloor it was doing raw i2c to the chip? O.o12:59
Wizzupsicelo: it uses dbus13:00
Wizzupso maybe there was another abstraction13:00
Wizzup#define FMTX_SERVICE "com.nokia.FMTx"13:01
Wizzupyeah13:01
sicelois it a known issue that modem sometimes doesn't go online automatically on n900?13:17
arno11sicelo: i think it is better to disable modem on boot ATM and load it from hildon desktop (see voice call email) to avoid crash13:40
Wizzupsicelo: apparently these is a kernel issue13:48
Wizzupthere*13:48
maxwelldrafael2k, congrats.13:59
maxwelldoh, same for Wizzup. just it passed through my mind to congrat rafael because i guessed he managed to flew the evil empire that wants to kill him.14:01
rafael2kehehehe14:03
rafael2kindeed14:03
rafael2kbuilding radars is not my specialty yet14:03
rafael2kwith a good battery we could create a jamming add-on to put in the tray - some options like "disable GPS" or "disable StarLink"... :P14:04
maxwelldi guess u didnt end up in armenia. otherwise we could meet.14:05
maxwelldare you talking about n900 transmitter?14:06
rafael2kended up in the old metropolis... PT14:06
maxwelldoh.14:06
rafael2kor a simple circuitry with just creates noisy.. it would be easier14:06
rafael2k(controlled by some I/O from the phone)14:07
rafael2kbut FMTx++14:07
maxwelldi tried to use n900's transmitter to transmit on the same frequencies as radio stations and interfere at leas the nearby fm radio but i could not.14:07
rafael2kneeds more power14:07
maxwelldthe signal from radio was too strong for n900 to interfere.14:07
rafael2kcould be done... a small amplifier14:07
Wizzupthe chip is purposely not powerful14:07
Wizzuptransmitting too powerfully is illegal14:08
Wizzupthat said you can boost it a bit14:08
Wizzuprafael2k: in the eu then?14:08
maxwelldwizz, my inderstanding he didnt flew14:08
maxwelldjust changed the city14:08
Wizzupah ok, for me PT is portugal :)14:09
maxwelldheh.14:10
rafael2kWizzup, yes!14:20
rafael2kportugal, yes14:20
rafael2kbtw, how is the support for the Pi (with its 7'' screen)?14:22
rafael2k(arm64, Pi4)14:22
maxwelldoh great!14:25
Wizzuprafael2k: is this some standard pi screen?14:27
WizzupI have demoed leste on some usb/hdmi screens before using a pi14:27
Wizzupbut I don't recall if 3d was working or not14:27
rafael2kWizzup, yes, connected in the DSI adapter14:27
rafael2kmaxwelld, : )14:27
rafael2kthinking about placing maemo in the radio we are using: https://www.hfsignals.com/index.php/sbitx-v2/ so the user and switch to another sdr software and so on14:29
Wizzupcute :)14:30
Wizzupdoesn't seem like a bad idea to me :p14:30
rafael2k: ))14:33
WizzupI also have two of the lime2 (and soon also hopefully a64) metal frame tablets from olimexh ere14:38
maxwelldheh, since here are HAM radio enthusiasts, i tried for second time to beatmatch and harmonically mix SSTV images to my sets: https://toobnix.org/w/943sb8rzfx5Rj1qFdrrh5v14:39
maxwelldi don't understand much in HAM radio equipment, alas, but i am able to see distorted images with phone or linux sstv client software.14:40
maxwelldin the future, and when i have money, i'd like to get some ham radio equipment, just i have no idea what do i want now.14:41
boshtannikHi to all. @freemangordon. Explain me please, of you can, the source of restriction of not being able to compile and run KIVY with using window provider such as sdl2, or gl, via the method, you have tried, during your compilation.16:19
boshtannikI know, you much closer to that things, such as graphics, i expect you know much more than me in this topic.16:20
rafael2kmaxwelld, if you want HF, use this: https://www.hfsignals.com/index.php/sbitx-v2/16:39
rafael2kwith the bonus you could run Maemo in the radio!16:40
arno11Wizzup: sicelo: i found why pcm volume is locked at 44. I need to add a BootSequence in ucm conf to solve the issue.16:41
sicelooh great :-)16:41
arno11and it is possible to execute shell scripts in UCM !16:41
dsc_rafael2k: what do you reckon that GUI interface is made in?16:42
rafael2kdsc_, which one?16:42
dsc_oh nvm it actually mentions in the blogpost itself16:42
arno11sicelo: I'll do some test this night and let you know16:43
rafael2kgtk + cairo16:43
Wizzuparno11: cool, got a link (re: shell scripts)16:43
arno11https://www.alsa-project.org/alsa-doc/alsa-lib/group__ucm__conf.html16:45
arno11substituted string16:46
arno11sorry 'Sequences commands'16:46
arno11exec ARG16:47
Wizzuparno11: great, that's super16:48
arno11yes :)16:49
sicelommm, how to build sphone properly?20:41
siceloregular `dpkg-buildpackage -b uc` shows a lot of dpkg-shlibdeps: warning: debian/sphone/usr/lib/sphone/modules/libui-history-calls-gtk.so contains an unresolvable reference to symbol gui_register: it's probably a plugin20:42
sicelodpkg-shlibdeps: warning: 8 other similar warnings have been skipped (use -v to see them all)20:42
siceloand the resulting binary segfaults20:42
Wizzupis that the binary after you installed it?20:50
sicelothe dpkg-shlibdeps warnings are during build20:50
Wizzupthe segfault20:50
Wizzupit has some funnyness when it comes to reading the config which contains the plugins20:50
siceloyes, after installing and running it20:50
Wizzupwhich branch/tag?20:51
sicelomaster20:52
siceloi want to make sphone not force portrait for calls. problem now is that even before making any changes, the build is misbehaving :p20:58
Wizzuphmm20:58
sicelounfortunately i can't find jenkins build log for some reason. wanted to compare its output with mine21:02
siceloonly has https://phoenix.maemo.org/job/sphone-binaries/59/consoleText ...21:03
arno11sicelo: i still have the sphone modified package and modified source code if you want to save time23:03
arno11Wizzup: sicelo: the pcm volume issue is fixed23:04
Wizzupgreat23:05
arno11now pcm volume is 100 and volume applet is working well (linked to master volume23:05
Wizzupwant to PR against leste-config for a new version? or just email me a new version23:05
Wizzuparno11: cool, so the buttons work too?23:05
arno11not sure let me try23:06
arno11nope still not working23:06
Wizzuphm, hang on23:07
Wizzupok23:08
Wizzupuvos changed it from XK_F7 to XF86XK_AudioLowerVolume23:08
Wizzupso F7 and F8 no longer works23:08
Wizzupit's a sensible change but the n900 unfortunately has those buttons as F7 and F823:08
arno11oh ok23:09
Wizzupwe could catch both those XF86XK_Audio*Volume and F7/F823:09
Wizzupor somehow change n900 dts (which won't be upstream)23:09
Wizzupit was changed in ce5673e8f306cd209876fb6862edc8793515eb69 of https://github.com/maemo-leste/maemo-statusmenu-volume/23:10
Wizzupso probably it just works :)23:10
Wizzup(when we fix the keys)23:10
arno11ok :)23:10
siceloarno11: what changes did you make in sphone?23:29
WizzupI think all you have to do is find the hildon properly that force portait and make it force landscape23:30
Wizzupor just the default23:30
siceloyes, https://paste.debian.net/1282684/23:30
sicelothis is the change i wanted to test, but no idea why the build doesn't work23:31
siceloif you change the N900 dts, i'm sure it'd be upstreamable23:33
arno11sicelo: i did what Wizzup said23:33
sicelook. which i suppose is what i did in that paste?23:35
sicelohow did you build yours? or, what am i doing wrong with the building :-/23:35
arno11let me check23:35
arno11i don't remember any weid error23:36
siceloor maybe issue is in vm? (i was building there ... will build on n900 tomorrow and see what happens)23:37
Wizzupsicelo: afaik upstream does not accept these kind of dts changes23:39
arno11ah ok23:39
WizzupI am not sure, but jfyi23:40
arno11it works directly in n90023:40
arno11using dpkg-buildpackage -b -uc -us23:40
sicelothey can accept them, if explanation is clear :-)23:47
Wizzupsicelo: got a source? :)23:48
sicelo"these kind" means?23:49
sicelootherwise i've made some dts changes for N900 that were accepted without any friction23:49
WizzupI suggested once to tmlind to change a key on the d4 keyboard and he said that it's kind of fixed23:50
siceloi remember that23:50
Wizzupmaybe it doesn't apply to the volume buttons on the n90023:50
arno11Wizzup: i sent you an email with pcm volume fix (just need to replace RX-51.conf by the new one)23:56
sicelofwiw, at least in my vm, placing a call (via commtest backend) also breaks display ... quite same as on n90023:56
siceloof course that's just a test endpoint, but still ... having option to keep the window landscape if necessary makes a lot of sense23:57
siceloarno11: may i get it too?23:58
arno11sure23:59

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