reallll has joined #maemo-leste
belcher_ has quit [Ping timeout: 265 seconds]
Pali has quit [Remote host closed the connection]
rafael2k has quit [Ping timeout: 252 seconds]
joerg is now known as Guest8431
Guest8431 has quit [Killed (cadmium.libera.chat (Nickname regained by services))]
joerg has joined #maemo-leste
xmn has joined #maemo-leste
meldrian has quit [*.net *.split]
brabo has quit [*.net *.split]
mrtux has quit [*.net *.split]
jrayhawk has quit [*.net *.split]
branon has quit [*.net *.split]
branon_ has joined #maemo-leste
jrayhawk_ has joined #maemo-leste
brabo has joined #maemo-leste
adc has quit [*.net *.split]
Kabouik has quit [*.net *.split]
Kabouik has joined #maemo-leste
lightbringer has quit [*.net *.split]
blasty_ has quit [*.net *.split]
parazyd has quit [*.net *.split]
tmlind has quit [*.net *.split]
lightbri1ger has joined #maemo-leste
blasty has joined #maemo-leste
mp107 has quit [*.net *.split]
DPA has quit [*.net *.split]
thejsa has quit [*.net *.split]
DPA has joined #maemo-leste
mardy has joined #maemo-leste
meldrian has joined #maemo-leste
meldrian has quit [Changing host]
meldrian has joined #maemo-leste
adc has joined #maemo-leste
tmlind has joined #maemo-leste
parazyd has joined #maemo-leste
Oksana has quit [Ping timeout: 265 seconds]
uvos has joined #maemo-leste
Oksana has joined #maemo-leste
Oksana has quit [Ping timeout: 246 seconds]
Oksana has joined #maemo-leste
<uvos> Wizzup: it seams autoconnect also now work fine
<Wizzup> uvos: great
<uvos> yes :)
<uvos> makes for quite the usability improvment
reallll is now known as belcher
<lel> IMbackK synchronize a pull request: https://github.com/maemo-leste/mce/pull/50 (Move to new build system: cmake)
<lel> IMbackK synchronize a pull request: https://github.com/maemo-leste/mce/pull/50 (Move to new build system: cmake)
<Wizzup> uvos: well let's test wifi a bit more and then we can promote it
<Wizzup> I'm getting my second shot today so I might get sick for a bit, so not planning on doing much, but we'll see
pere has quit [Ping timeout: 265 seconds]
Blikje has quit [Ping timeout: 268 seconds]
pere has joined #maemo-leste
uvos has quit [Ping timeout: 252 seconds]
mardy_2nd has joined #maemo-leste
inky_ has quit [Ping timeout: 256 seconds]
mardy_2nd has quit [Quit: WeeChat 2.8]
inky_ has joined #maemo-leste
<Wizzup> uvos: I was thinking of testing audio stuff in VM first, seems sane, no?
<Wizzup> ofc not call audio, but the general policy stuff
uvos has joined #maemo-leste
<Wizzup> uvos: ^
<uvos> well we would need a ucm profile that emulates the phone ones with the profile names
<uvos> you could have a profile that has hifi and voice and all the output configs for those
<uvos> with the ones that dont make sense on vm just noop
<uvos> then you can do the pulseaudio stuff on top of that and have it work the same on device
<Wizzup> I think the audio profiles do not relate to ucm per se
<Wizzup> for example nemo doesn't seem to use UCM
<Wizzup> so all of that stuff I should be able to build and test without UCM
<uvos> well the maemo stuff driectly controlls mixers afaik
<uvos> we dont want to do that
<Wizzup> sure, that part will have to change, but there are other things to do, e.g. volume applet
<uvos> we want it to set the profiles, because thats what we have to abstract away hw differences
<Wizzup> phone calls are just a part of it
<Wizzup> yeah
<uvos> sure if you are not touching that part then you can test the setup wherever, gentoo maybe? :P
<Wizzup> I'm saying it's not a big part of the actual work involved in doing it
<Wizzup> but yeah, ucm for vm makes sense.
<uvos> right
<uvos> (both statements)
<uvos> ucm for vm should be trivial
<uvos> and remove all cset commands
<uvos> then you have a dummy setup that you can check with pactl to see if you stuff on top set the right thing
<Wizzup> ok
mardy_2nd has joined #maemo-leste
<freemangordon> I really hope UCM is smart enough to be able to handle all the use cases
<freemangordon> so far it has a deficiency that you cannot attach user data to profile (or whatever it was called)
<freemangordon> maybe we shall patch that
<freemangordon> uvos: do you know if ^^ is possible already
Pali has joined #maemo-leste
<freemangordon> use case is volume applet, you have more steps on volume slider when using speakers as an output compared to when you use FMTX, for example
<uvos> ucm is not smart, and thats not its job
<uvos> its job it so that there is one mixer controll from alsa for pulse to worry about for eatch fucntion, not $(20-RANDOM-CONTROLS) that variy by device
<Wizzup> freemangordon: afaik UCM can help us switch the mixer values for us, but the policy we still have to do
<Wizzup> i.e. when do we decide to switch UCM profile, and to what do we switch it
<Wizzup> it's just easier to use than fiddling with alsamixer values
<Wizzup> freemangordon: I think for volume applet this can be done with pulse
<Wizzup> unless I'm confused?
lightbri1ger has quit [Changing host]
lightbri1ger has joined #maemo-leste
lightbri1ger is now known as lightbringer
Kabouik has joined #maemo-leste
Kabouik has quit [Changing host]
Twig has joined #maemo-leste
uvos has quit [Ping timeout: 240 seconds]
Twiggy has joined #maemo-leste
Twig has quit [Read error: Connection reset by peer]
mardy_2nd has quit [Quit: WeeChat 2.8]
Twiggy has quit [Read error: Connection reset by peer]
Twiggy has joined #maemo-leste
branon_ has quit [Quit: ZNC 1.8.1 - https://znc.in]
branon has joined #maemo-leste
amk has joined #maemo-leste
Twiggy has quit [Read error: Connection reset by peer]
Twiggy has joined #maemo-leste
Twiggy has quit [Read error: Connection reset by peer]
Twiggy has joined #maemo-leste
Twiggy has quit [Remote host closed the connection]
pere has quit [Ping timeout: 240 seconds]
<lel> parazyd created a repository: https://github.com/maemo-leste/applet-tor
inky_ has quit [Ping timeout: 240 seconds]
inky_ has joined #maemo-leste
pere has joined #maemo-leste
inky_ has quit [Remote host closed the connection]
<freemangordon> actually on fremantle the 'switching' is done by alsa-policy-enforcement, IIRC
<Wizzup> freemangordon: yes
<freemangordon> the point is that in PA 'profiles' one can attach some arbitrary user values (key-value pairs), that can be retrieved by PA functions
<freemangordon> in fremantle that is
<Wizzup> I am not sure I understand the point
<freemangordon> so, we have a "Master volume" in PA, and we have a list attached to it with 10 (for example) volume levels that define 10 steps in volume slider
<freemangordon> ok, so we need this module it seems
<Wizzup> ok, but I am not sure if we are clear on things
<Wizzup> alsa = (low level) kernel audio interface with lots of switches
<Wizzup> ucm = way to interpret alsa switches
<Wizzup> pulseaudio can also use ucm
<freemangordon> ok
<Wizzup> and we just need to instrument pulseaudio in various ways, first of all to have separate 'groups' of applications (iiuc), music playing ones and phone calls, and also attach tags
<Wizzup> that is entirely separate from corking streams, and actually having certain switches change at the right moment
<Wizzup> assuming we have a proper UCM and pulseaudio understands "Call Mode" (as it does on the d4), we can utility pulseaudio-policy-enforcement to set the right PA modules depending on system state
<Wizzup> this is really as far as my understanding goes, I plan to understand more this week
<freemangordon> Wizzup: what I am discussing is on top of that
<Wizzup> ok
<freemangordon> look how volume applet initializes
<freemangordon> we have 2 predefined sinks
<freemangordon> 'normal' and 'in-call'
<bencoh> freemangordon: wasn't xpolicy directly related to pulseaudio?
<Wizzup> yes, this is what I mean with 17:54 < Wizzup> and we just need to instrument pulseaudio in various ways, first of all to have separate 'groups' of applications (iiuc), music playing ones and phone calls, and also attach tags
<freemangordon> ok, lets call those properties 'tags' if you wish
<Wizzup> It's quite some work to pull that apart and reproduce it proper, but that's what I intend to do this week
<Wizzup> to port the fremantle audio config (minus enforcement) so that volume applet can work
<Wizzup> that's basically what I plan to do
<Wizzup> and then hopefully alarms will also work
<freemangordon> great!
<freemangordon> LMK if you need help
<Wizzup> *nod*
<freemangordon> though I am on osso-abook
<bencoh> Wizzup: you might want to check /etc/pulse/xpolicy.conf on fremantle
<freemangordon> bencoh: and there is more to that, in /var/lib IIRC
<Wizzup> bencoh: I have a tar of all the files on my ssd I think
<bencoh> /var/lib/pulse{,-nokia} yeah
<freemangordon> so, if I get that right, each sink has 2 user-defined properties that are used by volume applet
<freemangordon> first is for volume steps when not in call, the second - when in call
<Wizzup> I believe so
<freemangordon> that's what we shall somehow recreate, at least in terms of volume applet
<bencoh> at least that's how it behaves from a user pov
<freemangordon> not only from user POV, see the code
<bencoh> ah :)
<freemangordon> I REed that, yeah :)
<bencoh> :)
<freemangordon> so, we ahve a properties, which are list of volumes in dB
<freemangordon> and when a sink becomes active (?) the applet uses those properties to tune it's slider number of steps and to set the output volume based on the current step
<freemangordon> taking in consideration if we are n call or not
<Wizzup> yes
<freemangordon> *in
<freemangordon> the particular values for n900 are in /var/lib/... IIRC
<bencoh> freemangordon: wait, don't tell me the status applet is actually the one changing the output volume once the call stats
<bencoh> starts*
<freemangordon> yes, it is
<freemangordon> IIUC
<bencoh> :'(
<Wizzup> bencoh: what should do it in your opinion?
<bencoh> I dunno, but definitely not some UI element
<freemangordon> why is that an issue?
<freemangordon> it is not really UI element
<bencoh> from a logical pov, it sounds kinda ... broken
<freemangordon> UI is just on top of its core functionality
<freemangordon> and its core functionality is to change the volume :p
<Wizzup> bencoh: I mean, something has to map keyboard key to pulse actio
<Wizzup> n
<Wizzup> and it's not pulse that does this
<bencoh> I don't expect status applet to take any active part in the actual system, only to allow me to interact with it
<bencoh> but ... meh
<Wizzup> mhm
<freemangordon> bencoh: and who is supposed to do the actual volume change?
<freemangordon> shall we teach PA on calls?
<bencoh> no idea, tbf
<freemangordon> my stance is - Nokia did it like that, unless we have some strong evidence it can be done better, lets not reinvent the wheel :)
<bencoh> I'd have expected telepathy / the telephony framework / the phone app to notify pulseaudio and switch output/volume, but ...
<freemangordon> oh I'd say this is even worse
<bencoh> freemangordon: yeah, I'm not really arguing about what we should do tbh
<freemangordon> application should not control things like volume IMO
<bencoh> but I think we had a similar discussion back at some point (when you RE-ed maybe? or it was another piece of software)
<freemangordon> could be
<freemangordon> don;t really remember
<bencoh> me neither, until now
<bencoh> anyway, I don't really have a better idea for now, so ...
<bencoh> :)
<freemangordon> :)
<bencoh> is pulseaudio in the same state than back in fremantle days? or does it have new abstractions we could benefit from?
<freemangordon> no f..ing idea
<freemangordon> PA is not something I am good in
<bencoh> freemangordon: that function is fine, because it basically acts upon user request
<freemangordon> but the result of it is based on whether we are in call or not
<freemangordon> no volume is changed otherwise (without user action)
<bencoh> (assuming I understand what it does)
<freemangordon> yes, but I don;pt understand why you have issues with it
<bencoh> basically receive a "on call" signal, update the slider accordingly, and change the volume
<freemangordon> oh, no
<bencoh> ?
<freemangordon> 'on call' signal just sets the call_active variable
lyubov has quit [Remote host closed the connection]
uvos has joined #maemo-leste
<bencoh> hmm
<freemangordon> so the next time user changes the volume, the appropriate list ov volumes is used
lyubov has joined #maemo-leste
<freemangordon> nothing happens without user interaction, IIUC
<bencoh> then who switches the volume to the proper value when I answer a call?
<freemangordon> 'stream restore' functionality IIUC
<freemangordon> that's PA thing
<bencoh> ah
<freemangordon> because you change the output sink
<bencoh> then it's fine
<bencoh> (design-wise)
<freemangordon> take everything I say about PA with a grainof salt though
<freemangordon> but I believe this is what happens
<bencoh> at least it makes sense
<bencoh> (and it's much nicer than what I understood at first :) )
<freemangordon> if I read that correctly, on 'stream restore' volume slider is modified to account for the new volume applied by PA
* bencoh nods
<freemangordon> BTW Nokia introduced "stream_restore_2" which was not upstreamed, but I was not able to understand what are the differences
<Wizzup> nemo has the same
<Wizzup> stream-restore-nemo
<bencoh> it's funny how they really patched the whole ecosystem to make that phone work :)
<bencoh> (and I have to admit it's a great piece of work in the end)
<freemangordon> :)
<uvos> the patches are partially very hacky tho
<freemangordon> Wizzup: maybe we will need that too
<uvos> not that i blame them
<bencoh> uvos: yeah, but still :)
<uvos> they where loosing the war with android and with the symbian /wimo devision
<uvos> so im sure they where under duress
<freemangordon> the war with android was not even started by then
<sicelo> actually maemo had nothing to do with android :)
<sicelo> it's symbian that was fighting
<uvos> well yes it did
<freemangordon> there was simply no android :)
<uvos> android was around
<uvos> so it was a competitor
<bencoh> it was more symbian/iOS back then; android was around, but still pretty infant
<freemangordon> mhm
<uvos> the d1 came out around the same time
<uvos> and was a huge sucess sales wise
<freemangordon> 2009?
<uvos> yes
<bencoh> "with the first commercial Android device, the HTC Dream, being launched in September 2008"
<sicelo> uvos: seriously. maemo fremantle had nothing to do with android. in fact, it was even struggling to make a case against symbian itself, let alone android. anyway
<freemangordon> because the code in question was *finished* 2009
<uvos> sure
<bencoh> yeah, android was an infant :)
<uvos> sure ok but "compettion"
<uvos> the iphone for sure
<freemangordon> not really
<uvos> come one
<freemangordon> it was internal competition in Nokia
<uvos> the fremantle ui apes the iphone
<freemangordon> with symbian
<bencoh> iphone 3/3gs was its direct "competitor" (of at all)
<bencoh> (if* at all)
<Wizzup> yeah nokia messed up internally a lot as well
<freemangordon> well, n900 was anno9unced as iphone killer :D
<freemangordon> *announced
<freemangordon> which it was really back then
<bencoh> honestly, it might have been, if not for ... pretty much everything, apart from the technical aspect
<uvos> freemangordon: practicaly maybe
<uvos> comertially? no
<freemangordon> despite that, I know lots of wealthy people who bought n900 back then
<uvos> sure
<freemangordon> but it was Nokia who screw it
<bencoh> same, and I still come across people that tell me they had one at some point
<freemangordon> mhm
<uvos> but no doubt of the big phones sold in 2009: the d1 the n900 and the iphone
<freemangordon> not technical guys
<uvos> the n900 did worst
<Wizzup> I had people tell me they had the phone way back when.... but they saw my d4 with leste and though it was n900 with fremantle ;)
<freemangordon> :D
<bencoh> haha
<uvos> he
<freemangordon> ok, I am back to osso-abook
<bencoh> :)
crab has joined #maemo-leste
crab has quit [Quit: WeeChat 2.3]
crab has joined #maemo-leste
crab has quit [Client Quit]
crab has joined #maemo-leste
<uvos> Wizzup: did you change anything with qt5
<uvos> or the calculator app?
<uvos> btw im very sure that fremantle takes inspiration from android 1.0 i mean look at os2008 and fremantle and a1.0
<uvos> but its not important
<uvos> anyhow calculator app: theming is broken again
<uvos> the text box is white now for some reason
<uvos> so no input can be seen
<Wizzup> uvos: I don't think I changed anything
<uvos> hmm
<uvos> i dident either local
<uvos> *localy
<uvos> the hildon preeview is even still right
<uvos> coult you check on your device?
<Wizzup> yeah same for me
<Wizzup> interesting
<uvos> hmm wierd
<Wizzup> maybe some pkg was promoted or something
<uvos> promoted?
<uvos> by debian you mean
<uvos> (as we are on devel for us ofc)
<uvos> yeah maby a qt5 change in debian caused this
<stan> calculator could be a candidate to add to default image
<stan> or is it too different
<Wizzup> it's very similar
<stan> then will you include it?
<sicelo> stan: isn't it already there by default?
n900 has joined #maemo-leste
<stan> not in the device i have running now. maybe in the newer image
<uvos> stan: if it dident install with updateing
<uvos> you dont have the metapackage installed
<uvos> which is bad
<stan> it's in the newer image, sorry
<uvos> it should be in _any_ image
<uvos> if you updated it half way recently
<uvos> if its not your image is broken (its missing the metapackage at least)
<Wizzup> you probably just removed it
<uvos> the metapackage also dissapeard on an update for me too btw
<uvos> i think something was conflicting at some point
<uvos> that was very long ago tho
n900 has quit [Quit: WeeChat 2.3]
n900 has joined #maemo-leste
adc has quit [*.net *.split]
mardy has quit [*.net *.split]
joerg has quit [*.net *.split]
stan has quit [*.net *.split]
lel has quit [*.net *.split]
mrgeanie has quit [*.net *.split]
StephanvanSchaik has quit [*.net *.split]
linmob has quit [*.net *.split]
The_Niz has quit [*.net *.split]
peetah has quit [*.net *.split]
ikmaak has quit [*.net *.split]
RedW has quit [*.net *.split]
joerg has joined #maemo-leste
adc has joined #maemo-leste
stan has joined #maemo-leste
StephanvanSchaik has joined #maemo-leste
peetah has joined #maemo-leste
mrgeanie has joined #maemo-leste
RedW has joined #maemo-leste
mardy has joined #maemo-leste
The_Niz has joined #maemo-leste
lel has joined #maemo-leste
ikmaak has joined #maemo-leste
linmob has joined #maemo-leste
mardy has quit [Quit: WeeChat 2.8]
<stan> is there a forseeable way we could set system languages we want supported on our device, then prevent apt from downloading every translation available? e.g. 71-osso-pdf-viewer-l10n-zhhk 72-osso-pdf-viewer-l10n-zhcn
<Wizzup> no
<uvos> tmlind: any idea what the difference between mbmloader_hs.bin and mbmloader_ns.bin is?
akossh has joined #maemo-leste
<lel> IMbackK synchronize a pull request: https://github.com/maemo-leste/mce/pull/50 (Move to new build system: cmake)
<uvos> Wizzup: ^^^ "" <> braket thing remove
<uvos> d
<lel> IMbackK closed an issue: https://github.com/maemo-leste/mce/issues/28 (Mce should not depend on maemo)
<lel> IMbackK closed an issue: https://github.com/maemo-leste/mce/issues/23 (iio-als: do something with the iio-sensor-proxy "unit" prop)
<lel> IMbackK opened an issue: https://github.com/maemo-leste/mce/issues/51 (Doxygen documentation for mce-dev)
<Wizzup> uvos: ok, I think I'll also want to ask fmg to take a look, but let's see if we can try to get it merged this week
akossh has quit [Read error: Connection reset by peer]
akossh has joined #maemo-leste
cockroach has joined #maemo-leste
<Wizzup> I guess this just replaces nokia-voice modules https://git.sailfishos.org/mer-core/pulseaudio-modules-nemo/tree/master/src/voice
cockroach has quit [Client Quit]
cockroac1 has joined #maemo-leste
akossh has quit [Quit: Leaving.]
<stan> power use with wlan on, screen off is good but RET keeps increasing d=2021-07-05|t=23:07:54|i=OFF:0,RET:3646|p=133|c=NA|b=none
<stan> 3646 in 8 minutes
<uvos> so?
<uvos> thats normal
<uvos> maybe a tiny tad high
<uvos> if your uptime is just 8minutes its low even
<uvos> the count is pretty meaningless anyhow
<stan> happy i don't need to unload modules
<uvos> as it tells you nothing about how mutch time the device spent in ret
<stan> would disabling the phone modem save power?
<stan> ok
<stan> it seems still tied to the snd_ playback
<uvos> not loading motmdm modules dose reduce power consumption some
<uvos> as dose not loading cpcap_phy
mp107 has joined #maemo-leste
n900 has quit [Ping timeout: 246 seconds]
n900 has joined #maemo-leste
<Wizzup> https://www.phoronix.com/scan.php?page=news_item&px=X.Org-Server-21.1-21.0.99.1 maybe now is a time to push on some of the bugs we filed
Daanct12 has joined #maemo-leste
Daanct12 has quit [Remote host closed the connection]
uvos has quit [Ping timeout: 240 seconds]