libera/#maemo-leste/ Thursday, 2025-01-09

arno11ok00:00
siceloI do see that if you set it to GSM, then switch to any, it remains on gsm00:15
siceloguess this was always the case however. I could look into it someday though. should be an easy fix00:16
arno11it was different with ofono1: back to umts (if available) after switching back to 'any'00:34
siceloi see. maybe open issue on github so we can remember to work on it00:37
inkyi think i have heard that seat is a systemd feature, one computer may have two users on different seats. with different monitors and mice.02:29
inkyi guess devuan made libseat for compatibility without systemd.02:30
inkywe won't have seats with phones.02:30
siceloof course you do have seats, even if there's only one.06:51
siceloinky: and, for completeness, you can already see a seat on your Leste device if you do `loginctl list-seats`08:08
freemangordon;)08:11
mkfi've got scammed, my n900 lacks seats >:(09:23
mkfwhere should i sit now09:23
sicelobe a witch, and sit mid-air, on a broom :-D09:27
mkfare brooms included with leste?09:28
freemangordonthere are 3 questions you'd better not ask when a Bulgarian is around ;)09:28
mkf:D09:28
freemangordon"where should I seat" being one of them :D09:29
siceloheh, why is that?09:32
mkfbtw have anyone ran eka2l on leste?09:33
mkfjust for nostaligia that may work.09:34
freemangordonsicelo: no time now, but will explain later on. But basically you will get an unpolite answer (a swear).09:35
sicelo:-P09:39
Wizzupfreemangordon: semi crazy idea, we could make an upgrade package for chimaera similar to the cssu OTA updates for daedalus if we want to11:28
Wizzupwe'd put in only in extras-testing in case folks want to try it11:28
freemangordonwhy not11:29
Wizzupwould be fun/cute11:30
Wizzupit will require a bit more effort, we might have to really tackle the gconf2 configure issue that pops up some times and we might need to further ham-ify some of our pkgs11:30
Wizzupbut maybe we can make hildon-meta and hildon-meta-core h-a-m pkgs11:30
Wizzupthat's different from the OTA special mode though I guess11:31
Wizzupbut could be fun11:31
mkfnice11:33
Wizzupbtw, I will get qt-input-maemo in meta now for chimaera as well11:34
Wizzupit works great with latest jib on device without keyboard11:35
Wizzupnice work dsc11:35
mkfare you preparing for a new release?11:35
Wizzupnot sure what that means but the answer is probably yes11:36
Wizzupwe're kind of 'rolling' in the sense that we're continually making changes, but we're also preparing to move to a new debian base11:36
Wizzupthis would then also allow us to notify users of system updates without making every single of our packages a part of the system, but I don't know if that means that we'll have to verion all the hildon-meta deps so force upgrades of our pkgs11:42
mkfcould you also add n900 fixes please?11:50
Wizzupwhich ones?11:51
Wizzupah for perf?11:51
mkfidk arno said here i should wait for next update12:00
mkfso i just reminded.12:00
mkfit's very very slow atm, not sure how you guys use it. :)12:00
Wizzupn900 is really old hw - I use it with cpu overclock as on wiki12:05
Wizzupand scaling min freq set to 500mhz12:06
mkfit is old, but still.12:07
mkfi mean i read here and there leste used to outperform frametle in terms of snappiness12:07
WizzupI think we've gotten more snappy yeah12:08
Wizzupback in a bit12:08
arno11mkf: there is no perf fixes for n900. just the fact that things are very buggy from a fresh install with recent imgs.13:02
arno11again, if things are very very slow, something is really wrong: what kind of sdcard do you use btw ?13:03
arno11and yes i can confirm that leste n900 is 'smoother' and better @multitasks than fremantle (with stock freqs and few tweaks)13:09
arno11i only use overclock for 3D games, sometimes for 2g buggy calls and telegram calls/audio msgs13:10
Wizzuphow do you make telegram calls? using td desktop?13:14
arno11yes :) encrypted13:14
arno11telegram desktop needs a proper audio conf file btw13:15
Wizzupright, doesnt use too much ram?13:15
arno11it uses lot of swap13:15
Wizzupheh13:15
Wizzupyeah13:15
arno11but with no real troubles with fast u313:16
arno11(around 250MB of swap)13:16
Wizzupnot too bad13:16
Wizzupnative maemo theme?13:17
arno11yes13:17
Wizzupcool, make some screenshots or videos sometime, for the news post :)13:17
arno11yes that's the plan :)13:17
arno11once chat chatgpt stuff is ready :P13:18
arno11btw leste assistant works with pidgin !13:18
arno11today i'll try to get it working with conversations using mctool13:19
arno11but i need to figure out the proper parameters to add (seems the api key is the only thing needed)13:20
arno11dsc_: ^^^13:20
Wizzupusing haze?13:21
arno11yes13:21
WizzupI think it should support arbitrary pidgin config keys13:21
Wizzupand then a rtcom account plugin ui13:22
Wizzup:D13:22
arno11yep13:22
dsc_hi13:22
arno11hi13:22
dsc_i can help with this13:22
arno11cool :)13:23
arno11bbl13:26
mkfarno: a1 u1, i have a a1, u1 as well if that helps14:04
mkf*u3 as well if that helps14:05
arno11try u3, honestly14:10
arno11(even some u3 are bad btw, not a question of overall sd card speed but rather small blocks r/w perfs)14:18
arno11(with our old n900 sd bus)14:19
inkybut our conversations are purple based? i thought tp based.14:20
inkyarno11, yes i want to try it with pidgin, i always use it.14:20
inkyso can you push everything and even before you package it for leste, i.could try it wihh pidgin? if you have instructions/makefile to build purple plugin?14:21
arno11tp haze allows us to use purple14:21
inkywill check it out. so it would be gceat if that's also documented in ceadme or somewhere.14:22
inkyreadme*14:22
arno11i mean there are 2 different things: maemo-gpt app (ready @80% before packaging) and another completely different thing: leste assistant, which is an assistant linked to my account and directly usable with pidgin chatgpt plugin14:23
inky> telegram desktop needs a proper audio conf file btw14:24
inkythat also, should be on wiki.14:24
inky<opiniated>though telegram doesnt deserve it.</opiniated>14:24
arno11should be on wiki, yes but need more spare time :P14:25
inkypidgin has chatgpt plugin already?14:25
arno11yes14:25
inkyi can just add an api key and use it?14:25
arno11yes14:25
inkymaemo-gpt is an app, not a conversations plugin?14:26
arno11github.com/EionRobb/pidgin-chatgpt14:26
inkyty!14:26
arno11maemo-gpt is my own app14:26
arno11i ll share it soon in extras14:26
inkyso separate app, not integrated with conversations. k thought we could use it from conversations app.14:27
inkyfrom address book14:27
inkyand what is leste assistant? i think we dont want to use your account. we want to be able to add our api keys.14:28
arno11well, that s what we were talking about: adding the pidgin plugin to conversations to be able to use leste assistant (based on irc leste logs)14:28
arno11you can use your ap key ofc14:29
arno11but you need to create the proper assistant from openai api website14:29
arno11(if you use your own api key)14:30
arno11i can share with you the process to create a working leste assistant, no problem btw14:31
arno11but later :P14:31
mkfarno: oh btw do you use telegram on mapphones or n900?14:39
arno11mkf: on n900, i don't have any mapphone14:54
arno11for the record (and for leste assistant :P), telegram desktop needs /.config/alsoft.conf with:15:03
arno11[general]15:04
arno11drivers = alsa15:04
arno11periods = 615:04
arno11disable-cpu-exts = sse, sse2, sse3, sse4.115:04
arno11this file avoids cracking/distorded sound15:05
freemangordonWizzup: that's a total mess15:41
freemangordonsec15:41
freemangordonno idea how, but github is correct and https://github.com/maemo-leste-upstream-forks/xorg-server/commits/maemo/daedalus/hw/xfree86/os-support/linux/lnx_platform.c is missing the reverts15:42
freemangordonand that is the reason for segfault too15:43
Wizzupdo you want to try to rebase?15:44
WizzupI don't know what I did wrong15:44
freemangordonlemme check the base first15:44
Wizzupok15:45
freemangordonlike, what upstream repos contain15:45
freemangordonnope, that comes from devuan15:49
freemangordonlemme check debian bookworm15:49
freemangordonsame there15:52
freemangordonso it is not our fault15:52
freemangordonaccording to git log the code that sets busid should be there15:53
freemangordonbut it is not15:53
freemangordoncommit   af4c84ce8855e84c0ad89b929bc972e884f0b8e3 code is missing, unless I am blind15:53
Wizzupvery strange15:54
WizzupI used git branch --contains commitid15:54
freemangordonyes, history shows it there15:54
freemangordonbut it is not15:54
freemangordonI wonder why it works with bookworm xorg15:55
freemangordonhmm, maybe I should not use git diff, if git is broken15:56
WizzupI haven't heard of git being broken, but IDK what is going on :D15:58
freemangordonok, meld gives the same result - besides debian/patches and record.c our code is same to bookworm one15:58
Wizzupok, so then we just need some of your fixes?15:59
freemangordonso, it is like that in bookworm repo15:59
freemangordonI have no idea what to do, given that now busid is set only for PCI devices15:59
Wizzupwe can just apply some patches we need16:00
freemangordonmaybe, but I still want to know what had happened16:01
mkfarno11: eh. mine can't even login. "your telegram is too old"16:03
arno11mkf: it works for me with telegram-desktop from leste default devuan repo16:06
siceloarno11: I suppose the sse stuff is not needed? our cpu doesn't have that16:09
mkfokay16:09
mkfAllwinner Technology sunxi SoC OTG connector in FEL/flashing mode16:10
mkf\o/ got tablet running again!16:10
freemangordon:)16:15
mkfcan i dump touchpad fw in fel mode?16:17
freemangordonafaik no16:20
freemangordonyou need the kernel module16:20
freemangordonFW is built-in16:21
freemangordonWizzup: oh, you are not in #devuan?16:22
arno11sicelo: yep16:22
freemangordonWizzup: see my analysis at the end http://reisenweber.net/irclogs/libera/_devuan/latest.log.html16:22
arno11dsc_: i found the correct protocol name for mc-tool: 'eionrobb-chatgpt'16:24
arno11but i still fail to add the api key16:25
arno11got it ! openai-token16:28
dsc_hmm16:28
mkfwait16:28
mkfi have been using mainline's module16:28
dsc_arno11: those params are defined somewhere, I forgot the place, let me look16:28
freemangordonmkf: well, you need android module16:29
freemangordonI doubt you can access android fs from fel16:29
dsc_arno11: see /usr/share/telepathy/managers/16:30
freemangordonWizzup: who is suppsed to assign ID_PATH udev property?16:30
arno11dsc_: it already works :P16:31
arno11i found the parameters in the plugin src16:31
Wizzupfreemangordon: udev16:32
WizzupI think we can make udev rules to set this16:32
Wizzuphm, actually, for ID_PATH specifically I think it might just be udev16:32
freemangordonWizzup: scratch that, it looks for pci- at the start16:32
WizzupI joined #devuan16:32
Wizzupthey probably don't know I wrote a bit part of the sw they use daily to generate their repos :P16:32
Wizzups/bit/big/16:33
freemangordon:)16:33
Wizzupfreemangordon: !! https://git-scm.com/docs/git-log#_history_simplification16:34
WizzupI think this might be the thing hiding the reverts16:34
freemangordonso, full-history?16:35
freemangordonanyway, there is some bug that has to be fixed16:36
freemangordondo you know which -dev package I have to install for libsustemd-dev replacement?16:36
WizzupI think libsystemd-dev is the one, but it's annoying to install in a vm16:45
Wizzupbut it will be available in CI16:45
freemangordonI want to build on the device16:46
freemangordonI have to debug that16:46
arno11dsc_: i still need to find a way to show the assistant in contacts16:47
dsc_arno11: in the address book?16:47
arno11yes16:49
dsc_link to the connection manager repo?16:50
freemangordonit will auto-appear16:50
freemangordonas soon as CM provides contacts info16:50
dsc_yes16:50
arno11i only see the assistant bot (because it automatically send me a msg once connected)16:51
arno11in fact i need to add a buddy by hand16:52
arno11is it possible to add it with mc-tool ? adding new strings ?16:53
Wizzupfreemangordon: I can try to find the pkg if you're stuck, but I don't know on top of my head16:54
freemangordonno need, thanks16:54
arno11dsc_: purlple/blist.xml shows leste assistant as a buddy16:54
arno11*purple16:54
arno11amazing, it appears now :) let s test if it works now16:58
arno11*appears in abook16:58
arno11hmm it fails to send msgs apparently17:01
Wizzuphow does it fail?17:04
Wizzupfreemangordon: https://stackoverflow.com/questions/21464421/how-to-always-show-full-history-in-git17:04
Wizzupapparently for git blame you can't even add --full-history17:06
Wizzupwhat..17:06
WizzupI guess 'alias git-rlog=git log --sparse' or something17:07
Wizzup:)17:07
freemangordonwell, I guess it does not make any difference if we faind why it was broken17:08
freemangordon*find17:08
freemangordonactually upstream does not have the commits17:08
freemangordonbut, I wonder why did they decided the only bus around is pci17:09
freemangordon*decide17:09
dsc_arno11: i have limited idea what you're doing atm, could you link me to the repository of the contact manager in question?17:18
arno11dsc_: to resume, i have leste assistant (based on irc logs) working in both pidgin and my maemo-gpt app. i added the gpt plugin to conversations using mc-tool. it works and i m able to go online and receive a bot msg (like in pidgin). Assistants appear as buddy in leste contacts and i m able to send messages but with no answers17:23
dsc_arno11: do you have links to code? :D17:24
dsc_any link really, for context17:24
arno11yep. github.com/EionRobb/pidgin-chatgpt17:25
arno11the plugin works only with assistant feature from openai, which is what we need for conversations17:26
dsc_ok so libpurple plugin thing17:26
arno11yes17:26
dsc_it exposes 1 contact?17:27
dsc_and when you type to it17:27
dsc_it does nothing17:27
dsc_does the message appear in the chatwindow?17:27
arno11yes, well, all assistants from the account linked to the api key appear in contact list17:28
arno11msgs appear in chat window17:28
arno11but only sent msgs17:28
dsc_i dont really know what an assisant is17:29
dsc_its just a contact, yeah?17:29
dsc_or17:29
arno11nope17:29
dsc_these are individual chatgpt conversation threads?17:29
arno11yes17:29
dsc_and you expect them to be individual contacts in conversations17:29
dsc_is this the case in pidgin?17:30
arno11it is the case in pidgin AND conversations17:30
arno11i mean everything seems to work17:30
dsc_ah ok17:30
dsc_does the message appear in the chatwindow?17:31
arno11but msgs are not sent17:31
dsc_after clicking Send17:31
arno11yes, and i'm able to check from my app or the website (no msg sent)17:31
dsc_ok17:31
dsc_could you paste ~/.config/conversations/state.json17:32
dsc_you might need to scrub some private info from there17:32
dsc_feel free to leave out unrelated entries17:32
arno11no problem but i have to go for a bit (kids)17:32
arno11thx for your help man17:33
dsc_kk17:33
dsc_one question, is this a paid feature @ chatgpt?17:33
arno11(yes but it is almost free of charge atm since assistant is a beta feature)17:36
arno11bbl17:36
Wizzupfreemangordon: btw with git log -p --sparse --full-history config/udev.c18:04
WizzupI can see the commits are there18:04
Wizzupjust to confirm to myself :)18:04
mkffreemangordon: if android doesn't boot, there is no way to recover the fw, right?18:05
freemangordonmkf: no need to boot, you can mount the FS and pull the module20:03
arno11dsc_: https://paste.debian.net/1344628/21:16
arno11group, local, remote uid are correct btw21:23
dsc_arno11: looks ok22:28
dsc_running conversations in debug mode is next step probably22:29
arno11ok22:29
dsc_cmake -DCMAKE_BUILD_TYPE=Debug -Bbuild .22:29
dsc_make -Cbuild -j122:29
dsc_sudo mv /usr/bin/conversations /usr/bin/conversations_bak22:30
arno11let me check what other mc-tool account string i can add22:30
dsc_./bin/conversations22:30
dsc_eh22:30
arno11ok22:30
dsc_./build/bin/conversations22:30
dsc_debug log will be in /tmp/ :)22:33
arno11ok. not sure i can do it now (i can t reboot, doing other stuff)22:33
dsc_np :)22:34
dsc_its late for me anyway22:34
arno11me too22:34
arno11thx again22:35
arno11dsc_: in fact i already have the logs: 'setChatState() "asst_ib2bnfcd6yg2u8d8xj0osaws" failed; no active channel'22:47
arno11and 'onChannelReady "asst_ib2bnfcd6yg2u8d8xj0osaws" isError: false'22:47
arno11msg not sent apparently22:49
arno11anyway, will pastebin logs tomorrow22:52

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