libera/#maemo-leste/ Saturday, 2025-03-01

donihalimkiva: thanks for the info, if you notice there's a somekind of layer between the internal and external keypad, mine is gone, so now the internal and external keypad touching directly which make typing kinda hard05:13
Smatkovigood morning. has anyone tried compiling maemo-leste for the pinephone pro?10:20
Wizzuphi10:46
WizzupYes, someone did make it happen, but they didn't fully share their work, the main thing you need is a kernel I think10:47
Smatkovii want to try it, but i only compiled a kernel once with the porting guide for sailfish os and then it didn't boot on the device and i gave up at one point10:58
Smatkovithe device was a samsung phone10:59
WizzupI think I should have a pinephone pro here, but I won't be able to get to this for 1-2 weeks at least11:14
sicelowe can probably help guide you regarding compiling kernel11:36
sicelowhich linux distro are you running on PC?11:36
Smatkoviarch-linux based archbang and i also have debian based mx-linux11:43
Smatkovii'm using irc for the first time. i fear that i will not get the chats when i'm offline and come back online. is that true?11:44
dsc_Smatkovi: welcome! :) yes, when offline you'll miss the messages, thats why most people have some sort of server/bouncer that is always connected12:04
Smatkovii see12:05
Smatkovithanks. or i can theck the irc logs?12:05
donihalimdsc_: hi :)12:18
donihalimany info on the vk?12:19
dsc_Wizzup: chimaera-devel has vkb for Qt, no?12:21
dsc_I forgot if you enabled this for daeadalaius (sry cant spell) or chimaera12:21
dsc_donihalim: do you have /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libhimplatforminputcontextplugin.so12:23
donihalimlet me check12:23
donihalimi cant find x86* on lib12:26
dsc_sudo find /usr -name libhimplatforminputcontextplugin.s12:26
dsc_sudo find /usr -name libhimplatforminputcontextplugin.so12:26
donihalimseems i dont have the library12:32
donihalimthe command doesnt return anything12:32
dsc_ok thanks12:35
Smatkovii always use locate instead of find, but you might have to install mlocate and then do sudo updatedb12:35
dsc_my VM is currently in some half-broken state12:36
dsc_but could you at least try to install this:12:36
dsc_qt-input-maemo12:36
dsc_from apt12:36
donihalimwill try that12:37
dsc_you can use SSH into your n900 btw12:38
donihalimgot this error 0x0.st/8mGt.txt12:41
donihalimSmatkovi: thanks for the tips12:42
dsc_donihalim: ok :( im not sure (I also had this error btw)12:42
donihalimbtw i dont mind switching to daedalus, just need help to make it works, since last time i tried it just freeze on first boot12:45
dsc_i can help you setup vkb 'manually'12:46
dsc_by compiling https://github.com/maemo-leste/qt-input-maemo12:47
Wizzupdsc_: it should have vkb enabled but I think there's some ci issue12:47
dsc_ah ok12:47
Wizzupafter tongiht I iwll have more time and can take a look, but am mostly focussed on daedalus tbh12:47
dsc_yes np12:48
donihalimi could try do the manual step, let met fire up my laptop12:50
donihalim6Hi Wizzup, what do I need to do on first boot on daedalus to make it usable? i heard that it has swap issue so that the system just freeze12:52
donihalim6dsc_: What do i need to do now?12:53
Wizzupdonihalim6: we'll make new n900 images in the next few days12:53
donihalim6Nicee, much thanks12:54
dsc_donihalim6: ok just a second12:55
dsc_donihalim6: you can install the library by following the README12:57
dsc_and then you have to do a thing12:58
dsc_let me know when you installed it12:58
donihalim6arno11 Hi12:59
donihalim6dsc_: should I build it on n900 or on my pc?12:59
donihalim6do i need to cross-complie?12:59
arno11donihalim6: hi12:59
dsc_donihalim6: on the device :)13:01
dsc_note: `sudo make install` should be `sudo make -Cbuild install` in that README13:02
donihalim6what are the dependecies to build the package?13:04
dsc_qtbase5-dev cmake libx11-dev libxcb-xinput-dev qtbase5-private-dev libqt5x11extras5-dev libgtk2.0-dev hildon-input-method-framework-dev13:05
donihalim6installing deps now13:07
arno11Smatkovi: hi, all Leste stuff is logged in https://libera.irclog.whitequark.org/maemo-leste/13:10
dsc_donihalim6: after you installed it, you can `sudo wget https://0x0.st/8mdc.sh -O /etc/X11/Xsession.post/20conversations`, then restart13:15
dsc_and yes this is hacky13:15
dsc_dealdoeadus will have an image soon :)13:15
donihalim6still building man db, this could take a while on n900 right? :D13:17
arno11nope, should be quite fast with your u313:18
dsc_personally I use a Droid4 :)13:18
donihalim6Still cant find m droid 4 here in Indonesia13:18
donihalim6kinda rare13:18
donihalim6same as n90013:18
arno11same in europe13:22
dsc_yeah13:22
donihalim6Still compiling13:31
arno11sorry but you should stop compiling it. something is wrong and the plugin is probably there in your install13:45
arno11at least i have it in daedalus13:46
arno11ootb13:46
arno11but doesn't work13:46
arno11so it should be in /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforminputcontexts13:46
arno11i think something is broken somewhere13:47
donihalim6ah, I just running sudo make -Cbuild install ...13:48
dsc_dont stop it :P13:50
arno11yeah should be fine anyway13:50
dsc_he doesnt have the package, he's on chimaera13:50
arno11but wonder why it doesn't work anymore13:50
arno11i got it in chimaera13:51
arno11100% sure13:51
donihalim6Alright, doing this now `sudo wget  -O /etc/X11/Xsession.post/20conversations`13:51
dsc_yes but its broken currently in chimaera13:51
arno11ah ok13:51
dsc_<Wizzup> dsc_: it should have vkb enabled but I think there's some ci issue13:51
dsc_so he cant install the package13:51
arno11ok i see13:51
donihalim6rebooting now13:52
dsc_success guaranteed13:53
donihalimAh yes its working now14:07
donihalimThank you very much :)14:07
dsc_nice :)14:08
donihalimSorry for asking too much, but it would be nice if we can select text on the conv app14:12
dsc_try long-press on messages14:13
donihalimLong press doesnt work, double tapping also doesnt work14:16
donihalimOh wait let me try other theme14:16
arno11dsc_: cool, should work on daedalus as well, right ?14:17
dsc_donihalim6: whatsthat should have that14:19
donihalimOther theme also didnt work, just make the screen/buffer move14:19
dsc_but anyway, conversations currently WIP, currently working on an update14:19
dsc_donihalim6: apt policy conversations14:20
donihalimGood to know, thanks14:20
dsc_what version?14:20
dsc_arno11: yes, but its a hacky fix :)14:20
arno11ok :)14:21
donihalimIts 0.7.25+3m7.114:22
dsc_hmm ok yeah14:23
dsc_a bit old ;')14:24
dsc_copying text should work soon^tm14:24
donihalimIll just wait for the new daedalus img for now :Great!, )14:25
donihalimPlease let know if needed a tester, atleast that what i can do to contribute14:27
dsc_thanks ;)14:28
sicelodonihalim: seem to be having a great time! 😆14:33
donihalimI am! Even pmos is fun, but i also get lots more stuff on leste14:42
donihalimNow my modern smartphone feels boring lolappy owning a phone from close to 2decade ago :D14:44
donihalimWait14:44
donihalimMy message just messedup14:44
donihalimMoney well spent :)14:45
arno11donihalim: btw do you still have 3G or HSDPA in Indonesia ?14:52
donihalimNope, dead few years ago14:56
arno11ok and 2G or 2.5G are still working ?14:57
donihalimYes 2g still working14:58
arno11cool14:58
arno11if you use calls on n900, let me know if it still works well in 2G14:59
donihalimIf you know here in Indonesia has some kind device imei regulation, where we well need to register device brought from outside the country, otherwise we'll not be able to use mobile network here15:01
donihalimSo wifi only15:01
donihalimCalls is working fine15:01
arno11ok15:01
donihalimBeen using it couple of time15:02
arno11ok cool15:02
donihalimBut sometime i notice the network dissapear from status bar and back again15:03
donihalimIm not sure if it would affect phone call15:03
arno11it maybe tries to switch network15:04
arno11when the 2G icon is back, calls should be ok15:05
donihalimCan i lock it on 2g network?15:06
arno11yes sure15:06
arno11using ofono scripts15:07
arno11let me check the exact path15:07
donihalimWhen i tried to change network mode on the phone setting, it keeps loading, so i cant save any changes15:07
donihalimCool thanks15:08
arno11/usr/share/ofono/scripts/set-tech-preference "gsm"15:08
arno11it will lock your phone in 2G/2.5G mode15:09
arno11yeah the phone setting is still WIP15:09
arno11with this 2G only mode, power management is a bit better btw, specialy @idle15:11
arno11*specially15:12
donihalimDo i need to run it every boot?15:13
arno11it should survive on reboot15:13
donihalimnice thanks again15:14
arno11np15:14
arno11Wizzup: @daedalus i maybe forgot to mention there are unmet dep issues with meta pkgs15:18
Smatkovii saw a motorolla droid 4 on ebay located in the us18:23
donihalimSmatkovi: what phone do you own?18:27
kivaSmatkovi: I think Droid 4 was officially sale in us and uk only..so somebody had to import if you find it elsewhere. Remember its LTE connection was only work in those official sale countries.18:28
Smatkovigood question. i use an xperia 10 v with sfos, have also a pinephone pro now where i want to compile maemo-leste for it18:28
Smatkovihttps://www.ebay.com/itm/326404667271?_skw=motorola+droid+4&epid=112086754&itmmeta=01JN9C2X9EFASVVZ20EJXZF5DB&hash=item4bff3bf787:g:G4cAAOSwWDVnhaCA&itmprp=enc%253AAQAKAAAA8FkggFvd1GGDu0w3yXCmi1dme6tWR4lf0lJHqP4d6bJAIVRS8Rh68nDlk9Z7Rt83YLbOvgDSuDzIi18dtxZrkShx2veJK8IAse%252FBRCX83bOCVpEh3NLeKbLUtIi90RTTbC1lrm63ClLPQip85QM%252BnmiWF%252F7T0V2DSIkR4hWgV4bUbrGq5XnZNLIoPCy5PormTMnxb7apc%252BdVftDfpLC3Oy%252BbuVg1Wa96lishM02Qmwfr0lXfhMnHZCR8zEp%252Fq%25218:29
Smatkovioops sorry for the tracking part of the URL18:30
Smatkovihttps://www.ebay.com/itm/32640466727118:31
kivanot bad price18:33
kivaAnyway it's 2.5G working with Leste although it shows 2G near clock.18:46
sicelowhat device?18:48
kivaDroid418:48
sicelothat one has a slight reporting 'issue'18:48
sicelohttps://github.com/maemo-leste/bugtracker/issues/74518:48
Smatkovii found this guide for building maemo-leste. https://leste.maemo.org/Image_Builder18:58
Smatkovii can't just set device to pinephonepro to compile for it right? because it is not in the list18:59
kivathere should be Device name Rockchip for Pinephone Pro these days?19:01
Smatkovii see rock64, but it's crossed out19:01
sicelovery crude way to start is ... burn the Pinephone image to SD card. then get appropriate PPP kernel (build it, or cannibalize from pmos or mobian) and manually store it in the correct place19:02
Smatkovilool19:02
Smatkovii could cannibalize from mobian19:03
kivaI think device name has changed last year.19:04
Smatkovii think i can pull this off without further assistance. i think one can also build an image like this19:06
kivabtw have tested Pinphone Pro, could you force boot from SD-card with pushing volume buttos in start?19:07
kivaby defaul Pinephone start from SD-card, but Pinephone Pro start from eMMC.19:08
Smatkovi@kiva yes i could boot from sd-card to flash tow-boot, but with pressing a small button at the back with a pen19:10
kivaok it seems depends what Pinephone Pro version: https://pine64.org/documentation/PinePhone_Pro/_full/#boot-from-microsd-card-temporarily19:12
hexnewbieThe European shop that sells the Pinephone Pros ships (shipped?) them with tow-boot installed19:13
SmatkoviThe wiki explains how to alter an image to boot from emmc, so i could use these instructions to put the pinephone pro kernel in19:13
hexnewbieTow-boot would give you support to flashing eMMC over USB cable, charging, booting from microSD, etc. But I don't recall which buttons you had to press for each19:14
hexnewbieI flashed Mobian on my eMMC over the USB cable, and use it like that (with a non-bootable microSD card for extra storage)19:14
kivaI have used Pinephone (not Pro) just direct boot from SD-card. Althouh I know speed is 20MB/s with SD-card and from eMMC it should about 80MB/s.19:16
hexnewbieYep, my OG Pinephone boots from microSD without tow-boot19:17
kivaI actually don’t know how I should do that boot from eMMC and use SD-card as extra disk with Pinephone (not Pro)..if I put empty SD-card then it does not boot from eMMC.19:25
kivaanother reason is that it just easy to boot Leste from sd-card. Just dd image to sd-card and put it in Pinephone and push power button.19:27
hexnewbieHmm, booting from eMMC and having a non-bootable SD card worked for me in both my phones. And it certainly does work with the one that has tow-boot (I could be wrong on the other one not having it)19:32
kivaMaybe have to try again, I do not remember what format that SD-card was. Shoult it format another than EXT3?19:36
Smatkovi@sicelo do you mean also renaming the kernel from pinephonepro kernel to pinephone kernel? I'm not sure how it will know to use this kernel at boot19:41
sicelono, you need kernel for PPP. you can't use from PP. iirc they're using different SoCs/CPUs19:42
Smatkoviyes i have that from mobian19:43
kivaIt is easiest to think that Pinephone and Pinephone Pro are two different devices. Its like N900 and Droid4 are two different devices.19:46
sicelothey use same kernel ;-)19:48
kivaok N900 and Droid4 are more close :D19:48
Smatkovin900 and droid4?19:48
siceloSmatkovi: so you need to extract PPP kernel modules to /lib/modules/, and the vmlinuz (or whatever it is called in your case) to /boot (sd card partition 1)19:49
sicelothen deal with the bootloader to start that vmlinuz19:49
siceloand yes, N900 and all the supported Motorolas use same kernel ... because OMAP19:50
Smatkoviis it boot.txt?19:50
sicelono idea :-)19:50
sicelobut i'm sure the Pine64 site should have some u-boot details19:51
Smatkovii think maemo takes the image from Image.gz at boot19:52
Smatkoviso if i replace that and copy the kernel to the other paths i guess it should work19:52
Smatkoviunfortunately mobian does not have a compressed Image.gz so i don't know what kernel file should be compressed19:59
Smatkovimaybe initrd.img-6.1-rockchip?19:59
kivasounds good (but I don't know)20:00
sicelono, we don't use initramfs on leste.20:02
sicelolet me see if i can find the kernel package for you20:03
* sicelo is busy with other things atm ...20:03
sicelofixing bq27200 driver (for N900) that i botched, and also some upstream iio-sensor-proxy work (for N900, to make proximity sensor work fine)20:04
kivaI want get proximity sensor off with Pinephone to save power, but it is useless with Pinephone Keyboard.20:06
sicelonot sure i understand how all those relate - proximity sensor, keyboard,20:07
kivayou dont put head as near to phone if you have keyboard attached20:08
siceloSmatkovi: http://repo.mobian.org/pool/main/l/linux-6.13-rockchip/20:08
sicelopower shouldn't be a real issue with the proximity sensor. or have you observed something that makes you suspect it?20:09
kivaI just thinked how much it use. Maybe speaker use more at volume 70%.20:11
siceloanyway, i'm making some improvements to iio-sensor-proxy (which handles the proximity sensor). it should be more power efficient (for certain types of sensors). it's the version of iio-sensor-proxy that i hope we will use in daedalus20:11
kivaanyway with Pinephone Keyboard, you have to answer phone calls at 80 degree angle so proximity sensor is useless to me.20:15
siceloyou can probably blacklist the module20:17
siceloalthough i would really suggest you just leave it be.20:17
Smatkovii have the image now, but somehow the storage isn't showing up on pc with vol up in tow-boot and if i boot from sdcard to flash tow-boot to spi it says the device it wants to flash to isn't found20:30
Smatkovii made a modem firmware update with gnome-firmware and that failed the first time and did only work at second attempt. could rhat be the issue?20:31
Smatkovi*that20:31
hexnewbieI don't understand why they didn't make a keyboard addon that is slidable like the N900 one. What issue did they have with it, covering the camera and LED?20:32
sicelopresumably more fragile, and more expensive20:39
kivahexnewble: that non slidable keyboard is better, fits more keys and not need any covers, because it is cover when closed...and it does not cover rear camera, LED almost always shows charging, because keyboard side battery charge phone side battery.20:40
kivaand led is actally visible in dark room, because it doesn go 100% close easily.20:42
kivaactually on LED side there is about 2 mm room to see clow of LED.20:44
kivaAnyway Pine64 should continue make somekind keyboard for Pinephone, old kind or slide. If ask me Pine64 should make special Pinephone version, like in old Nokia Communicators or slide version like was on N810.20:51
kivaand I have the name for it already: Pinephone Maemo Edition21:05
dsc_freemangordon: hi21:09
dsc_`persistent_uid = osso_abook_contact_get_persistent_uid(contact)`21:10
dsc_how to do the reverse, query abook with a persistent uid21:10
dsc_maybe `osso_abook_aggregator_find_contacts`, it takes a `EBookQuery*`21:12
dsc_this 'persistent_uid' is just 'uid = e_contact_get_const(E_CONTACT(contact), E_CONTACT_UID);'21:13
dsc_so need to make a query against E_CONTACT_UID21:13
freemangordonmhm21:18
freemangordonthere might be other ways as well21:19
dsc_previously I was using, for example, `osso_abook_aggregator_find_contacts_for_im_contact(remote_uid)`21:23
dsc_where remote_uid could be `test@xmpp.is`21:23
dsc_but this is too ambigious, and could return multiple contacts, I believe21:23
dsc_the persistent uid is the actual master EBOOK stuff21:24
dsc_or well, a way to be sure its the right contact21:24
dsc_I can solve this easily by looping the results and checking the persistent uid after querying21:24
freemangordonosso_abook_aggregator_find_contacts_for_im_contact() returns rosters contact(s) iirc21:24
freemangordonyou can always get master contact from roster contact21:25
dsc_but rather would just query once and be done21:25
freemangordonhow do you get uid?21:25
dsc_from tp :)21:25
dsc_tp, rtcom21:25
freemangordonno, uid is EDS thingie21:25
freemangordonbut well, I might be lacking the detail;s21:26
freemangordonand your approach could be right21:26
dsc_persistent_uid;  // e.g haze/jabber/stevejobs_40xmpp_2etest_2eorg0-test123@xmpp.is21:26
dsc_display_name;    // e.g Some Display Name21:27
dsc_local_uid;       // e.g haze/jabber/stevejobs_40xmpp_2etest_2eorg021:27
dsc_remote_uid;      // e.g test123@xmpp.is (counterparty)21:27
dsc_and uhh21:27
dsc_QString remote_uid = props.value(QString("%1.TargetID").arg(TP_QT_IFACE_CHANNEL)).toString();21:27
dsc_and Tp targetID is that, I believe21:27
dsc_let me check21:27
freemangordonI don't think this is EDS uid21:28
dsc_https://github.com/maemo-leste/osso-abook/blob/11664dc68acb981777c379ef142a48fea773b89c/lib/osso-abook-contact.c#L266421:28
freemangordonso?21:29
freemangordonmaybe install evolution and see what is reported for UID tehre21:30
dsc_this code does `uid = e_contact_get_const(E_CONTACT(contact), E_CONTACT_UID);` thats why I think its from EDS21:30
dsc_but anyhow21:30
freemangordonyes21:30
freemangordonit is from EDS21:30
freemangordonnot from TP or rtcom21:30
freemangordon"(22:25:36) freemangordon: no, uid is EDS thingie"21:30
dsc_right, yes21:31
dsc_so how to query for this uid :P21:31
dsc_but its not so important21:31
dsc_ill do it the other way21:31
freemangordonis I said - get roster contact and then get master contact from it21:33
freemangordon*as I said21:33
dsc_yup21:33
freemangordonI don't think you can have duplicated roster contacts21:34
freemangordonthe list there is when you use some kind of wildcards, or your query contains OR, etc21:35
freemangordonIIUC21:35
Smatkoviokay the device name changed from sda to sdb but it doesn't boot after flashing. i will investigate tomorrow and go off now.21:35
dsc_you can get duplicate results when using `osso_abook_aggregator_find_contacts_for_im_contact`21:35
dsc_if you are not checking the master contact21:36
dsc_because `test@xmpp.bla` can be a jabber IM account, and also some other protocol with the same email21:36
dsc_both assigned to a different contact21:36
dsc_anyway21:36
freemangordonemail is not IM contact21:37
freemangordonIM contact is TP account name, AFAIK21:37
freemangordonlike "haze/jabber/stevejobs_40xmpp_2etest_2eorg0-test123@xmpp.is" from your example21:38
freemangordonnot sure though21:38
freemangordonbut I doubt email only is IM contact id21:39
dsc_    const char* test = "haze/jabber/stevejobs_40xmpp_2etest_2eorg0-dsc@xmpp.is";21:40
dsc_    const char* test2 = "dsc@xmpp.is";21:40
dsc_    l = osso_abook_aggregator_find_contacts_for_im_contact(CONV_ABOOK_AGGREGATOR, test2, NULL);21:40
dsc_^-- only test2 yields results21:40
dsc_just fyi21:40
dsc_not sure21:41
freemangordonhmm21:41
dsc_I should check EDS yes21:41
freemangordonyeah21:41
dsc_but also I could ignore it and continue21:41
dsc_thanks21:41
freemangordonnp21:41
arno11Wizzup: pcsx rearmed builds fine on daedalus but i got same sdl overlay issues as picodrive unfortunately but luckily opengl mode works fine so the emulator is ok23:03
arno11but there is still the fullscreen opengl crash we carry for a while23:04
arno11btw opengl performances seem a bit better in daedalus23:08
arno11at least on n90023:08
arno11*opengles23:09

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