libera/#maemo-leste/ Friday, 2022-03-18

uvosfreemangordon: not mutch i can do about that unless you have a way to repo00:11
uvosi know the tklock code is very racy00:11
uvosit makes assumptions about the dbus bus that are not really valid00:11
freemangordonuvos: you mean "mce tklock module" I assume00:11
uvoswell both00:11
uvosboth sides00:11
freemangordonwell, see the pastebin00:12
uvosi see it00:12
uvosbut there is state syncorisation between mce and tklock00:12
uvosand this state syncronisation makes assumptions about timeing gurantees dbus dose not make00:12
uvosim not shure how it could end up in a loop but it is racy00:12
freemangordonit is definitely mce that went nuts. I understand that we can;t do much without detailed mce logs00:13
uvosit could also be soemthing else entirely ofc00:13
freemangordonmhm00:13
uvosWizzup: freemangordon: with regards to charge mode00:13
uvosmce is not involved at all00:13
uvosand yes it dosent power off the display00:13
freemangordonuvos: shall I enable verbose mce logs in init script?00:14
freemangordonso, hopefully next time when this happens we will have more info00:14
uvosfreemangordon: sure if you have resonable grounds that you can trigger this again00:14
uvosi have trouble getting sdl behave it registers drm master00:15
uvosbut you cant get the cookie out of std00:15
uvossdl00:15
uvosso it cant turn of the display atm00:15
freemangordonwell, if I know how to trigger it, I will have provided those logs already :)00:15
freemangordonthis happens once in a month or so00:15
freemangordon(with my usage ofc)00:15
freemangordonoh, which reminds me that Wizzup promised to pull latest sdl.00:16
uvoswhen it happens also try and check mces inputs00:16
freemangordonumm, not sure I understand what you mean by "mce inputs"00:16
freemangordonattach gdb or what?00:16
uvosno check various, evdev and iio-sensor proxy00:17
freemangordonah00:17
uvoseither of those missbhavig could also cause it00:17
freemangordonyeah00:17
freemangordonbut I guess verbose logs will give info about that too00:17
uvospartially00:17
freemangordonand give the uSD card I use is 64GiB, I think as a first step I shall enable them00:18
freemangordon*given00:18
uvosmce verbose log is farily quiet really00:18
freemangordonbut shall give us some clue about what happens00:19
uvosplease not that it is a keylogger00:19
uvos*note00:19
uvoswhen sharing logs00:19
freemangordonthis is a dev device only00:19
freemangordonnot to say I am the only one with access to it00:19
freemangordonbut yeah, thanks00:19
freemangordonI think I won;t share the whole logs anyway00:20
freemangordonTBH I don;t think this is related to inputs00:20
freemangordonit seems like auto-lock triggers in 3-5 seconds and touching the screen does not reset the timer00:21
freemangordonbut it undims the screen00:21
freemangordonanyway, no enough info00:22
freemangordonuvos: BTW, I fixed stacked windows bug on 64 bits00:24
uvosgreat00:29
uvosits pretty buggy on 32bits too tho00:29
uvosobv other bugs00:29
freemangordonhmm, what bugs do you mean?00:30
uvoswell theres the qt applications that dont stack after the first window creation00:30
freemangordonah, but this is something in qt code I would say00:31
uvosand theres a wierd bug where sometimes the back button will return to a totaly unrelated window from a differents applications stack00:31
freemangordonnot in MB00:31
freemangordonuvos: this is on 64bits I think00:31
freemangordonand this is what I fixed00:31
uvosi can make the latter happen by messing around with sphone and modest on d400:31
uvosfor a while00:31
uvosits some kind of race with window creation00:32
freemangordonhmm00:32
uvosi can also make it happen with the phone app and modest on fremantle00:32
uvosso its a legacy bug00:32
freemangordonok, if you have a way to trigger, please share, I can have a look at it00:32
uvosnot realiably00:32
freemangordonI see00:32
uvosits somehow a race with when the windows are created00:32
uvosie try and create windows (via ssh or applicaion that take a while to load)  while also creating another window00:33
freemangordonmaybe compile MB/h-d with debug traces enabled and try to rtrigger00:33
uvosyeah00:33
freemangordonMB provides really verbose logs of what happens00:34
freemangordonis it normal that I see "inactivity: device inactivity timeout 30" twice in a row?00:34
uvosyeah00:34
freemangordonok00:34
uvosdepends on where the input is attached00:35
uvosalso for ts on d4 is normal again00:35
uvosbecause it reads the ts twice00:35
uvosbecause d4 has 2 ts devices00:35
uvosthats sortof a bug (ie mce should check with udev if the device is disabled)00:35
uvosbut its without consiquence00:36
freemangordonanyway, mce verbose logs are now enabled, will let you know if there the bug reappears00:36
freemangordonzzz00:40
siceloIf anyone here has a Leste N900 handy, please tell me   how the RGB led is named in sysfs.10:57
macros_is it anyone of these?11:07
macros_find /sys/ -name led 2>/dev/null11:07
macros_/sys/devices/platform/gpio_keys/input/input3/capabilities/led11:07
macros_/sys/devices/platform/n900-audio/sound/card0/input4/capabilities/led11:07
macros_/sys/devices/platform/68000000.ocp/48098000.spi/spi_master/spi0/spi0.0/input/input2/capabilities/led11:07
macros_/sys/devices/platform/68000000.ocp/48070000.i2c/i2c-1/1-0048/48070000.i2c:twl@48:pwrbutton/input/input1/capabilities/led11:07
macros_/sys/devices/platform/68000000.ocp/48070000.i2c/i2c-1/1-0048/48070000.i2c:twl@48:keypad/input/input0/capabilities/led11:07
humpelstilzchen[maybe search for brightness?11:09
macros_Here is everything containing LED or brightness https://pastebin.com/6xwg4ThA11:15
macros_It seems to be under /sys/firmware/devicetree/base/ocp@68000000/i2c@48072000/lp5523@32/ as I have entries /sys/firmware/devicetree/base/ocp@68000000/i2c@48072000/lp5523@32/led@{number from 0-8}/color11:19
macros_LEDs 4 to 6 under that path are for status, i suppose for the three colors.11:25
macros_https://pastebin.com/qMwiWEjU for details11:29
siceloThis is leste? /sys/class/leds/11:29
macros_Yes this is Leste, image from February I think11:30
macros_debug::sleep  lp5523:b  lp5523:g  lp5523:kb1  lp5523:kb2  lp5523:kb3  lp5523:kb4  lp5523:kb5  lp5523:kb6  lp5523:r11:31
sicelotyvm11:32
freemangordonWizzup: sms seem to work in telepathy OOTB (empathy)17:08
freemangordonI think we shall make conversations app a telepathy chat/sms client17:08
freemangordonwhat the? empathy wants GLX?17:14
Wizzupfreemangordon: it already is17:17
freemangordonreally? that's great!17:17
freemangordonso, basically we need accounts control UI and we can retire :D17:18
freemangordonWizzup: is that in repos already?17:20
freemangordonas it seems empathy refuses to start on droid417:21
freemangordonuvos: do I need to do anything special in order to have data connection on d4?17:24
freemangordondata connection == gprs17:25
freemangordonoh, actually I have, it is just that it is not visible in th eui17:26
freemangordonsomething in icd ofono plugin I guess17:26
Wizzupfreemangordon: no, it's not in repos with tp17:34
Wizzupfreemangordon: I ran into issues with telepathy-qt  (or my own code)17:34
Wizzupfreemangordon: we had a version that connected one tp account17:35
freemangordonok, no hurry, there is plenty of work on addressbook pending still17:35
Wizzupbut multiple accounts wasn't working17:35
freemangordonWizzup: OTOH - does ofono icd plugin work on d4?17:35
freemangordonIOW - is it supposed to work17:35
Wizzupthere are a few known problems with it17:36
Wizzupfirst one: it doesn't wait for ofono to make the data active, and it expects it to be active right away, so the ui reports failure17:36
Wizzupunless the thing is already active17:36
Wizzupthis is not too hard to fix17:37
Wizzupand then I don't think it detects when network is not visible, or when data connection is gone17:37
freemangordonhmm, but after a restart I don;t see gprs connection in the dialog at all17:37
freemangordonso, those are problems in the plugin?17:37
freemangordonI can have a look at them17:38
Wizzupcould be a race with it not seeing the modem? not sure17:38
Wizzupa restart of what, btw?17:38
freemangordondevice17:38
Wizzupwhat if you restart icd2?17:38
freemangordonalso, do I have to enable/online the modem by hand?17:38
Wizzupicd2 does powered up, and online upon scan17:39
Wizzupof course if pin is necessary then not obnline17:39
freemangordonhmm17:39
freemangordonno pin is needed17:39
freemangordonyep, after icd restart connection is available17:39
freemangordonbut it is missing the icon17:40
Wizzupyou mean in the dialog?17:40
freemangordonmhm17:40
WizzupI have it17:40
Wizzupmaybe just some missing pkg17:40
freemangordonyes17:40
freemangordonbut which one :)17:40
Wizzupwe have a meta pkg17:41
Wizzupit's 00:40 here, need to get some sleep :)17:41
freemangordonok, please ping me when you have some time17:41
Wizzup(work tomorrow as well :()17:41
Wizzupfreemangordon: ok17:41
uvosfreemangordon: data via icd/ofono has never worked for me18:01
uvosfreemangordon: i allways use qmicli18:02
freemangordonI see18:02
freemangordonwell, data through ofono (scripts) seems to work18:02
freemangordonbut UI seems to have issues18:02
siceloIt used to work fine on UI, but yes, something changed later on, although no idea what18:25
freemangordonmhm18:25
freemangordonanyway, gtg now18:25
freemangordonttyl18:25
humpelstilzchen[uvos: I see a different bug with black text on black input field, because it also affects non-maemo qt programs, e.g. qstardict19:19
uvoshumpelstilzchen[: it should affect non maemo applications19:29
uvosalso ofc if you find a specific case you have to check if the application isent doing something stupid, like hardcodeing a color.19:31
uvosbut yeah it affects non maemo applicaitons useing the maemo style19:31
humpelstilzchen[uvos: can't we just fix the gtk style?19:34
uvosits not that simple19:54
uvosthe problem is that the maemo applications use base text on window color19:55
uvoswhile expecting window to have high contrast with base19:55
uvosso base text cant also have high contrast with base19:55
uvoslots of these instances (eg. input fields) are in the qt plugin so yes you could fix this there19:56
uvosbut its also true in fremantle so they depended on this19:56
uvossince you have to, you have to erroniously use base text on window color otherwise it wont work, if you create a custom widget19:57
uvosso yeah im not saying do this would be wrong, but it would not totaly resolve the issue19:58
humpelstilzchen[also, do we really need that sapwood thing on pine?21:08
norayrfolks, do you think i can compile and make work modern gentoo prefix system on n810 with that old kernel.22:31
norayrwill modern libraries work with that old kernel?22:31
humpelstilzchen[uvos: never mind, there is no issue here. I had installed qt5ct which sets QT_QPA_PLATFORMTHEME which broke the theme.22:59
uvosnorayr: glibc has hard requirements on kernel version23:47
uvosnorayr: some other libs to too23:47
uvosglibc is 3.2 i think23:47
uvosofc you could use a different libc23:49
uvosbut im gona guess that your goint to run into sutch issues somewhere else too23:50
uvosso linux 3.2 is really minimal practical version for anything23:50

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