Daanct12 has joined #maemo-leste
uvos__ has quit [Quit: Konversation terminated!]
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Read error: Connection reset by peer]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
<freemangordon> arno11: so, you said removing dsmetool call makes pui work?
joerg has quit [Ping timeout: 265 seconds]
joerg has joined #maemo-leste
Daanct12 has quit [Quit: WeeChat 4.4.2]
<freemangordon> arno11: please change /etc/X11/Xsession.post/15hildon-status-menu to:
<freemangordon> DEBUG_OUTPUT=1 G_MESSAGES_DEBUG=all /usr/sbin/dsmetool -t '/usr/bin/hildon-status-menu > /home/user/hsm.log'
<freemangordon> then reboot and provide /home/user/hsm.log
<freemangordon> Wizzup: uvos: seems new kernel fixes "wifi first connect failure" on d4
<freemangordon> sicelo: might be related http://47.144.20.137/lists//linux-omap/msg170791.html
<freemangordon> hmm, bug is still there
xmn has quit [Ping timeout: 248 seconds]
<sicelo> freemangordon: ah thanks. funny enough - i had seen that message, but completely forgot about it when Andreas wrote
LeePen has quit [Ping timeout: 246 seconds]
Anasko has joined #maemo-leste
Livio has joined #maemo-leste
LeePen has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
akossh has joined #maemo-leste
mdz has joined #maemo-leste
<Wizzup> freemangordon: oh great @ wifi
Livio has quit [Ping timeout: 252 seconds]
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
ShadowJK has quit [Remote host closed the connection]
ShadowJK has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Read error: Connection reset by peer]
<freemangordon> Wizzup: no, it is not fixed
<Wizzup> ok
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Ping timeout: 252 seconds]
mdz has quit [Ping timeout: 252 seconds]
mdz has joined #maemo-leste
xmn has joined #maemo-leste
alexander1 has joined #maemo-leste
toly has quit [Ping timeout: 252 seconds]
Livio has joined #maemo-leste
toly has joined #maemo-leste
arno11 has joined #maemo-leste
<arno11> freemangordon: i can't get any logs from hsm xsession during boot. it works only if i block hsm on boot and start it with debug stuff from user space, so not really useful
<arno11> (or maybe i'm doing something wrong)
<arno11> btw @wifi, i got quite similar bug on my n900 but it happens only without sim iirc
<arno11> @hsm, yes pui 'works' without dsmetool but if i click on gps btn for example, hsm stops working
<Wizzup> freemangordon: btw, re the python porting, the real problem is that there is no way to use gtk2 with python3
<Wizzup> so evne if you port say python-hildon, it's mostly useless
<arno11> wow, that's a big problem
<Wizzup> been for years :)
<Wizzup> wonder if that can assist us during the migration
<uvos> Wizzup: no
<uvos> Wizzup: yeah that sounds good if it works
<uvos> one thing i wonder is how this affects the fact that on leste nokia did gconf bakwards
<uvos> in gconf issues warning when a app reads a key that is not registered with the shema of that app while in gsettings its an error and gsettings will just assert
<uvos> sadly nokia did this wrong everywhere, mce's gconf keys are for instance in shemas that are packaged with the status applets, which ofc is wrong since mce can run without the status applet but the applet cant run without mce.
<uvos> same with everything else
<uvos> so when porting to gesttings you will nessecarly have conflicting shema where you add the gsettings keys to the base dependancy while the applet still has the gconf shema
<uvos> i wonder what this tool dose in this case
arno11 has left #maemo-leste [#maemo-leste]
<Wizzup> mhm, maybe we just need to bite the bullet at some point
<Wizzup> not sure if we do it for bookworm
<sicelo> I'll submit a patch for droid4-linux in an hour or so (I'm away from PC atm). it solves the issue of getting uevents when charger is connected/disconnected. could we get it built today, at least for experimental, if not devel?
<sicelo> Wizzup: freemangordon, so now we do get reliable uevents from our charger, yay! it's still not instant, but I think that's correct/normal, per the 2s detection period mentioned in docs. Even the 'standard' LED takes a couple of seconds to show up. Now upower sees the ONLINE state much earlier
<sicelo> I'll submit the patch upstream as well
Livio has quit [Ping timeout: 260 seconds]
pere has quit [Ping timeout: 255 seconds]
alexander1 has quit [Ping timeout: 265 seconds]
pere has joined #maemo-leste
Livio has joined #maemo-leste
<Wizzup> sicelo: sweet!
<Wizzup> uvos: if you can prep a build I'll start it
<Wizzup> freemangordon: for the record from my pov the wifi issue is not juts on boot, it also happens frequently after
<tmlind> freemangordon: that wifi connect failure on start-up, it might be related to not enough random data during boot as no hardware rng accessible. if so, generating some entropy on boot by reading sensors etc and feeding it to /dev/random might help
<uvos> i mean the connection failure happens often after also
<uvos> but only with icd2 never with wpa_cli or networkmanager. Not saying icd is doing anything wrong, just that icd could handle the connection failing better than just giving up.
<sicelo> maybe someday we shift to iwd :-P
<uvos> outside the wl1285 driver/firmware maybe having a small bug, association can fail for lots of temporary reasons outside the devices controll, like a burst of interferance, or the ap being busy or whatever
<sicelo> BTW the connection issue doesn't affect N900?
<uvos> i have never expiranced it there no?
<uvos> s/?/.
<sicelo> someday I might look into improving it icd-side. not making a solemn promise though
arno11 has joined #maemo-leste
<Wizzup> tmlind: from my pov it looks like the association just fails immediately, three times in dmesg
<Wizzup> and it fails after milliseconds, not after a sensible set of time
<Wizzup> uvos/sicelo: it's not a problem in icd2, it's in the driver/kernel
<arno11> sicelo: cool ! @charger
<sicelo> arno11: I'm looking forward to have you test :-)
<arno11> np :)
<tmlind> Wizzup: can you check if wpa_supplicant is actually running at that point? if not enough entropy, i think wpa_supplicant refuses to start
<Wizzup> I'm confident that it is running, as we first scan on maemo, which uses wpa supplicant, and then connect using the resulting scan list
mdz has quit [Ping timeout: 276 seconds]
<Wizzup> The problem seems to be some race condition between the firmware and the driver I think, it doesn't just happen shortly after boot, but also regularly after that
<tmlind> ok different issue then
<tmlind> the issue i'm describing is related to device not connecting to wlan automatically after boot if not enough entropy
<Wizzup> check
<Wizzup> what I mean is this:
<Wizzup> [17366.187713] wlan0: authenticate with 7c:77:16:35:f5:c1
<Wizzup> [17366.220886] wlan0: send auth to 7c:77:16:35:f5:c1 (try 3/3)
<Wizzup> [17366.198211] wlan0: send auth to 7c:77:16:35:f5:c1 (try 1/3)
<Wizzup> [17366.210052] wlan0: send auth to 7c:77:16:35:f5:c1 (try 2/3)
<Wizzup> [17366.231414] wlan0: authentication with 7c:77:16:35:f5:c1 timed out
<Wizzup> see hoe quickly the auth times out - within 40ms of starting the authentication, and that's three attempts even
<Wizzup> how quickly*
<tmlind> hmm ok
<Wizzup> here is a working one 15 seconds later:
<Wizzup> [17384.560638] wlan0: authenticate with 7c:77:16:35:f5:c1
<Wizzup> [17384.580078] wlan0: authenticated
<Wizzup> [17384.575073] wlan0: send auth to 7c:77:16:35:f5:c1 (try 1/3)
<Wizzup> [17384.590179] wlan0: associate with 7c:77:16:35:f5:c1 (try 1/3)
<Wizzup> [17384.598358] wlan0: RX AssocResp from 7c:77:16:35:f5:c1 (capab=0x1c11 status=0 aid=3)
<Wizzup> [17384.611450] wlcore: Association completed.
<tmlind> maybe run wpa_supplicant in the foreground to log it?
<tmlind> in the verbose mode
<Wizzup> can do, from what I recall it doesn't get anything meaninful, but that was maybe 2 years ago at this point
<tmlind> ok
<Wizzup> I remember trying to figure out if wpa supplicant want setting some bad timeout, but it didn't seem that was the case, I might even have logs somewhere from trying more verbose debug on the kernel wifi layer...
<tmlind> i guess the kernel could run out of entropy during runtime too, should see something in the dmesg
<Wizzup> I think I remember toying with wl12xx_debug_level, let me check irc logs
<tmlind> and you do have separate wl12xx mac addresses for each device set with the tool from uvos?
<tmlind> duplicate mac addresses could cause issues like you're describing..
<sicelo> I also see those issues, and have exactly one D4 ;-)
<tmlind> ok
<Wizzup> yeah it happens on all the mapphones I think
<Wizzup> maybe it's related to a force country code, like with iw get reg
<Wizzup> but I don't think so
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
DFP has quit [Quit: Leaving]
Anasko has joined #maemo-leste
<tmlind> now that i think about it, it was my mz617 where wl12xx did not often connect on boot while my d4 was connecting
<Wizzup> if it didn't connect on boot, might be worth checking if you see the same early auth aborts in dmesg
<tmlind> here's the openrc script i did to add more entropy before wpa_supplicant, might be worth a try just in case: http://muru.com/linux/mapphone-entropy
<tmlind> might be a good idea to add something like that anyways for devices with no hw rng available
<Wizzup> perhaps haveged can also help
<Wizzup> heh iio seems clever too :)
<tmlind> not sure if the sha256sum makes any difference there
<tmlind> anyways, that made my mz617 to connect on boot
<uvos> oh i thought the kernel uses sensors for rng anyhow - like it dose input devices
<tmlind> yeah but nothing reads them on boot
<uvos> i see
<uvos> i gues i expected the kernel to just read them if it finds itself out of entropy
<uvos> so til
<tmlind> uvos: actually looks like iio devices need to add it? see git grep add_device_randomness drivers/iio/
<tmlind> i guess we could also automatically read some data on the iio driver probe
<tmlind> but nothing would still ensure iio would be loaded before wl12xx..
akossh has quit [Quit: Leaving.]
<tmlind> hmm not sure if the iio driver should call add_device_randomness() on a single sensor data, it may not change at all while a combination of many sensors is likely to change
akossh has joined #maemo-leste
<freemangordon> arno11: don't follow, did you made the change I asked for?
<freemangordon> this:
<freemangordon> DEBUG_OUTPUT=1 G_MESSAGES_DEBUG=all /usr/sbin/dsmetool -t '/usr/bin/hildon-status-menu > /home/user/hsm.log'
<arno11> freemangordon: yes, with your changes
<arno11> yes
<freemangordon> it outputs to /home/user/hsm.log
<freemangordon> not to xsession-error
<arno11> yes but the file is empty
<freemangordon> how's that?!?
<arno11> *empty whatever i do
<arno11> it creates only an empty file
<arno11> it works only from userspace
<freemangordon> I tested in the VM and can assure you the file is not empty
<freemangordon> sorry, what is userspace?
<arno11> i mean, after boot
<freemangordon> please elaborate, what works after boot?
<freemangordon> arno, hmm, perhaps try to append
<freemangordon> DEBUG_OUTPUT=1 G_MESSAGES_DEBUG=all /usr/sbin/dsmetool -t '/usr/bin/hildon-status-menu >> /home/user/hsm.log'
<arno11> to resume, as i previously said: only an empty file with your changes. if i block hsm on boot and start it with debug stuff after boot, it works
<arno11> i already tried
<arno11> same result
<freemangordon> did you try with a different file name?
<arno11> yep
<freemangordon> maybe you have some remnant from previous tries that overwrite hsm.log
<arno11> i already check
<freemangordon> see, with DEBUG_OUTPUT=1, h-s-m writes to console
<freemangordon> there is no way for that to not work if written properly
<arno11> agree
<freemangordon> so, please pastebin the content of /etc/X11/Xsession.post/15hildon-status-menu
<arno11> if you want
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
<freemangordon> :(
<freemangordon> arno11: where are the quotes?
<freemangordon> DEBUG_OUTPUT=1 G_MESSAGES_DEBUG=all /usr/sbin/dsmetool -t '/usr/bin/hildon-status-menu >> /home/user/hsm.log'
<freemangordon> see the apostrophes around the command
<freemangordon> see mine https://pastebin.com/gHrLYPff
<arno11> omg, tired today, sorry
<arno11> will check again
<freemangordon> ok
<arno11> biab, rebooting
arno11 has left #maemo-leste [#maemo-leste]
Juest has quit [Ping timeout: 255 seconds]
xes has quit [Ping timeout: 264 seconds]
Juest has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
<freemangordon> tmlind: basically every second connection attempt fails
<freemangordon> sicelo: why it started to work?
<freemangordon> like, you said it sends wring status
<freemangordon> *wrong
<Wizzup> ftr I'm working on daedalus a bit
<Wizzup> looks like gtk2 is completely unchanged from bullseye->bookworm
<Wizzup> kinda nice in some way ;)
<freemangordon> yeah, saw it on ##leste-ci
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
<freemangordon> I hope that finally we'll have fixed sgx userspace blobs
Juesto has joined #maemo-leste
<Wizzup> oh yes, that will be interesting for sure
<freemangordon> do you remember where the new repo is?
<Wizzup> that's just in my firefox history
<Wizzup> don't know if it is new
<freemangordon> I meant - the new mesa
<Wizzup> I don'
<Wizzup> t understand what you mean
<freemangordon> there is a mesa fork that imcludes support for pvr
<freemangordon> *includes
<Wizzup> sorry, don't remember
<Wizzup> https://git.ti.com/cgit/graphics/omap5-sgx-ddk-um-linux/log/?h=1.17.4948957/mesa/glibc-2.35 this has mesa in the tag at least
Juest has quit [Ping timeout: 255 seconds]
Juesto is now known as Juest
Anasko has quit [Ping timeout: 252 seconds]
<Wizzup> this is only for new powervr I think
<freemangordon> wait
xes has joined #maemo-leste
<Wizzup> mhm
<Wizzup> and this is for old powervr hw?
<freemangordon> yes
<freemangordon> this is the same/similar to what we have
<freemangordon> but for newer mesa that dropped old drivers support
<uvos> dose that even matter given that mesa-amber exits (in debian too)
<freemangordon> no idea
<uvos> mesa-amber is a maintianed fork with the support for mesa classic drivers
<freemangordon> but I guess yes, it matters as we can ask for help/support/fixes
<uvos> it was forket at the same time as we forked mesa for pvr
<uvos> so we just rebase on that and its the same thing
<uvos> freemangordon: i gues yes
<freemangordon> Wizzup: I don;t think 23.2.1 branch supports sgx
<Wizzup> ok
<Wizzup> well bullseye had 20.x, we had 21.x ourselves, and bookworm has 22.x, so I guess we can make this work
<freemangordon> mhm
<freemangordon> I will forward-port whatever patches we have on top
<freemangordon> I really hope that would finally fix qt fullscreen hangs
<Wizzup> there is some time until we hit mesa ;)
<freemangordon> yeah
<freemangordon> hildon-desktop-clutter-1.x?
<freemangordon> do we need that?
<freemangordon> ok, have to go, night!
<Wizzup> we do not need it
<Wizzup> gn
Guest2030 has joined #maemo-leste
<Guest2030> freemangordon: https://paste.debian.net/1331458
Guest2030 is now known as arno11
<arno11> Wizzup: not sure issues 746 and 747 should be closed: on n900 pulsesrc works but with few changes iirc and outgoing still doesn't work
<Wizzup> ah
Livio has quit [Read error: Connection reset by peer]
Livio has joined #maemo-leste
DFP has joined #maemo-leste
<arno11> Wizzup: outgoing works on another network on my device :)
<arno11> too happy
<Wizzup> I still have to do more testing of this and also experience that feeling :D
<arno11> ok :)
<Wizzup> freemangordon: ah, so the building of packages with the same version went wrong because the dch hook didn't have aliases for chimaera and daedalus, only for ascii and beowulf
<Wizzup> oops
<Wizzup> (I fixed it now obviously)
<uvos> Wizzup: whats the use of mz617-tiny-bootstrap supposed to be?
<Wizzup> that's the image that you can flash to install leste to the main partition
<Wizzup> but in its current form you can't just flash it
<uvos> yeah but its not fit for puropse
<uvos> unless i missunderstand
<Wizzup> not yet, no
<uvos> the only partition flashable via fastboot that is large enough is cache at 850 ish mb
<uvos> but this image's fs is 3Gigs in size and its 2 partitons
<uvos> Wizzup: ok gotcha
<Wizzup> well yes but the 3GB aren't all used
<Wizzup> it's close to what it is supposed to be, but it's not it...yet
<uvos> sure but i was expecting this to be an image that can be "fastboot flash cache image.img "
<Wizzup> yeah.
<Wizzup> maybe you can try massaging it for this purpose
<Wizzup> I think it just needs a small amount of losetup (loopback) massaging
<uvos> i hosed my mz617 again :P
<Wizzup> uf :D
<Wizzup> do you still have my manually made img?
<uvos> im manually makeing an img from the tiny image
<Wizzup> ok, pls record the steps
<uvos> its not hard just create a 850mb fs and copy both boot and root there
<Wizzup> yeah that works too
<uvos> im not shure how the image builder works at all
<uvos> but i think this should be fairly trivial to do or?
<Wizzup> mostly yes
<uvos> should the second one be a different link?
<Wizzup> yeah meant to link to the .blend file as well
<Wizzup> in any case the .config line 167 is where most of the cleaning happens, and then I guess it needs a special finalize procedure
<Wizzup> sorry I menat .blend 167
<Wizzup> github is just silly
<uvos> i must be blind
<uvos> but i dont see where the partition table and the partitions are created
<uvos> thats the main problem really the mz617 image needs to be one parition not 2
<uvos> same for installing to mapphone emmc in gernal (having emmc images for d4 would be a nice spinoff here)
<Wizzup> you're not blind, it's just not that easy to plug in :)
<Wizzup> let me see if I can find it
<Wizzup> I think arm-sdk/boards/mz617.sh would need to be modified
<Wizzup> and then I don't know if arm-sdk supports a single partition for everything, probably does
<Wizzup> it looks like if bootfs is none (do not know if that is a special zsh value or not) then it will not do any bootfs stuff
<Wizzup> this is in arm-sdk/libdevuansdk/zlibs/imaging
<uvos> oh no
<uvos> the stock kernel crashes before it even gets to kexec
<Wizzup> strange...
<Wizzup> seems like it is unhappy with some of the partitions
<Wizzup> maybe if you clear data.. (but yeah)
<Wizzup> actually wai
<Wizzup> it doesn't crash before kexec
<Wizzup> insmod: can't insert '/lib/modules/3.0.8-g448a95f/kernel//uart.ko': File exists
<Wizzup> insmod: can't insert '/lib/modules/3.0.8-g448a95f/kernel//arm_kexec.ko': File exists
<Wizzup> insmod: can't insert '/lib/modules/3.0.8-g448a95f/kernel//kexec.ko': File exists
<uvos> thats fine
<Wizzup> kexec failed: Operation not permitted
<uvos> thats huh
<uvos> yeah
<Wizzup> isn't that when it should kexec?
<uvos> yeah
<uvos> wonder why it then dereferenes a nullptr
<Wizzup> probably something with system or data being mangled from its pov
<uvos> ok well one problem is
<uvos> that the image lacks omap4-xyboard-mz617.dtb
<uvos> :P
ShadowJK has quit [Quit: Leaving]
ShadowJK has joined #maemo-leste
ShadowJK has quit [Changing host]
ShadowJK has joined #maemo-leste
<Wizzup> heh.
<Wizzup> thx for trying this, I think we can maybe get this fixed pretty soon
Anasko has joined #maemo-leste
<uvos> Wizzup: yeah so the current devel pacakas the dtb
<uvos> but the images all lack it
<uvos> i presume thats because the stable kernel also lacks
<Wizzup> hm, I think it's because I haven't built images in 2-3 weeks
<Wizzup> but yes, at the time of building that image it probably lacked it
<Wizzup> (I have to restart the image builder vm)
<Wizzup> brb
Livio has quit [Ping timeout: 252 seconds]
Juest has quit [Ping timeout: 255 seconds]
Juesto has joined #maemo-leste
Juesto is now known as Juest
arno11 has left #maemo-leste [#maemo-leste]
Livio has joined #maemo-leste
Livio has quit [Ping timeout: 252 seconds]
mdz has joined #maemo-leste
<Wizzup> freemangordon: ugh libosso uses __malloc_hook which is now deprecated/gone
akossh has quit [Quit: Leaving.]
Anasko has quit [Ping timeout: 252 seconds]
Juest has quit [Excess Flood]
Juest has joined #maemo-leste
Anasko has joined #maemo-leste
Anasko has quit [Read error: Connection reset by peer]
xmn has quit [Ping timeout: 276 seconds]
DFP has quit [Remote host closed the connection]
DFP1 has joined #maemo-leste
Juesto has joined #maemo-leste
Juest has quit [Ping timeout: 265 seconds]
Juesto is now known as Juest