libera/#maemo-leste/ Wednesday, 2021-12-08

Wizzuptmlind: fyi I booted 5.15.6 with no patches applied, just watchdog built in and I got the same panic right away11:18
Wizzuphttps://dpaste.com/FQ6QALNAE.txt11:19
Wizzupwhen I wrote 'just watchdog built in' I mean omap2plus_defconfig and then:11:20
Wizzupsed -i 's/CONFIG_OMAP_WATCHDOG=m/CONFIG_OMAP_WATCHDOG=y/' .config11:21
Wizzupsed -i 's/CONFIG_TWL4030_WATCHDOG=m/CONFIG_TWL4030_WATCHDOG=y/' .config11:21
Wizzupmake -j16 ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- oldconfig11:21
WizzupThe panic happens basically as soon as /sbin/init is started it seems11:22
mighty17[m]uvos: `gp2ap002 3-0044: read 70 mA from ADC` yay!!11:30
uvosmighty17[m]: what was the problem?11:30
mighty17[m]dont really know, added #define DEBUG and got the dmesg of driver being loaded11:31
uvoshmm11:31
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)11:31
uvosthere is still something worn with the adc11:31
uvosif you cant read any of the other channels via sysfs11:32
uvos*wrong11:32
mighty17[m]i can read all other channels as well now :D11:32
bencohmighty17[m]: you should probably use -EDEFER11:32
uvosyeah11:32
uvosits obv a race11:32
uvosand debug is slowing it down11:32
mighty17[m]https://github.com/torvalds/linux/blob/v5.15/drivers/iio/light/gp2ap002.c#L508 kinda weird driver11:33
uvosits before that11:33
uvosthe adc is broken even when you dont have gp2ap loaded at all no>11:34
uvosso the adc needs to probe after something11:34
adcyes, i do11:34
mighty17[m]whoops11:34
bencohohnoes, an adc! it talks!11:34
adc:D11:34
uvos"the adc is broken even when you dont have gp2ap loaded at all no"11:34
uvosthis is true right?11:34
mighty17[m]uvos: no, i think the adc works fine now11:34
adchaha11:34
mighty17[m]probably some twl6030 and 6032 madness11:34
mighty17[m]i removed gpadc from twl6030 and it works now :P11:35
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 pins11:36
* mighty17[m] uploaded an image: (13KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/egtGkZtSgEYQcXTaFSqNZxCl/image.png >11:36
* mighty17[m] uploaded an image: (13KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/YmVvtKQxMKUcYXfsLflCUTOM/image.png >11:36
Wizzuptmlind: hm same on 5.10.8411:38
* Wizzup really wondering wth is up11:38
Wizzupsurely it can't just be broken for that long11:39
uvosdunno why not11:39
Wizzupso either you were right and this particular n900 has trouble or the defconfig doesn't work for the rootfs11:39
Wizzupuvos: other folks do ocassionally use it11:39
Wizzuplet me try linux-5.7.y11:39
uvosyeah but everyone has trouble and writes custom defconfigs11:39
uvossome omap in soc device driver might be causing this11:40
Wizzupwhatever it is, it's not a module11:41
Wizzupit fails before it even loads a module11:41
Wizzupsee the trace11:41
uvosok11:41
uvosyeah i see11:41
uvosdefconfig change dosent have to touch a module ofc11:41
Wizzuphttps://dpaste.com/AR4E99WES.txt11:41
uvosmaybe try pmos's config11:41
Wizzupuvos: let me try 5.7 frst11:41
uvosofc your n900 being broken is possible too, you have several no?11:42
Wizzupyes11:42
Wizzupbut it seems to be odd timing so I don't buy that yet11:42
WizzupIf 5.7 also is borked then I will try other n900s11:42
Wizzupor perhaps the new u-boot is somehow making it sad11:43
Wizzup(next level annoyance)11:43
uvosyeah thats possible too11:43
uvoshw initalization state might be different11:43
bencohthat sounds likely even11:43
uvosyeah11:43
bencohwhere does it fetches rootfs from? nand? nor? usb?11:43
uvoswould make sense with fmg not having problems11:43
uvoshe used umiage with old uboot11:43
Wizzupbencoh: rootfs is sdcard11:44
bencohah11:44
Wizzupuvos: he also had trouble but iirc that was perhaps just watchdog related11:44
Wizzupanyway let's not jump to conclusions, I'll try the older u-boot after 5.7 if it doesn't work11:44
bencohWizzup: does uboot fetches an initramfs from sdcard and copies it to RAM, or does the kernel uses some partition as root= ?11:44
uvoslatter11:45
Wizzupsdcard11:45
Wizzupjust root=11:45
Wizzupno initramfs11:45
Wizzupand the dtb is attached atm still11:45
bencohhmm, a uboot issue is a bit less likely then11:45
bencohsince the kernel should init the sdcard from scratch11:45
Wizzupwell the trouble starts when /sbin/init is loaded, idk if that means fs access or something else11:45
Wizzupbut it can also happen later depending on the stance of the moon :)11:46
uvosuboot providing a different hw state might make the kernel trip over some previously masked bug it had11:46
Wizzupyeah11:46
bencohuvos: yeah, it still sounds likely, just less than what I had in mind at first11:46
bencoh(s/likely/possible/ at least)11:48
Wizzup5.7 seems immune to the problem so far11:53
Wizzup5.7 idles at 0.11A with 3.8V in off mode at least :)11:55
Wizzup(without addition off mode changes)11:56
Wizzupaddional*11:57
Wizzupanyway -- separate issue...11:57
uvosthats terrible no?11:57
bencohyeah11:57
bencoh:)11:57
uvosworse than d4 in ret :P11:57
Wizzupsorry I mistyped again11:57
Wizzup0.011A11:57
bencohoh11:57
uvosok11:57
uvosmore like it11:57
bencohthat's better11:57
Wizzupit's a bit better than d411:57
bencoh(still 3x than fremantle, but heh :) )11:58
bencoh(make it 4)11:58
Wizzupthat'll be fun to debug for sure11:58
bencohwhat, the rootfs/whatever issue on > 5.7 kernels?11:59
WizzupI've booted 7 times now and haven't seen it yet11:59
Wizzupon 5.10 and 5.15 I hit it basically right away (but also not always)11:59
Wizzupthis is on the stable branches of both though11:59
Wizzupnot sure if I can bisect two stable branches11:59
uvosas long as n900 has no other bugs between 5.7 and 5.10 it should not be too hard to automate.12:01
uvosuse the n900 debug kit to check on serial if it booted, power cycle the lab supply vi rs232 if it dident12:02
Wizzupuvos: except that I need to take out the sd card every time ;)12:02
Wizzupwell, for every kernel12:02
uvosWizzup: not really12:03
uvosuboot can load the kernel via usb or?12:03
Wizzupnot sure12:03
Wizzupbut it also stays powered over usb12:03
bencohwith DFU and a power-controlled usb hub it would work12:04
WizzupI think with a bit of luck I can just do it somewhere today12:04
Wizzupbut yes automation would be good12:04
WizzupI was hoping to get one of those breakout microsd cards or something12:05
Wizzuphttps://opencircuit.shop/Product/MicroSD-card-breakout-board-plus12:05
Wizzupwait that's not it :)12:05
siceloWow @ 5.7 off mode12:05
Wizzupso does it make sense to do a git bisect between two stable branches?12:11
uvosnot really, but i suspect 5.7.0 and 5.10.0  would show the same issues or?12:13
Wizzupmaybe12:14
WizzupI can try that then12:14
Wizzupbtw: https://linux-automation.com/en/products/usb-sd-mux.html12:14
Wizzupdamn they ask 90 euro lol12:14
uvosWizzup: using uboots ability to load the kernel from tftp  makes more sense no?12:15
Wizzupuvos: do you mean tftp over usb somehow?12:16
WizzupI don't know if that works really12:16
uvosWizzup: yeah12:16
Wizzupwe'd have to work on u-boot and musb first12:16
uvosWizzup: i dont either but it looks like everthing is there12:16
uvosdident musb work>12:16
uvos?12:16
uvoslooks like uboot can also load the kernel over uart12:18
uvosaltho loading the 115200 is not going to be fun12:18
uvos*kernel12:18
Wizzupmusb never really works :P12:19
Wizzupthere is serial over usb and I think maybe it can do file transfer12:19
WizzupI think pali tried that with latest u-boot12:19
Wizzupso that could potentially work12:19
Wizzupbut that on its own is probably as much work as bisecting this by hand12:19
Paliit acts as normal serial device12:20
Paliso you can do file transfers12:20
Wizzupright12:20
Paliu-boot supports xmodem, ymodem and kermit12:20
uvosusing kermit dosent look to hard12:20
Paliin u-boot run command: loadb12:20
Paliand then start kermit file transfer application12:21
Paligkermit works fine12:21
Wizzupok12:21
WizzupI guess I'll need to figure out modules still12:21
uvosjust build it static maybe12:22
Palinote that speed is limited by usb itself... this terminal is not speed-capable, so you cannot set e.g. speed 11520012:22
uvos(if a static 5.10.0 kernel has same issue)12:22
Wizzupuvos: yes, but unfortunately even that can currently lead to other problems12:22
uvosno doubt12:22
WizzupI'd rather fix this first12:22
Wizzupthen look at no module builds12:22
WizzupPali: check12:23
Wizzupbrb12:23
uvosi gues another option is using the trick i use when bisecting d412:26
uvosi just  boot a known good kernel and scp over the test kernel and kexec it12:26
Wizzupuvos: so I think 5.7.0 has problems with detecting the sd card because of this card detect nonsense12:53
Wizzupmaybe that was merged earlier and this is yet another unrelated issue12:54
Wizzupyeah that got into 5.412:55
Wizzupoh, the mmc numbering is different in 5.7 compared to 5.7.y12:56
* Wizzup flips table12:57
uvosall of this is good reason to get uboot kermit automated testing to work13:01
uvosso we can have a n900 in the debug kit at all times tracking master.13:01
uvosbut yeah looks like a total mess for you13:01
uvosmaybe manually bisect manually and try 5.8 and see if that boots :P13:02
Wizzupok so no I was wrong, the order didn't change, it just doesn't find the sd card13:02
Wizzupyeah going to try 5.8 first, maybe it doesn't have this problem13:02
uvosi seam to remembner something like that yeah13:02
Wizzupand yes, this is a reason to have ci/automated testing13:03
uvos5.8 was a golden kernel on d4 - absolutly no issues :P13:03
Wizzuplol13:03
Wizzuphttps://shop.pimoroni.com/products/microsd-extension-cable maybe something like this is useful as well13:05
Wizzup5.8 seems to boot as well13:19
Wizzupstill has a ton of drm backtraces, but I guess it was just really broken then13:19
Wizzupsame for 5.9; but that doesn't hit off mode13:45
Wizzup(didn't check 5.8 for fof mode)13:45
Wizzuptmlind: 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.txt14:11
Wizzupbut it might not be the same, so that will make the bisect quite annoying :(14:11
Wizzuptmlind: what about 0a27398d8969f0def188ab46f932ea1366874bd4 ?14:13
Wizzupthat is ec76c2eea903947202098090bbe07a739b5246e9 upstream14:14
Wizzuptmlind: 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.y14:20
Wizzuptmlind: also, your test setup, does it use sd cards?14:35
Wizzuphm, looks like v5.9 ... v5.10 diff also has a commit that enables off mode automatically14:56
Wizzupok, getting closer15:05
bencohdo you think your issue is related to off mode?15:07
bencohif so you could disable the idle state(s)15:08
bencohand see if it fixes it15:08
WizzupI emailed linux-omap with some info15:10
Wizzupthe problem is not ec76c2eea903947202098090bbe07a739b5246e915:10
WizzupIt 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 regressi15:11
Wizzupon15:11
WizzupI suppose that's feasible, just not sure if that's standard practice15:11
uvosWizzup: sure git bisect has a option to carry a patch for you15:17
uvoshopefully your commit is non invasive15:18
Wizzupthis 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 away15:19
uvossure15:20
uvosmight also happen at any point during the bisect15:21
uvoscauseing false bad commits15:21
WizzupI didn't do a bisect15:21
WizzupI just took v5.10 and figured that commit might cause the problem15:22
Wizzupso I reverted it..15:22
Wizzuphttps://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fb2c599f056640d289b2147fbe6d9eaee689f1b2 maybe the PWRDM change15:25
Wizzupgoing to try our 5.15 with pvr again, with this patch reverted15:25
Wizzupuvos: btw the 0.011A is reported should be 0.007A since the serial module uses 0.004A when idle15:31
Wizzupthat is the board that I got from tony15:32
Wizzupbut yeah15:32
bencohI 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 get15:43
bencoh8~12mA when idling15:43
Wizzupright, my test was with init=/bin/sh15:43
bencoh(modem on)15:43
Wizzupso it's not quite comparable15:44
bencohah15:44
WizzupI can try to fire up fremantle later15:44
Wizzupbencoh: if we were hitting OFF modem and 0.007A with leste and UI I'd be buying beers now and get drunk tonight ;)15:44
Wizzup0.07A*15:44
bencoh:D15:44
Wizzup(not sure why I keep mistyping this)15:44
bencohah15:44
bencohso 70mA?15:44
Wizzup0.007A sorry :(15:45
bencoh:D15:45
Wizzuphehe15:45
bencohyou should just move to mA15:45
bencohfor idle it makes more sense15:45
Wizzupyeah15:45
bencoh(even for non-idle states actually)15:46
WizzupI should just connect the power supplies to my laptop again and use my tools15:47
Wizzupbetter then doing mental calculations when distracted15:47
bencoh:)15:47
Wizzupdecisive minute incoming... :)15:48
Wizzuplol, tklock keeps waking up in idle15:50
bencohhmm15:50
bencohI15:50
Wizzupin any case, I am pretty confident that reverting fb2c599f056640d289b2147fbe6d9eaee689f1b2 makes the problems go away!15:51
bencohI'm pretty certain it doesn't on fremantle, and iirc it was REed15:51
bencohanyway, nice :)15:51
bencohwell, "nice" that you found it ... the fact that it doesn't work is kinda sad15:52
WizzupI don't think it means that OFF mode doesn't work15:53
Wizzupwe can hit it just fine in init=/bin/sh15:53
WizzupI think there is some other interaction that makes things go bad15:53
Wizzupmaybe the PWRDM change Andreas made15:53
Wizzupsee https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/15:53
bencohhm15:53
Wizzuparh..15:53
Wizzuphttps://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fb2c599f056640d289b2147fbe6d9eaee689f1b215:53
bencohthe commit itself is quite simple :)15:54
bencohbut it could be interactions with other components yeah (pvr?)15:54
Wizzupno, it's not with powervr for sure15:56
Wizzupall my testing was without powervr15:57
Wizzup5.7,5.8,5.9,5.10,5.10.y,5.15.y - tried all without powervr15:57
uvosfor all the pvr bashiing we do pvr_k so far has really not been the cause of any issues.15:58
Wizzuphehe15:59
bencoh:)15:59
Wizzupfreemangordon: btw I think maybe the d4 resource crash is because of rotation, maybe try to do some automated rotation test16:00
Wizzupfreemangordon: just a hunch though16:00
bencohyou 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/sh16:00
bencoh(for instance)16:00
Wizzupwhat problem is this exactly?16:00
bencoh?16:00
Wizzupbencoh: 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 interactions16:01
bencohthat's more or less what you suggested as well16:01
bencohso trying to simulate various loads from a single-user shell might help reproducing it16:02
Wizzupwell, I am not sure if the problem still exists with this commit reverted16:02
bencoh(basically forcing idle transations with various load patterns)16:02
Wizzupit manifested itself even without off mode ever being hit on leste UI16:02
Wizzupand it enabled it based on some dts compatible entry16:02
bencohI mean, keep the patch in, boot to single-user shell16:02
bencohand try to make the issue appear16:03
bencohah16:03
Wizzupso it's possible that the PWRDM change is simply what causes the problems16:03
WizzupI'll wait for Andreas/Tony to comment first, I can continue with my stuff with this commit reverted16:03
Wizzupso next thing: with /etc/init.d/n900-powermanagement start, gpio_keys falsely reports slide changes16:04
Wizzuphttps://dpaste.com/A3HDEQ3VS16:05
Wizzup# sleep 5; /etc/init.d/n900-powermanagement status16:09
Wizzupd=2021-12-08|t=17:09:24|i=OFF:0,RET:0|p=731|c=NA|b=ST_SDRC,ST_OMAPCTRL16:09
Wizzuplame... :-)16:09
Wizzupno more blockers, but also no RET/OFF16:09
Wizzupoh16:09
Wizzup(ke-recv was 'busy')16:10
dsc_is there a file manager for maemo?16:41
siceloWizzup: in your mail, "PS: Nikolaus - might be worth getting that N900 going some time soon. ;-)" ... i guess you meant Sebastian? :)16:41
Wizzupno16:41
WizzupNikolaus reached out last week saying he had a n900 and asked how to set it up16:42
Wizzupdsc_: there is a proprietary one that freemangordon said he would RE, and there's a qt one called 'hamsterfiler'16:42
Wizzupwe haven't ported the qt one yet16:42
siceloah, ok16:42
* sicelo wonders why suddenly he doesn't get linux-omap emails on his inbox16:42
Wizzupsicelo: nikolaus emailed off list16:43
uvosdsc_: we also have liri-files16:43
bencohsicelo: too many bounces maybe16:43
Wizzupsicelo: I just CC'd sre because I thought he wanted to know since I mentioned this in the modem email16:43
uvosdsc_: works farily fine on mapphone16:43
siceloi have to re-check the subscription. maybe it went into digest mode or something16:43
Wizzupsicelo: plus when he mailed me he included andreas (who authored the commit that caused the regression)16:43
Wizzupso I figured it'd make sense to loop them in16:44
uvoshttp://uvos.xyz/maserati/screenshots/2020-06-17-200351_960x540_scrot.png16:44
uvosupps16:45
bencohoops indeed16:45
uvosi think this happens every year :P16:45
bencoh:]16:45
Wizzuplol16:45
dsc_$ liri-files16:46
dsc_QQmlApplicationEngine failed to load component16:46
dsc_qrc:/qml/main.qml:24 module "Fluid.Controls" is not installed16:46
dsc_:>16:46
uvosdsc_: hmm16:46
uvosdsc_: upps again16:46
uvosdsc_: apt search liri fluid16:46
dsc_ah16:46
uvosdsc_: theres a package for that16:46
uvosshould be in depends ofc16:46
dsc_yeah `liri-fluid` specifically16:47
uvoshttp://185.53.129.145/maserati/screenshots/2020-06-17-200351_960x540_scrot.png16:47
dsc_yeah I'm running it currently, looks pretty good!16:47
Wizzupit doesn't follow the maemo theme, but yeah, that's a common qml problem I think16:47
uvosright and the liri stuff explicitly apes android16:48
dsc_missing some stuff like "open"16:48
uvosnot sure what you mean by open16:49
uvosit uses xdg-open to open anything you click on16:49
dsc_Unable to detect a launcher for 'file:///home/user/conversations/README.md'16:50
dsc_ah k16:50
dsc_no mime handler for that or whatever16:50
Wizzupprobably16:50
dsc_might make my own file explorer with QtWidgets16:55
uvosthe qt maemo one exists16:55
dsc_no reason for this to be QML and also kinda seems like it is targetted towards desktop usage idk we'll see16:55
Wizzupmaybe look at hamster filter16:55
uvosmight be easier to port16:56
Wizzuphttp://maemo.org/packages/view/hamsterfiler/16:56
dsc_ah16:56
dsc_well yeah thats some gtk stuff most likely16:57
dsc_ah no, Qt16:57
dsc_alright ill take a looksie16:58
bencohyeah, I was quite certain it was a gtk-one as well16:58
bencohgtk app*16:58
bencohit's very lean/fast/nice imo :)16:58
dsc_apparently Qt :)16:59
bencohueaj16:59
bencohyeah*16:59
WizzupI haven't used hamsterfiler yet16:59
bencohI hardly use any file browser anyway, but it's cool16:59
uvosbtw gnome files also works pretty well17:00
uvosif something is needed immiatly17:00
dsc_yeah its not super important but i'm hyped @ the prospect of creating apps for my future linux mobile phone17:00
bencoh:)17:01
uvosthen again it wont work without https://github.com/maemo-leste/libmatchbox2/pull/817:01
uvosahem17:01
dsc_my droid 4 magically started working... nice17:02
bencohwait, I thought qt/gtk wer efine with it?17:02
bencohwere* fine with the WM_HINTS thing17:03
bencohor is that just because they were patched on fremantle?17:03
uvosthis is something else entirely17:03
bencohah17:03
bencohnevermind then17:03
uvoswindows that are csd get renderd at fullscreen resolution17:03
uvosbut hildon still draws the bar on top17:03
uvosmakeing things unusable17:03
freemangordonWizzup: so, reverting off mode patch fixes it?17:08
freemangordonand even with that patch reverted we still hti off mode?17:08
Wizzupfreemangordon: yes17:10
Wizzupfreemangordon: not with h-d and full leste booted, but with minimal env17:10
freemangordonhmm17:10
WizzupI suspect the powerdomain change as I stated before, but maybe it just masks another issue17:11
bencohwait, how do you get OFF mode without the patch?17:11
dsc_maybe ill create an app that decorates your desktop with daily cute animals (options for cat/bunny/dogs)17:11
freemangordonyeah17:11
Wizzupbencoh: via debugfs17:11
dsc_(yes I'm bored)17:11
bencohah, nevermind :)17:11
Wizzupbencoh: see droid4-pm and n900-pm repos17:11
freemangordondsc_: you know h-h supports animated(video) wallpapers?17:11
bencohohnoes :D17:12
dsc_freemangordon: interesting, it plays .mp4 in a loop?17:12
dsc_great for battery life!17:12
freemangordonnot sure about what format it requires17:12
dsc_ok thanks17:12
freemangordondsc_: I think this is called "Live Wallpaper"17:13
freemangordonWizzup: anyways, I am too busy ATM with RL job, hopefully next week things will get better17:15
Wizzupfreemangordon: all good, I think I can continue with this commit reverted17:15
uvosfreemangordon: heh, android has these too since 2009/2.0 i think17:15
Wizzupfreemangordon: the point was to have pvr on 5.15 on n90017:15
uvosfreemangordon: never seen anyone use them outside of retail estabilshments17:15
uvosstupid things17:15
dsc_:D17:15
Wizzupoff mode is secondary, and this patch didn't improve it for us17:15
Wizzupdsc_: what about desktop widgets, those might be useful17:15
Wizzupwe have a calendar widget for example17:16
bencohiirc those were a battery hog on fremantle as well, unfortunately17:16
Wizzupbut but animated matrix (the movie) backgrounds!17:16
freemangordonnever used it, but is a nice feature to have17:17
bencohbut it's a cool idea17:17
Wizzupit could be nice for wall mounted tablets or something17:17
freemangordonhttps://talk.maemo.org/showthread.php?t=4572817:17
bencohI 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)17:18
Wizzupit depends on how the widget behaves I think17:18
Wizzupthe calendar one is fine17:18
uvosalso desktop command widget seams fine17:18
bencohoh, the TMO/leste forum is getting some activity, nice :)17:19
uvosbut the way the widgets work is _terrible_ imo17:19
freemangordonwhat is terrible about it?17:20
uvoshaving random packages load plugins into hildon-home is a bad idea form a reliablity perspective17:20
bencohuvos: actually iirc I tried desktop command widget back then17:20
uvosand it forces a toolkit on the widgets17:20
uvosthe widgets should just be embeded x windows17:20
bencoh(but heh, it was ... years ago)17:20
uvosor pixmaps the widget sends17:20
freemangordonoh, you force xorg17:20
uvoswayland has the same window embeding17:21
uvosand the toolkits abstract it17:21
freemangordonwhat about wayland? :P17:21
uvosso no17:21
freemangordonalso, how is that going to work on windows?17:21
uvosshould work on windows to17:21
uvosreally17:21
freemangordongreat17:21
uvosif you want17:21
freemangordonanyways, I am not in a mood to be productive :)17:22
freemangordonSo lets not distract others at least17:22
* freemangordon is afk17:22
dsc_anyway to get "the battery status" via terminal command?18:00
dsc_or some other way to visually know what the battery charge is18:00
Wizzupyeah... this is a bit tricky18:01
Wizzupupower has the info, but mce also some18:01
dsc_I'm hooked into USB power, so the battery icon will animate, but it wont actually show the charge18:02
dsc_ah, thanks18:02
Wizzupcalibration takes time18:02
tmlindWizzup: so if reverting fb2c599f056640d289b2147fbe6d9eaee689f1b2 makes things behave, sounds like the system enters some idle mode during init before things are ready or something like that18:26
tmlindWizzup: maybe try to enable off mode automatically only with a late_initcall?18:27
Wizzuptmlind: what do you mean, late initcall? do you mean through init script?18:28
Wizzupthat works18:28
tmlindhmm well omap2_common_pm_late_init() is already late_initcall it seems and that ends up calling omap3_pm_init()18:30
Wizzupwell, doing it through debugfs works ok18:30
tmlindmaybe twl is not fully initialized at that point yet?18:30
Wizzupalso this sometimes caused problems way later in the boot process, like 300s in18:31
Wizzupso I think there's something else that this commit is also affecting18:31
Wizzupmaybe wrt module loading18:31
tmlindif twl4030_power_probe() has not completed before deeper idle states the regulator voltages will be all wrong for idle modes18:33
Wizzupsorry brb 15 mins18:33
uvosdsc_: cat /sys/class/power_supply/battery/voltage_now18:47
dsc_uvos: dir `/sys/class/power_supply/` is empty18:51
uvoswhat device?18:51
dsc_d418:51
uvoscat /proc/modules | grep cpcap ?18:51
uvossomething is very wrong on your device18:51
dsc_no 'cpcap'18:52
uvosdmesg please18:52
uvosso no cpcap_battery cpcap_charger?18:53
dsc_sorry.. wrong terminal, that was QEMU /me changes hostname18:53
uvoslol18:54
dsc_voltage_now = 387000018:54
uvosright you can use the voltage to estimate charge18:54
dsc_ok hehe18:54
Wizzupuvos: anything you want me to test on pp?21:17
Wizzup-experimental mesa works on PP21:24
Wizzupwe should probably try the new X release, see if modesetting gets any better21:24
Wizzupfreemangordon: you had tried to build a new X, right?23:29

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!