Wizzup | OSError: /usr/lib/arm-linux-gnueabihf/rtcom-eventlogger/plugins/libchat.so: undefined symbol: rtcom_el_plugin_chat_get_group_title | 02:20 |
---|---|---|
Wizzup | hrm | 02:20 |
Wizzup | wonder what I missed :) | 02:20 |
Wizzup | will check tomorrow | 02:20 |
* dsc_ stabs cmake | 03:32 | |
buZz | woa | 10:09 |
buZz | https://patchwork.kernel.org/project/linux-omap/cover/20181221011752.25627-1-sre@kernel.org/ | 10:09 |
buZz | thats about a functional FM radio in droid4 :O | 10:09 |
buZz | > | 10:11 |
buZz | There is also a TX firmware. The Droid 4's chip should support this, | 10:11 |
buZz | but I don't know if there is audio routing for this feature. | 10:11 |
buZz | wtf | 10:11 |
sicelo | the radio does work in android. i've used it, so it should work in linux. i did try the stuff on that page. iirc it didn't work because serdev | 10:22 |
sicelo | s/radio/receiver/ | 10:23 |
buZz | i'm kinda suprised its a v4l2 device | 10:24 |
sicelo | what should it be? :-) | 10:25 |
sicelo | v4l2 is used for most media stuff that has controls (besides mixers, of course) | 10:26 |
sicelo | even the TX is a v4l2 device | 10:26 |
buZz | the FM TX? | 10:27 |
sicelo | yes | 10:27 |
buZz | oh, FM TX works in android too? | 10:27 |
sicelo | no idea | 10:28 |
sicelo | i meant, fm tx is a v4l2 function. not necessarily in connection with working on d4 | 10:29 |
sicelo | tbh, i don't know what chip has fm tx on d4, although i've heard it mentioned. | 10:29 |
buZz | that thread seems to suggest the same chip | 10:31 |
sicelo | ah | 10:32 |
sicelo | that would need an antenna though | 10:36 |
buZz | yes, RX aswell, according to that thread | 10:38 |
buZz | the antenna = headphone cable | 10:38 |
sicelo | i mean TX .. | 10:39 |
sicelo | RX is usually always the headphone. but i'm not sure the same one will work well for TX | 10:40 |
buZz | well, wavelength is the same :P | 10:40 |
Wizzup | dsc_: cmake, automake, pick your poison :p | 10:41 |
buZz | build.sh | 10:41 |
buZz | :P | 10:41 |
sicelo | loooks like wifi is broken (at least for N900) on 6.2-rc1 :'( | 10:42 |
sicelo | https://paste.debian.net/1265418/ | 10:42 |
sicelo | although maybe it's not N900 per se | 10:42 |
sicelo | buZz: at least N900 has a separate, shorter antenna for tx | 10:44 |
buZz | yeah, thats really nice | 10:44 |
Wizzup | sicelo: any progress on the modem oops so far? | 10:49 |
sicelo | no. no serial :-) | 10:50 |
Wizzup | I'm not sure how the serial matters, it resets with a known trace right? | 10:50 |
Wizzup | or do you mean it's harder for you to bisect? | 10:51 |
sicelo | yes, not easy to bisect this if you can't see how/where it fails | 10:51 |
sicelo | but i'll try | 10:51 |
sicelo | the problem is that going back, you end up with non-working screen, and for my skill levels, things get confusing quickly at that point. i think serial will help a lot | 10:52 |
buZz | sicelo: do you need me to make you such a cable? | 10:53 |
buZz | i still need to make one for myself | 10:53 |
sicelo | will make it soon ... the stuff that's been keeping me too busy is almost over now. last bits should be out of the way by weekend hopefully | 10:53 |
buZz | but would be more motivated if second one is needed :P | 10:53 |
sicelo | buZz: i'll make it, but very rudimentary | 10:53 |
buZz | hehe is there any other way? | 10:53 |
buZz | fyi; the 18650 holder droid4 emptied itself over night, while connected to charger :) will replace cables later today probably | 10:54 |
sicelo | i mean - just putting things together so it works, at least for RX side (this doesn't need level conversion too) | 10:54 |
Wizzup | sicelo: I think going back to the version that worked, with the revert, adding some prints to see if it uses dma or not, and which paths it takes, is helpful | 10:55 |
buZz | i think i'd just make it '6 pins' so i can use those cheapass USB-UART things i have around | 10:55 |
Wizzup | but I do not have a good understanding of how it works | 10:55 |
buZz | which do 3.3V already (or is it 1.8V?) | 10:55 |
Wizzup | it's neither iirc | 10:56 |
Wizzup | http://n900.elektranox.org/serial-adapter.html | 10:56 |
buZz | 0.9? O_o | 10:56 |
buZz | 2.7V .. i think that should work with a 3.3V uart without issues? | 10:56 |
Wizzup | nope | 10:57 |
Wizzup | you'll burn the ports | 10:57 |
Wizzup | read the page ;) | 10:57 |
Wizzup | >For kernel debugging purposes one wants to have access to a serial port on embedded hardware. The Nokia N900 has such a port available, but it’s under the battery and is not 3.3 Volt tolerant (so no cheap USB-TTL Adapters can be used). | 10:57 |
buZz | oh, n900 | 10:57 |
Wizzup | yes, d4 cable is trivial | 10:57 |
buZz | i thought it was about d4 :) | 10:57 |
sicelo | okay looks like the N900 wifi breakage might just be as simple as making some adjustments in dts | 10:59 |
sicelo | they did some work on wl1251 | 11:00 |
sicelo | for the serial/modem, i think it would have been easier if i knew how to make mtdoops or pstore work | 11:03 |
Guest47 | Hello everyone, do you need to upload a new image to the SD card or is there another way to update? | 11:05 |
Wizzup | typically, normal updates are installed with 'apt update' and 'apt upgrade' | 11:05 |
Wizzup | or 'apt dist-upgrade' even | 11:06 |
buZz | kinda depends how old the install is :) | 11:10 |
buZz | but -usually- just apt update; apt upgrade; works fine | 11:11 |
Guest47 | ok thanks | 11:11 |
Guest47 | Is there a way to install multi-boot on the latest version from the community? (10/10/2015 - 2011/21/38-1Tmaemo11+thumb0) | 11:11 |
Guest47 | Nokia N900 | 11:12 |
sicelo | multi-boot? | 11:13 |
Guest47 | Yes, downloading maemo-leste via a laptop every time is not convenient. | 11:15 |
sicelo | i'm not sure i follow :-) | 11:19 |
Wizzup | Guest47: install leste on the sd card, then you can boot from fremantle/cssu on emmc and leste from sd | 11:20 |
sicelo | Wizzup: i'm bisecting now for the wireless regression. i know it was working in 6.1-rc7, and it's broken in 6.2-rc1. should i do a `make mrproper` between builds? | 11:34 |
Wizzup | I honestly don't know, sorry | 11:35 |
Wizzup | if you have a powerful machine, then probably a good idea | 11:35 |
sicelo | actually,let me add wireless tree, so i don't waste time moving around unrelated points in the history | 11:41 |
Wizzup | to the bisect you mean? | 11:41 |
sicelo | i mean add a remote for one of the wireless-* repos, then bisect from that, i hope | 11:44 |
sicelo | https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git/log/ , https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git/log/ | 11:44 |
Wizzup | I mean, in general it won't matter too much, but you can try | 11:44 |
Wizzup | it's binary so you wouldn't be taking that many more steps with a bigger history | 11:44 |
Wizzup | (it's binary search*) | 11:44 |
sicelo | ok. when i bisected the musb regression, it ended up with a drm commit being the first bad commit :-P | 11:45 |
Wizzup | 'bad commit' here means that the first commit where the problem also occurs, right, it doesn't mean this commit is to blame | 11:46 |
Wizzup | iiuc | 11:46 |
sicelo | yes. | 11:48 |
Wizzup | freemangordon: so the sip plugin works for several free accounts I have tried + the one I have at home | 11:50 |
Wizzup | just not for linphone | 11:51 |
sicelo | < buZz> i thought it was about d4 :) ... hehe, there are lots of people working on D4 | 12:08 |
buZz | :) | 12:11 |
Guest47 | I want to do this but I can't install | 12:17 |
Guest47 | 1. Install "U-Boot with kernel 2.6.28-omap1" | 12:17 |
sicelo | you need to be inside the old maemo. is that one still working on your N900? | 12:17 |
Guest47 | Installed bootmenu added: | 12:18 |
Guest47 | cat > /etc/bootmenu.d/30-maemo-leste.item << "EOF" && | 12:18 |
Guest47 | ITEM_NAME="Maemo Leste" | 12:18 |
Guest47 | ITEM_KERNEL="uImage" | 12:18 |
Guest47 | ITEM_DEVICE="${EXT_CARD}p1" | 12:18 |
Guest47 | ITEM_FSTYPE="ext2" | 12:18 |
Guest47 | EOF | 12:18 |
Guest47 | but at startup the second boot option from a flash card does not appear | 12:18 |
Guest47 | sicelo yes | 12:19 |
sicelo | did you run `u-boot-update-bootmenu` after that? | 12:23 |
Guest47 | sicelo /bin/sh: u-boot-update-bootmenu: not found | 12:24 |
sicelo | so fix that :-) | 12:24 |
sicelo | forgot the pkg that contains it... probably u-boot-tools or something like that | 12:24 |
sicelo | yes, u-boot-tools, http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/u-boot-tools/2013.04-2/ | 12:32 |
sicelo | how did you get u-boot-installed without this ... seems u-boot-tools is a dependency for u-boot itself | 12:34 |
Guest47 | The problem is that there is no U-boot for Community SSU/Thumb 21.2011.38-1Tmaemo12 | 14:03 |
Wizzup | there should be I think | 14:04 |
sicelo | there isn't | 14:09 |
sicelo | what you do is ... install the standard u-boot, then install the thumb bootimg, and make a bootmenu entry for it | 14:10 |
sicelo | because you can't boot thumb kernel with the kernel that's appended in u-boot | 14:11 |
freemangordon | Wizzup: great! | 14:29 |
freemangordon | Wizzup: BTW, antisip work in fremantle as well | 14:32 |
freemangordon | *works | 14:32 |
Wizzup | cool | 14:32 |
freemangordon | at least chat and audio calls | 14:32 |
Wizzup | so now I guess we need a sphone tp module that can deal with tp-rakia, tp-gabble and tp-ring | 14:32 |
freemangordon | for video calls I have to find good android client to install on my GFs android | 14:32 |
Wizzup | (probably mostly the same code for all) | 14:33 |
Wizzup | ah hehe | 14:33 |
freemangordon | antisip's own application does not support chat :D | 14:33 |
Wizzup | twinkle does | 14:33 |
freemangordon | ok, will install that | 14:33 |
freemangordon | I tried to do audio call from the VM, but seems RTP cannot pass through to it | 14:34 |
Wizzup | might need some NAT on your side | 14:35 |
freemangordon | yes, but I am not sure I want to do that | 14:35 |
Wizzup | agreed | 14:35 |
freemangordon | IIRC RTP ports are dynamic | 14:36 |
freemangordon | so it will not be simple | 14:36 |
freemangordon | so I'd rather not play with that | 14:36 |
Wizzup | right, if you use different qemu network, like bridge or macvtap it might be easier | 14:36 |
Wizzup | but I agree | 14:36 |
freemangordon | mhm | 14:36 |
freemangordon | I am using virtualbox | 14:37 |
freemangordon | but yeah | 14:37 |
freemangordon | does sphone support conference calls? | 14:37 |
freemangordon | and video calls? | 14:37 |
freemangordon | IOW - does it have a concept of those? | 14:38 |
Wizzup | I don't think so, not at this point | 14:39 |
freemangordon | hmm... | 14:39 |
Wizzup | uvos: when you read logs ^^ | 14:39 |
Wizzup | freemangordon: I think we can just start with one to one calls, that'll be a big improvement already | 14:39 |
* freemangordon installs qtcreator in chimaera VM :) | 14:51 | |
freemangordon | wow, chimaera is on qt 5.15! | 14:51 |
Wizzup | yes | 14:52 |
Wizzup | I did the port already | 14:52 |
dsc_ | im using another IDE but qtcreator is not bad, used it for a while years ago | 15:12 |
dsc_ | just try to use CMake, not qmake :P | 15:17 |
freemangordon | I am fine with qmake, why cmake? | 15:24 |
dsc_ | nvm | 15:27 |
freemangordon | Wizzup: dsc: osso_abook_contact_chooser_new() works like a charm in qt application :) | 16:45 |
freemangordon | this https://pastebin.com/u2d71HQx | 16:46 |
freemangordon | void MainWindow::on_pushButton_clicked() { tst(effectiveWinId()); } | 16:46 |
dsc_ | does it block the qt eventloop? | 16:47 |
freemangordon | umm, why should it? | 16:47 |
freemangordon | look at the code | 16:47 |
dsc_ | what should I look at? | 16:48 |
freemangordon | gtk_widget_show_all(chooser); is the last line in tst() function | 16:48 |
freemangordon | and then it returns to qt event loop | 16:48 |
freemangordon | lemme just check that I can select a contact | 16:49 |
Wizzup | cool | 16:52 |
* dsc_ was under the impression `abook` would move to Qt :) | 16:53 | |
dsc_ | instead we are embedding GTK | 16:54 |
freemangordon | re-implement aboot in qt? | 16:54 |
Wizzup | that seems like a sensible first step, given how large it is and we also need it in gtk | 16:54 |
freemangordon | dsc_: this is not the first thing gtk embeded | 16:55 |
dsc_ | mkay | 16:55 |
freemangordon | see https://github.com/maemo-leste/qtmaemo5/blob/master/src/maemo5/qmaemo5datetimepickselector.cpp | 16:55 |
dsc_ | Yeah, I'm not superrrr interested in figuring out how to embed GTK in Qt | 17:03 |
dsc_ | i.e: if some example code could be provided that would be cool :P | 17:04 |
freemangordon | sec | 17:07 |
Wizzup | ideally we would have libabook-qt which provides a qt pkg that we can be used to call parts of abook | 17:10 |
freemangordon | http://95.43.220.235/leste/abook/ | 17:10 |
Wizzup | that can be used* | 17:10 |
freemangordon | Wizzup: exactly | 17:10 |
freemangordon | a part of https://github.com/maemo-leste/qtmaemo5/ | 17:10 |
freemangordon | just LMK what you need first | 17:11 |
dsc_ | freemangordon: thanks :) | 17:11 |
freemangordon | dsc_: this is a working example, but hacky | 17:12 |
freemangordon | ideally osso_abook_contact_chooser_new() (and others) should be dlsym() - ed | 17:12 |
freemangordon | that way no extern "C" stuff will be needed | 17:13 |
freemangordon | I will have some hard times wrapping OssoABookContact, but well... :) | 17:14 |
dsc_ | right | 17:14 |
dsc_ | so | 17:16 |
dsc_ | the .pro includes `abc.c` as source | 17:16 |
dsc_ | yet no file references it | 17:16 |
freemangordon | ummm | 17:16 |
dsc_ | and then `extern` magically exposes it or something? | 17:16 |
dsc_ | :P | 17:17 |
freemangordon | extern is a declaration | 17:17 |
dsc_ | its like a forward declaration | 17:17 |
freemangordon | no | 17:17 |
dsc_ | oh | 17:17 |
dsc_ | I see | 17:17 |
freemangordon | in C all functions are exported unless declared static | 17:17 |
freemangordon | extern "C" void tst(uintptr_t anid); is for the compiler to know how to call it from mainwindow.cpp | 17:18 |
freemangordon | Wizzup: so, what is the first class we need? | 17:18 |
dsc_ | why not use `#include 'abc.c'` | 17:18 |
freemangordon | because... it is source file | 17:19 |
freemangordon | not a header | 17:19 |
dsc_ | well ok, `abc.h` :P | 17:19 |
freemangordon | because this was a quick-n-dirty POC :p | 17:19 |
freemangordon | "(18,12,04) freemangordon: dsc_: this is a working example, but hacky" | 17:20 |
dsc_ | I do not have the ability to differentiate between what is needed (as in: 'the way to do it') and things that are 'shortcuts' | 17:20 |
dsc_ | i.e: I would have ported your code as-is, under the impression this EXTERN trick is needed | 17:21 |
dsc_ | because of <insert reason> | 17:21 |
dsc_ | thats why I'm asking | 17:21 |
freemangordon | dsc_: no, my question was - what is the first *abook functionality* that we need | 17:21 |
freemangordon | in qt | 17:22 |
sicelo | apparently sdm845 already has good/reasonable runtime PM | 17:28 |
freemangordon | Wizzup: dist-upgraded my d4, not xorg wouldn't start | 21:24 |
freemangordon | *now | 21:24 |
freemangordon | is that a common issue? | 21:24 |
buZz | i did notice that xorg wont start if storage is full | 21:40 |
norayr | where is the d4's or pp's default xkb map? there should be some file that describes the kbd, but i cannot find it. | 21:50 |
norayr | omg, it's in dts: arch/arm/boot/dts/omap4-droid4-xt894.dts | 21:52 |
norayr | i won't touch it then... | 21:52 |
sicelo | :-) | 21:54 |
sicelo | what did you want changed? | 21:55 |
norayr | hmmm, the pp kbd behaves differently under pmos. | 21:55 |
norayr | let's say the dash is right alt and 7 | 21:55 |
norayr | and i cannot type dash symbol without onscreen kbd with pinephone at all. | 21:55 |
norayr | i can create a xkbmap for myself but that won't fix the problem. | 21:56 |
sicelo | i think it will ... keymaps live in /usr/share/X11/xkb or similar | 21:57 |
norayr | yes, but there are default linux keymaps. | 21:58 |
norayr | not pp specific. | 21:58 |
norayr | or d4 specific. | 21:58 |
sicelo | and PP kb might have a keymap already in xkb-data, although I won't be surprised if devuan has older one | 21:58 |
sicelo | norayr: i'm quite sure there's a pp kb in upstream xkb-data at least | 21:58 |
sicelo | https://github.com/freedesktop/xkeyboard-config/commit/8b4ca4168059f80330e792ffc432bf037fec90ff | 22:02 |
sicelo | and of course, if you come up with a nicer keymap for yourself, you can show it here, and open a PR against leste so it can be added for other pp users. or open it against upstream xkb, whichever you prefer :-) | 22:05 |
buZz | i think norayr is talking about console keymap? | 22:07 |
buZz | instead of xorg | 22:07 |
sicelo | xkb map, perse said ... anyway let's hear which was meant | 22:08 |
norayr | i need an xkb map | 22:11 |
norayr | let me see your link | 22:11 |
sicelo | buZz: at least i can see Alt + 7 => - in that xkb-data commit | 22:12 |
norayr | do you think 'setxkbmap -model pinephone' should work? it works now but nothing changes. | 22:12 |
norayr | ah ppkb it is called | 22:13 |
norayr | witth current map it didn't work. | 22:13 |
norayr | i'll try to replace the files. the file? let me see. | 22:13 |
norayr | btw, uvos, volume up or down doesn't trigger the onscreen kbd on pp. | 22:14 |
sicelo | norayr: so leste has forked xkb-data, and that fork doesn't have anything for pp | 22:17 |
sicelo | so i suggest that if you want to use it with leste, backport the upstream commit to https://github.com/maemo-leste-upstream-forks/xkb-data/ | 22:17 |
sicelo | should be straightforward | 22:17 |
norayr | oh so that is in xkb-data package. | 22:18 |
norayr | thank you. | 22:18 |
sicelo | yw | 22:21 |
norayr | ok i changed those three files like in the commit you pointed out, but only this didn't help. even rebooted to make sure. | 22:29 |
norayr | or maybe setxkbmap -model ppkbd is not what is necessary to type | 22:29 |
norayr | also setxkbmap -model ppkbd us doesn't help. :/ | 22:29 |
norayr | ok i'll think about it if i have time. now it is night and i am tired. | 22:30 |
Wizzup | freemangordon: I didn't have that problem, but apart from you and me, others probably should not dist-upgrade yet | 22:36 |
Wizzup | freemangordon: elogind installed? | 22:36 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!