Pali has quit [Ping timeout: 252 seconds]
uvos has quit [Ping timeout: 240 seconds]
cockroach has quit [Quit: leaving]
xmn has quit [Ping timeout: 240 seconds]
sunshavi_ has quit [Ping timeout: 252 seconds]
sunshavi_ has joined #maemo-leste
joerg has quit [Ping timeout: 265 seconds]
joerg has joined #maemo-leste
mardy has joined #maemo-leste
Danct12 has quit [Ping timeout: 252 seconds]
Danct12 has joined #maemo-leste
_inky has quit [Ping timeout: 252 seconds]
inky_ has joined #maemo-leste
inky has quit [Ping timeout: 265 seconds]
_inky has joined #maemo-leste
xmn has joined #maemo-leste
Guest72 has joined #maemo-leste
Guest72 has quit [Quit: Client closed]
alex1216 has joined #maemo-leste
Pali has joined #maemo-leste
uvos has joined #maemo-leste
inky_ has quit [Ping timeout: 256 seconds]
inky_ has joined #maemo-leste
elastic_dog has quit [Ping timeout: 240 seconds]
<Wizzup> tmlind: fyi I booted 5.15.6 with no patches applied, just watchdog built in and I got the same panic right away
inky_ has quit [Ping timeout: 256 seconds]
elastic_dog has joined #maemo-leste
<Wizzup> when I wrote 'just watchdog built in' I mean omap2plus_defconfig and then:
<Wizzup> sed -i 's/CONFIG_OMAP_WATCHDOG=m/CONFIG_OMAP_WATCHDOG=y/' .config
<Wizzup> sed -i 's/CONFIG_TWL4030_WATCHDOG=m/CONFIG_TWL4030_WATCHDOG=y/' .config
<Wizzup> make -j16 ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- oldconfig
<Wizzup> The panic happens basically as soon as /sbin/init is started it seems
<mighty17[m]> uvos: `gp2ap002 3-0044: read 70 mA from ADC` yay!!
<uvos> mighty17[m]: what was the problem?
<mighty17[m]> dont really know, added #define DEBUG and got the dmesg of driver being loaded
<uvos> hmm
<mighty17[m]> seems like driver was looking for adc channels before they were being loaded and causes -517, now with debugs i can confirm that gpadc and gp2a works (partially)
<uvos> there is still something worn with the adc
inky has joined #maemo-leste
<uvos> if you cant read any of the other channels via sysfs
<uvos> *wrong
<mighty17[m]> i can read all other channels as well now :D
inky_ has joined #maemo-leste
inky_ has quit [Read error: Connection reset by peer]
<bencoh> mighty17[m]: you should probably use -EDEFER
<uvos> yeah
<uvos> its obv a race
<uvos> and debug is slowing it down
<uvos> its before that
<uvos> the adc is broken even when you dont have gp2ap loaded at all no>
<uvos> so the adc needs to probe after something
<adc> yes, i do
<mighty17[m]> whoops
<bencoh> ohnoes, an adc! it talks!
<adc> :D
<uvos> "the adc is broken even when you dont have gp2ap loaded at all no"
<uvos> this is true right?
<mighty17[m]> uvos: no, i think the adc works fine now
<adc> haha
<mighty17[m]> probably some twl6030 and 6032 madness
<mighty17[m]> i removed gpadc from twl6030 and it works now :P
<mighty17[m]> but still now the sensor isnt working, i think it needs interrupt for proixmity as well but looks like it clashes with sdmmc2 pins
<Wizzup> tmlind: hm same on 5.10.84
* Wizzup really wondering wth is up
pere has quit [Ping timeout: 240 seconds]
<Wizzup> surely it can't just be broken for that long
<uvos> dunno why not
<Wizzup> so either you were right and this particular n900 has trouble or the defconfig doesn't work for the rootfs
<Wizzup> uvos: other folks do ocassionally use it
<Wizzup> let me try linux-5.7.y
<uvos> yeah but everyone has trouble and writes custom defconfigs
<uvos> some omap in soc device driver might be causing this
<Wizzup> whatever it is, it's not a module
<Wizzup> it fails before it even loads a module
<Wizzup> see the trace
<uvos> ok
<uvos> yeah i see
<uvos> defconfig change dosent have to touch a module ofc
<uvos> maybe try pmos's config
<Wizzup> uvos: let me try 5.7 frst
<uvos> ofc your n900 being broken is possible too, you have several no?
<Wizzup> yes
<Wizzup> but it seems to be odd timing so I don't buy that yet
<Wizzup> If 5.7 also is borked then I will try other n900s
<Wizzup> or perhaps the new u-boot is somehow making it sad
<Wizzup> (next level annoyance)
<uvos> yeah thats possible too
<uvos> hw initalization state might be different
<bencoh> that sounds likely even
<uvos> yeah
<bencoh> where does it fetches rootfs from? nand? nor? usb?
<uvos> would make sense with fmg not having problems
<uvos> he used umiage with old uboot
<Wizzup> bencoh: rootfs is sdcard
<bencoh> ah
<Wizzup> uvos: he also had trouble but iirc that was perhaps just watchdog related
<Wizzup> anyway let's not jump to conclusions, I'll try the older u-boot after 5.7 if it doesn't work
<bencoh> Wizzup: does uboot fetches an initramfs from sdcard and copies it to RAM, or does the kernel uses some partition as root= ?
<uvos> latter
<Wizzup> sdcard
<Wizzup> just root=
<Wizzup> no initramfs
inky has quit [Remote host closed the connection]
<Wizzup> and the dtb is attached atm still
<bencoh> hmm, a uboot issue is a bit less likely then
<bencoh> since the kernel should init the sdcard from scratch
inky has joined #maemo-leste
<Wizzup> well the trouble starts when /sbin/init is loaded, idk if that means fs access or something else
<Wizzup> but it can also happen later depending on the stance of the moon :)
<uvos> uboot providing a different hw state might make the kernel trip over some previously masked bug it had
<Wizzup> yeah
<bencoh> uvos: yeah, it still sounds likely, just less than what I had in mind at first
<bencoh> (s/likely/possible/ at least)
inky has quit [Ping timeout: 265 seconds]
<Wizzup> 5.7 seems immune to the problem so far
<Wizzup> 5.7 idles at 0.11A with 3.8V in off mode at least :)
<Wizzup> (without addition off mode changes)
<Wizzup> addional*
<Wizzup> anyway -- separate issue...
<uvos> thats terrible no?
<bencoh> yeah
<bencoh> :)
<uvos> worse than d4 in ret :P
<Wizzup> sorry I mistyped again
<Wizzup> 0.011A
<bencoh> oh
<uvos> ok
<uvos> more like it
<bencoh> that's better
<Wizzup> it's a bit better than d4
<bencoh> (still 3x than fremantle, but heh :) )
<bencoh> (make it 4)
<Wizzup> that'll be fun to debug for sure
<bencoh> what, the rootfs/whatever issue on > 5.7 kernels?
<Wizzup> I've booted 7 times now and haven't seen it yet
<Wizzup> on 5.10 and 5.15 I hit it basically right away (but also not always)
<Wizzup> this is on the stable branches of both though
<Wizzup> not sure if I can bisect two stable branches
<uvos> as long as n900 has no other bugs between 5.7 and 5.10 it should not be too hard to automate.
<uvos> use the n900 debug kit to check on serial if it booted, power cycle the lab supply vi rs232 if it dident
<Wizzup> uvos: except that I need to take out the sd card every time ;)
<Wizzup> well, for every kernel
<uvos> Wizzup: not really
<uvos> uboot can load the kernel via usb or?
<Wizzup> not sure
<Wizzup> but it also stays powered over usb
<bencoh> with DFU and a power-controlled usb hub it would work
<Wizzup> I think with a bit of luck I can just do it somewhere today
<Wizzup> but yes automation would be good
<Wizzup> I was hoping to get one of those breakout microsd cards or something
<Wizzup> wait that's not it :)
<sicelo> Wow @ 5.7 off mode
<Wizzup> so does it make sense to do a git bisect between two stable branches?
<uvos> not really, but i suspect 5.7.0 and 5.10.0 would show the same issues or?
<Wizzup> maybe
<Wizzup> I can try that then
<Wizzup> damn they ask 90 euro lol
Danct12 has quit [Ping timeout: 252 seconds]
<uvos> Wizzup: using uboots ability to load the kernel from tftp makes more sense no?
<Wizzup> uvos: do you mean tftp over usb somehow?
<Wizzup> I don't know if that works really
<uvos> Wizzup: yeah
<Wizzup> we'd have to work on u-boot and musb first
<uvos> Wizzup: i dont either but it looks like everthing is there
<uvos> dident musb work>
<uvos> ?
<uvos> looks like uboot can also load the kernel over uart
<uvos> altho loading the 115200 is not going to be fun
<uvos> *kernel
<Wizzup> musb never really works :P
<Wizzup> there is serial over usb and I think maybe it can do file transfer
<Wizzup> I think pali tried that with latest u-boot
<Wizzup> so that could potentially work
<Wizzup> but that on its own is probably as much work as bisecting this by hand
<Pali> it acts as normal serial device
<Pali> so you can do file transfers
<Wizzup> right
<Pali> u-boot supports xmodem, ymodem and kermit
<uvos> using kermit dosent look to hard
<Pali> in u-boot run command: loadb
<Pali> and then start kermit file transfer application
<Pali> gkermit works fine
<Wizzup> ok
<Wizzup> I guess I'll need to figure out modules still
<uvos> just build it static maybe
<Pali> note that speed is limited by usb itself... this terminal is not speed-capable, so you cannot set e.g. speed 115200
<uvos> (if a static 5.10.0 kernel has same issue)
<Wizzup> uvos: yes, but unfortunately even that can currently lead to other problems
<uvos> no doubt
<Wizzup> I'd rather fix this first
<Wizzup> then look at no module builds
<Wizzup> Pali: check
<Wizzup> brb
Danct12 has joined #maemo-leste
<uvos> i gues another option is using the trick i use when bisecting d4
<uvos> i just boot a known good kernel and scp over the test kernel and kexec it
Daanct12 has joined #maemo-leste
Danct12 has quit [Ping timeout: 252 seconds]
_inky has quit [Ping timeout: 265 seconds]
<Wizzup> uvos: so I think 5.7.0 has problems with detecting the sd card because of this card detect nonsense
<Wizzup> maybe that was merged earlier and this is yet another unrelated issue
xmn has quit [Ping timeout: 265 seconds]
<Wizzup> yeah that got into 5.4
<Wizzup> oh, the mmc numbering is different in 5.7 compared to 5.7.y
* Wizzup flips table
<uvos> all of this is good reason to get uboot kermit automated testing to work
<uvos> so we can have a n900 in the debug kit at all times tracking master.
<uvos> but yeah looks like a total mess for you
<uvos> maybe manually bisect manually and try 5.8 and see if that boots :P
<Wizzup> ok so no I was wrong, the order didn't change, it just doesn't find the sd card
<Wizzup> yeah going to try 5.8 first, maybe it doesn't have this problem
<uvos> i seam to remembner something like that yeah
<Wizzup> and yes, this is a reason to have ci/automated testing
<uvos> 5.8 was a golden kernel on d4 - absolutly no issues :P
<Wizzup> lol
<Wizzup> https://shop.pimoroni.com/products/microsd-extension-cable maybe something like this is useful as well
Daanct12 is now known as Danct12
zhxt has joined #maemo-leste
_inky has joined #maemo-leste
<Wizzup> 5.8 seems to boot as well
<Wizzup> still has a ton of drm backtraces, but I guess it was just really broken then
pere has joined #maemo-leste
<Wizzup> same for 5.9; but that doesn't hit off mode
<Wizzup> (didn't check 5.8 for fof mode)
uvos has quit [Ping timeout: 265 seconds]
<Wizzup> tmlind: hmm 5.10 (no stable patches applied) also has oops that looks very much like the one we're seeing in 5.10.y and 5.15.y - https://dpaste.com/G3LLXJBTX.txt
<Wizzup> but it might not be the same, so that will make the bisect quite annoying :(
<Wizzup> tmlind: what about 0a27398d8969f0def188ab46f932ea1366874bd4 ?
<Wizzup> that is ec76c2eea903947202098090bbe07a739b5246e9 upstream
inky has joined #maemo-leste
<Wizzup> tmlind: hm on top of v5.10 I tried to revert 21b2cec61c04bd175f0860d9411a472d5a0e7ba1 (the commit that ec76c2eea903947202098090bbe07a739b5246e9 tries to fix) and when I do that I get the same oopses as I get on 5.10.y and 5.15.y
<Wizzup> tmlind: also, your test setup, does it use sd cards?
inky has quit [Ping timeout: 240 seconds]
inky has joined #maemo-leste
<Wizzup> hm, looks like v5.9 ... v5.10 diff also has a commit that enables off mode automatically
inky has quit [Ping timeout: 240 seconds]
<Wizzup> ok, getting closer
<bencoh> do you think your issue is related to off mode?
<bencoh> if so you could disable the idle state(s)
<bencoh> and see if it fixes it
<Wizzup> I emailed linux-omap with some info
<Wizzup> the problem is not ec76c2eea903947202098090bbe07a739b5246e9
<Wizzup> It looks like it was introduced between v5.9 and v5.10 though, but if I bisect that I'll have to revert another commit all the time that causes another regressi
<Wizzup> on
<Wizzup> I suppose that's feasible, just not sure if that's standard practice
uvos has joined #maemo-leste
<uvos> Wizzup: sure git bisect has a option to carry a patch for you
<uvos> hopefully your commit is non invasive
<Wizzup> this being a race and all I might be unlucky but reverting fb2c599f056640d289b2147fbe6d9eaee689f1b2 on top of v5.10 (with the other regression reverted as well) makes the boot problem go away
<uvos> sure
<uvos> might also happen at any point during the bisect
<uvos> causeing false bad commits
<Wizzup> I didn't do a bisect
<Wizzup> I just took v5.10 and figured that commit might cause the problem
<Wizzup> so I reverted it..
inky has joined #maemo-leste
_inky has quit [Ping timeout: 268 seconds]
<Wizzup> going to try our 5.15 with pvr again, with this patch reverted
<Wizzup> uvos: btw the 0.011A is reported should be 0.007A since the serial module uses 0.004A when idle
<Wizzup> that is the board that I got from tony
<Wizzup> but yeah
_inky has joined #maemo-leste
<bencoh> I was wrong about fremantle being 3x better battery-wise btw, I thought that bq scripts reported in mW, but it shows mA as well ... so I get
<bencoh> 8~12mA when idling
<Wizzup> right, my test was with init=/bin/sh
<bencoh> (modem on)
<Wizzup> so it's not quite comparable
<bencoh> ah
<Wizzup> I can try to fire up fremantle later
<Wizzup> bencoh: if we were hitting OFF modem and 0.007A with leste and UI I'd be buying beers now and get drunk tonight ;)
<Wizzup> 0.07A*
<bencoh> :D
<Wizzup> (not sure why I keep mistyping this)
<bencoh> ah
<bencoh> so 70mA?
<Wizzup> 0.007A sorry :(
<bencoh> :D
<Wizzup> hehe
<bencoh> you should just move to mA
<bencoh> for idle it makes more sense
<Wizzup> yeah
<bencoh> (even for non-idle states actually)
<Wizzup> I should just connect the power supplies to my laptop again and use my tools
<Wizzup> better then doing mental calculations when distracted
<bencoh> :)
<Wizzup> decisive minute incoming... :)
<Wizzup> lol, tklock keeps waking up in idle
<bencoh> hmm
<bencoh> I
<Wizzup> in any case, I am pretty confident that reverting fb2c599f056640d289b2147fbe6d9eaee689f1b2 makes the problems go away!
<bencoh> I'm pretty certain it doesn't on fremantle, and iirc it was REed
<bencoh> anyway, nice :)
<bencoh> well, "nice" that you found it ... the fact that it doesn't work is kinda sad
<Wizzup> I don't think it means that OFF mode doesn't work
<Wizzup> we can hit it just fine in init=/bin/sh
<Wizzup> I think there is some other interaction that makes things go bad
<Wizzup> maybe the PWRDM change Andreas made
<bencoh> hm
<Wizzup> arh..
eniac_petrov has joined #maemo-leste
<bencoh> the commit itself is quite simple :)
<bencoh> but it could be interactions with other components yeah (pvr?)
<Wizzup> no, it's not with powervr for sure
<Wizzup> all my testing was without powervr
<Wizzup> 5.7,5.8,5.9,5.10,5.10.y,5.15.y - tried all without powervr
<uvos> for all the pvr bashiing we do pvr_k so far has really not been the cause of any issues.
<Wizzup> hehe
<bencoh> :)
eniac_petrov has quit [Quit: Leaving]
<Wizzup> freemangordon: btw I think maybe the d4 resource crash is because of rotation, maybe try to do some automated rotation test
<Wizzup> freemangordon: just a hunch though
<bencoh> you could spawn "stress" commands with various random arguments (cpu/io/vm) for random period of times and add sleeping periods in between to try to reproduce the issue with init=/bin/sh
<bencoh> (for instance)
<Wizzup> what problem is this exactly?
<bencoh> ?
inky_ has joined #maemo-leste
<Wizzup> bencoh: so I don't know why this commit causes the problems, but I know that we already hit off mode on n900 in init=/bin/sh ... ah I see, you're suggesting that it only happens in OFF mode and some interactions
<bencoh> that's more or less what you suggested as well
<bencoh> so trying to simulate various loads from a single-user shell might help reproducing it
<Wizzup> well, I am not sure if the problem still exists with this commit reverted
<bencoh> (basically forcing idle transations with various load patterns)
<Wizzup> it manifested itself even without off mode ever being hit on leste UI
<Wizzup> and it enabled it based on some dts compatible entry
<bencoh> I mean, keep the patch in, boot to single-user shell
<bencoh> and try to make the issue appear
<bencoh> ah
<Wizzup> so it's possible that the PWRDM change is simply what causes the problems
<Wizzup> I'll wait for Andreas/Tony to comment first, I can continue with my stuff with this commit reverted
_inky has quit [Ping timeout: 240 seconds]
inky has quit [Ping timeout: 268 seconds]
<Wizzup> so next thing: with /etc/init.d/n900-powermanagement start, gpio_keys falsely reports slide changes
<Wizzup> # sleep 5; /etc/init.d/n900-powermanagement status
<Wizzup> d=2021-12-08|t=17:09:24|i=OFF:0,RET:0|p=731|c=NA|b=ST_SDRC,ST_OMAPCTRL
<Wizzup> lame... :-)
<Wizzup> no more blockers, but also no RET/OFF
<Wizzup> oh
<Wizzup> (ke-recv was 'busy')
_inky has joined #maemo-leste
<dsc_> is there a file manager for maemo?
<sicelo> Wizzup: in your mail, "PS: Nikolaus - might be worth getting that N900 going some time soon. ;-)" ... i guess you meant Sebastian? :)
<Wizzup> no
<Wizzup> Nikolaus reached out last week saying he had a n900 and asked how to set it up
<Wizzup> dsc_: there is a proprietary one that freemangordon said he would RE, and there's a qt one called 'hamsterfiler'
<Wizzup> we haven't ported the qt one yet
<sicelo> ah, ok
* sicelo wonders why suddenly he doesn't get linux-omap emails on his inbox
<Wizzup> sicelo: nikolaus emailed off list
<uvos> dsc_: we also have liri-files
<bencoh> sicelo: too many bounces maybe
<Wizzup> sicelo: I just CC'd sre because I thought he wanted to know since I mentioned this in the modem email
<uvos> dsc_: works farily fine on mapphone
<sicelo> i have to re-check the subscription. maybe it went into digest mode or something
<Wizzup> sicelo: plus when he mailed me he included andreas (who authored the commit that caused the regression)
<Wizzup> so I figured it'd make sense to loop them in
<uvos> upps
<bencoh> oops indeed
<uvos> i think this happens every year :P
<bencoh> :]
<Wizzup> lol
<dsc_> $ liri-files
<dsc_> QQmlApplicationEngine failed to load component
<dsc_> qrc:/qml/main.qml:24 module "Fluid.Controls" is not installed
<dsc_> :>
<uvos> dsc_: hmm
<uvos> dsc_: upps again
<uvos> dsc_: apt search liri fluid
<dsc_> ah
<uvos> dsc_: theres a package for that
<uvos> should be in depends ofc
<dsc_> yeah `liri-fluid` specifically
<dsc_> yeah I'm running it currently, looks pretty good!
<Wizzup> it doesn't follow the maemo theme, but yeah, that's a common qml problem I think
<uvos> right and the liri stuff explicitly apes android
<dsc_> missing some stuff like "open"
<uvos> not sure what you mean by open
<uvos> it uses xdg-open to open anything you click on
<dsc_> Unable to detect a launcher for 'file:///home/user/conversations/README.md'
<dsc_> ah k
<dsc_> no mime handler for that or whatever
<Wizzup> probably
<dsc_> might make my own file explorer with QtWidgets
<uvos> the qt maemo one exists
<dsc_> no reason for this to be QML and also kinda seems like it is targetted towards desktop usage idk we'll see
<Wizzup> maybe look at hamster filter
<uvos> might be easier to port
<dsc_> ah
<dsc_> well yeah thats some gtk stuff most likely
<dsc_> ah no, Qt
<dsc_> alright ill take a looksie
<bencoh> yeah, I was quite certain it was a gtk-one as well
<bencoh> gtk app*
<bencoh> it's very lean/fast/nice imo :)
<dsc_> apparently Qt :)
<bencoh> ueaj
<bencoh> yeah*
<Wizzup> I haven't used hamsterfiler yet
<bencoh> I hardly use any file browser anyway, but it's cool
<uvos> btw gnome files also works pretty well
<uvos> if something is needed immiatly
<dsc_> yeah its not super important but i'm hyped @ the prospect of creating apps for my future linux mobile phone
<bencoh> :)
<uvos> then again it wont work without https://github.com/maemo-leste/libmatchbox2/pull/8
<uvos> ahem
<dsc_> my droid 4 magically started working... nice
<bencoh> wait, I thought qt/gtk wer efine with it?
<bencoh> were* fine with the WM_HINTS thing
<bencoh> or is that just because they were patched on fremantle?
<uvos> this is something else entirely
<bencoh> ah
<bencoh> nevermind then
<uvos> windows that are csd get renderd at fullscreen resolution
<uvos> but hildon still draws the bar on top
<uvos> makeing things unusable
<freemangordon> Wizzup: so, reverting off mode patch fixes it?
<freemangordon> and even with that patch reverted we still hti off mode?
<Wizzup> freemangordon: yes
<Wizzup> freemangordon: not with h-d and full leste booted, but with minimal env
<freemangordon> hmm
<Wizzup> I suspect the powerdomain change as I stated before, but maybe it just masks another issue
<bencoh> wait, how do you get OFF mode without the patch?
<dsc_> maybe ill create an app that decorates your desktop with daily cute animals (options for cat/bunny/dogs)
<freemangordon> yeah
<Wizzup> bencoh: via debugfs
<dsc_> (yes I'm bored)
<bencoh> ah, nevermind :)
<Wizzup> bencoh: see droid4-pm and n900-pm repos
<freemangordon> dsc_: you know h-h supports animated(video) wallpapers?
<bencoh> ohnoes :D
<dsc_> freemangordon: interesting, it plays .mp4 in a loop?
<dsc_> great for battery life!
<freemangordon> not sure about what format it requires
<dsc_> ok thanks
<freemangordon> dsc_: I think this is called "Live Wallpaper"
<freemangordon> Wizzup: anyways, I am too busy ATM with RL job, hopefully next week things will get better
<Wizzup> freemangordon: all good, I think I can continue with this commit reverted
<uvos> freemangordon: heh, android has these too since 2009/2.0 i think
<Wizzup> freemangordon: the point was to have pvr on 5.15 on n900
<uvos> freemangordon: never seen anyone use them outside of retail estabilshments
<uvos> stupid things
<dsc_> :D
<Wizzup> off mode is secondary, and this patch didn't improve it for us
<Wizzup> dsc_: what about desktop widgets, those might be useful
<Wizzup> we have a calendar widget for example
<bencoh> iirc those were a battery hog on fremantle as well, unfortunately
<Wizzup> but but animated matrix (the movie) backgrounds!
<freemangordon> never used it, but is a nice feature to have
<bencoh> but it's a cool idea
<Wizzup> it could be nice for wall mounted tablets or something
<bencoh> I vaguely remember troubleshooting it years ago, and iirc the bottomline was that having desktop widgets prevented hildon from sleeping properly (ie it wokeup way more)
<Wizzup> it depends on how the widget behaves I think
<Wizzup> the calendar one is fine
<uvos> also desktop command widget seams fine
<bencoh> oh, the TMO/leste forum is getting some activity, nice :)
<uvos> but the way the widgets work is _terrible_ imo
<freemangordon> what is terrible about it?
<uvos> having random packages load plugins into hildon-home is a bad idea form a reliablity perspective
<bencoh> uvos: actually iirc I tried desktop command widget back then
<uvos> and it forces a toolkit on the widgets
<uvos> the widgets should just be embeded x windows
<bencoh> (but heh, it was ... years ago)
<uvos> or pixmaps the widget sends
<freemangordon> oh, you force xorg
<uvos> wayland has the same window embeding
<uvos> and the toolkits abstract it
<freemangordon> what about wayland? :P
<uvos> so no
<freemangordon> also, how is that going to work on windows?
<uvos> should work on windows to
<uvos> really
<freemangordon> great
<uvos> if you want
<freemangordon> anyways, I am not in a mood to be productive :)
<freemangordon> So lets not distract others at least
* freemangordon is afk
<dsc_> anyway to get "the battery status" via terminal command?
<dsc_> or some other way to visually know what the battery charge is
<Wizzup> yeah... this is a bit tricky
<Wizzup> upower has the info, but mce also some
<dsc_> I'm hooked into USB power, so the battery icon will animate, but it wont actually show the charge
<dsc_> ah, thanks
<Wizzup> calibration takes time
mp1074 has quit [Quit: The Lounge - https://thelounge.chat]
mp1074 has joined #maemo-leste
Wikiwide has quit [Ping timeout: 240 seconds]
<tmlind> Wizzup: so if reverting fb2c599f056640d289b2147fbe6d9eaee689f1b2 makes things behave, sounds like the system enters some idle mode during init before things are ready or something like that
<tmlind> Wizzup: maybe try to enable off mode automatically only with a late_initcall?
<Wizzup> tmlind: what do you mean, late initcall? do you mean through init script?
<Wizzup> that works
<tmlind> hmm well omap2_common_pm_late_init() is already late_initcall it seems and that ends up calling omap3_pm_init()
<Wizzup> well, doing it through debugfs works ok
<tmlind> maybe twl is not fully initialized at that point yet?
<Wizzup> also this sometimes caused problems way later in the boot process, like 300s in
<Wizzup> so I think there's something else that this commit is also affecting
<Wizzup> maybe wrt module loading
<tmlind> if twl4030_power_probe() has not completed before deeper idle states the regulator voltages will be all wrong for idle modes
<Wizzup> sorry brb 15 mins
sunshavi_ has quit [Quit: ERC (IRC client for Emacs 27.2)]
<uvos> dsc_: cat /sys/class/power_supply/battery/voltage_now
<dsc_> uvos: dir `/sys/class/power_supply/` is empty
<uvos> what device?
<dsc_> d4
<uvos> cat /proc/modules | grep cpcap ?
<uvos> something is very wrong on your device
<dsc_> no 'cpcap'
<uvos> dmesg please
<uvos> so no cpcap_battery cpcap_charger?
<dsc_> sorry.. wrong terminal, that was QEMU /me changes hostname
<uvos> lol
<dsc_> voltage_now = 3870000
<uvos> right you can use the voltage to estimate charge
<dsc_> ok hehe
vectis has quit [Read error: Connection reset by peer]
vectis has joined #maemo-leste
akossh has joined #maemo-leste
alex1216 has quit [Quit: WeeChat 2.3]
sicelo_ has joined #maemo-leste
sicelo_ has quit [Remote host closed the connection]
sicelo_ has joined #maemo-leste
sicelo_ has joined #maemo-leste
uvos has quit [Ping timeout: 252 seconds]
sicelo_ has quit [Quit: Bye!]
dos1 has joined #maemo-leste
bencoh_ has joined #maemo-leste
Newt-o_ has joined #maemo-leste
bencoh has quit [Ping timeout: 260 seconds]
dos has quit [Ping timeout: 260 seconds]
Newt-o has quit [Ping timeout: 260 seconds]
dos1 is now known as dos
<Wizzup> uvos: anything you want me to test on pp?
sicelo_ has joined #maemo-leste
<Wizzup> -experimental mesa works on PP
<Wizzup> we should probably try the new X release, see if modesetting gets any better
sicelo_ has quit [Remote host closed the connection]
sicelo_ has joined #maemo-leste
sicelo_ has joined #maemo-leste
sicelo_ has quit [Changing host]
mardy has quit [Quit: WeeChat 2.8]
sicelo_ has quit [Quit: Bye!]
akossh has quit [Ping timeout: 265 seconds]
bencoh_ has joined #maemo-leste
bencoh_ has quit [Changing host]
bencoh_ is now known as bencoh
<Wizzup> freemangordon: you had tried to build a new X, right?
sunshavi has joined #maemo-leste
xmn has joined #maemo-leste
Wikiwide_ has joined #maemo-leste
uvos has joined #maemo-leste
<uvos> Wizzup: sure
<uvos> so someone needs to try out/ set up charge-mode on pp
<uvos> and emergency shell runlevel with fbkeyboard
<uvos> also investigation on display brightness linearity
<Wizzup> hi ho
<Wizzup> ok
<Wizzup> I wonder if we should try to get the new xorg as well
<Wizzup> it might fix the modesetting problems
<uvos> what modesetting ploblems do we have?
<Wizzup> on the pinephone?
<uvos> we have problems with glamor not modesetting no?
<Wizzup> we have crashes, graphical glitches/damage update problems
<Wizzup> well, there's a lot of glamor fixes too
<uvos> also those would probubly be solved
<uvos> if we where to use the gles path instead of the ogl one
<Wizzup> (I counted about 80+ mentions of glamor in the changelog)
<Wizzup> are you sure? I'm pretty sure we tried that in the past to no avail
<Wizzup> we can try again of course
<uvos> im not sure ofc
<Wizzup> :p
<uvos> i dont think you can make glamor choose gles
<uvos> when ogl is available
<uvos> other than a patch
<Wizzup> I saw that new X has a check where if gl > 2.1 it will use gles or something
<uvos> no i think it uses egl then
<Wizzup> ah, no, that's < 2.1
<uvos> but maybe im miss remembering
<Wizzup> ah, could be
<Wizzup> no you're probably right
<uvos> yeah it tries gles if gl is <2.1
<uvos> problem is pp ends up in ogl path
<uvos> and ogl is known to be iffy on it
Wikiwide___ has joined #maemo-leste
<Wizzup> still there are a lot of fixes for glamor
<uvos> yeah sure
<Wizzup> uvos: do you know how to force it into gles path?
<uvos> you have to patch the places where it calls epoxy
<uvos> i did this before for my desktop to try the gles path on radeon
<uvos> i can dig it up tomorrow
<uvos> its just a oneliner ofc
<Wizzup> ok
Wikiwide_ has quit [Ping timeout: 252 seconds]
Wikiwide___ is now known as 038AAKV4J