Daanct12 has joined #maemo-leste
Daanct12 has quit [Client Quit]
Daanct12 has joined #maemo-leste
<stan> not inside the battery buZz
<stan> back shell of the device, along the black plastic, there is a metal strip
<buZz> yeah i mean, many portable devices have 3 pins to the battery, because there's a thermistor is similar inside
<buZz> or* similar
<stan> have you a disassembled droid4 handy?
<buZz> no, just one here :)
<buZz> perhaps?
reallll has joined #maemo-leste
belcher_ has quit [Ping timeout: 272 seconds]
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #maemo-leste
<stan> buzz, seems to boot without any of those things on the back cover connected
<stan> there's a removable rubber tab next to the speaker also, i wonder what that was intended for
Daanct12 has quit [Quit: Quitting]
cockroach has quit [Quit: leaving]
Daanct12 has joined #maemo-leste
Pali has quit [Ping timeout: 246 seconds]
Daanct12 has quit [Client Quit]
Daanct12 has joined #maemo-leste
<Daanct12> Good morning aikon fellas
<stan> hi Daanct12 hows your maemo-leste experiences
<Daanct12> Pretty ok, except for the fact that i couldn't find apps i need
Daanct12 has quit [Ping timeout: 252 seconds]
Daanct12 has joined #maemo-leste
Daanct12 has quit [Ping timeout: 258 seconds]
joerg has quit [Killed (sodium.libera.chat (Nickname regained by services))]
joerg has joined #maemo-leste
xmn has quit [Quit: ZZZzzz…]
inky_ has joined #maemo-leste
inky has quit [Ping timeout: 252 seconds]
<parazyd> Wizzup: Could you link to the code where this advanced_show ism
<parazyd> is?
inky has joined #maemo-leste
inky_ has quit [Ping timeout: 252 seconds]
reallll is now known as belcher
_uvos_ has joined #maemo-leste
<_uvos_> stan: the contacts in the rear frame are antennas. from memor,y the ones at the bottom are for cellular
<_uvos_> the rubber around the speaker is for dampening ofc
_uvos_ has quit [Ping timeout: 272 seconds]
inky has quit [Ping timeout: 272 seconds]
inky has joined #maemo-leste
pagurus has joined #maemo-leste
rafael2k has quit [Ping timeout: 258 seconds]
<Wizzup> parazyd: the plugin part or the plugin loader part?
<parazyd> 22:30 <Wizzup> parazyd: freemangordon: looks like connui plugins can have plugin->advanced_show = to have settings show up in advanced settings, so we could do that for provider
<parazyd> This
<parazyd> Thanks
Pali has joined #maemo-leste
<freemangordon> Pali: hi!
<freemangordon> Do you think we can do anything else re u-boot but migrate to DT?
<Pali> freemangordon: Hi!
<freemangordon> keep in mind that ACM functionality won;t be affected by that, IIUC
<Pali> I'm wondering how long would take them again to review patches...
<freemangordon> and by removing dead code we can keep -mthumb disabled
<Pali> there are still more n900 patches in queue
<freemangordon> well, I guess we can put pressure now we are forced to do DT
<freemangordon> also, I still think Tom is a reasonable guy
<Pali> do we have enough space for DTB blob? and do we have space for libfdt code?
<freemangordon> yes, we do
<freemangordon> once we remove host and hub code
<freemangordon> worst case we'll enable -mthumb
<freemangordon> NOLO manages to live with it, so I am (almost) sure u-boot will do too
<Pali> I do not have power for this project anymore...
<freemangordon> :)
<Pali> they just want from us things which are not required for other subsystems, like that requirement for DT
<freemangordon> well, we can jsut fork
<Pali> and I really do not have power to discuss on this topic anymore
<freemangordon> ok
<Pali> I did everything what was possible, but everytime they either ignore pending patches or come up with new idea how to increase work on this project, just because they can
<Pali> I really do not understand this discussion as year ago we were told that U_BOOT_DRVINFOS() approach is OK
<Pali> and now when we sent last patches for DM, somebody said that DTS is required
<Pali> so it means that whole work which was done can be trashed and migration can start from zero again
<Pali> not mentioning that these patches were waiting in queue for review for a very long time and nobody complained
uvos has joined #maemo-leste
<freemangordon> ok then, I'll make one last effort(not now though) to convince Tom their approach is destructive and if that disagree, well, not much that can be done
<uvos> Pali: dont let it get yourself down :)
<freemangordon> uvos: feel free to join the discussion on the ML
<uvos> Pali: besides, its a bootloader keeping it at some old working version as a fork is not sutch a huge loss
<uvos> freemangordon: i think youd rather i not :P i think the "demands" are resonable.
<Pali> you can guess what happen if we invest lot of time to DTS migration...
<Pali> ... somebody else come up with another idea what is requirement for us and say that it must be done
<Pali> and we will start again this discussion which ends up with the fact that what we did was useless...
<freemangordon> yeah, looks like
<uvos> i mean thair goal is pretty obivous, they want n900 to be as little maintaints burden as possible, that means proting to whatever is the latest mechanisum in uboot so it istent in the way of droping old mechanisums
<uvos> would this be a good thing? yes! is it reasonable to make you do it? maybe no.
rafael2k has joined #maemo-leste
<Wizzup> freemangordon: should we have one tab per provider in advance settings, or one tab with providers? I think the former
<uvos> if its causing stress i would just fork. the it seams unlikely that uboot would add any functionality we would need within the resonable usefull life of the n900 no?
<Pali> 3 months ? or 6 months? or 9 months?
<lel> MerlijnWajer created a repository: https://github.com/maemo-leste/connui-provider
rafael2k has quit [Ping timeout: 265 seconds]
<sicelo> freemangordon, sounds like you would be willing/able to do some of the DT migration for N900 u-boot? :)
<sicelo> assuming you have the time/energy for it, i guess it's worthwhile to investigate
<Wizzup> we really have a lot of other thing we'd rather focus on though.
<Wizzup> that we need fmg for, too
<Wizzup> uvos: btw, using mdbus2 you can see if ofono is willing to activate context at all, I find that sometimes the call to set the context to active just times out and it never works
<Wizzup> and I don't know why ofono does that, but then the state forever cannot be changed
<Wizzup> it will always say "operation in progress"
<uvos> Wizzup: ok
<uvos> Wizzup: ill take a look at ofono, but
<Wizzup> one thing we could consider for debugging some of this is to use the ofono path where it does everything over usb
<Wizzup> it's a big power draw but we can rule out ofono specific bugs this way
<Wizzup> not for production usage, of course
<uvos> my current todo list looks like this 1. add a mixer controll to kernel that activates the PGA for voice 2. rebase cmake mce 3. implment minimal mce stuff needed for sphone 4. fix sphone ofono 5. look a ofno
<sicelo> of course
<Wizzup> let's add mine as well then: 1. create connui-provider and learn about connui plugins 2. libicd-dummy-provider to act more like normal provider 3. wlan scan troubles 4. pulseaudio setup/integration (would give volume applet, alarms actually working, ...)
<Wizzup> there's a lot of misc stuff too but that's my plan code wise
<uvos> sounds good
<Wizzup> If connui plugins work like how I understand they work, then it's kinda neat
<uvos> thats good. so far connui has been a bit of a minefield from a users perspective
<Wizzup> first time I see the ticket
<Wizzup> not atm
<uvos> ok
<Wizzup> I'd have to test
<uvos> not sure if its still a thing with connui changes
<Wizzup> would be good to check I guess
xmn has joined #maemo-leste
<tmlind> uvos: your voice call todo list order sounds good to me :)
stan has quit [Quit: Lost terminal]
<Wizzup> freemangordon: ah, looks like connui will only allow one "plugin" per network type, so the idea of connui-provider as iapsettings plugins does not work
<Wizzup> we'll have to add it to connui-internet or add some other plugin loading capabilities, potentially regardless of network type
<Wizzup> so currently there can only be one active "advanced" plugin per network type
cockroach has joined #maemo-leste
<Wizzup> I will turn this into connui-dummy to at least make a simple plugin to show how it can work, and then look at adding providers to connui-internet directly, I think
xmn has quit [Quit: ZZZzzz…]
inky_ has joined #maemo-leste
xmn has joined #maemo-leste
inky has quit [Ping timeout: 258 seconds]
joerg has quit [Quit: EEEEEEK]
inky_ has quit [Ping timeout: 268 seconds]
inky_ has joined #maemo-leste
joerg has joined #maemo-leste
rafael2k has joined #maemo-leste
rafael2k has quit [Ping timeout: 268 seconds]
<lel> MerlijnWajer renamed a repository: https://github.com/maemo-leste/connui-dummy
<sicelo> decision is to not RE the maemo phone application?
<Wizzup> sicelo: if you have 5 years of your life to spare and want to fully RE it :)
<Wizzup> we can definitely take parts, but all of it seems way too much work
<sicelo> Ok
stan has joined #maemo-leste
inky_ has quit [Ping timeout: 240 seconds]
<Wizzup> freemangordon: nvm, I'll debug more later
inky_ has joined #maemo-leste
<Wizzup> uvos: ok yeah I can confirm that scans are started but the results aren't read by icd2 plugin somehow
<Wizzup> will investigate that a bit later, spend quite a few hours on this connui-dummy now
<Wizzup> uvos: oh... I think I see it
<Wizzup> will confirm a bit later
uvos has quit [Ping timeout: 265 seconds]
<Wizzup> uvos: so one problem was in my code which checked the return code of the wpa_ctrl_request, but it also looks like wpa supplicant does not populate bss info or something
<Wizzup> running this
<Wizzup> mdbus2 -s fi.w1.wpa_supplicant1 /fi/w1/wpa_supplicant1/Interfaces/0 org.freedesktop.DBus.Properties.Get fi.w1.wpa_supplicant1.Interface BSSs
<Wizzup> mdbus2 -s fi.w1.wpa_supplicant1 /fi/w1/wpa_supplicant1/Interfaces/0/BSSs/418 org.freedesktop.DBus.Properties.GetAll org.freedesktop.DBus.Properties
<Wizzup> ({},)
<Wizzup> like wth
<Wizzup> wpa_supplicant :-(
<Wizzup> ah nevermind, my bad
<Wizzup> that should be fi.w1.wpa_supplicant1.BSS
inky_ has quit [Read error: Connection reset by peer]
<Wizzup> uvos: lol, this gets better, I'll let you know after coffee
<Wizzup> so wpa_ctrl_request often returns -1 when it succeeds
<Wizzup> and my code was checking for it to be == 0, and it should be != 0 because of how the function returns its result, but then I got no scans at all since it always reported failure, even though it did scan
<Wizzup> just ignoring the result all together seems to make it work just like old times (well)
<Wizzup> I'll have to dive in a bit more I suppose, see why it's failing like this
rafael2k has joined #maemo-leste
inky_ has joined #maemo-leste
mrkrisprolls has quit [Ping timeout: 252 seconds]
<Wizzup> uvos: please apt update && apt upgrade
<Wizzup> I think I fixed the problem
<lel> MerlijnWajer closed an issue: https://github.com/maemo-leste/bugtracker/issues/554 (Flakey wifi scanning)
<stan> congratulations Wizzup
<Wizzup> parazyd: I think with new ke-recv the reboot problem might be gone? seems weird though, I can't reproduce anymore
<Wizzup> stan: yw hope it helps
mrkrisprolls has joined #maemo-leste
<bencoh> sicelo: the fremantle phoneapp isn't that good anyway, in my opinion
<Wizzup> we'll keep the rtcom-eventlogger backend and stuff, and also have tp integration eventually of course
inky_ has quit [Ping timeout: 268 seconds]
inky has joined #maemo-leste
<Wizzup> parazyd: connui-dummy is there, it's not of much use, but it was missing and it was good for me to learn how to do this
<bencoh> Wizzup: was the wifi-switcher applet left behind on purpose?
<bencoh> oh btw, I get 116mW on droid4 after boot and wlan0 interface down, which is nice
<stan> btw i have one otg hub that works, but the very compact one here does not for me - as soon as i plugin a device i get disconnects/reconnects on the usb hub https://www.ebay.de/itm/294134869562?hash=item447bcdee3a:g:8csAAOSwbhNgNhR4
<bencoh> Wizzup: yeah
<bencoh> Wizzup: I'm building it right now, I need to know what should be kept then
<bencoh> (if at all)
<Wizzup> bencoh: hm, we can include it, the other thing we can do is have the icd2 plugin just off the interface if auto scanning is not enabled
<bencoh> Wizzup: that'd be even better tbh
<Wizzup> (I looked at the required ioctl's for that a while ago)
<bencoh> err, actually maybe not
<bencoh> well, maybe add an option for it
<bencoh> because I wouldn't want it to interfere with me playing with my wifi from the shell
<Wizzup> I can do that now with my newfound connui knowledge
<Wizzup> maybe see if you can get it going (wifi-switcher)
<bencoh> Wizzup: your option sounds much better, as long as it is configurable
<bencoh> although ... I wonder what should happen when opening the connection dialog
<bencoh> should it just activate it and start scanning?
<Wizzup> yes
<Wizzup> and then deactivate after some timer
sunshavi has joined #maemo-leste
<bencoh> meaning we don't offer the user an option to disable wifi altogether
<Wizzup> right
<bencoh> well ... I dunno :)
<bencoh> do we have wlancond on leste btw?
<bencoh> for the past few days I feel like I'm digging a graveyard
<bencoh> I keep fiddling with 10yo broken buildsystems and their silly deps
<stan> what application are you ressurrecting bencoh ?
<bencoh> stan: right now, wifi-switcher
<bencoh> before that, I brought the pidgin-status applet back
<bencoh> and fiddled with pidgin libnotify
<bencoh> which reminds me ... should libnotify notifications work on leste/hildon?
<stan> a few minutes of searching did not reveal what wifi-switcher is for. can you tell me please bencoh?
<stan> looks nice. is there a gpsd switcher also?
<bencoh> gps/location is handled automagically and configurable
<bencoh> you can disable location altogether from the Settings
<Wizzup> bencoh: no, we don't have wlancond
<Wizzup> bencoh: and yes, sometimes the ancient build systems are terrible and it's best to just re-do them
<sixwheeledbeast> didn't wifi-switcher have some issue?
<bencoh> sixwheeledbeast: what kind of issue?
<bencoh> Wizzup: yeah, I reached the same conclusion and started removing everything
<sixwheeledbeast> I recall it as one of those packages to avoid but I can't recall exactly, wifi issues maybe?
<sixwheeledbeast> like autodisconnect
<bencoh> dunno, I use it daily on n900
<stan> i found a thread where one user reported problems with one AP using wifi-switcher
<sixwheeledbeast> maybe that was it
<sixwheeledbeast> not clearly proven, so left in devel maybe?
<sixwheeledbeast> oh no its extras package
inky has quit [Ping timeout: 272 seconds]
<bencoh> looks like I have something working ... apart from the fact that it doesn't update the status applet (it should say "off" when wifi is disabled)
<bencoh> heh, the applet itself checks whether module is loaded or not ...
<Wizzup> bencoh: it's possible that the current icd2 module doesn't handle the interface going off (i.e. the applet might still show connected)
<Wizzup> I think I need to handle that wpa_supplicant dbus signal still
<bencoh> Wizzup: it reads /proc/modules
inky has joined #maemo-leste
<Wizzup> I meant wrt updating the status applet
<bencoh> yeah, me too
<Wizzup> ok
<bencoh> but I don't unload the driver, so it's makes sense
<Wizzup> ok
<Wizzup> reading specific driver name is not ideal
<Wizzup> we could probably find out which driver owns which interface
<bencoh> I don't intend to unload the driver anyway, unless you think it'd be better
<bencoh> oh, I'm currently testing on droid4, btw
<Wizzup> check
<bencoh> we might want to release a slightly different version for n900
<Wizzup> why?
<bencoh> on n900 it used to unload driver, I dunno if this is still required on mainline
inky has quit [Ping timeout: 268 seconds]
inky has joined #maemo-leste
<Wizzup> parazyd: ^ :)
<bencoh> :)
<Wizzup> does anyone know any sensible dummy icons?
<Wizzup> preferrably already avail on leste
* bencoh gives a dummy look
<Wizzup> hehe
<Wizzup> maybe I can use a 'no connection' icon
<Wizzup> general_presence_offline will do
rafael2k has quit [Ping timeout: 240 seconds]
<sicelo> Wizzup: wifi connection working better now - seems bug fixed. gsm internet still won't connect
<Wizzup> sicelo: yeah, didn't work on it
<Wizzup> (gsm)
<Wizzup> freemangordon: would it be a problem to link libconnui in a icd2 provider?
<Wizzup> I want to use it's gconf IAP config read stuff
<Wizzup> freemangordon: in particular iap_settings_get_gconf_value
<sicelo> i don't know if it was mentioned, regarding the gsm issue, that it's not possible to set APN now, as clicking Next after the connection name dialog goes nowhere
<bencoh> alright, the good news is that the switcher works properly on droid4. but it looks like it hardly has any noticeable effect on battery use
<Wizzup> bencoh: there are bursts every now and then
<Wizzup> there should be a small effect
<sicelo> i don't recall that it had that much noticeable effect on N900 too :)
<bencoh> Wizzup: even with wifi off? well, glad I ported it then :)
<bencoh> (I mean, disconnected*)
<Wizzup> bencoh: yes
<Wizzup> no
<Wizzup> not with wifi off
<Wizzup> sorry
<Wizzup> with the interface disabled I think it's the same
<Wizzup> cool that it works
<bencoh> oh and, serial power management is great :)
<Wizzup> yup, just something to be aware off when pasting
<Wizzup> (since you lose the first char)
<bencoh> :)
<Wizzup> sicelo: thanks for testing wlan fixes btws
<Wizzup> s/btws/btw/
<bencoh> should I assume ifconfig is availabel on leste? (I guess no, but ...)
<sicelo> it is available
<Wizzup> for the applet?
<sicelo> Wizzup: cool
<bencoh> Wizzup: yeah
<bencoh> that tool has been obsolete for a decade :]
<Wizzup> bencoh: is it written in C?
<bencoh> Wizzup: part of it is a script
<Wizzup> I mean the applet
<Wizzup> oh, ok
<sicelo> bencoh: but i switched to `ip` for the widgets i ported (yes @ obsolescence, but people still use it, and i guess for script compatibility)
<Wizzup> but yes, you can use ifconfig, just depend on it in debian/control
<Wizzup> (net-tools)
<bencoh> Wizzup: we need to sudo in the middle anyway
<Wizzup> keep in mind it might not be $PATH of user
<bencoh> Wizzup: unless I missed something
<sicelo> s/script/old scripts/
<bencoh> (and it already does it)
<sicelo> you don't need sudo if you specify full path, /sbin/ifconfig
<bencoh> uh?
<Wizzup> he might need sudo for something else, like actually disabling the interface :P
<sicelo> oh, sorry. you're changing iface state :)
<bencoh> :)
<Wizzup> sicelo: if I have time tomorrow I'll try to look at the gprs connection properly waiting for state change
<Wizzup> atm I'm rather happy I managed to mostly untangle this connui stuff
<sicelo> bencoh: i still recommend iproute2 stuff though :)
<lel> MerlijnWajer opened a pull request: https://github.com/maemo-leste/connui-internet/pull/2 (WIP: add providers tab to advanced iap settings)
<parazyd> Wizzup: Awesome work <3
<Wizzup> you're welcome
<parazyd> :)
<lel> MerlijnWajer closed an issue: https://github.com/maemo-leste/bugtracker/issues/532 (Look at initial (stub) icd2 'provider')
<parazyd> I'll integrate this with my Tor code on monday
<parazyd> And then we can use that as a base for Wireguard and OpenVPN
<parazyd> These two need more configuration options
<parazyd> I need to think a bit on how to store it properly in gconf
<Wizzup> yeah, let's start with one (tor) and review
<parazyd> mhm
<Wizzup> wrt gconf, we probably want the service_id to point to the config values
<parazyd> Yeah
<parazyd> Do you know if hashmaps are possible in gconf?
<Wizzup> nah, probably not
<parazyd> (Can research, but just wondering if you know an instant answer)
<parazyd> ok
<Wizzup> I mean, it depends on what you want to do
<Wizzup> directories are essentially a hash map
<parazyd> We want to support multiple configs
<parazyd> Yeah, a dir is probably the solution
<Wizzup> gconftool -R /system/osso/connectivity/srv_provider/DUMMY/configs/<config1>
<parazyd> Yup
<Wizzup> (just a guess)
<parazyd> And that would be linked with some uuid or name
<Wizzup> it could also be a path elsewhere, it could also be that configs is a dir with just names that point to other gconf hierarchy
<parazyd> mhm
<Wizzup> yeah or make config1 also a dir and stash it all in there
<parazyd> I'll think about it because I also need to decide which values it should be
<Wizzup> btw I kind of like the connui wizard setup now that I understand it
<parazyd> For now I just have some port configs for Tor
<parazyd> :)
<parazyd> Yeah maybe I should use it
<parazyd> Currently my code uses GtkAssistant
<parazyd> But connui looks much nicer
<Wizzup> maybe some of it relies on connui internals and it is harder in a separate cpa though
<parazyd> Will check
<Wizzup> going afk for a bit now
<parazyd> I mean, we can port it later too
<parazyd> GtkAssistant is also using "pages"
<parazyd> ttyl
<bencoh> is it just me, or there is no user-defined .xsession.d thing (only ~/.xsession, ~/.xsessionrc, or system-wide /etc/X11/Xsession.d)?
<parazyd> We place everything in /etc
<parazyd> There's also Xsession.post btw
<bencoh> yeah, but what if user wants to run something at session start?
<bencoh> (say, I wanna run sigstoped)
<parazyd> Maybe check if XDG autostart is supported
<parazyd> I don't actually know though
<stan> do you run sessions independtly from booting the device?
<parazyd> If not, it's probably something we'd want to support
<stan> i start things in /etc/rc.local
<stan> oh right some things need running services and x
<bencoh> xdg-user-dirs is installed at least
<Wizzup> bencoh: I'd go for xsession if it's for a package
<bencoh> Wizzup: in /etc?
<Wizzup> if it's your own thing, then yeah, .xsession or so
<Wizzup> if it's a package, yeah
<bencoh> the thing is ... https://wiki.debian.org/Xsession
<parazyd> Thing is our code might not read it at all
<parazyd> The local ones
<bencoh> does it look for x-session-manager and friends if ~/.xsessionrc is present?
<parazyd> Don't think so. We aren't running h-d as a session
<bencoh> ah, got it
<parazyd> It's just a sub-component of the default session iiuc
<bencoh> .xsession *replaces* syswide session manager, .xsessionrc is just read on top of it
<bencoh> so let's try the rc thing
stan has quit [Quit: Lost terminal]
cockroach has quit [Quit: leaving]
inky has quit [Ping timeout: 265 seconds]
inky has joined #maemo-leste
jr-logbot has quit [Remote host closed the connection]
jr-logbot has joined #maemo-leste
sixwheeledbeast has quit [Quit: Let's beat it - This is turning into a bloodbath! [http://znc.in]]
sixwheeledbeast has joined #maemo-leste