libera/#maemo-leste/ Wednesday, 2024-01-24

Wizzupuvos: for the rtcom call logging, shall I try to bring that up to my current understanding of how it should look like?00:17
Wizzup(for sphone)00:17
diejuseWizzup Dbus working :D00:29
diejuseFixed00:29
Wizzupgreat00:31
Wizzupwhat was the change?00:31
diejuseFirst I pseudo-mounted some key /proc files with proot. For example from /proc/uptime. That fixed the "/etc/init.d/dbus:50:[:-lt:unexpected operator" error00:33
Wizzupfrom some googlnig it looks like proot-distro would also create the uptime file00:34
Wizzuphttps://old.reddit.com/r/termux/comments/oalnsh/proc_inside_proot/h3jc29b/00:35
diejuseSecond, I checked the /etc/init.d/dbus file (I have knowledge of shell scripting) and made a modification that did the trick. In "start-top-daemon –start –quiet –pidfile $PIDFILE –chuid messagebus:messagebus –exec $DAEMON – –system $PARAMS" you must add "--chuid messagebus" or "--chuid $DAEMONUSER".00:35
Wizzuphttps://wiki.termux.com/wiki/PRoot this seems to suggest btw that it can do mount-bind's somehow00:36
Wizzupdiejuse: I see @ modification00:36
diejuseWith this change the "pid" and "system_bus_socket" files are created (finally!) in the /var/run/dbus directory.00:38
Wizzupgreat00:39
diejusehttps://old.reddit.com/r/termux/comments/oalnsh/proc_inside_proot/h3jc29b/  -=> Yes, I applied Termux patches.00:40
diejuseIt is the only solution (now) for non-rooted Android phones00:41
diejuseNow there are several things to solve and I ask you for help.00:41
diejuseFirst of all, portrait rotation (again). I have achieved it. It works fine in Maemo apps but it doesn't work when I open Debian apps (black screen).00:43
Wizzuphm, do maemo apps work in both rotations for you?00:44
Wizzupand how did you achieve it?00:44
diejuseAt the end of launchMaemo.sh I have added "sleep 5; dbus-send --system --type=signal /com/nokia/mce/signal com.nokia.mce.signal.sig_device_orientation_ind string:'portrait' "00:47
diejuseAnd works00:47
Wizzupokay, so the rotation isn't typically 'permanent' any apps that do not advertise support for portrait mode will get forced back to landscape mode, which might be what is giving you a black screen00:47
diejuseEverything works fine except when I open any Debian app.00:47
WizzupI think there is a way to force it to stay in portrait, let me try to find it00:49
Wizzupiirc we had orientation lock applet00:49
diejuseOk. I have installed orientation applet but I don't see changes.00:50
Wizzupyou want to go into portrait mode and then activate the lock00:51
diejuseI did that but it doesn't work00:54
Wizzupok00:57
WizzupI don't have a solution directly00:58
diejuseOK. I'll investigate too. Another subject. Is there a way to get the virtual keyboard in a non-Maemo application? For example in the "mousepad" text editor.01:00
Wizzupthere is a way to raise it regardless of the application01:01
Wizzupon various maemo devices we have a key that raises the keyboard01:01
diejuseperfect. How?01:02
Wizzupin /usr/share/hildon-desktop/shortcuts.ini you can set assign a key to raise the keyboard01:02
Wizzuplike:01:02
Wizzup[Shortcuts]01:02
WizzupRaiseVkb=XF86Search01:02
diejuseDo you know what code corresponds to any volume key?01:03
WizzupXF86RaiseVolume I think is for vol up01:07
Wizzupand XF86LowerVolume01:07
diejuseI'll try it when I get the normal keyboard back. I have updated before from Beowulf to Chimaera and I have lost the virtual keyboard. It is normal?01:11
Wizzupdo you mean that you did apt-get dist-upgrade?01:13
diejuseyes01:13
Wizzupit should not happen, but your setup is perhaps a bit more niche01:13
diejuseMaybe it will work if I reinstall hildon-input-method01:14
Wizzupdbus is key again here01:15
diejuseBut it's already working. The rest of the things do work.01:17
Wizzupmaybe manually start hildon-input-method and see01:18
Wizzup(if there are any errors)01:18
diejuseWow, the keyboard appeared when I pressed volume+ (the code was XF86AudioRaiseVolume). Great!01:25
Wizzupnote that this force-raise keyboard is not as featureful as the regular virtual keyboard, which is context aware01:26
Wizzup(lets you line edit)01:26
Wizzupuvos: ok, I made a voicecall-manager xsession script, rebooted my d4 and calls work on boot with voicecall-manager and sphone with that module01:27
diejuseIs there a way to edit the virtual keyboard keys? The enter key does not give me the line break (/n) and I cannot execute.01:36
Wizzupdiejuse: hm, what are you seeing that is being sent?01:58
diejuseWhen I press the enter key, ithe keyboard exits tand sends what I have typed but does not do a line break.02:15
diejuseFor example, in LXTerminal I put "ls" and want to send it but it just writes "ls" without sending it.02:16
Wizzupmhm02:21
Wizzupand you don't get the maemo keyboard in osso-xterm?02:21
WizzupI just realised that maemo might detect that you have a keyboard attached and that it cannot be 'slide in'02:22
Wizzupin this case the virtual keyboard won't come up02:22
Wizzup(is this the case?)02:22
diejuseI don't have a physical keyboard with this smartphone. Furthermore, it did not happen with Beowulf.02:27
diejuseAnyway, in my last question I meant that I want to be able to do a line break at any time. That is, differentiate sending from a line break, regardless of the context.02:28
diejuse* differentiate between send and a line break, regardless of the context.02:29
Wizzupright, there is a way to edit the keys but I don't know on top of my head - it'll be similar to how it used to work in maemo02:30
WizzupI need to get some rest first though :)02:30
diejuseIt would be nice to be able to edit the keyboard and add some keys (arrow keys for example)02:31
diejuseOk, it's true, it's late.02:31
Wizzupthis reminds me02:31
Wizzupfreemangordon: currently on the droid 4 keyboard I can't type any numbers in the phone number field in abook, I think this is because it doesn't understand that the drid 4 keyboard is different02:32
Wizzupfreemangordon: maybe we should make a ticket for it if not already02:32
diejuseI think it is very important that a user can add their own keys. Especially smartphones without a keyboard. With a file in xml format for example.02:33
diejuse*withot physical keyboard02:33
Wizzuplike I said, this is doable, but I do not know/remember how02:34
Wizzuphttps://github.com/maemo-leste/hildon-input-method-plugins/tree/master/scv_layouts02:35
Wizzupthis might be it02:35
Wizzupwell this is for the special keys I guess02:36
Wizzuphttps://github.com/maemo-leste/hildon-input-method-plugins/tree/master/hildon-im-virtual-keyboard-layouts02:36
* Wizzup zzz02:38
diejuseBut there is a way to edit directly from Maemo or you have to edit and then compile?02:39
Wizzupright now I think not02:39
diejuseI'll look for it and tomorrow we'll talk more. Rest well.02:40
freemangordonWizzup: abook, uses h-i-m afaik, this might be just a RE bug I introduced, will check07:37
freemangordonWizzup: also, it might help if you define what 'd4 keyboard is different' means in that regard07:44
freemangordonlike, there is no issue in the VM07:45
Wizzupfreemangordon: I don't think it is a re bug, I think it is a hildon gtk2 'feature' that doesn't work on d411:24
Wizzupwell so the maemo keyboard has numbers on the q,w...p keys11:24
Wizzupso when you are in the phone number field, and you press 'w' it will just type '2', regardless of wheter you press the blue arrow11:24
Wizzupon the droid 4 the numbers are just keys on their own11:25
Wizzupanyway that was just my guess, I might be wrong and maybe it is some re bug11:25
freemangordonWizzup: ah, right, makes sense11:41
diejuseSo any possibility of having an .xml that the user can edit to customize the virtual keyboard keys?12:28
freemangordondiejuse41: https://github.com/maemo-leste/hildon-input-method-plugins/tree/master/hildon-im-virtual-keyboard-layouts14:22
freemangordongen_vkb is part of libimlayouts14:23
diejuse41freemangordon Sorry I don't understand the technical details. What I want to know is if a user can edit the keyboard while ML is running without having to compile the source code. :)14:33
Wizzuprafael2k: hey14:46
rafael2kWizzup: hi there!14:49
Wizzuprafael2k: anything I can help with for ppp iage?14:55
Wizzupimage14:55
rafael2kWizzup, I think the most important is with hildon-desktop15:02
rafael2kwork on the primary display xrandr issue15:02
rafael2kthe rest should be straight forward15:02
rafael2kI did not had time to work on it past 2 weeks, so on my side, the issue is stuck on the same point me and freemangordon discussed15:03
WizzupI thought you had a workaround for now, right?15:07
rafael2kha, not in form of code...15:12
rafael2ktyping xrandr cmds in the cli does not really help15:12
rafael2k(not for something to be released to public)15:12
WizzupI see15:23
diejuseWizzup I already know why it doesn't work that the virtual keyboard appears after dist-upgrading from Beowulf to Chimaera. During the upgrade I got the error "dpkg: error processing package hildon-desktop:arm64" and I skipped the error with "rm /var/lib/dpkg/info/hildon-desktop:arm64*" and "apt -f install" . But of course, that way it doesn't15:28
diejuseinstall correctly.15:28
Wizzupright15:29
diejuseI don't know why I get "dpkg: error processing package hildon-desktop:arm64"15:29
diejuseI don't have a solution at the moment.15:29
Wizzupdo you have more  context?15:30
rafael2kthe primary display hd picks is a disconnected one15:33
rafael2kbut it is the one returned by x(randr) calls15:34
Wizzupso h-d should check whether it is connected or not?15:39
Wizzupor should we make the lcd the primary display15:39
rafael2kI think both would work16:00
Wizzupthe latter would maybe just be a dts change?16:01
freemangordonWizzup: unfortunately xrandr reports inconsistent data to h-d16:42
freemangordonlike, it reports display as connected, but no crt (or somesuch, I don;t remember the details)16:43
freemangordonalso, for neither of the displays it reports the type (Panel, etc)16:44
freemangordonI really don;t know enough for xrandr to decide whether it is ok to report missing display as primary16:44
Wizzupwonder how xrandr knows then16:54
freemangordonI am not sure it knows, as it reports primary for a disconnected display16:57
freemangordonit reports no crt for the connected display and reports disconnected for primary16:57
freemangordona mess16:57
freemangordonmaybe you can boot your PPP and create some shared debuggin session16:58
freemangordonwe can cooperate trying to get some sane data from what xrand reports16:58
freemangordonme alone was not able to16:59
Wizzupok, if rafael2k has a somewhat easy way to get me up and running17:13
uvosfreemangordon: all of those sound like obvious bugs19:15
uvosrafael2k: you could modify https://github.com/IMbackK/drm_blankscreen/blob/master/main.c will print the properties of the crts by quering the kernel/drm directly19:17
uvosi suspect its wrong19:17
uvosie kernel bug19:17
uvos*you dont have to modify it any iirc it dump prints the props19:17
uvosyou have to execute this while xorg is not running or is in a different crt, it needs to become drm master19:18
uvos*different vt19:18
freemangordonuvos: my gut feeling tells me the same (bug in kernel), however, I have no hard data to provide19:20
uvosdrm_blankscreen would tell him19:23

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