libera/#maemo-leste/ Tuesday, 2022-12-20

Wizzupmaybe some alsa pkgs are necessary for the audio to work then00:10
Wizzup(d4)00:10
tmlindWizzup, uvos: could not find sre's dtb gpio signalmap parser pythong script, so created a bloated rust tool for it while suffering a cold: https://github.com/tmlind/dtb-signalmap08:18
tmlindthe output is sorted by gpios so its more diffable between various dtb files08:18
tmlindonly tried between xt875 to mz619, not sure if others use it too08:19
tmlindbbl later tonight08:26
Wizzuptmlind: hey cool10:37
Guest21hello?10:44
Wizzuphi10:45
Guest21ha.  a person.  i recognize your name, too, from maemo.org10:46
Guest21i'll have to configure this Libera Chat.  i've not been here before10:47
Wizzupwelcome10:48
Guest21i'm _radv_ when on the pinephone bulletin board10:49
Wizzupwelcome10:49
Guest21thanks10:49
Wizzupuvos: so alsa-lib has 1.2.3 when we pkg'd it, bullseye/chimaera has 1.2.4, so we should be ok there10:51
Wizzupuvos: but also-utils is only 1.2.2 in bullseye/chimaera, whereas we have 1.2.4 iiuc10:52
Wizzupuvos: I bet this is why ucm is not loaded10:52
vectis_How do I setup my D4 to make/receive phone calls? I can't seem to find any info on the wiki.10:53
Wizzupvectis_: add the -devel repos and then just upgrade and reboot, if you want to wait for another week, the next chimaera release will have it all built in10:54
Guest21there's a new pinephone distribution, i see.10:56
Wizzupwe're not exactly new for the pinephone, but yes, we also try to support it :)10:56
Guest21i'll try it out some day soon.  i'd snarled the process when i tried to boot the 1113 release...something happened to my sd card nothing would write to it10:58
Wizzupbtw, you can change your name to something other than 'guest21' by using /nick _rady_ or something10:58
Wizzup1113 release of what?10:58
Guest21leste10:58
Wizzupah, right10:59
Wizzupsorry, still waking up ;)10:59
Guest21i'm not staying long today.10:59
Guest21np10:59
vectis_Wizzup: Already have Leste on (beowulf) -devel. When I try to dial via sphone I get: unable to transmit or dial number via ofono.11:03
Wizzupvectis_: are you fully upgraded?11:04
vectis_I believe so (apt-get dist-upgrade)11:04
Wizzupare hildon-connectivity-mobile and hildon-connectivity-rtcom installed?11:07
Wizzupuvos: I think this might be the problem:11:09
WizzupI: [pulseaudio] alsa-ucm.c: UCM file does not specify 'CaptureChannels' for device Earpiece, assuming stereo.11:09
Wizzupnot sure, but it is trying to open a file in /dev/snd that does not exist11:09
WizzupD: [pulseaudio] alsa-util.c: Trying hw:Audio,0 with SND_PCM_NO_AUTO_FORMAT ...11:10
WizzupI: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0c' failed (-2)11:10
WizzupI: [pulseaudio] alsa-util.c: Error opening PCM device hw:Audio,0: No such file or directory11:10
Wizzupuvos: or is this somehow the quoting problem?11:10
uvos__sounds like a problem with pa not alsa11:20
uvos__in beowulf the alsa  libs dident support ucm211:21
uvos__thats why i added the then newes git version11:21
uvos__but it doubt thats the problem in chimaera11:21
uvos__(besides the alsa-utils problem with # that only affects volume restore11:22
uvos__)11:22
uvos__anyhow if you dont use pulse dose alsa/ucm work ok?11:22
WizzupI guess I have ot uninstall pulse for that?11:26
Wizzupnvm11:26
WizzupI mean I can see the card in alsamixer11:27
WizzupI have no idea how to use alsaucm, it's documentation it not great :)11:28
uvos__Wizzup: besides alsaucm, what about aplay -d hw0 or whatever the syntax was11:29
uvos__dose that work?11:29
Wizzupwith ucm I could configure it for hifi, but I'll try to figure out the channels myself11:29
Wizzupsec11:30
uvos__with alsaucm?11:30
uvos__its something with pulse then11:30
Wizzupwhat I mean is11:30
WizzupI have to go into alsamixers and configure all the settings manually11:31
Wizzupsince I can't use ucm (or don't know how to use alsaucm tool) to set it11:31
uvos__ok11:31
Wizzupjust five me a second, I will test aplay momentarily11:31
Wizzupthere are many alsa devices so I also have to figure out which one to use11:31
uvos__should just be something like  alsaucm -c hw0 list verbs11:32
Wizzup# alsaucm -c Mapphone_Audio list verbs11:33
Wizzupalsaucm: error failed to get list verbs: No such file or directory11:33
Wizzupaplay does something, but I have no idea whether it works, I don't hear it, did put speaker on hifi though11:34
uvos__its alsaucm -c hw:0 list _verbs11:34
Wizzup# alsaucm -c hw:0 list _verbs11:34
Wizzup  0: HiFi11:34
Wizzup    Play HiFi quality music11:34
Wizzup  1: Voice Call11:34
Wizzup    Make a phone call11:34
uvos__ok11:34
uvos__so alsa is loading ucm just fine11:34
uvos__alsaucm -c hw:0 list _modifiers/HiFi?11:36
Wizzup# alsaucm -c hw:0 list _modifiers/HiFi list is empty11:36
Wizzupnewline disappeared, but it says 'list is empty'11:36
uvos__hmm11:37
uvos__wierd11:37
uvos__what about trieng to set one?11:37
uvos__alsaucm -c hw:0 set _verb HiFi11:37
Wizzupthe _ was supposed to be there?11:37
uvos__yes11:37
Wizzupafter running the set, the list command still says its empty11:37
uvos__ok hmm11:38
Wizzuphttps://wizzup.org/pa-log.txt here's the pa log btw11:38
uvos__somethigs probubly wrong with the lsit command11:38
uvos__it accepts odifiers/HiFi too as a empty list11:38
uvos__anyhow i strongly suspect pulse is to blame here11:39
uvos__what verison where we using in beowulf?11:39
Wizzupthe log ends up failing by opening the wrong device in /dev/snd it seems like11:39
Wizzupand it complains very loudly about not finding PlaybackChannels and CaptureChannels in the ucm11:39
Wizzupwhich could lead it to making the wrong path perhaps?11:39
uvos__idk maybe11:39
uvos__check pp ucm file11:40
uvos__or this is ucm1 sutff11:40
Wizzupcan you check on your d4 what pa we have?11:40
uvos__i dont have it here11:40
Wizzupok, sec11:40
Wizzupwelp my bionic said 'recharge battery' and it decided to shutdown11:41
Wizzupin any case beowulf is 12.2-4+deb10u111:41
Wizzupbullseye is 14.2-211:41
WizzupI think we can ignore the warning about some channels not being specified11:43
* Wizzup gives up for now11:48
Wizzuphttps://source.puri.sm/Librem5/librem5-base/-/issues/48 maybe this is related11:55
buZzi was trying picodrive https://github.com/notaz/picodrive  , runs fast but wasnt fullscreen , http://space.nurdspace.nl/~buzz/maemo/git-picodrive-gles.patch add gles for 'generic' platform , https://i.imgur.com/U7x7hEe.jpg23:30
buZzwas playing a game for a while until i realized i was still running it through strace23:31
WizzupbuZz: heh strace won't speed it up ;)23:50
buZzit can run ~600fps seemingly, if you hold down backspace its '15x fastforward'23:52
buZzso it wasnt very noticable :D23:53
buZzstill needs something for fullscreen, some other bound keys and packaging :)23:56
Wizzupdid you check the picodrive patches from maemo.org pkg?23:58
Wizzuphttp://maemo.org/packages/view/picodrive/23:58
Wizzupseems to support fullscreen23:58

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