cockroach has joined #maemo-leste
elastic_dog has joined #maemo-leste
elastic_dog has quit [Killed (erbium.libera.chat (Nickname regained by services))]
Pali has quit [Ping timeout: 268 seconds]
xmn has quit [Ping timeout: 268 seconds]
Daanct12 has quit [Read error: Connection reset by peer]
Danct12 has quit [Read error: Connection reset by peer]
Danct12 has joined #maemo-leste
cockroach has quit [Quit: leaving]
joerg has quit [Ping timeout: 240 seconds]
joerg has joined #maemo-leste
mardy has joined #maemo-leste
elastic_dog has quit [Read error: Connection reset by peer]
elastic_dog has joined #maemo-leste
mardy has quit [Ping timeout: 256 seconds]
mardy has joined #maemo-leste
mardy has quit [Ping timeout: 260 seconds]
<freemangordon> tmlind: uvos: please help, obviously I am doing something stupid, but I cannot figure out what. probe() never gets called https://pastebin.com/Wymn8tpa
<freemangordon> dts https://pastebin.com/7tVyA2cB
<freemangordon> this is child of cpcap: pmic@0
<freemangordon> I also added extcon = <&cpcap_extcon>; to &usb2_phy
mardy has joined #maemo-leste
<freemangordon> so now it seems usb2_phy does not get inited as for some reason cpcap_extcon is not loaded
<freemangordon> if I modprobe by hand, nothing happens
<freemangordon> being struggling with that for the last 4 hours :(
<freemangordon> this is modinfo https://pastebin.com/qhVBqLiW
<freemangordon> oh
<freemangordon> compat has to be defind in mfd driver as well
mardy has quit [Read error: Connection reset by peer]
mardy has joined #maemo-leste
<Wizzup> uvos: I got one xt1602
<Wizzup> well, ordered
akossh has joined #maemo-leste
Twig has joined #maemo-leste
<Wizzup> freemangordon: do you remember if the rtcom ui for sip calls if open?
<Wizzup> by that I mean the UI that allows you to configure accounts
<Wizzup> I guess rtcom-accounts-voip-support is not, if that is it
<Wizzup> ah, it's rtcom-accounts-plugin-sip
<Wizzup> it's not big at least
Pali has joined #maemo-leste
Twig has quit [Remote host closed the connection]
Twig has joined #maemo-leste
<Wizzup> sicelo: did you say you managed to do routing with modrana?
<Wizzup> it looks at least like the google routing doesn't work
<Wizzup> maybe I should try offline next
<Wizzup> hm, it looks like I already imported the latest release that still had gtk
<Wizzup> looks like the googlemaps that modrana ships is really old
<Wizzup> this might be new enough https://pypi.org/project/googlemaps/3.1.4/
<Wizzup> oh, wait, I guess it needs an api key
elastic_dog has quit [Ping timeout: 240 seconds]
elastic_dog has joined #maemo-leste
dev has joined #maemo-leste
dev has left #maemo-leste [#maemo-leste]
<freemangordon> YAY! charger detection works
<freemangordon> now I only have ti find how to adjust maximum current
<Wizzup> nice!
pere has quit [Ping timeout: 252 seconds]
xmn has joined #maemo-leste
<sicelo> Wizzup: modrana ... no, wasn't me
<sicelo> freemangordon awesome!
pere has joined #maemo-leste
<sicelo> so guys/girls, i was wondering - with appended dtb, how does the system know where kernel ends and dtb starts?
<Wizzup> sicelo: ok, I'm just looking for -anything- that I can use to do routing
<Wizzup> sicelo: I don't think it knows, so you need add kernel size and dtb size
<Wizzup> sicelo: what kind of kernel compression are you using?
<sicelo> there's nowhere we specify kernel or dtb sizes
<sicelo> They're just concatenated in a plain way
<sicelo> Wizzup: i believe navit can route, via monav or some such
<Wizzup> sicelo: hm
<Wizzup> sicelo: it'd be neat to have some guide on our wiki imho
<Wizzup> I think modrana can also use monav
<Wizzup> but it's not really clear how
<Wizzup> apt-cache search monav yields no results
<sicelo> maybe ask uvos ... i believe he has played with navit on leste
<Wizzup> looks like it was only in jessie
<sicelo> Wizzup: this is how we concatenate kernel + dtb, https://github.com/maemo-leste/maemo-kernel-config/blob/master/n900-uImage#L6
<Wizzup> sicelo: yes, but what kernel compression is in .config for your kernel
<sicelo> CONFIG_KERNEL_GZIP=y
<Wizzup> does that mean it uses gzip, or is gzip supported?
<sicelo> i think it means kernel is compressed with gzip :-)
<Wizzup> can you try xz?
uvos has joined #maemo-leste
<Wizzup> the navit internal ui is .. wow
<Wizzup> uvos: do you use navit currently?
mardy has quit [Quit: WeeChat 3.5]
<uvos> yeah
<uvos> freemangordon: great you got it woking
<Wizzup> uvos: the one from beowulf/buster?
<uvos> yes
<Wizzup> care to share your xml config?
<uvos> works compleatly fine
<uvos> except for the idea of an ui they have
<Wizzup> I see nothing, even though I downloaded a map, and then I have to touch the screen just to see the menu
<Wizzup> but I can't get it to show my map even though I told it to center on it
<uvos> thats correct
<uvos> at touch screen
<uvos> the problem is
<uvos> that navit starts in serbia or something by default
<uvos> so you have really no way of finding where you have the map
<Wizzup> so I changed the center
<Wizzup> <navit center="..."
<Wizzup> oh there is a center.txt
<uvos> that only works for the first boot
<uvos> er start
<uvos> right after that its in center.txt
<Wizzup> which is of course hex encoded
<Wizzup> lol
<uvos> you can probubly just delete it
<Wizzup> tried that to no avail, still just see a brown-yellow ish screen
<uvos> Wizzup: you can also just wait for gps
<uvos> it will jump to location then
<Wizzup> I did wait for gps, and it didn't work still
<uvos> hmm
<Wizzup> maybe the map I downloaded using the map cropbox thing is not ok
<uvos> thats where i got my map from too
<uvos> maybe typo?
<Wizzup> oh..
<Wizzup> hmm
<Wizzup> well I forgot to have enabled="yes"
<Wizzup> but that didn't make the difference still
<uvos> aha
<uvos> hmm
<Wizzup> uvos: ok
<Wizzup> uvos: I had the center coords swapped
<Wizzup> it still looks a bit funky, but I see something
<Wizzup> error:gui_internal:gui_internal_set_attr:Unknown attribute: layer
<Wizzup> maybe this is related
<uvos> i do not get that
<freemangordon> uvos: please test the charger patch to confirm it really works and limits the current to the selected config
<freemangordon> I tried all the devices around and seems they all support 500 mA
<uvos> what dose the patch apply on
<uvos> it dosent on mameo-5.18.y
<freemangordon> it should
<freemangordon> on mameo-5.18.y-cpcap
<freemangordon> maemo-5.18.y-cpcap
<freemangordon> make sure to pull
<uvos> id dosent
<uvos> none of the segments do
<uvos> maybe pastebin broke the patch?
<freemangordon> maybe pastebin changed tabs to spaces
<uvos> yes thats exatcly what happend
<freemangordon> I think you can get it raw from pastebin
<freemangordon> uvos: click on 'downloda' button
<freemangordon> *download
<freemangordon> hmm, link does not work
<freemangordon> still 'download' button it is
<uvos> could you reupload the modem patch too, i saved that with spaces
<uvos> and now it allso dosent apply
<uvos> and its gohne from pastebin
<freemangordon> modem patch? for poweroff?
<uvos> yeah
<freemangordon> it is not needed
<uvos> i thought i should try if it makes a diff on xt875
<freemangordon> ah
<freemangordon> well, I don;t keep it either
<uvos> uff
<uvos> ok ill fix it
<freemangordon> no worry
<uvos> but not rn
<freemangordon> I will redo it
<uvos> no no
<freemangordon> not now though
<uvos> i can just fix the patch
<freemangordon> sure
<uvos> its just sed
<uvos> 4 spaces = tab
<freemangordon> it should be 5 lines or something
<uvos> should to the trick
<freemangordon> hmm, 8 spaces
<uvos> or 8
<uvos> sure
<uvos> you get the point
<freemangordon> yeah
<freemangordon> I am more concerned about charger patch :)
<uvos> compileing
<freemangordon> cool
<uvos> really tho
<uvos> we need a usb current mesurement thingy
<uvos> ideally
<Wizzup> I have that somewhere
<sicelo> Wizzup: lzma compression -> kernel 4.4MB. same problem
<Wizzup> if you mean the hw verisons
<Wizzup> sicelo: ok, and that's significantly smaller, right?
<uvos> Wizzup: you also need a port that advertises less than 500mA
<sicelo> yes.
<Wizzup> that makes it less likely the dtb gets cut off for sure
<Wizzup> do others also see this?
<uvos> Wizzup: well you have those (any mapphone)
<sicelo> Wizzup: other N900 users? most probably. you can try to build any kernel 5.19 onwards
<freemangordon> uvos: with android or with linux?
<uvos> well idk if manline dose it correctly, android shurely dose
<uvos> anyhow vbus on mapphones from cpcap can supply only 30 or was it 40 mA
<uvos> in datasheet
<freemangordon> no, I mean - can I use tablet with android to test?
<uvos> idk depends on the hw
<uvos> dont you have a mapphone tablet?
<Wizzup> sicelo: ok, did you manage to bisect it, or?
<uvos> mz6xx
<freemangordon> mz 608?
<uvos> mz609
<freemangordon> or iz it 808?
<uvos> 609
<uvos> anyhow that one should do
<freemangordon> yeah, 609
<freemangordon> I need otg cable, right?
<uvos> i presume it uses the same setup as the mapphone phones for otg
<uvos> freemangordon: yes
<freemangordon> ok
<Wizzup> uvos: btw, I think that I have seen mce hang in writing to gconf
<Wizzup> had no gdb avail, but:
<Wizzup> [pid 2780] poll([{fd=18, events=POLLIN}, {fd=19, events=POLLIN}], 2, -1 <unfinished ...>
<Wizzup> [pid 2652] poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}], 2, -1 <unfinished ...>
<Wizzup> [pid 2645] write(2, "\n(process:2645): GConf-\33[1;35mCR"..., 131) = ?
<Wizzup> or maybe this is some debug and it doesn't hang with gconf
<uvos> ok
<Wizzup> basically my lock screen didn't respond, but screen did go off after a while
<Wizzup> when it happens again I'll try to ssh in and see
<uvos> hmm
<Wizzup> (it is semi regular)
<Wizzup> (bionic)
<uvos> oh ok hmm have not seen sutch a thing
<freemangordon> BTW< I have coredump from Xorg
<freemangordon> didn't look at it though
<freemangordon> uvos: "cpcap-charger cpcap-charger.0: maximum current set to 500 mA"
<uvos> Wizzup: what makes you think mce specificly hanged?
<Wizzup> I attached with strace and didn't see a whole lot
<freemangordon> and it really charges d4 :)
<Wizzup> and /etc/init.d/mce restart also hanged
<uvos> sure but if xorg hangs (as happens quite offten) mce will get stuck
<uvos> just a possiblity
<Wizzup> ok, that could be
<Wizzup> brb
<uvos> freemangordon: ok
<uvos> dose it work on your 100mA hub btw?
<uvos> (its at depmod now here)
<freemangordon> yes, somehow pulling 500 mA :)
<uvos> hmm
<uvos> not good
<freemangordon> oh, lemme remove the power from the hub
<uvos> the hub surely can supply 500mA if d4 just takes it
<uvos> esspecaly with just one device connected
<freemangordon> yeah
<freemangordon> oh, second d4 with android?
<uvos> sure
<freemangordon> yeah, but not now
<uvos> but also idk if its a totaly great idea
<uvos> idk how d4 reacts to overload
<freemangordon> it has wires hanging and stuff :)
<uvos> it should just trip off
<uvos> but yeah
<freemangordon> I'll just wait for you to test :)
<sicelo> Wizzup: i tried to bisect, but i would end up on wrong commits. i think i'm missing the right trick for avoiding merge commit ... i know the problem doesn't exist in 5.18, but in 5.19 onwards, it's consistently there.
<freemangordon> sicelo: doesn;t it boot without patches?
<sicelo> n900 boots vanilla kernel with no issues whatsoever :-)
<freemangordon> then why merging?
<freemangordon> just set good to 5.18. bad to 5.19 and start bisectiong
<sicelo> i'll try again, but it took me to a drm commit or similar :p
<Wizzup> sicelo: no need to try again if it didn't do anything last tie
<Wizzup> we'll have to tackle it for sure because mapphone and n900 are now the same kernel
<Wizzup> (for us)
<sicelo> well i could use different starting points, etc.
<Wizzup> you can also tell git bisect to give you another I think
pere has quit [Ping timeout: 260 seconds]
<uvos> freemangordon: no change in behavior with the xt1602
<uvos> d4 takes 500mA and reset
<freemangordon> dmesg?
<uvos> nothing gets printed
<uvos> but im a idiot
<Wizzup> wrong kernel?
<freemangordon> looks like :)
<uvos> i have phy_cpcap_usb blacklisted
<freemangordon> (wrong kernel, not the idiot part :p)
<uvos> is this relevent
<freemangordon> sure
<freemangordon> do gadgets work without it?
<uvos> it works
<uvos> d4 dosent activate charging at all
<freemangordon> :)
<uvos> xt1602 remains happy
<freemangordon> nice
<freemangordon> ok, now, lets see how to upstream all that
<freemangordon> oh, first I want to finish charger detection
<freemangordon> somehow, when nokia wall charger is detected, the current drawn is ~1300 mA
<freemangordon> while with 2.4 A wall charger it is ~1600mA
<freemangordon> so there must be a way to detect that
<freemangordon> but not now
<uvos> ok
<uvos> anyhow this is a great improvement
<uvos> no need to be scared of pluging in d4 into random devices...
<freemangordon> here it works even better, it sets max limit to 500 when connected to USB port and to 1800 when connected to charger
<freemangordon> once I polish this we will be able to safely remove charge-mode as a requireent
<freemangordon> *requirement
<Wizzup> freemangordon: if the usbnet stays alive, do the charging leds still go on and off?
<freemangordon> no
<freemangordon> it stays green
<Wizzup> that is truly great
<freemangordon> ah,no
<freemangordon> no
<freemangordon> wait
<freemangordon> when the battery is charged, it goes off and on
<Wizzup> ok
<freemangordon> but usbnet stays alive
<Wizzup> still a good improvement :)
<freemangordon> umm...
<freemangordon> isnt that an expected behaviour?
<freemangordon> like, the battery is full
<Wizzup> on the n900 the led stays green
<Wizzup> but this is likely interaction with the battery subsystem
<freemangordon> grennled here means "charging"
<freemangordon> off means "charged"
<Wizzup> maybe this is because we let cpcap/kernel control led vs userspace
<freemangordon> yes
<freemangordon> it seems all android devices behave like that
<uvos> no
<freemangordon> green for charging off for full
<uvos> well hw implementation
<freemangordon> well, all I see around are like that
<uvos> first thing android dose it remove cpcaps hw controll of the led
<uvos> but yes its sw controll looks the same
<freemangordon> I guess we can fix that
<freemangordon> btw, why did you blacklist the phy?
<uvos> sure its just a reg you set
<sicelo> my S7 stays green on full
<Wizzup> we should have all the bits in place for it already
<uvos> but we need some way to set it
<uvos> idk what would be a good interface for this
<uvos> durring boot before mce becomes active we want cpcap to controll the led after all
<freemangordon> device quirk?
<Wizzup> I think on the n900 mce does it
<uvos> freemangordon: sure i mean kernel interface
<freemangordon> ah
<uvos> freemangordon: just a random sysfs file i gues
<uvos> but maybe somthing better can be devised
<freemangordon> mhm
<Wizzup> I suppose it could be some led sysfs file
<uvos> right
<Wizzup> I think this is what it is for n900
<uvos> i gues the best way would be the led triggers file
<freemangordon> uvos: do you want the full patch to test? including charger detection etc?
<Wizzup> (but I am not sure)
<Wizzup> freemangordon: we could build it for -devel too if it's ready for further testing
<uvos> freemangordon: i think i would like to just build it for leste
<uvos> so a branch
<freemangordon> I want tmlind to comment on it first
<uvos> freemangordon: ok
<uvos> then lets just wait
<sicelo> Wizzup: the led control is in charger (bq24150)
<Wizzup> uvos: looks like planet.bin is 46GB btw (navit)
<freemangordon> as there are few changes in cpcap phy
<Wizzup> sicelo: check, ty
<uvos> Wizzup: uff
<Wizzup> uvos: well there's maps of many countries in europe but somehow not croatia :P
<uvos> i have just hesse mostly on my sdcard
<freemangordon> zzz time, night!
<uvos> good night freemangordon
<Wizzup> gn
<uvos> hesse (german state) is about 500MB
<uvos> for referance
<Wizzup> did you make it yourself?
<uvos> hmm good question
<uvos> i honstly dont remmeber where i got the file
<uvos> freemangordon: "btw, why did you blacklist the phy?"
<uvos> uses a bit of power
<Wizzup> btw navit looks like this for me: https://wizzup.org/navit.png
<uvos> that looks a bit wrong
<Wizzup> and trust me there's a whole city where it's rendering some sand desert
<Wizzup> yeah hence me wanting to try another map
<uvos> you can play with the profiles
<uvos> to make it render more
<uvos> but its extrreamly slow
<Wizzup> in the application?
<uvos> in the xml
<Wizzup> ok
<uvos> the most detailed profile to slow to use even on ryzen9
<Wizzup> right
<uvos> its just absurdly slow at rendering things so you need to keep the vectors to a minimum
<uvos> thats why it skipps rendering allmost everytthing except highways except at very close zoom levels
<Wizzup> ok, so that might be it then
<uvos> im not sure whats going on with the water tho
<Wizzup> I haven't figured out how to change zoom
<uvos> that looks just wrong
<uvos> Wizzup: ha thats the funny thing, you cant
<uvos> xD
<uvos> the ui dosent allow it
<uvos> i added something to the xml to add some custom buttons to zoom
<Wizzup> probably need to script something for it
<Wizzup> right
<uvos> anyhow navit is just terribly i only use it becasue there is no alternative
<uvos> it works, thats about all the good i can say about it
<Wizzup> modrana ui somehow makes a bit more sense, but the routing doesn't work, but maybe I should figure out how to use monav
<Wizzup> but since monav is removed from the current repos...ugh
<uvos> well i also need vector maps
<uvos> since gsm only is just to slow
<uvos> to keep up with a car
<Wizzup> gsm data you mean?
<uvos> right
<Wizzup> don't have that problem here, but yeah
<Wizzup> https://openrouteservice.org/ maybe this is useful
<Wizzup> seems a bit hyped
akossh has quit [Remote host closed the connection]
Twig has quit [Remote host closed the connection]
pere has joined #maemo-leste
elastic_dog has quit [Ping timeout: 240 seconds]
elastic_dog has joined #maemo-leste
<norayr> glad to see the work on mz609. that is 8 inch tablet.
<norayr> mz617 xyboard 10.1, 10 inch tablet, uses the same TI OMAP 4430
<norayr> but if mz609 works with maemo it doesnt mean that mz617 will work, right?
<norayr> i don't even know which i want.
<norayr> i just know we need tablet.
uvos has quit [Ping timeout: 268 seconds]
<mogolobogo[m]> <uvos> "its just absurdly slow at..." <- Do you possibly have a config example somewhere? Might be very helpful on a wiki as well ?
<mogolobogo[m]> <Wizzup> "but since monav is removed..." <- Might it be possible or a good plan to add mepo to the repos? I believe that is the pinephone standard
<BlagovestPetrov[> guys, is there any documentation about the GTK api?
<BlagovestPetrov[> how is the menu generated, is it using dbus?
Pali has quit [Quit: Pali]