T42 | <edp_17> Interesting, my S2 was able to successfully pair with my android tablet. Hm. this didn't work with the bt speaker. | 00:01 |
---|---|---|
r0kk3rz | different profiles | 00:03 |
T42 | <edp_17> Oh, Hi r0kk3rz! | 00:04 |
r0kk3rz | morning | 00:04 |
T42 | <edp_17> It says in the log when I try to connect to the speeker: "Unable to accept HFP connection since the telephony subsystem isn't initialized" | 00:04 |
T42 | <elros34> @edp_17 BTW current hdmi code should work on on nexus 4 (this was initial device on which code was tested), so maybe also 5 | 00:04 |
r0kk3rz | that sounds fairly straight forward | 00:05 |
r0kk3rz | hfp, hands free profile | 00:05 |
r0kk3rz | make sure ofono has loaded the right plugin | 00:06 |
T42 | <edp_17> @elros34 , Well, on the Nexus 5 there is a slim port and I don't have cable for it. I am thinking about to attempt to utilize that somehow on the treltexx as that has a hdmi (mhl) output. | 00:06 |
r0kk3rz | hfp sounds a bit weird for a speaker though | 00:07 |
T42 | <edp_17> r0kk3rz: What the right plugin should be? I have a lot in the /var/lib/environment/ofono/noplugin.conf | 00:08 |
r0kk3rz | so heres the thing | 00:09 |
r0kk3rz | noplugin.conf tells ofono what not to load | 00:09 |
r0kk3rz | so if theres things in there that say bluez5 | 00:09 |
r0kk3rz | it wont load them | 00:09 |
r0kk3rz | or bluez, depending on which you use | 00:10 |
T42 | <edp_17> I see, then it doesn't have any plugin. | 00:10 |
T42 | <edp_17> The ofono.service starts with -n --nobacktrace. Plus the --noplugin which list comes from that file. | 00:11 |
T42 | <edp_17> I have this in the log (it is not huge a few lines only): https://paste.ubuntu.com/p/fQjgz5ZmXM/ | 00:13 |
T42 | <edp_17> How can I call the ofono with the hfp plugin? | 00:18 |
T42 | <edp_17> According to the pulseaudio doc, it looks like that the hfp requires bluez5. In this device I use bluez4. Probably that's why I cannot pair. During the day I'll try with another bt device that can be paired with even a HTC Hero. If it works, then this is not an issue but a limitation of the device's bt. I think | 00:23 |
r0kk3rz | bluez4 should be able to do hfp fine | 00:29 |
r0kk3rz | otherwise devices like the jolla phone wouldnt work anymore | 00:29 |
T42 | <edp_17> I just have tried to send a picture from the paired android device to the S2, and that failed. So that connection doesn't really work either. | 00:31 |
T42 | <edp_17> Now I re-paired with the android tablet and it says: "input-headset driver probe failed for device 8D:18:D9:xx:xx:xx" It is a tablet, not an input-headset. | 00:35 |
T42 | <edp_17> When I send the file from android to S2, it says: "GalaxyS2 lipstick[2450]: [W] unknown:0 - PendingCall Error: "Connect Failed"" | 00:36 |
r0kk3rz | what sort of bluetooth does it have? | 00:36 |
T42 | <edp_17> How can I set the plugins for ofono? And which plugins do I need? | 00:36 |
T42 | <edp_17> Which one? The S2 or the tablet? | 00:37 |
r0kk3rz | the s2 | 00:37 |
r0kk3rz | obviously | 00:37 |
T42 | <elros34> just an idea: do you have correct type (phone/headphones/...) set for paired device? | 00:38 |
T42 | <edp_17> S2: Bluetooth: Core ver 2.16 | 00:38 |
T42 | <edp_17> NET: Registered protocol family 31 | 00:38 |
r0kk3rz | thats not what i meant | 00:38 |
r0kk3rz | is it a broadcomm chip? | 00:38 |
T42 | <edp_17> Yes, it is. | 00:39 |
r0kk3rz | most of those have required a bit of kernel patching to get working fully | 00:39 |
T42 | <edp_17> @elros34 : it says "Type Tablet" | 00:39 |
T42 | <edp_17> And the supported profiles: OPP, A2DP, AVRCP, HSP, PAN, PBAP, MAP, DID, GAP, GATT | 00:40 |
T42 | <edp_17> HFP is not there. | 00:41 |
T42 | <edp_17> Well, I have paired with the BT headset. It says: Type Headset and the profiles: A2DP, AVRCP, HFP | 00:43 |
T42 | <edp_17> So HFP is there. But there is no sound routed to the bt headset. (It doesn't even connect properly, just it looks like connected.) | 00:43 |
r0kk3rz | that looks like a list of what the headset supports | 00:46 |
T42 | <edp_17> Yeah. | 00:47 |
r0kk3rz | but generally unless you're using it in a phone call, you'd use a2dp | 00:47 |
T42 | <edp_17> Thanks. Which one is for the file transfer? | 00:48 |
r0kk3rz | obex i think | 00:50 |
r0kk3rz | you can google things like this | 00:50 |
T42 | <edp_17> I will. I thought I would see that profile listed. However, it doesn't matter as doesn't work. | 00:51 |
r0kk3rz | bluetooth connects to a lot of things | 00:52 |
T42 | <edp_17> Yeah, I will try to find out what is missing from the kernel (if there is any). Thanks. Now I need some sleep. Good night/morning/day. | 00:55 |
T42 | Aubrey %lastname% was added by: Aubrey %lastname% | 01:52 |
T42 | <kabouik> Do we have libsqlite3-dev named under a different package name? I didn't find it in Jolla repos, and there is an old libsqlite3 package on Openrepos but the only comment says installing it broke the OS. :< | 08:00 |
T42 | <kabouik> It's a dependency for a mail client I would like to package | 08:00 |
r0kk3rz | sqlite-devel is what you want | 08:02 |
r0kk3rz | https://git.sailfishos.org/mer-core/sqlite/blob/master/rpm/sqlite.spec | 08:03 |
T42 | <kabouik> Awesome, so it's already in Jolla repos, perfect. | 08:03 |
T42 | <kabouik> I even had it installed, damn. I was restricting my searches to "sqlite3" | 08:05 |
T42 | <kabouik> I'll need that too: https://packages.debian.org/unstable/markdown, but couldn't find a spec file for it yet, my searches are cluttered with unrelated markdown matches :< | 08:12 |
T42 | <kabouik> I might build it on device using just the source | 08:13 |
Mister_Magister | monich: i think we should just wait for mal to add full support for 1.2 rild :D | 08:15 |
Mister_Magister | mal: are you handling getDataRegistrationStateResponse_1_2? | 08:16 |
Mister_Magister | mal: shouldn't there be also https://github.com/mer-hybris/libgbinder-radio/blob/jb50597/src/radio_util.c#L116 RADIO_CALL_1_2? | 08:34 |
Mister_Magister | or here actually https://github.com/mer-hybris/libgbinder-radio/blob/jb50597/src/radio_util.c#L75 | 08:35 |
T42 | <neochapay> lbt https://build.merproject.org/package/show/home:neochapay:hw:native/cameralib plz fix obs | 09:23 |
DylanVanAssche | lbt: ping ^^ | 09:26 |
piggz | mal: any idea what obs is doing there? ^^ | 09:34 |
T42 | <neochapay> slegdes ping to ^_^ | 09:41 |
mal | @neochapay maybe try using https url for submodule? | 10:24 |
mal | instead of that git:// url | 10:25 |
T42 | <neochapay> mal https://linuxtv.org/libcamera.git - 404 | 10:57 |
T42 | <neochapay> change to gihub mirror but https://build.merproject.org/package/show/home:neochapay:hw:native/cameralib no.... | 10:58 |
T42 | <neochapay> mal: ^ | 10:58 |
T42 | <adampigg> @neochapay https://git.linuxtv.org/libcamera.git | 10:59 |
T42 | <neochapay> @adampigg [@neochapay https://git.linuxtv.org/libcamera.g …], not changed | 11:00 |
mal | ah, the issue is something else, not the repo itself | 11:24 |
mal | trigger the build and try to follow the build log at the same time, I remember there were issues with checking build logs after build was done | 11:25 |
T42 | <adampigg> mal: it fails immediately so i dont think its a normal build failure | 12:05 |
T42 | 骆哲涯 %lastname% was added by: 骆哲涯 %lastname% | 12:14 |
Mister_Magister | monich: i ran VtsHalRadioV1_2TargetTest and it also doesn't respond :D | 12:16 |
mal | @neochapay the code doesn't even build locally | 12:29 |
mal | @neochapay that lib needs some patching to get working in our system, we have too old gnutls | 12:34 |
T42 | <neochapay> It's not problem... problem with obs | 12:39 |
T42 | <neochapay> And i have it not only in this project | 12:39 |
mal | well you should first get the package to build locally then try to figure out OBS | 12:45 |
* Mister_Magister testing if package compiles on obs instead of locally | 12:46 | |
T42 | <adampigg> mal: @neochapay the build failure is becuase the project name "cameralib" doesnt match the spec name "libcamera" i think | 13:28 |
T42 | <adampigg> s/project/package | 13:28 |
mal | @adampigg not the problem https://build.sailfishos.org/package/show/home:mal:mainline/libcamera | 13:37 |
mal | @adampigg spec name doesn't need to match, it can be anything, unless there are several spec files in which case it has to match one of those | 13:38 |
T42 | <adampigg> mal: @neochapay local build atleast start here ok, just fails with the gnutls issues | 13:48 |
T42 | <adampigg> but that must be seperate to the obs error | 13:48 |
mal | yes | 13:57 |
mal | @adampigg I have been trying to fix the gnutls issue, fixed the API issue but now I get a linking issue | 13:57 |
mal | @adampigg I got it to build now, without the qt code | 15:44 |
T42 | <adampigg> mal: on obs? | 15:45 |
T42 | <adampigg> @neochapay do you have a full local build? | 15:45 |
mal | no, locally | 15:45 |
T42 | <neochapay> @adampigg [@neochapay do you have a full local build?], Not yeat | 15:45 |
mal | I have now almost done local build, still fixing packaging issues | 15:52 |
mal | the qt code needs also support for qt 5.6 | 15:52 |
T42 | <adampigg> mal: what qt version does it support ? | 15:53 |
T42 | <adampigg> how much ifdeffing required? | 15:53 |
mal | needs at least 5.7, not sure if even newer | 15:53 |
mal | first error was about 5.7 | 15:54 |
mal | so the gnutls issue is fixed in my local build | 15:57 |
T42 | <adampigg> mal: challenge : obs build! | 16:00 |
mal | now also qcam is fixed | 16:02 |
mal | it was just one line that was using too new API | 16:02 |
mal | @adampigg obs build seemed to start now | 16:13 |
mal | @adampigg @neochapay https://build.sailfishos.org/package/show/home:mal:mainline/libcamera | 16:17 |
T42 | <neochapay> @mal [@adampigg @neochapay https://build.sailfishos. …], Oh yes | 16:17 |
T42 | <adampigg> mal; you did his job for him! | 16:17 |
mal | I was bored | 16:18 |
mal | also I had been thingking of building that myself earlier | 16:18 |
T42 | <adampigg> mal: wanna make call mic work for me on volla? | 16:18 |
T42 | <adampigg> :D | 16:18 |
mal | I do wonder why that build didn't create any *.so.* files | 16:19 |
mal | only .so files | 16:19 |
T42 | <neochapay> ```[root@PinePhone nemo]# rpm -Uhv libcamera-0.0.0+master.20200805160840.fec5428-1.6.1.jolla.armv7hl.rpm | 16:20 |
T42 | <neochapay> error: Failed dependencies: | 16:20 |
T42 | <neochapay> libatomic.so.1 is needed by libcamera-0.0.0+master.20200805160840.fec5428-1.6.1.jolla.armv7hl | 16:20 |
T42 | <neochapay> libatomic.so.1(LIBATOMIC_1.0) is needed by libcamera-0.0.0+master.20200805160840.fec5428-1.6.1.jolla.armv7hl | 16:20 |
T42 | <neochapay> libcamera.so is needed by libcamera-0.0.0+master.20200805160840.fec5428-1.6.1.jolla.armv7hl | 16:20 |
T42 | <neochapay> ``` meh.... | 16:20 |
T42 | <neochapay> libcamera need libcamera hehehe | 16:20 |
mal | so it really uses .so as the main lib | 16:21 |
mal | and not as the devel lib | 16:21 |
T42 | <neochapay> need to fix rpm | 16:21 |
T42 | <neochapay> AND OBS!!!! | 16:21 |
T42 | <adampigg> mal: so what fixed the obs build? | 16:22 |
mal | it just worked after fixing the build | 16:23 |
mal | wondering what provides libatomic.so.q | 16:24 |
mal | *.1 | 16:24 |
T42 | <neochapay> ```[nemo@PinePhone ~]$ qcam | 16:25 |
T42 | <neochapay> Segmentation fault | 16:25 |
T42 | <neochapay> ``` Nice | 16:25 |
T42 | <neochapay> mal on obs i can't build | 16:26 |
mal | no idea why it worked for me | 16:27 |
mal | my version seems to work fine on your OBS project also | 16:28 |
T42 | <neochapay> I can build from you repo but not my.... | 16:29 |
T42 | <neochapay> maybe some people in jolla bann me ^_^ | 16:29 |
mal | or your version was just so broken | 16:29 |
mal | because your version failed on my project also | 16:29 |
T42 | <adampigg> mals version builds for me https://build.sailfishos.org/package/show/home:piggz/libcamera | 16:31 |
T42 | <neochapay> https://build.merproject.org/package/show/home:neochapay:hw:native/cameralib and for me too | 16:33 |
T42 | <neochapay> But not my version | 16:33 |
T42 | <neochapay> hehehe | 16:33 |
mal | so probably your version was just very broken | 16:34 |
T42 | <adampigg> @neochapay just fork mals version and move on with life ;) | 16:37 |
T42 | <adampigg> or, if it really bugs you, add it as a remote and git diff ;) | 16:38 |
mal | need to figure out that dependency issue | 16:42 |
mal | @neochapay I think rpm doesn't handle dependencies very well, I fixed the libcamera.so issue now | 16:48 |
mal | I mean the command rpm | 16:48 |
mal | it doesn't install missing dependencies, try using zypper | 16:49 |
mal | the new version is now building on my OBS | 16:49 |
T42 | <neochapay> ```[root@PinePhone nemo]# qcam | 16:57 |
T42 | <neochapay> Segmentation fault``` | 16:57 |
mal | the fix for qt is just a guess based on some forums | 16:57 |
mal | gdb? | 16:57 |
T42 | <adampigg> beat me to it :D | 16:57 |
T42 | <neochapay> ```Program received signal SIGSEGV, Segmentation fault. | 16:57 |
T42 | <neochapay> 0xf7977d86 in asn1_delete_structure2 () from /usr/lib/libtasn1.so.6 | 16:57 |
T42 | <neochapay> (gdb) bt | 16:57 |
T42 | <neochapay> #0 0xf7977d86 in asn1_delete_structure2 () from /usr/lib/libtasn1.so.6 | 16:57 |
T42 | <neochapay> #1 0xf7c422a8 in gnutls_pubkey_import () from /usr/lib/libgnutls.so.26 | 16:57 |
T42 | <neochapay> #2 0x00000000 in ?? () | 16:57 |
T42 | <neochapay> Backtrace stopped: previous frame identical to this frame (corrupt stack?) | 16:57 |
T42 | <neochapay> (gdb)``` | 16:57 |
mal | so gnutls issue | 16:58 |
mal | maybe the patch I made is not good | 16:58 |
mal | there was some issue with c vs c++ linking | 16:58 |
T42 | <neochapay> ```#0 asn1_delete_structure2 (structure=0xfffef86c, flags=0) at structure.c:317 | 17:01 |
T42 | <neochapay> #1 0xf7c422a8 in gnutls_pubkey_import () from /usr/lib/libgnutls.so.26 | 17:01 |
T42 | <neochapay> #2 0xf7f73918 in libcamera::PubKey::PubKey (this=0xf7fc2e94 <libcamera::IPAManager::pubKey_>, key=...) at ../src/libcamera/pub_key.cpp:52 | 17:01 |
T42 | <neochapay> #3 0xf7f48a90 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at ../include/libcamera/span.h:294 | 17:01 |
T42 | <neochapay> #4 _GLOBAL__sub_I_ipa_pub_key.cpp(void) () at src/libcamera/ipa_pub_key.cpp:58 | 17:01 |
T42 | <neochapay> #5 0xf7fd06a4 in ?? () from /lib/ld-linux-armhf.so.3 | 17:01 |
T42 | <neochapay> #6 0xf7fd0756 in ?? () from /lib/ld-linux-armhf.so.3 | 17:01 |
T42 | <neochapay> #7 0xf7fc4a84 in ?? () from /lib/ld-linux-armhf.so.3 | 17:01 |
T42 | <neochapay> Backtrace stopped: previous frame identical to this frame (corrupt stack?) | 17:01 |
T42 | <neochapay> ``` this be better | 17:01 |
mal | no idea how to fix that | 17:04 |
T42 | <adampigg> i guess updating gnutls is out of the question? | 17:08 |
mal | new version is gpl3 | 17:08 |
T42 | <adampigg> ok for ports ;) | 17:08 |
mal | also such a simple thing should work with old one | 17:08 |
mal | maybe gnutls debuginfo package would help | 17:09 |
mal | @adampigg hmm, could be a bug in libtasn1, there seems to be a possibly related fix in upstream | 18:01 |
T42 | <adampigg> @neochapay ^^ | 18:10 |
mal | I'm trying to update that | 18:35 |
T42 | <adampigg> mal: hows theupdate going | 20:26 |
mal | @adampigg well it built but I haven't tested yet because of some other strange issue not related to that | 20:41 |
mal | @adampigg no difference it seems | 20:50 |
T42 | <adampigg> shame | 20:51 |
T42 | <adampigg> im trying a 5.8 kernel | 20:52 |
mal | @adampigg the backtrace is quite odd, the code has while (p) { if (p->down) and it crashes at that if | 21:17 |
T42 | <adampigg> printf debugging ftw ;) | 21:19 |
T42 | <Jessica %lastname%> https://t.me/joinchat/AAAAAEWCjGEF23xgK64ceA | 21:57 |
T42 | <kabouik> Not directly a port question, but worth a try: any idea how to fix this? https://p.teknik.io/Simple/KeOIZ | 22:06 |
T42 | <kabouik> `sqlite-devel` and `sqlite` from Jolla repo are installed | 22:06 |
T42 | <kabouik> I can't find those files mentioned in the error | 22:06 |
mal | @kabouik cmake in sfos is not new enough to have that FindSQLite3.cmake which was introduced in 3.14.0. sfos has 3.11.4 | 22:46 |
mal | for reference https://git.sailfishos.org/mirror/cmake/commits/master/Modules/FindSQLite3.cmake | 22:46 |
T42 | <kabouik> That's what I was afraid, I'm currently trying to build 3.14 | 22:46 |
mal | what are you trying to build? | 22:48 |
mal | I mean which package needs that cmake file | 22:48 |
T42 | <kabouik> I'm trying to build nmail client, which indeed increased the cmake requirement from 3.1 to 3.14 when the sqlite3-dev dependency was added | 22:49 |
mal | maybe there is some way to make it find otherwise | 22:51 |
T42 | <kabouik> The commit you linked is from 2018, so isn't the module included now? | 22:52 |
mal | that was the commit which was added in 3.14.0 | 22:57 |
T42 | <kabouik> Oh, so it's not in SFOS yet | 22:58 |
mal | nope | 22:58 |
T42 | <kabouik> I'm 2% through the make process of Cmake 3.18 (the bootstrap took about an hour) | 22:58 |
T42 | <kabouik> Building on device | 22:59 |
mal | you can see in the commit history that there was an attempt to update cmake almost a year ago but it had to be reverted due to certain problems | 22:59 |
T42 | <kabouik> I missed it, sorry | 22:59 |
mal | https://git.sailfishos.org/mer-core/cmake/ | 22:59 |
T42 | <kabouik> I hope that the compilation of cmake 3.18 will work well; if it does, I should be able to to find `sqlite3` files and compile `nmail` with it. | 23:01 |
T42 | <kabouik> Else, the error I had with 3.11.4 offered some workarounds, but I didn't know where to look for these `sqlite*.cmake` files. If I could use that instead, it would be much easier for future `nmail `updates | 23:02 |
mal | yeah, I would try those workarounds, those would be easier | 23:02 |
T42 | <kabouik> Definitely, and they would be compatible with OBS (although I don't have a `nmail.spec` file yet, it's always a big struggle for me to understand how to write those) | 23:03 |
T42 | <kabouik> Do you have any idea where those sqlite3 files would be on the device? | 23:04 |
mal | maybe /usr/share/cmake/Modules | 23:43 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!