libera/#maemo-leste/ Wednesday, 2023-01-18

inky_bencoh, thank you so much, i losh quickflickr and could not find. there was also jockr i believe but again i cannot find it00:42
sunshavi_ df02:07
sunshavi_kbd issue. sorry02:08
rafael2ktested the pigzz's pinhole... still very early stages, but he is writing in a very portable way, supporting kirigami, silica, qt-controls and uuitk08:38
rafael2kmanaged to compile with qt-controls and kirigami, all good08:38
rafael2kthe UI seems nice, without any big issue08:39
rafael2kyay, got it working09:02
rafael2klets package it09:03
rafael2khttp://abradig.org.br/maemo-crazyness/pinhole/pinhole-1.jpeg09:07
rafael2khttp://abradig.org.br/maemo-crazyness/pinhole/pinhole-2.jpeg and http://abradig.org.br/maemo-crazyness/pinhole/pinhole-3.jpeg09:07
rafael2ka screen cap with import: http://abradig.org.br/maemo-crazyness/pinhole/pinhole.jpg09:07
dsc_kewl09:08
rafael2kstill very early stages... but I think we have a winner : )09:08
rafael2kbtw, sometimes the ov5640 gets boged in boot with the current 6.1.3 kernel in Chimaera.. just rmmod and modprobe it starts working... still debugging the issue09:18
dsc_BlagovestPetrov4: when are you receiving the cables?09:32
BlagovestPetrov4I'm waiting for the micro usb connectors from AliExpress. Hopefully in two weeks09:33
dsc_cool, I have 2x droid4's that are 'bricked'09:34
BlagovestPetrov4Sunder?09:34
dsc_yes09:35
BlagovestPetrov4:)))09:35
dsc_:D09:35
dsc_BlagovestPetrov4: https://plak.infrapuin.nl/selif/xpfzjbxu.mp409:35
BlagovestPetrov4we can try to replace the batteries with working phones in initlab09:35
BlagovestPetrov4cool!09:36
dsc_BlagovestPetrov4: soon^tm?09:36
BlagovestPetrov4I might be in the lab in the afternoon, but still cannot confirm it. There is a strong wind outside :D09:39
BlagovestPetrov4but tomorrow, definitely09:39
dsc_alright09:39
rafael2kso, about the volume applet09:51
rafael2kthis should be in a platform specific package, right? /usr/share/maemo-statusmenu-volume/sinks.ini09:51
rafael2kyay, volume working10:02
rafael2ksink_name=alsa_output.0.HiFi__hw_PinePhone_0__sink10:02
uvosrafael2k: thats not the solution10:34
uvosas i discribed before10:34
uvosthere is no reason this needs to be "hardcoded" into any config file at all10:35
rafael2kuntil nobody fixes it, it is a solution, even if temporary10:35
rafael2k: )10:35
freemangordonrafael2k: what is that white stripe on top of camera application?11:06
freemangordonalso, you may want to set some fullscreen flag (not sure which one)11:07
rafael2kfreemangordon: good question, I'd love to get rid of it11:12
freemangordondsc_: how do you start the application?11:13
freemangordonalso, is this chimaera?11:13
rafael2kchimaera, yes11:14
freemangordonrafael2k: oops, "how do you start the application?" was pointed to you11:15
freemangordonlike, do you change qt platform plugin?11:16
rafael2kah no no11:21
rafael2kI did not change nothing11:21
rafael2kjust called the app11:21
rafael2kshould I try some QT switches?11:21
freemangordonno11:24
freemangordonI was thinking if you may possibly start with wrong theme or platform plugin11:24
rafael2kI could open the project in QT Creator and see if there is some stuff in the top11:24
freemangordonif you start on desktop, do you still see that white stripe?11:24
freemangordonright11:24
rafael2kneed to try, did not compile on my bullseye desk yet11:25
rafael2kwill do it11:25
dsc_freemangordon: its in a 'works on my machine' state currently, needs some packaging still12:02
Wizzupmorning12:03
dsc_yes chimaera12:03
* Wizzup trying waydroid on maemo-leste to set up his bank account before the 24h expiry12:38
freemangordonWizzup: change the bank14:32
Wizzupfreemangordon: yeah I found one that isn't like this14:33
freemangordonright, that's how we shall heal them ;)14:38
Wizzupthe one I am at should also offer a token14:39
Wizzupbut they said 'they do not have them'14:39
freemangordonhehe14:39
Wizzupthe other bank also said it but then when I insisted the 'found some'14:39
Wizzup*shrug*14:39
Wizzupbrb14:39
freemangordonI still don;t get it what's wrong with OTP14:39
norayr>hildon-base : Conflicts: elogind but 246.10-2 is to be installed14:41
Wizzupnorayr: yes, this is mentioned in the news post.14:41
norayrthat's in emulator. trying to build something, but apt build-dep . returns that.14:41
Wizzupthis is why we don't tell people to use chimaera, it's not ready14:41
Wizzup:)14:42
norayri was able to build other things without this problem. :/14:42
Wizzupthere is no workaround here14:42
norayrok, i'll try to do something.14:42
norayri thought this is solved.14:42
norayrbecause i guess this was solved on droid. and on pp.14:42
Wizzupnot solved anywhere14:42
Wizzup100%14:42
Wizzupthe phones are usable without elogind but it has spread as some virus to most pkgs so they now hard depend on it14:43
Wizzupso we need to accept it and also support elogind14:43
Wizzupuntil then, we're stuck here14:43
norayreh. i still resist installing elogind on my gentoo. (:14:43
norayrok will try to install dependencies somehow and build the package.14:44
norayrwill ask for a repo soon. hopefully.14:44
Wizzupcool14:45
Wizzupbbl14:45
norayrWizzup: did you notice we discussed that the volume up key is unable to trigger vkb on pp?15:07
norayras uvos helped to find out, it gets blocked by volume applett.15:08
norayruvos, Wizzup, right now it is impossible to write in pidgin on pp because of that. i cannot do Enter, because enter doesn't work well with old vkb backend. and new vkb backend is not triggerable.15:08
norayrcan we just switch to new vkb backend and give up the old one?15:09
Wizzupnorayr: what is this magical new vkb backend15:14
norayrx11 backend by uvos?15:14
norayrwe have currently two backends. uvos can explain it better.15:14
WizzupI think you lack a lot of info here15:14
norayrnew backend is why we are able to write in non hildonized apps.15:14
norayrold backend is for hildonized apps.15:15
Wizzupnot really15:15
Wizzupright now any gtk2 and gtk3 application will have a virtual keyboard, where they are 'maemo'ized or not15:15
Wizzupwhat is missing is the qt5 equivalent, which I didn't port yet15:16
norayrokay, still, right now maemo is not usable at all, since enter key is not possible. we need to do something with that.15:16
norayrlook15:16
Wizzupthen there is this x11 thing that is limited and has to be invoked manually15:16
norayrenter key will be possible with new uvos backend for vkb15:16
Wizzupthen there is the suggestion to use at-spi2 for this, which nobody did15:16
norayrwhen you tap on edit box, or you trigger the vkb with the key (search on d4) you get different keyboards actually.15:16
Wizzupthe reality is that using maemo leste now on a device without keyboard means you're in for a world of pain, which we know15:16
norayrso the kbd that you trigger with a hardware key has proper working enter key.15:17
Wizzupand we need the volume buttons to be the volume buttons, I'd say15:17
norayrthe kbd that triggers because of the tap on the edit field - doesn't.15:17
Wizzupwhatever the 'enter key' issue is, seems like a different problem15:17
norayri know because i was using the pp with onscreen kbd, as well as d4. this bug is common to both devices.15:18
norayrif you trigger the kbd by the hardware key, the enter works.15:18
norayruvos was saying that's because it has new, x11 backend.15:18
norayrand he wrote it. while the old code has all sorts of bugs, and kbd triggered by tap is more buggy.15:18
norayrso enter may not work there.15:18
norayrso i was typing a message, then i was coming back to edit field, then i was triggering other version of the keyboard with volume up, and then enter would work.15:19
norayrthat was already very discomfort, but now it is even worse. because the new keyboard code is not triggerable.15:19
norayrnot sure that the volume up is a good solution. i would prefer to not explain to my friends whom i try to convince to use maemo leste that in order to type enter they need to trigger the kbd by other key.15:20
norayrnot by tapping.15:20
Wizzupmaybe you can file a bug report for pidgin, assuming it's gtk3, and enter not working15:29
WizzupI've never tried pidgin since I just want to use it through tp ;)15:29
norayrno no, it's not pidgin.15:41
norayrwe duscussed it here with uvos before, last year, and year before last year.15:41
norayrmy message is:15:41
norayrif i send enter by triggering vkbd by hardware key (like vol+up or search) then enter works!15:42
norayrthat's not pidgin, that's vkbd, and apparently you didn't know about the issue.15:42
norayrjust tried again, that's what i am saying: in maemo's xterm, in hildonized leafpad enter works.15:44
norayrin pluma it doesn't work.15:44
norayryou cannot write in pluma and send enter by vkb15:44
norayrunless you trigger the vkb by hardware key, like vol up or search on d415:44
norayryou need to know that we have two different backends for vkb.15:45
norayror uvos has to come to clear it up.15:45
Wizzupright, so your problem is that enter doesn't work from the normal triggered keyboard.15:49
WizzupI think that's what I surmised earlier15:49
Wizzupin any case I never use the x11 keyboard version on my droid15:49
Wizzupso I don't know how it works differently15:49
dsc_I am running 2x droid4 with distcc for distributed compiles16:42
dsc_lel16:42
Wizzupdsc_: if you turn the screen off it disabled one core, jfyi16:43
Wizzupthis is for power saving purposes16:43
Wizzupbut you might want to consider keeping the screen on16:43
dsc_Wizzup: ahhhhh I was wondering why `htop` would sometimes show 1 core16:45
dsc_was thinking maybe I was starting to go crazy16:45
dsc_probably wasted a lot of time as well16:47
dsc_not knowing this lol16:47
Wizzup:(16:47
dsc_this distcc stuff is cool though17:19
dsc_cmake + ccache, distributed over multiple droid's17:20
Wizzupheh, you have multiple working ones now? :D17:20
dsc_https://plak.infrapuin.nl/selif/td0h9pws.png17:21
dsc_Wizzup: Yeah I have 2, and hopefuly BlagovestPetrov4 can bring 2 others from the dead ^^17:21
WizzupI can probably too when I get there17:22
Wizzupusually just a wall charger is enough for me to get it working17:28
Wizzupit's weird, I've never actually bricked any17:28
dsc_it simply wont start charging when wall charger is connected17:29
dsc_:(17:29
Wizzupif you leave it there for a day or two usually magic happens still17:29
dsc_:D17:29
Wizzupalternatively you can -probably- use one of the working d4s with some battery swapping magic17:29
Wizzupbut yeah17:29
BlagovestPetrov4oh, I could easily brick them :D17:29
BlagovestPetrov4yeah, that's the easiest way. I'm using the one that came with the lapdock17:30
sicelore: vkb - norayr and others - what about, instead of using a volume key, add a status menu item with high priority (so it doesn't get moved too far to the bottom)? it's a really ugly workaround, but in the absence of other immediate solutions ...18:22
Wizzupsicelo: how about just finding a proper solution :)18:25
Wizzuplike, the at-spi module18:25
sicelowell if there's time for that, sure :-)18:25
siceloi was just mentioning since it sounds like an immediate problem for norayr for some reason18:26
freemangordonWizzup: or swipe bottom-up18:27
WizzupI think ultimately we have a few things on our hand with hildon input method18:27
Wizzupone is qt5, perhaps through at-spi, the other is that we don't always want it 'over' the application18:27
Wizzupneither are simple, so I don't think it'll happen in the next week or so18:27
freemangordonumm, qt5 should not be at-spi18:29
freemangordonwe already have qt4 inegration with him on fremantle18:30
freemangordonI guess we can port it to qt518:30
freemangordonI doubt it is that complicated18:30
freemangordonbut, if you promise to fix the theming, I will make qt5 him input plugin :p18:30
freemangordondeal?18:30
bencohI got some strange usb/uart-related error after disconnecting droid4 from laptop and connecting it to some noname wallcharger: droid4:~$ dpkg -l |grep linux-image18:36
bencohrc  linux-image-droid4                                  5.10.9-1+2m7.1                          armhf        Linux kernel for Motorola Droid418:36
bencohii  linux-image-omap                                    5.18.9-2+2m7                            armhf        Linux kernel for OMAP devices running Maemo Leste18:36
bencohwoops18:36
bencohhttp://pastebin.notk.org/pastebin.php?show=m1993d95e18:36
rafael2kmy temporary workaround for absent/bad vkb  - use qtwebbrowser and literm18:37
bencoh(I think that the same happened a few hours ago but at that time it looked like phone crashed, I had to hardreset it)18:37
Wizzupfreemangordon: fix the qt theming you mean?18:37
Wizzupfreemangordon: I think it will be relatively complicated18:37
Wizzupbut you're very welcome to try18:37
Wizzupand yeah I can try to commit to the theming fixes18:37
Wizzupthose ... seem ... easier18:37
Wizzupbencoh: maybe try 6.1.x kernel from -devel, I *vaguely* seem to recall this was fixed18:38
bencohoh, alright18:38
Wizzupbtw..18:38
Wizzup$ ./voicecall-test18:38
Wizzuphello, world18:38
Wizzup"/org/freedesktop/Telepathy/Account/sofiasip/sip/_3708530001_40sip_2efreedom_2enl0"18:38
WizzupvoiceCallsChanged18:38
WizzupactiveVoiceCallChanged18:38
Wizzupanswering18:38
Wizzuphangup18:38
WizzupvoiceCallsChanged18:38
freemangordon:)18:38
WizzupactiveVoiceCallChanged18:38
Wizzupsorry for the spam :)18:39
bencohWizzup: I'm still running beowulf, I guess I should upgrade to chimaera?18:39
freemangordonno18:39
rafael2k(and vkb plugin in chromium... and a physical usb-c->usb-a adapter + usb keyboard or bt keyboard)18:39
Wizzupbencoh: I think beowulf-devel has 6.x, but maybe we should promote the 6.1.x to beowulf stable too18:39
bencohlemme see ...18:39
freemangordonrafael2k: unfortunately chromium has broken gtk3 input method support :(18:40
rafael2kfreemangordon: but there are good vkb as plugins... they solve for now18:41
freemangordonlike, it does not follow gtk3 requirements18:41
freemangordonI tried all of them a months or so ago18:41
freemangordonnone worked18:41
freemangordon*a month18:41
rafael2kme too, but I foundd one that works, lemme see the name18:41
freemangordonthat's be surprising :)18:42
freemangordon*that'd18:42
freemangordon(another typos day :) )18:42
WizzupI think he is talking about a chrome extension18:42
Wizzupnot a gtk plugin/extension18:42
freemangordonmhm18:42
freemangordonI know18:42
rafael2kchrome extension, yes18:42
Wizzupoh, ok18:42
* Wizzup hides18:42
freemangordonI tried 4 or 5 back then18:43
freemangordonmaybe chromium in beowulf was too old, dunno18:43
rafael2kI'm in Chimaera, indeed18:44
rafael2khttps://chrome.google.com/webstore/detail/screen-virtual-keyboard-s/gkiknnlmdgcmhmncldcmmnhhdiakielc?hl=ru18:46
freemangordonthanks!18:47
rafael2kbut there is an issue.. it does not work in the url bar18:47
rafael2k:(18:47
freemangordonright18:47
rafael2kneed to call chromium https://website from cmd line, and then yes, you can use it for on-screen website text boxes18:48
rafael2kI had found one in the past that was working... but could not find it again18:48
rafael2kdon't remember if that was in firefox or chromium thou18:48
freemangordonI think it is easier to just fix chromium input method support18:49
freemangordonbasically the issue is that it does not set focus window unless physical kbd key is pressed18:49
freemangordonso it sends focus in/out events when you enter text field, but no window events18:50
freemangordonjust adding that missing line of code will make him vkb working18:50
rafael2kright, did not know that was the bug18:51
freemangordonsee https://github.com/chromium/chromium/blob/a798c106aac5dd0d2ccee53b9ebd14a4cce7d2a0/chrome/browser/ui/libgtkui/input_method_context_impl_gtk.cc18:51
freemangordonSetContextClientWindow() is called only in DispatchKeyEvent() :)18:52
rafael2kI'm following a bug ticket also in which chromium will be able to use pipewire (which in turn can get video from libcamera) in order I can join a webrtc call using the camera18:52
Wizzupso now we'll have to compile with qtwebengine and chromium?18:53
rafael2ktks!18:53
* Wizzup crawls under a bed ;) 18:53
Wizzups/with/both/18:53
rafael2k:P18:53
freemangordonWizzup: not now, but you got the idea :p18:53
rafael2kI want my chromium working in webrtc calls with video!18:53
rafael2keheheheh18:53
bencohwait, does pipewire work in leste?18:54
rafael2kit is in the repo... did not tested it yet18:54
rafael2kit kind of works in bullseye18:54
bencohdon't we have pulseaudio-specific modules?18:54
rafael2kbut my use case would be just for video... for audio it was a bit flacky in bullseye / chimaera18:55
rafael2kyes18:55
bencohlike the sphone volume pa plugin, or whatever that was called18:55
rafael2kpipewire can be a drop-in replacement to pulseaudio18:55
Wizzuponly in the most basic setups18:56
rafael2kbut I will not use pipewire for audio at this point, just for routing video18:56
Wizzuppipewire requires a lot of configuration, but yes, it's superior to pulseaudio for sure18:56
Wizzupbut if we start pulling out PA now for pipewire I think our jenga mobile distro will come tumbling down :P18:56
rafael2kbut in bullseye / chimaera it is a bit old... I did not like it on my desktop tbh... had some issues18:56
Wizzup(metaphorically of course)18:56
rafael2kdont do it18:57
rafael2kit is not stable enough in the old version we have right now in chimaera18:57
rafael2kbut for video it can save lives, yes18:58
freemangordonok, I will fork chromium and will try to make it work properly with him18:58
freemangordonnot now18:58
bencohrafael2k: if you really need it you could probably add it without enabling the pipewire-pulse service18:59
rafael2khttps://webrtc-review.googlesource.com/c/src/+/261620/1818:59
Wizzuprafael2k: we can package a newer one later if we want19:00
bencohhmm, interestingly enough, the droid4 does not recognize my noname wallcharger19:00
bencohwhereas (picky) n900 does19:00
WizzupI think fmg was working on charger patches for the kernel somewhat recently19:00
Wizzupcharger detection specifically19:00
bencohyet same wallcharger was able to power droid4 and make it boot19:00
rafael2kbencoh: lemme see if I manage to make webrtc work in chromium with the version we already have, then if we need a newer version, it should be easy to package indeed19:00
bencoh(with an empty battery)19:00
rafael2kbencoh, and I agree we should not enable pipewire-pulse19:01
bencohWizzup: upgraded to 6.1.0-rc8 btw (it's funny that my phone has the most recent kernel of all my devices here)19:01
Wizzup:)19:04
bencohshould dist-upgrade work for beowulf->chimaera?19:04
Wizzupehhh... potentially :)19:05
WizzupI did it for my phone19:05
bencoh:]19:06
bencohany recommendation before running it?19:06
bencohapart from /etc/no_lg_reboots*19:06
Wizzupfull battrery, wifi19:07
Wizzupsry mtg19:07
bencohlet's see ...19:07
sicelobencoh: you got it wrong ... (picky)droid4 😃19:16
bencohhaha19:19
bencohwell, n900 was supposedly picky with usb chargers back then19:19
Guest5254220:36
uvosthe mainline kernel on d4 dosent detect any charger at all21:30
uvosie it dose no charge detection21:30
uvosmbm will only boot if it detects a wall charger, but thats totaly unrelated to the kernel ofc21:31
norayrwhen connecting to hidden wifi, maemo asks for ssid, not for password. is it normal or bug?22:37
norayrbut when i enter something, it doesn't want also a password.22:37
norayri think it asks for ssid but it treats it as password.22:37
norayrrafael2k: well, it qtwebbrowser doesn't type in pluma or pidgin. and secondly, it doesn't type in armenian. or anything other than latin.22:39
uvospretty sure the qt keyboard has all kinds of languages22:55
uvoshttps://doc.qt.io/qt-5/qtvirtualkeyboard-index.html22:55
uvosyes22:55
uvossee Supported Languagessee22:55
Wizzupnorayr: it shuld ask both, but ssid first, then it tries to find ap23:06
Wizzupif found it will ask for password23:07
Wizzupyou can set it up through cpa sa well23:07
Wizzupuvos: btw I'm close to the tp module for sphone :)23:07
uvosWizzup: weee23:07
norayrhmm23:07
norayruvos, wow i didn't know it has.23:08
sixwheeledbeastIf Hidden it would need the SSID first23:11
bencohhmm, is that a known issue (while upgrading to chimaera)? dpkg-divert: error: 'diversion of /lib/udev/rules.d/85-input-devices.rules to /lib/udev/rules.d/85-input-devices.rules.leste-orig by leste-config-droid4' clashes with 'diversion of /lib/udev/rules.d/85-input-devices.rules to /lib/udev/rules.d/85-input-devices.rules.leste-orig by leste-config-mapphone'23:34
bencohapparently leste-config-mapphone depends on leste-config-droid423:34
Wizzupbencoh: well, it should be fixed, but yeah.23:39
Wizzupbencoh: the ml contains a fix23:39
Wizzupbencoh: try23:39
Wizzupdpkg-divert --remove /lib/udev/rules.d/85-input-devices.rules23:39
bencohyeah that's what I did23:43
Wizzupbencoh: but yeah I -thought- it was fixed23:44
bencohand then let it reinstal/reconf the leste-config-droid4 package, and only after that I reinstalled the mapphone one23:44
Wizzupyeah.23:44
bencohoverall the dist-upgrade somewhat failed a few times and I fixed it by running apt --fix-broken install and re-run dist-upgrade, but overall it worked23:47
bencohdeviced rebooted properly to hildon )23:47
bencoh:)23:47

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