Daanct12 has joined #maemo-leste
Daanct12 has quit [Read error: Connection reset by peer]
Daanct12 has joined #maemo-leste
belcher has quit [Ping timeout: 268 seconds]
Daanct12 has quit [Remote host closed the connection]
belcher has joined #maemo-leste
Daanct12 has joined #maemo-leste
jrayhawk_ is now known as jrayhawk
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #maemo-leste
Pali has quit [Ping timeout: 240 seconds]
cockroac1 has quit [Quit: leaving]
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #maemo-leste
<stan> with non-stock battery, one unit reports current, the other gives me c=NA
Daanct12 has quit [Remote host closed the connection]
<stan> still gives me power consumed though
Daanct12 has joined #maemo-leste
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #maemo-leste
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #maemo-leste
Daanct12 has quit [Client Quit]
Daanct12 has joined #maemo-leste
Daanct12 has quit [Remote host closed the connection]
joerg has quit [Killed (mercury.libera.chat (Nickname regained by services))]
joerg has joined #maemo-leste
mardy has joined #maemo-leste
<Wizzup> uvos: ping, I did the thing with the UCM as you suggested
<Wizzup> but it just returns less being visible in pa
<Wizzup> I think the playbackpcm stuff doesn't match or so
<Wizzup> fixed it
<Wizzup> (the names had to match specifically HDA-Intel, both dirname and the main config
<Wizzup> I had to strace to figure it out)
<Wizzup> looks like current PA already has code to cork and paste roles from .desktop files
<Wizzup> freemangordon: I guess that properties like these are also assigned/changed dynamically:
<Wizzup> x-maemo.alsa_sink.mixer_tuning = "HP DAC=0:-6000,38:-4000,42:-3800,46:-3600,50:-3400,54:-3200,58:-3000,62:-2800,66:-2600,70:-2400,74:-2200,78:-2000,86:-1600,90:-1400,94:-1200,98:-1000,102:-800,106:-600,110:-400,114:-200,118:0"
<stan> experimenting with PA daemon.conf -- using the 'trivial' resampler didn't reduce cpu use.
uvos has joined #maemo-leste
<uvos> Wizzup: oh jeah the profile needs to be for the card you have ofc. this is checked by the alsa name
<uvos> looks like cork + stream restore + ucm gets us pretty far
<Wizzup> not that far I thrink
<Wizzup> I need a break, was woken up too early
<uvos> ok
<Wizzup> but yeah, I have a semi working ucm
<Wizzup> (it only lists "Make a phone call" and "Off", not the hifi equiv)
<uvos> hmm
<Wizzup> do you have a leste vm? and do you use qemu?
<uvos> yeah
<Wizzup> ij
<Wizzup> ok*
<Wizzup> so I can share some configs eventually
<uvos> there probubly is no CapturePCM "hw:${CardId},1"
<uvos> arecord -l?
<Wizzup> right yeah, I didn't add a capture device
<Wizzup> oh, that's why HiFI doesn't work? likelyu
<uvos> yeah the profile just fails if the card isent available
<uvos> you need to remove all the capture stuff
<Wizzup> or figure out how to add capture to qemu
<uvos> sure
<Wizzup> probably too much work
<Wizzup> brb
elastic_dog has quit [Ping timeout: 240 seconds]
<freemangordon> Wizzup: not really "changed", rather "provided to volume control based on the current sink"
<freemangordon> IIUC
elastic_dog has joined #maemo-leste
stan has quit [Ping timeout: 252 seconds]
Pali has joined #maemo-leste
mardy_2nd has joined #maemo-leste
mardy_2nd has quit [Quit: WeeChat 2.8]
<Wizzup> freemangordon: hm ok
joerg has quit [Read error: Connection reset by peer]
joerg has joined #maemo-leste
<Wizzup> uvos: just to confirm, yes, removing the capture stuff from the UCM worked
<uvos> great
<Wizzup> I'm going to try to get a sink list similar to fremantle
<Wizzup> e.g. load the null sink, but also this kind of stuff:
<Wizzup> load-module module-policy-enforcement null_sink_name=sink.null
<Wizzup> .ifexists module-policy-enforcement.so
<Wizzup> .endif
<Wizzup> my fremantle has 7 sinks, at least last I ran pactl info
xmn has quit [Quit: ZZZzzz…]
uvos has quit [Ping timeout: 240 seconds]
<Wizzup> I wonder if we can get jusa (from sfos/nemo/mer) to discuss it some with us
<Wizzup> :-)
<Wizzup> maybe I should just take this as-is for now
<Wizzup> get it to work, and then look at ucm and how to change the policy enforcement for it
<freemangordon> yes
<Wizzup> I fear some of this may need work, since it's PA 4 and nemo is now at PA 12 and they didn't update it
<Wizzup> we'll see..
xmn has joined #maemo-leste
<Wizzup> freemangordon: parazyd: any clue what provides pulsecore?
<Wizzup> It looks like debian doesn't have a package for it
<Wizzup> libpulsecore is part of pulseaudio pkg
<Wizzup> but there is no pulsecore.pc or something
<Wizzup> probably debian didn't package it or something
<Wizzup> ...
<Wizzup> yes every pulse module they list in debian is part of the pulseaudio source package :(
<parazyd> Wizzup: There's libpulse-dev which should provide libpulse.pc
<parazyd> Then all the libs will be available
<parazyd> Just append -lpulsecore
<Wizzup> that is not pulsecore though
<Wizzup> what about the include files?
<Wizzup> there's a lot of pulsecore include files
<Wizzup> maybe it's a fedora (or w/e sfos uses) vs debian thing
<Wizzup> ok, looks like the nemo stuff wants pulseaudio 14
<Wizzup> bullseye has 14 - wonder if we can get it
<Wizzup> I could also try to use older nemo code..
<Wizzup> actually, hang on, I think I mostly got an older tag to compile
<Wizzup> yeah, tag 12.2.30 (latest 12.2) tag compiled finally
uvos has joined #maemo-leste
enyc has quit [Ping timeout: 256 seconds]
<Wizzup> sudo dpkg -i ../pulseaudio-modules-nemo_12.2.30_amd64.deb ../libmeego-common-dev_12.2.30_amd64.deb
<Wizzup> :)
<bencoh> libmeego? uh
<Wizzup> yeah, it's what the pa common stuff is called
<lel> MerlijnWajer created a repository: https://github.com/maemo-leste/pulseaudio-modules-nemo
sunshavi has quit [Ping timeout: 268 seconds]
kdsch has joined #maemo-leste
Blikje has joined #maemo-leste
<bencoh> hmm ... do you guys use ${shlibs:Depends} when packaging? the recursive deps thing seems pretty silly to me :(
<parazyd> Yeah you should always use that
<parazyd> Also ${misc:Depends}
<bencoh> seriously? :(
<parazyd> What's the problem?
<bencoh> I am not sure whether it really links against all those libs at compile time, or if it just resolves recursively
<bencoh> if the former, then everything is fine
<parazyd> It generates package dependencies
<parazyd> Meaning, the deps will be equivalent to what your binary is linked to
<bencoh> if the latter, then it means that changing a direct dependency would force us to rebuild the end-of-the-chain (consumer) package just to update its dependencies
<Wizzup> I think debian should do the right thing here
<bencoh> Wizzup: which is?
<Wizzup> I don't think it recurses everything
<Wizzup> you can also see what it resolves too by opening the .deb file I think
<bencoh> alright
<parazyd> Yeah they'll be listed in the .deb, in the control file
<bencoh> according to readelf, the .so really includes all those deps
sunshavi has joined #maemo-leste
<bencoh> so ... alright then
<uvos> oh btw can you suppess the unresolved symbol warings that this creates?
<uvos> mce generates a huge amount of those
<uvos> because of all the pluginns
<bencoh> I do get this at build time: http://pastebin.notk.org/pastebin.php?show=m561eaa44
<bencoh> apparently I'm not the only one thinking that something is silly with that link
<uvos> Wizzup: freemangordon: would have some time to talk about the mce pr rn
<uvos> if you like
<parazyd> bencoh: -Wl,--as-needed in ldflags
<bencoh> parazyd: I have the feeling --as-needed is one of the last things I'd like to enforce by myself when building packages
<bencoh> considering how it changes linker behavior
<bencoh> (and dependency order requirements)
<Wizzup> uvos: I don't have time right now, meetings, can we pick another day this week maybe, or later tonight for me
<uvos> Wizzup: ok
<uvos> so it gernerates a huge amount of dpkg-shlibdeps: warning: debian/mce/usr/lib/mce/modules/libinactivity-inhibit.so contains an unresolvable reference to symbol dbus_send_message: it's probably a plugin
<uvos> would be nice if you could specify that "yes this i a plugin" for eatch module somehow
<Wizzup> /usr/local/etc/dpkg/shlibs.override
<Wizzup> Per-system overriding shared library dependency
<Wizzup> information.
<Wizzup> ?
<Wizzup> not sure what you can override
<Wizzup> uvos: the man page says
<Wizzup> If the binary is really a plugin, then disregard this warning. But there's always the possibility that it's a real library and that programs linking to it are using an RPATH so that the dynamic loader finds it. In that case, the library is broken and needs to be fixed.
<Wizzup> you could set --warnings to anything but binary
<Wizzup> although, maybe that's not the name for the warning,weird
<Wizzup> hm. looks like it cannot silence those
<parazyd> I wouldn't worry about it
<uvos> its not a problem
<uvos> ist just ulgy that the build throws literaly 100s of warnings
<Wizzup> yup
<lel> MerlijnWajer edited a repository: https://github.com/maemo-leste/pulseaudio-modules-nemo
<Wizzup> not sure how I edited it, but ok
<parazyd> branch changed from master to leste :p
<bencoh> autotools' distcheck doesn't play nice with plugindir :(
<Wizzup> parazyd: oh, I see
kdschu has joined #maemo-leste
kdsch has quit [Ping timeout: 246 seconds]
elastic_dog has quit [Ping timeout: 252 seconds]
elastic_dog has joined #maemo-leste
kdschu has quit [Quit: WeeChat 2.8]
akossh has joined #maemo-leste
<lel> MerlijnWajer created a repository: https://github.com/maemo-leste/pulseaudio-policy-enforcement
<tmlind> uvos: sounds like there are both secure (hs) and general purpose (ns) versions of the hardware available for some tablets
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #maemo-leste
<uvos> tmlind: interesting
<uvos> those files are in mz615 files
<uvos> aka euro xyboard 10 inch
<uvos> so there are effectivly unlocked devices out there
<uvos> hmm
<tmlind> yeah so it seems
<tmlind> uvos: so you suspect the allow-mbmloader-flashing-mbm.bin is actually packed into motoboot.bin?
<uvos> well can you flash mbmloader.bin on your device with stock mbm?
<uvos> if no it must be somewhere
<uvos> because the updates contain updates to mbmloader
<uvos> its in the sbf files for xoom 2 for sure
<uvos> there are forum potst about this
<uvos> some guy extraced the sbf and posted it
<uvos> but the upload long gone
<tmlind> uvos: hmm so what is sbf?
<uvos> and i cant find a copy of that extract or the sbf
<uvos> tmlind: sbf is a packed image format moto used with the windows flashing tool
<tmlind> uvos: ok, never used that
<uvos> it was for internal use only afaik, sbf files got leaked for some devices only
<tmlind> ok
<tmlind> so doing strings on motoboot.bin shows mbm and mbmloader
<uvos> if you load it in a hex editor
<uvos> you will find lots of partion names
<uvos> so yeah
<uvos> idk
<uvos> what it is
<tmlind> i guess i'll try to extract it at some point and see what happens
<uvos> well can you flash mbmloader.bin on your device with stock mbm? <-- so what about this
<uvos> just reflashing the same mbmloader.bin should be safe to try
<tmlind> uvos: yeah ok i'll try next time i play with it
<uvos> ok
<uvos> if that works the probubly just changed from having a permissive mbm for updates and a normal mbm to just one slightly more permisive mbm
<uvos> for updates
<uvos> with the sbf containg the other build
<uvos> that would be bad for us
<tmlind> yeah that would suck
<uvos> Wizzup: btw the tegra 2 soc used on the xoom dose have pcie
<uvos> Wizzup: so maybe the wirgly 4g lcm 2.0 lte card IS pcie
<uvos> tmlind: happen to have one of those? ^^^
<tmlind> uvos: no, don't have one, and it's not pcie, just pcie connector
<uvos> ok
<Wizzup> yeah, I think it does usb
<uvos> yeah that was the most likely thing. tmlind have any info on it?
<tmlind> yeah somebody tried plugging one to a laptop, it prevents it from booting, did not fry anything
<uvos> heh thats brave
<Wizzup> hm, do you know how it prevented it (assuming it's not some laptop blacklist)
<Wizzup> the modem I have/had in my x230 was also mini-pcie but just did usb afaict
<uvos> Wizzup: squinting at this
<tmlind> no idea, but it's not a pcie card so anything can happen
<uvos> reviels its not pcie
<uvos> as the blank has no chips
<uvos> but still is connected to the antenna somehow
<uvos> so the wifi chip must be driving the ant though the connector or something
<uvos> hmm
<tmlind> heh that's a dummy card, the real one was not ready in time or something
<uvos> yeah i know
<uvos> or maybe they just dident want the lte antenna leeds to be loose
<Wizzup> btw, pulseaudio-modules-nemo, pulseaudio-policy-enforcement, both built fine
<Wizzup> pulseaudio-module-cmtspeech-n9xx required porting to newer PA api but it was trivial and also builds
* tmlind unplugs from computer
<Wizzup> ttyl
<sicelo> nice to hear (about porting pa) -- so with some luck, it should be possible to get Nemo-grade voice calls on N900 too
<Wizzup> or perhaps better :)
<parazyd> ^_^
<Wizzup> ok, now we need pulseaudio forked to get a pulsecore pkg
<parazyd> Wizzup: Could it work by just providing headers and a .pc file in that repo?
<uvos> thats slightly ugly
<uvos> we could have a seperate package with just those
<uvos> that would be more stomacheable
<Wizzup> parazyd: yes, but it's a hack
<Wizzup> of course, us forking pulse is also a hack
<uvos> Wizzup: did you petition debian/devuan to stop being silly with with the headers?
<Wizzup> no, not yet
<Wizzup> it's only been like 6 hours :p
<uvos> im just asking :P
<Wizzup> it looks like debian, maybe even upstream, doesn't ship pulsecore.pc
<Wizzup> so maybe it comes from sfos people
<uvos> oh ok
<uvos> then its different story
<Wizzup> but there is also no way to get the headers + libs on debian
<uvos> let me search arch
<uvos> what do you need exacly?
<Wizzup> let me pm
<uvos> pulsecore.pc and what header
<Wizzup> + made my own pulsecore.pc
<Wizzup> (so the cp of libpulse.pc is not enough, of course, I modified it)
<uvos> ok
<uvos> can you list one header in /usr/include/pulsecore/ (just any) id like to check where these come from
<uvos> see if its in the repo
<Wizzup> /usr/include/pulsecore/mutex.h
<Wizzup> https://gitlab.freedesktop.org/pulseaudio/pulseaudio master doesn't have pulsecore.pc either
<Wizzup> maybe I should ask jusa
<uvos> ok arch dosent have that file either
<uvos> so yeah
<uvos> its froms somwhere else
<uvos> *from
<Wizzup> what file specifically?
<uvos> any thing that contains "pulsecore/mutex.h"
<uvos> any package that is
<Wizzup> meson lists them as libpulsecommon_headers
<Wizzup> sid doesn't package them still: https://packages.debian.org/sid/amd64/libpulse-dev/filelist
<uvos> since this is something that is across distros
<uvos> i suspect the pulse build system just dosent install these files
<bencoh> Wizzup: I guess I should push wifi-switcher to a github repo, or is a private (non-github) repo fine?
<uvos> Wizzup: hmm ok
<uvos> strange then
<Wizzup> see msg
<Wizzup> bencoh: you can request one at maemo-leste-extras maybe
<uvos> ah ok
<bencoh> Wizzup: hmm, alright
<uvos> Wizzup: no point petitioning debian then
<bencoh> oh and ... looks like dpkg-buildpackage includes .git in the source package ...
<Wizzup> uvos: yeah, lame though
<bencoh> I'd have thought it wouldn't, in 2021 :/
<Wizzup> bencoh: that's weird, it doesn't for me
<Wizzup> I think?
<bencoh> do you use dpkg-buildpackage or git-buildpackage?
<bencoh> oh and, maybe I missed something that should go in debian/whatever
cockroach has joined #maemo-leste
<Wizzup> I use dpkg-buildpackage
<bencoh> uh ...
<Wizzup> uvos: parazyd: I suppose I could make a package that uses the pulse source, and just installs the headers and the pc file (from sfos), if we don't want to re-build/pkg pulse
<Wizzup> annoying how we have to keep track of more and more :-D
<bencoh> :]
<parazyd> If you wanna go a bit weird
<parazyd> You can apt-get source from the build
<parazyd> So you pull in the actual corresponding source code from Devuan
<parazyd> just lmk if you decide to do this, as I need to whitelist it for network in Jenkins
<Wizzup> probably better not
<bencoh> Wizzup: do you use -i and/or -I ?
<Wizzup> bencoh: dpkg-buildpackage -b -uc
<Wizzup> that's what I use
<bencoh> hmm
<Wizzup> so I guess I don't usually generate src pkgs
<bencoh> ah, right
<Wizzup> but our CI should not create a source pkg with git in it
<bencoh> alright
<bencoh> then everything's fine
<bencoh> (maybe)
<bencoh> anyway, time to push that to some server and call it a day (somehow)
<bencoh> or not ... I just realized we have a workflow guidelines ... time to read that
<Wizzup> it should be real simple :)
<Wizzup> (and if not, let us know)
mardy has quit [Ping timeout: 246 seconds]
mardy has joined #maemo-leste
stand has joined #maemo-leste
akossh has quit [Quit: Leaving.]
freemangordon has quit [Ping timeout: 272 seconds]
freemangordon has joined #maemo-leste
uvos has quit [Ping timeout: 252 seconds]
stand has quit [Quit: Lost terminal]
Pali has quit [Ping timeout: 240 seconds]