libera/#maemo-leste/ Saturday, 2023-01-14

norayrWizzup: i was able to port/build/package harbour-amazfish - watch application for my watch. (:04:36
norayrneed two repos: https://github.com/maemo-leste-extras/bugtracker/issues/3504:36
norayrthank you!04:36
norayr(maybe did not the best way, i don't understand packaging well)04:37
norayrbut it builds and runs in vm, will try to add watch tomorrow on a real device. it's 7:30 in the morning here.04:37
siceloat least in my case, sphone has a way of triggering touch screen issues on Droid 4. other applications don't seem to cause it06:42
dsc_does wireguard functionality support 'loading configuration from file'08:09
dsc_> For sophisticated setups that are potentially not supported in our configuration user interface, it is possible to create a configuration using the "Load" button in the Wireguard control panel applet. This allows you select a file (path!) to a pre-generated configuration.08:12
dsc_Wizzup: loading wg client config file is pretty normal though08:12
siceloi can see "load" button in control panel > wireguard08:13
dsc_yeah, that should be called 'load from file' or something ;P08:15
dsc_also the file browser is a bit weird08:15
dsc_i cant seem to browse the *actual* filesystem, isntead it shows things like DCIM, Audio, Images folders08:15
siceloheh, why? looks like load from file would be long, and make the button big, and make the other buttons ugly because they'd have shorter text08:15
sicelounless you add more text to them too08:16
dsc_yep but UX-wise this is not so great08:16
dsc_i was looking for file loading functionality, couldnt find it, eventually asked here on IRC (and found something on the wiki)08:16
dsc_while its pretty 'standard' to load files08:16
dsc_(being a bit pedantic here)08:17
dsc_it should be the default route08:17
dsc_'New' spawns a dialog from hell (where you can manually insert a private key, lolwat)08:17
siceloregarding file system, mine shows DCIM, Images, Documents, etc.08:18
dsc_yep, needed to place my config file in ~/MyDocs08:18
sicelomaybe Load should be on top of New :p08:18
dsc_i think so ye ^^08:18
dsc_realistically, nobody is going to manually setup their wireguard configuration08:19
dsc_im guessing at least..08:19
siceloah, maybe the word should be "Import"?08:19
dsc_yes :)08:19
dsc_I think Wireguards official Mac client calls it 'import' too08:19
dsc_also08:21
dsc_too bad there isnt a 'connect/disconnect' button somewhere08:21
dsc_so the flow is via the menu bar on the top08:21
dsc_it says 'Wireguard Disconnected', click on that, and then you search for a profile08:21
dsc_and then press 'save'08:21
dsc_and this then connects in the background??08:22
dsc_like, when does it connect08:22
dsc_upon pressing save?08:22
dsc_it stays on 'disconnected' after I press save08:22
dsc_Yeah, I dont like this UX via the top menu :P08:23
dsc_its confusing08:23
sicelo:-D08:23
dsc_nothing wrong with a connect/disconnect button08:23
dsc_somewhere08:23
dsc_+ connection logs08:23
sicelotbh i've never used the plugin, but i see what you mean there08:23
dsc_hehe08:23
sicelomaybe create an issue? i'm sure Wizzup will be more than happy to improve it (if he has time for it)08:24
dsc_yeah seems a bit broken, doesnt want to import/connect my wireguard file08:27
dsc_however, it connects manually just fine `sudo wg-quick d4` (after manually placing config file in /etc/wireguard)08:28
* dsc_ shrugs08:28
sicelothe wizard (for new) doesn't appear to work properly too ... after entering details, can't click Forward (which should probably be named Next)08:37
siceloanyhow, create an issue, and good find08:37
dsc_sicelo: Edit for a config that was previously loaded doesnt work either (Forward greyed out)08:40
dsc_will create an issue later08:42
dsc_https://maedevu.maemo.org/images/droid4/20221214-chimaera/10:02
dsc_is this the most recent chimaera release?10:02
freemangordonWizzup: osso-abook-home-applet is not installed by default, please fix metapackage11:13
freemangordondsc_: yes, there is only one release so far11:23
dsc_kk11:32
dsc_hmm, droid4 wont turn on anymore - white light11:42
dsc_white light from the light indicator11:42
dsc_fixed it ;p11:44
dsc_UX feels more responsive on chimaera but maybe I am imagining things11:48
dsc_also it looks more 'sharp'11:48
dsc_pretty cool11:49
Wizzupdsc_: that white light means it's shutting down12:08
norayrWizzup: https://github.com/maemo-leste-extras/bugtracker/issues/35 i am sorry for reminding, but i hardly have resistance to not start building in phoenix.12:13
norayrthat's amazfish, the watch application and daemon.12:13
norayri was waiting for chimaera to package it.12:14
Wizzupnorayr: no problem @ reminding, I didn't see this until just now12:17
Wizzupwhat is it this exactly?12:17
Wizzup(I'll make the repos)12:17
norayrso it is an app, initially for sailfish only12:17
norayrthen the author - same piggz who also has the camera app mentioned here12:17
norayrwhich is of two parts: ui and daemon12:18
SuperMarioSFoh hi12:18
norayrdaemon sends notifications to the watch (there is a list of supportad smart watches)12:18
SuperMarioSFsomething went wrong after I did a apt upgrade. now there are 2 package are conflicting during post installation configuration.12:19
SuperMarioSFi guess this is a known issue?12:19
norayrand the ui is for configuring the watch, also shows thee graphs of heart bits or steps, it is possible to force to download the data from the watch, and configure alarms, etc.12:20
Wizzupnorayr: should be all set up now12:20
norayrSuperMarioSF: try to do apt-get update once more, then apt-get upgrade12:20
norayrWizzup: yaay12:20
WizzupSuperMarioSF: can you post the conflict?12:20
SuperMarioSFplease wait. package name is 'leste-config-droid4', problem is attempt to write to the exact same file during post installation with a later dependcies 'leste-config-mapphone'12:22
SuperMarioSFalready did update the repo then upgrade.12:22
Wizzupare you on -devel repos?12:23
SuperMarioSFyes, devel repo enabled.12:24
WizzupSuperMarioSF: maybe try this:12:24
Wizzupdpkg-divert --remove /lib/udev/rules.d/85-input-devices.rules12:24
Wizzupand then reinstall the packages12:24
SuperMarioSFso which package should I reinstall? I guess is the droid4 one12:25
SuperMarioSFhmmm I got a error message: E: Internal Error, No file name for leste-config-droid4:armhf12:27
Wizzupleste-config-mapphone I believe12:27
WizzupI am looking at my history, I tried a few things12:27
Wizzupdpkg --configure --force-all leste-config-bionic12:27
Wizzupin combination with the dpkg-divert remove12:27
SuperMarioSFOK12:28
SuperMarioSFwell someting went even more wrong...12:33
SuperMarioSFdpkg-divert: error: rename involves overwriting '/lib/udev/rules.d/85-input-devices.rules.leste-orig' with different file '/lib/udev/rules.d/85-input-devices.rules', not allowed12:34
Wizzuptry a combination of removing the file with rm, the dpkg-divert remove and then reconfigurinbf12:35
Wizzupalso sorr for the trouble12:35
WizzupI think this never hit -devel12:35
Wizzuperr12:35
Wizzupstable I mean12:35
SuperMarioSFi'm on -devel, not on the stable i guess12:38
Wizzupyup, just saying that not all users hit this ;)12:40
SuperMarioSFok it fixed.12:41
SuperMarioSFtbh, seeing Linux 6.1.0 running on such old hardware is impressive.12:44
norayrWizzup: I hate to say this but i guess the build permission in phoenix is not granted for those two repos.12:45
norayrnemo-qml-plugin-dbus and harbour-amazfish12:45
norayruser is norayr12:46
Wizzupnorayr: I think it is12:48
Wizzuplet me check12:48
norayri don't see 'build with parametres' button. but i see for other projects.12:49
Wizzupnorayr: I forgot a step12:50
Wizzupdone now12:50
norayryay12:50
Wizzupthe current jenkins setup is a bit convoluted12:50
WizzupI have html tables that span 5 times my screen width12:50
norayryes i see the button! yes, i can imagine this jenkins is so complicated. maybe it makes sense to write an article in the wiki and follow the steps like the script each time.12:51
norayri dealt with buildbot a couple of times, it looks less complicated. jenkins i am afraid to come close to.12:51
norayri mean setup.12:51
Wizzupit's just te plugin that's a bit weird12:51
WizzupI can probably use the API to script it12:51
Wizzupwe scripted the rest12:51
norayrgood12:52
Wizzupnorayr: btw keep in mind that bt on mapphones can still cause this recursive kernel oops that fills up your sd card with syslog13:05
norayryeees, i am afraid of bt issues, and i am also afraid that the graphs won't be shown since they are drawn in black and with our black theme that might become a problem.13:05
norayri noticed in alpine build script that this amazfish they don't build for armhf, so i also expect that something may fail on armhf build.13:06
Wizzupwell, we can fix this recursive oops at least13:06
norayrbut i hope to be able to fix it.13:06
Wizzupyup13:23
dsc_I noticed the chimera image by default doesnt enable/have any swap15:01
dsc_is there a reason for that, or just still in development / beta15:02
dsc_https://maedevu.maemo.org/images/droid4/20221214-chimaera/15:02
dsc_this one15:02
Wizzupdon't we do zswap?15:05
dsc_I noticed the image had 0 swap and manually created a 2G swapfile15:08
dsc_(my compile froze after gcc consumed >1gb memory :D)15:08
dsc_i recall the previous image having some swap enabled? maybe im remembering it wrong15:08
Wizzupdsc_: yes, zswap15:19
WizzupI'll need to check and see what happened15:19
norayrhow can i set the theme for qt app from console and run it with non black themeL16:22
norayr?16:22
Wizzup-style somethingelse16:38
WizzupIIRC16:38
Wizzupgoogle will probably tel lyou16:38
dsc_https://plak.infrapuin.nl/jc4s5fao.mp416:41
dsc_neural machine translation running on droid4 with decent performance :DD16:43
dsc_which is hilarious16:45
Wizzup<316:49
dsc_so now we can translate text from one language to another, locally, without needing to use a cloud service17:04
norayri think forcing the vkb to appear by volume up is broken on pp.17:05
norayrWizzup: i am trying to pair the watch via amazfish ui now on droid.17:05
norayrit searches, but is not able to find it.17:05
norayrnow trying pp17:06
Wizzupnorayr: blueman can help17:08
Wizzupnorayr: also you need to probably be discoverable, and maybe set the phone class17:09
Wizzupwell, what is not able to find what17:09
norayri cannot enter the name in amazfish config ui, it's qt5, and without entering a name of profile it doesn't allow to save the profile. and vkb doesn't appear on pp without hwkbd when i tap on the field or use volume up key.17:09
norayrthe phone should be discoverable in order to find the watch? i think the watch should be discoverable and it is.17:10
norayri know how to use bluetoothctl17:10
Wizzupyes, it don't know what pairs to what17:10
norayrhmmm.17:10
norayrok will try with hwkbd on pp now.17:10
norayrto be able to save the profile17:10
norayrshould we already set portrait mode as default on pp? or maybe there can be a config for that?17:11
norayrheh seems i cannot enter anything there without hwkbd. restarting.17:12
norayrblueman does not install since elogind prevents it to be installed.17:13
norayrinstalled bluez, it started bluetoothd. maybe that will help17:14
norayrd417:14
norayrah!17:16
norayri see the error17:16
norayrkf.bluezqt: Cannot open /dev/rfkill for reading17:16
norayrok trying on pp17:19
Wizzupnorayr: did you probe the module?17:21
Wizzup17:13 < norayr> blueman does not install since elogind prevents it to be installed.17:21
Wizzupyeah this is chimaera problem17:21
norayrno17:21
norayrwhat is the module17:21
norayrhci something?17:21
* norayr searching17:22
norayrhci_uart probably17:22
Wizzupnorayr: yes, sec17:26
Wizzupnorayr: modprobe hci_uart17:27
norayrOMG on pp there were several modules, bt-something enabled, and i pressed scan, and it found and i think bind the watch!17:27
Wizzupnorayr: if you modprobe hci_uart on  on mapphone it willalso work17:34
Wizzupbut mind the kernel issue/bug17:34
norayraaaaa it woooorks on pp under maemo!17:35
norayri will need to write a wiki article about it17:35
norayrbut basically it woooorks like on pmos or sailfish!17:35
norayreven better maybe!17:36
norayr(:17:36
norayrthe main issue on pinephone is that to save profile one needs to enter something in a name field.17:37
norayrand i cannot enter there something without hwkbd.17:37
norayrotherwise i am so happy it works!17:37
norayri'll see how it forwards notifications, and from where17:37
norayralso will try again with droid.17:37
norayryes17:37
norayrthe other question17:37
norayrwhat is /etc/xdg/autostart?17:38
Wizzupgreat @ qt17:38
Wizzupgreat @ bt17:38
Wizzupand yes the qt keyboard problem is known17:38
norayrthe app puts there a .desktop file17:38
norayrwhich should autostart, as i understand, the service17:38
norayrunder pmos that .desktop file indeed starts the daemon from the user name.17:39
norayri think in our case it doesn't autostart those desktop files. i ran the daemon by hand in console.17:39
norayrbut maybe i need to tap 'start on boot' in the app to activate the daemon, not sure.17:39
norayraaaaaa, notifications from dino work!17:42
Wizzupanything libnotify will17:43
Wizzupbut dino uses a TON of ram and eat power like crazy17:43
norayryeees. does pidgin use libnotify?17:43
norayrit also does lots of i/o17:44
norayri cannot run it on a laptop because my home is on the network and it gets too slow.17:44
norayri don't know what did they do to make it so slow and heavy.17:44
dsc_its built with GTK+ so youd expect it to be faster than, say, Electron apps17:45
norayryes, electron is very bad. but still i don't know what they did.17:45
norayrah! you said gtk, and i remembered other thing that i need to package: songrec17:45
norayrthat's an open source shazam client.17:46
Wizzupnorayr: yes, but we can run any pidgin protocol in telepathy17:46
Wizzupnorayr: and we just need to add libnotify to conversations, it's simple really17:46
norayryes conversations are the best, no doubt.17:49
dsc_norayr: open source shazam? which 3rd party service does it connect to?17:59
norayrno, it connects to shazam as i understand.18:00
dsc_ah ok, cool18:00
Wizzupyeah open source shazam is hard18:01
rafael2kwas thinking in packaging Signal (arm64 support here: https://github.com/dennisameling/Signal-Desktop) and DeltaChat (https://github.com/deltachat/deltachat-desktop)18:16
Wizzupthere is libsignal and signald18:17
rafael2kI tested DeltaChat (a nice email client I use) try the flatpak package and it works quite well18:17
WizzupI think in extras18:17
rafael2k(tru the flatpak...)18:17
rafael2kcool! did not know18:18
sicelonorayr: how does it connect to shazam?19:58
* sicelo searches19:58
Wizzuphttps://github.com/sailfishos/voicecall20:39
WizzupI wonder if we should run this locally, or just use the tp code of it20:39
Wizzupbtw, looks like this might be useful too: https://github.com/sailfishos/libgsupplicant for libicd-network-wpasupplicant21:39
WizzupI could potentially remove a lot of code21:39
sicelointeresting Pavel finds droid 4 "battery life is poor"22:23
Wizzupyeah, not sure what's up with that22:31
rafael2kIn the PP we might want to suspend to have battery for a full day (or a bit more) of use of the device as a phone: https://xnux.eu/devices/feature/system-suspend-a64.html23:15
Wizzupwe probably want crust23:24
Wizzupiirc that also required some u-boot work, parazyd was working on it way back23:25
rafael2ksuspending is already working23:27
rafael2kecho mem > /sys/power/state23:27
rafael2kworks fine, I'm testing here (and already using to save battery)23:27
rafael2kthe "defaults"  of the suspend state is pretty sane as far as I can tell23:28
rafael2kwithout it the pocket gets hot, and battery drains fast.23:40
rafael2kI'm not sure about this firmware issue you mention... I use the same boot loader for Mobian and Maemo... and it works pretty well on Mobian (and it seems also on Maemo, triggering the suspend "by hand")23:45
rafael2k(I use the Maemo-shipped boot loader indeed23:45
rafael2kneed to check about crust, if it is not there, we can make it sure we have it23:48
rafael2kWizzup: could you import this baby: https://github.com/rafael2k/crust-firmware23:55
rafael2kor better: https://github.com/crust-firmware/crust23:59

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