libera/#maemo-leste/ Tuesday, 2023-03-14

arno11freemangordon: the 4 pkg update from yesterday evening increase power consumption of 50mA14:03
arno11I've triple checked and tested from fresh install twice14:04
arno11otherwise idle is now 47mA with overclock :)14:05
arno11and without the 4 pkg14:06
arno11no more poweroff issue when disabling probs modules14:07
arno11back in 2 hours14:09
freemangordonhmm, I saw similar on d414:35
freemangordon(increased power usage)14:35
freemangordonwill try to downgrade Xorg14:36
Wizzupmaybe noise on dbus?14:53
Wizzupnot sure how xorg can cause it14:53
freemangordonbut why?14:53
freemangordonsee https://pastebin.com/9xzCQxbL14:54
Wizzupmaybe X has access to more/less and does more/less? no idea...14:55
Wizzupmaybe compare X logs or something14:56
Wizzupor maybe still some profile sourcing thing14:56
Wizzup(not sure)14:56
freemangordonprofile is sourced correctly14:56
freemangordonwill try to start xorg as root14:56
freemangordonto see if it will make any difference14:56
sicelo47mA? wow!14:57
sicelosounds news-post-worthy ... tmo people would love to hear such news. may generate a bit more interest in Leste too14:58
Wizzupit is, but it is not yet in any leste-config pkg14:58
Wizzup:)14:58
freemangordonWizzup: confirmed, it is xorg running as user :(15:06
freemangordonhttps://pastebin.com/9AGnBne015:07
Wizzuphuh15:09
Wizzupmaybe check if xorg has additional fds open or something15:09
Wizzupor maybe check if their env is different15:09
WizzupI feel like this might be some pvr option not being read15:09
Wizzupmaybe pvr xorg cannot read /etc/powervr etc15:09
freemangordonit is empty15:10
freemangordonand I would expect errors in the log15:11
Wizzupmaybe strace?15:12
freemangordonof Xorg?!?15:12
Wizzupsure15:13
Wizzupwhy not?15:13
freemangordonwho will read that?15:13
freemangordonnot me15:13
* freemangordon hides :)15:13
WizzupI don't think it does a lot when screen is off15:13
Wizzupbut maybe I am wrong15:13
freemangordonhmm15:13
freemangordonI'd rather attach gdb15:13
Wizzupfor me, on my d4, currently, only upower takes about 8% cpu15:14
Wizzupand udev 5%15:14
Wizzupbut that's probably just the usual full battery charging noise15:14
freemangordonis it on charger?15:14
Wizzupit was, yes15:14
Wizzupso I checked, Xorg does nothing with screen off15:15
freemangordonwell, with Xorg running as root, avg current should be about 50mA15:15
Wizzupit's just in epoll_wait(3, ...)15:15
Wizzupbut mine runs as root still15:15
freemangordonyou attach strace?15:15
Wizzupsure15:15
freemangordonok15:15
Wizzupweird, I am fully upgraded, but my xorg does not run as user15:16
* Wizzup double checks repos15:16
freemangordonhow's that?15:16
Wizzupwell, I am on chimaera-devel15:16
Wizzupand X runs as root15:16
Wizzupwell I have one day uptime15:16
Wizzuplet me reboot15:16
Wizzup(logging a bit of strace first)15:17
Wizzupdoes it also use more cpu when screen is off?15:17
Wizzupor, more power, at least15:17
freemangordoncpu is idle15:17
Wizzuphmm15:17
freemangordonmaybe elogind behaves and opens some button15:18
freemangordonwait15:18
freemangordonXorg runs as root here too15:18
Wizzupoh15:19
Wizzupwas it about xinit running as user then?15:19
freemangordonwait15:19
freemangordonI edited xorg script15:19
freemangordonlemme check what is in it15:19
freemangordonok, I don;t get that:15:22
freemangordonuser      2534  2522  0 16:17 tty7     00:00:00 /bin/sh /usr/bin/startx -- -keeptty -logverbose 1 -noreset -s 0 -core15:22
freemangordonuser      2564  2534  0 16:17 tty7     00:00:00 xinit /etc/X11/xinit/xinitrc -- /usr/bin/X :0 -keeptty -logverbose 1 -noreset -s 0 -core vt7 -keeptty -auth /tmp/serverauth.r2yeDGTndy15:22
freemangordonroot      2565  2564  1 16:17 tty7     00:00:05 /usr/lib/xorg/Xorg :0 -keeptty -logverbose 1 -noreset -s 0 -core vt7 -keeptty -auth /tmp/serverauth.r2yeDGTndy15:22
freemangordonwhy Xorg runs as root?15:23
freemangordonmaybe it is normal, dunno15:24
WizzupI don't think it is normal15:24
Wizzupwhen I type 'startx' as user on my laptop it runs as my user15:25
freemangordonon my ubuntu 18 it runs as root too15:25
Wizzupwell, X, not Xorg15:25
Wizzupubuntu 18 is old, that's normal there15:25
Wizzupmerlijn   3424  0.0  0.0   4220  1672 tty1     S+   12:42   0:00 xinit /home/merlijn/.xinitrc -- /etc/15:25
Wizzup11/xinit/xserverrc :0 -auth /tmp/serverauth.9uXoWqfL3315:25
Wizzupmerlijn   3425  2.0  0.3 1048196 58628 tty1    Sl   12:42   3:25 /usr/bin/X -nolisten tcp -keeptty :0 -auth /tmp/serverauth.9uXoWqfL33 vt115:25
freemangordonlemme check xserverrc15:26
freemangordonbut those are whatever comes from the repo15:26
* freemangordon is confused15:27
freemangordonuser      2505  2504  0 14:26 tty7     00:00:00 /usr/lib/xorg/Xorg :0 -keeptty -logverbose 1 -noreset -s 0 -core vt7 -keeptty -auth /tmp/serverauth.SGsW4YyKuo15:27
freemangordonthis is VM15:27
freemangordonWizzup: what the?15:28
freemangordonWizzup: seems it has suid bit set:15:29
freemangordon-rwsr-sr-x  1 root root    9796 Mar 12 20:01 Xorg.wrap15:29
freemangordonbut, it is the same on the VM, why it is different?15:30
Wizzupwhat is Xorg.wrap ?15:32
freemangordona binary15:33
Wizzupdpkg -S ?15:33
freemangordonoh, wait15:34
freemangordonI think I found it15:34
freemangordoncat /etc/X11/Xwrapper.config15:34
freemangordongives root on d4 and user in the VM15:34
freemangordonwhat the?15:34
freemangordon-rw-r--r-- 1 root root 630 May 16  2021 /etc/X11/Xwrapper.config15:35
freemangordonoh, scratch that15:36
freemangordonmy fault15:36
freemangordonboth have allowed_users=console15:36
Wizzupdid you find it, or not?15:39
freemangordonno15:39
freemangordonlemme check Xorg.wrap code15:39
Wizzupfwiw I don't have Xorg.wrap on my laptop15:41
freemangordonbt in VM there is15:41
freemangordon*but15:41
freemangordonand it still runs as user15:41
Wizzupok15:41
Wizzup     |-dsme---dsme-server-+-alarmd15:42
Wizzup     |                    |-autologin---startx---xinit-+-Xorg---{Xorg}15:42
Wizzup     |                    |                            `-Xsession-post-+-maemo-xinput-so---2*[{maemo-xinput-so}]15:42
Wizzupfreemangordon: doesn't dsmetool start autologin as root, or am I confused15:43
Wizzup(I don't know much about autologin)15:44
Wizzupyeah, autologin runs as root, is that intended? (could be)15:44
uvos__ofc15:44
uvos__autologin starts the session15:44
uvos__it must be root15:44
Wizzupok15:44
Wizzupstartx seems to run at user as least15:44
Wizzupfreemangordon: what even runs this wrap stuff?15:45
uvos__xinit15:45
uvos__this dose some magic to make xorg able to run as user15:45
uvos__its setuid and gives it some resources like keyboard and mouse devies or some sutch15:46
uvos__iirc15:46
freemangordonwait, I think I have an idea15:47
Wizzupxinit is not setuit15:47
Wizzupsetuid*15:47
freemangordonthis https://github.com/maemo-leste-upstream-forks/xorg-server/blob/maemo/beowulf/hw/xfree86/xorg-wrapper.c#L23415:47
Wizzupat least on my d4 it is not15:47
uvos__warp15:47
uvos__not xinit itself15:47
freemangordonmaybe DRM_IOCTL_MODE_GETRESOURCES fails on omap15:47
Wizzupwhere do these wrap come from?15:48
WizzupI don't see them anywhere15:48
freemangordonfrom xorg package15:48
freemangordonsee ^^^15:48
WizzupI see Xorg.wrap, but not xinit15:48
Wizzupoh, I see15:48
freemangordonwill set   needs_root_rights=no and will see15:49
Wizzupok15:49
freemangordonuser      2604  2603  5 16:53 tty7     00:00:04 /usr/lib/xorg/Xorg :0 -keeptty -logverbose 1 -noreset -s 0 -core vt7 -keeptty -auth /tmp/serverauth.7fOHNZMCmv15:55
freemangordonbut idle consumption is still very high15:56
freemangordonmaybe elogind opens some device and never closes it16:00
freemangordonyep, it has several /dev/input/eventN fds16:02
Wizzupok, that's probably it then16:04
Wizzupbut elogind runs no matter if we have root X or not, no?16:04
Wizzupwhy does elogind even have to open this? to read the power button?16:05
Wizzupman :(16:05
Wizzupit opens several more than once, too16:05
freemangordonI guess it does its stuff when we have a session16:05
WizzupI don't think we want it to do -anything- with /dev/input16:06
freemangordonmhm16:06
WizzupI need to go16:06
Wizzupback later16:06
* freemangordon checks in the code how to do that16:06
freemangordonok16:06
bencohsounds terrible tbh yeah16:08
freemangordonok, but how does mce uses power button with no issue?16:12
bencohdoesn't mce close it when we disable display from hildon's UI?16:13
bencoh(be it double-press on power button or lock screen)16:13
freemangordonpower button remains active when device is locked16:14
freemangordonno, this is something else16:14
Wizzupfreemangordon: yes, that is kept open but kernelhas suspend iirc16:16
freemangordonkilling elognd does not help16:16
Wizzupwrt power?16:17
freemangordonmhm16:17
WizzupI think it confuses mce too16:17
WizzupI was unable to use ts on my d416:17
uvos__powerbutton (and cpcap keys in general) require no power to keep open16:17
freemangordonright16:17
freemangordonanyway, it is not elogind16:17
Wizzupso just killing elogind is not enough, it confuses mce16:17
WizzupI am not sure if your test is valid16:18
freemangordonah16:18
freemangordonlemme restart mce16:18
freemangordonyeah16:18
freemangordoncannot restart mce16:18
uvos__so is it keeping the touchscreen event devices open (elogind)?16:18
uvos__at any point16:19
freemangordonwill check16:19
uvos__killing elogind might also not remove the problem16:19
uvos__because it might have change the autosuspend tuneables16:19
uvos__or it could be something else entirely16:20
Wizzupuvos__: it has almost all open16:20
freemangordonif elogind opens TS that might explain it, no?16:20
Wizzupat all time16:20
uvos__freemangordon: yes16:20
uvos__that blocks ret16:20
Wizzupfeature creep at its best16:23
uvos__i mean logind handling power isent feature creep16:23
uvos__what this is is bad implementation16:23
uvos__(it should release when configured to not handle it)16:24
freemangordonhttps://pastebin.com/23Q4TzV416:24
freemangordonyou can't configure it16:24
Wizzupuvos__: they go hand in hand16:25
Wizzup:P16:25
uvos__freemangordon: whitch one of these is ts?16:25
freemangordonlemme check16:25
uvos__the keyboard ones are not relevant16:25
freemangordonbut, lemme check something first16:25
uvos__the kernel itself never closes those16:25
uvos__(it keeps those open for the vts)16:26
WizzupI don' think we have 5 devices with power button16:26
uvos__not but any device with EV_KEY16:26
uvos__is open at all times by the kernel itself16:26
uvos__so they dont matter16:26
uvos__thats the keyboard and other stuff too16:26
freemangordonstill, elogind should not keep devices it is not interested in open16:26
Wizzupunrelated but how does this work with ts keys16:26
uvos__ts-buttons is "opertuneisitc"16:27
uvos__ie it only reports keys when the touchscreen is open by some other source16:27
uvos__yes this is a hack to work around this very problem16:28
Wizzupheh16:28
freemangordonwhat is the easiest way to check what is eventN?16:28
uvos__freemangordon: right16:28
uvos__ls -l /dev/input/by-path/16:29
freemangordonok, "Filtered touchscreen" is event216:29
uvos__or udevadm16:29
freemangordonplatform-mapphone_touchscreen-event -> ../event216:29
uvos__yeah that costs a tone of power16:29
freemangordonlrwx------ 1 root root 64 Mar 14 17:23 20 -> /dev/input/event216:29
freemangordonright16:30
freemangordonthat seems like a bug to me16:31
freemangordonnot something intended16:31
freemangordonI see in elogind code that it is supposed to close devices that has no buttons elogind is interested in16:32
uvos__systemd-logind16:33
uvos__dosent appear to have all events open16:33
uvos__just a couple16:33
uvos__out of 20 on my PC16:33
freemangordonwhat is the version?16:33
uvos__253.116:34
freemangordonummm....16:34
freemangordonmanager_all_buttons_ignored() :)16:34
freemangordonlemme try that16:34
bencoh< Wizzup> feature creep at its best / and that's with a supposedly light/standalone version of elogind ... :/16:40
uvos__im not sure how you expect logind to manage the session without knowing power key state and laptop lid state etc16:40
uvos__its not feature creep at all16:40
freemangordondidn't help :(16:41
uvos__report a bug, its seams a bug16:41
uvos__systemd must have fixed it after the fork16:41
freemangordonwell, I'll rather fix it and send a patch16:42
uvos__sure16:42
Wizzupuvos__: is your systemd-logind the same version16:59
freemangordonno16:59
freemangordon253.116:59
Wizzupmaybe it is solved in new elogind too16:59
arno11guys do you trust me if i say i'm chating with my wife on fb messenger using your conversations app ?18:13
Wizzuphaze and libpurple for facebook? :)18:14
WizzupI assume18:14
Wizzupcool in any case :D18:14
arno11no lol localhost gateway with bitlbee18:14
arno11and through irssi in conversations18:15
arno11yes really cool18:15
arno11and almost no power ressources18:15
Wizzupah, check, that also works :D18:16
arno11because bitlbee works with conversation it means18:16
Wizzupyeah, we do need to support groups in conversations18:16
Wizzupthe code is there for it, kinda, but not in a release and UI for it is missing18:16
WizzupI have slack working telepathy-haze and purple-slack18:17
arno11cool18:17
arno11twitter signal and telegram should work as well18:17
arno11using bitlbee18:17
WizzupI think this is libpurple, no?18:18
Wizzupso this can also work with telepathy-haze18:18
bencohs/can/could/ I remember having issues with telepathy-haze and newer protocols (ie telegram) on fremantle18:19
arno11it is another specific lib18:19
Wizzuparno11: https://wiki.bitlbee.org/ says through libpurple18:19
Wizzup(and extra lib ofc)18:19
bencohiirc the issue was with auth18:19
Wizzupbencoh: all ssl on fremantle is no-go nowadays anyway18:20
bencohyeah I mean, before that18:20
arno11yeah but it needs bitlbee plugin facebook18:20
arno11and needs a hack18:20
arno11with a .so file18:20
Wizzuparno11: signal, or something else?18:20
arno11bencoh: yeah but it works with a hack18:21
arno11Wizzup: signal should work too18:22
Wizzuparno11: in any case, if it wasn't clear (maybe it was): bitlbee and telepathy-haze can both use libpurple and thus theoretically work with most pidgin plugins18:23
Wizzupso you can also definitely so slack on bitlbee, like I did for tp-haze18:23
Wizzupnot pushing for any direction, just FYI18:23
Wizzuplet me see if I can get my n900 attached to this serial18:24
Wizzupfreemangordon: re: elogind, what do we plan to do, fix it and build ourselves until next release?18:24
Wizzupbookworm also has 24618:25
arno11Wizzup:ok everything is clear18:25
Wizzup:)18:25
freemangordonWizzup: yeah, sounds like a plan18:28
freemangordonbut it is extremely hard to find where are those opened18:28
Wizzupno surprise there :D18:40
Wizzupdoes it use libinput?18:40
freemangordonwhat I think happens here is that is kinda "shadows" the real devices for user session18:41
Wizzupfreemangordon: and if we set HandleLidSwitch=ignore, and same for all the others, does it still open event files?18:42
freemangordonyes18:42
freemangordonbecause those get opened by session_device_open()18:42
freemangordonthis is a result of a dbus call18:42
Wizzupok18:42
Wizzuphmm..18:43
Wizzup>Only input devices with the "power-switch" udev tag will be watched for key/lid switch events.18:43
Wizzupfrom https://www.freedesktop.org/software/systemd/man/logind.conf.html18:43
freemangordonyes, but we hit something differenet18:44
freemangordonmaybe when session process opens a device, this gets opened by elogind too18:44
Wizzupok18:45
Wizzupthat would be absolutely insane @ mirroring18:45
Wizzupor shadowing18:45
Wizzupthat can't be it18:45
freemangordonsee https://pastebin.com/w9zmNPGm18:46
freemangordonthis is for "/dev/input/event5"18:47
freemangordonin VM18:47
freemangordonok, leme retry with dbus-monitor18:48
Wizzupmaybe this is the 'tracking' that it does or something18:51
freemangordoncould be18:51
WizzupI just confirmed that setting *all* of the HandleBlaBla=ignore doesn't help18:53
freemangordonalready tried, but ok18:54
Wizzupdidn't know that18:54
freemangordonse, this is   TakeDevice method18:54
freemangordon*so18:54
Wizzuphttps://blog.martin-graesslin.com/blog/2016/12/how-input-works-creating-a-device/18:54
freemangordon"TakeDevice() allows a session controller to get a file descriptor for a       specific device."18:55
Wizzupit seems to be somehow facilitating libinput18:55
freemangordonoh, ok18:57
freemangordonsec18:57
freemangordonhttps://github.com/maemo-leste-upstream-forks/xorg-server/blob/maemo/beowulf/hw/xfree86/os-support/linux/systemd-logind.c#L8618:58
freemangordonsee this18:58
Wizzupsigh18:59
WizzupI guess we will probably have to add logind specific code to tell it to drop the devices, just disabling it in xorg isn't enough18:59
freemangordonit should be19:00
freemangordonor rather19:00
freemangordonxf86DeleteInput() calls   systemd_logind_release_fd19:01
freemangordonWizzup: we have to add code where?19:01
freemangordonWizzup: uvos__: what do we use now to disable input devices?19:03
freemangordonXInputDisable?19:03
* freemangordon checks mce code19:04
freemangordonx11_set_input_device_enabled19:05
* freemangordon wonders where this end up in server code19:05
Wizzupx11_set_input_device_enabled that sounds like a helper function in mce19:06
Wizzupor is this libinput?19:06
freemangordonsorry, helper19:06
freemangordonXIChangeProperty19:06
freemangordon"Device Enabled" atom it seems19:07
freemangordon  p, li { white-space: pre-wrap; }  XI_PROP_ENABLED19:07
Wizzupyeah, that sounds like normal X way19:08
freemangordonok, but where this ends up?19:09
Wizzupdon't know19:17
freemangordonWizzup: ok, seems we will have to cheat19:34
Wizzupsounds fun :D19:34
freemangordonxorg does not support releasing input devices, but elogind can 'pause' them19:34
freemangordonin order to do that we should activate another session19:35
freemangordonnot sure how to do that though19:35
Wizzupoh god19:35
Wizzupcan we just not have xorg tell elogind about input devices?19:35
freemangordonno19:36
freemangordonmulti-session will not work then19:36
freemangordonas xork will keep devices open19:36
freemangordon*xorg19:37
Wizzupdoes this bother us?19:37
freemangordonwell19:38
freemangordonlemme check something19:38
Wizzupbtw, what do you mean, xorg does not support releasing input devices19:38
Wizzupyou can definitely get xorg to close the fds19:38
freemangordondo you know where that happens?19:39
* freemangordon checks if this is fixed in upstream xorg19:39
Wizzupno, I will have to look, but I can try to see19:39
WizzupI mean we know xorg closes them for a fact, that's why without elogind, things work fine19:39
Wizzuppm wise19:39
freemangordonyes19:40
Wizzupfreemangordon: dix/devices.c DisableDevice ?19:42
freemangordon(void) (*dev->deviceProc) (dev, DEVICE_OFF);19:42
Wizzupyou can break on that in gdb for sure19:42
freemangordonyeah19:44
Wizzupseems to call Disable() on whatever the abstract driver is, if hw/kdrive/src/kinput.c is the right place to look19:45
freemangordonwhat is kdrive in that contaxt?19:45
Wizzupnot sure19:45
freemangordon*context19:45
WizzupI can't find another more reasonable place/file where DEVICE_OFF is used19:45
freemangordonhmmm19:47
freemangordonDisableDevice is not called in the VM19:48
freemangordonwhen I lock the screen that is19:48
freemangordonneither is   DeviceSetProperty19:49
freemangordonwhat the?19:49
Wizzupmaybe this is libinput magic19:51
freemangordonxinput --set-prop 12 "Device Enabled" 0 makes it hit the breakpoint19:52
Wizzupwhat does mce do then?19:52
freemangordonmaybe mce does not work properly in VM19:52
Wizzup(if not that)19:52
freemangordonno idea19:52
freemangordonuvos__: ^^^?19:53
Wizzuplol this is really quite hilarious, it doesn't seem to ever release fds unless it fails to grab them or something19:55
freemangordonWizzup: yes, because xorg does not control those fds anyways19:55
freemangordonit is elogind that does it19:56
Wizzupnone of this makes any sense to me, but I am probably just grumpy19:56
freemangordonand it just send PauseDevice signal19:56
freemangordonimagine, if you switch the session19:56
freemangordonyour active session should receive kbd input, no?19:56
WizzupI don't see why X cannot close input devices if it is not active, but I guess there is no point in discussing why elogind works the way it does19:57
Wizzupwe can't change that anyhow19:57
freemangordonbecause it didn;t opent them in first place :)19:57
Wizzupfreemangordon: if it does open them in the first place, it's fine19:58
Wizzupalso keep in mind that most input devices can be opened many times19:58
freemangordonwell, we'd better fix that properly19:58
Wizzupwhy can't elogind let go of the fd?19:58
WizzupI don't see how that factors in to the switching19:58
freemangordonelogind will close fds, if we somehow tell it to do so19:59
Wizzupso why doesn't X?19:59
freemangordonlike, switch the session19:59
freemangordonbecause X just asked elogind to open fds for it19:59
freemangordonanyway19:59
Wizzupso:19:59
freemangordonthis makes sense to me19:59
Wizzupxorg without elogind:19:59
Wizzup1. opens input devices by default19:59
Wizzup2. when input disabled, closes fd19:59
Wizzupwhy can't it do the same with elogind?20:00
freemangordonI think this is more complicated20:00
freemangordonit seems this is libinput that does the magic20:00
freemangordonummm20:00
freemangordonsorry20:00
freemangordonThread 1 "Xorg" hit Breakpoint 4, 0x00007f459b5c18a0 in ?? () from /usr/lib/xorg/modules/input/libinput_drv.so20:00
freemangordonlibinput_drv.so20:00
freemangordonWizzup: this ends up in   xf86libinput_off() which in turn calls  xf86SetIntOption(pInfo->options, "fd", -1);20:04
freemangordonsee https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput/-/blob/master/src/xf86libinput.c#L94420:06
Wizzupok20:06
freemangordonand where this ends is the million dollars question :)20:07
freemangordonsee the note there https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput/-/blob/master/src/xf86libinput.c#L91420:09
freemangordonWizzup: I don't get that note20:13
Wizzup(sry, work mtg)20:13
freemangordonok20:13
Wizzupback21:27
freemangordonWizzup: maybe I can patch xorg to ReleaseDevice() on disable21:44
freemangordonbut, maybe we shall drop logind session (and run Xorg as root) until done21:44
freemangordonit will take me some time to patch it21:45
arno11Sorry guys but is there a magic command to get pin entry code working or is it broken on n900 ?21:45
freemangordonBTW, didn;t mce use dpms to disable devices?21:45
freemangordonpin entry? SIM pin?21:46
arno11sim pin21:46
freemangordonit should work21:47
freemangordonWizzup: https://github.com/maemo-leste/mce/blob/master/src/modules/x11-ctrl.c#L25721:48
freemangordonarno11: sorry, my comment was not very helpful :)21:48
arno11ok lol no probs21:48
arno11you're working hard i know21:48
freemangordondoes ofono report that SIM requires PIN?21:48
arno11nope nothing happened in fact21:49
arno11ofono is not ready21:49
Wizzupfreemangordon: well for non-devel chimaera we have this, right?21:50
freemangordonyes21:50
freemangordonarno11: well, of ofono is not ready...21:50
freemangordon*if21:50
arno11always this message21:50
Wizzuparno11: does ofono see the modem?21:50
arno11no21:50
freemangordonWizzup: ok, will see what I can do during the weekend21:51
arno11freemangordon:i mean sms app says: ofono is not ready21:53
WizzupI am fine with running X as root fwiw21:53
Wizzuparno11: mdbus2 is probably a good way to debug ofono's state21:53
Wizzupand fwiw startup-pin-query is the program to run for getting the pin gtk dialog21:53
arno11ok i'll try21:53
Wizzup(normally it runs on boot)21:53
arno11ok thx guys21:53
Wizzuparno11: https://packages.debian.org/stretch/armhf/mdbus2/download21:53
Wizzupyou can dpkg -i it I think21:54
arno11cool21:54
siceloor ofono-scripts21:55
sicelooutput of ` sudo dmesg | grep 'modem\|ssi' ` might also be interesting to see21:56
arno11ah ok21:56
WizzupI find ofono-scripts less useful, but yes, that can work too21:56
arno11interesting21:58
arno11i'll try all of that and let you know guys21:58
arno11thx21:58
freemangordonWizzup: startup-pin-query is *not* run on boot :)21:59
freemangordonit is run by status menu plugin once SIM/modem is ready21:59
freemangordonugh22:00
freemangordonWizzup: see https://github.com/maemo-leste/connui-cellular/commit/e1122bf8a723eb80ee7c1f53c191f44a3f72a6ab22:00
Wizzupfreemangordon: so effectively on boot :P22:00
freemangordonI hope this is in chimaera22:00
Wizzupshould be, I use it daily22:00
freemangordonno, if you boot d4 with no SIM and then hot-plug, it will *then* ask you22:01
freemangordonok, it is in chimaera, but not in master22:01
freemangordonlemme fix that22:01
Wizzupuvos__: on my laptop:22:32
Wizzup# ls -lsh /proc/2408/fd | grep event | grep input | wc -l22:32
Wizzup1722:32
Wizzupelogind opened just about every eventX that existed22:32
uvoswhat version is that22:42
uvosare any of the previous questions to me still relevant wrt mce etc?22:43
uvosdpms is not relevant to input devices22:45
uvosthis is for crts22:45
uvos*crtcs22:46
buZzdpms likely gets stopped by input devices?22:46
uvosxorgs dpms extension manages crtc state based on input devices yes, avoid that is why we disable all input devices on blank, instead of just the ts22:47
uvosbut this is not relevant to this discussion22:47
Wizzupuvos__: 246.10-r222:51
uvosone annyoing thing with startup-pin-query is that if you accidentaly click above it (ie dissmissing it) there is no way to get it back22:57
uvosbut that would be a easy fix with a .desktop file to runn it again22:57
Wizzupyou can go to settings and get it back22:58
Wizzupsettings->phone22:58
Wizzupbut yes22:58
Wizzupthis is something we'll have to fix later/eventually22:59

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