*** zbenjamin is now known as Guest88342 | 02:12 | |
*** zbenjamin_ is now known as zbenjamin | 02:12 | |
inky | hey, sailfish people. i was trying to install sdk on my gentoo system, but apparently the installer needs libwayland-egl.so.1, which means i need to recompile mesa with wayland support. which i don't want. | 08:37 |
---|---|---|
inky | so i thought of installing qt-devel packages and be able to develop right on the device. i need to just use qt. | 08:37 |
inky | i don't know which packages exactly do i need to install to get qt devel part installed, and i did | 08:38 |
inky | pkcon install qt5-qtgui-devel qt5-qtcore-devel | 08:38 |
Krikke | just install ubuntu in a vm and comile there? | 08:38 |
inky | which brought be to Fatal error: This request will break your system! | 08:38 |
inky | yes, i was thinking that's an option too. | 08:39 |
inky | another option is to not use scratchbox, but virtualbox with sailfish? or arm qemu? is that possible? | 08:39 |
Krikke | I don't have experience with that | 08:39 |
inky | but i would be happy if it were possible to just scp sources to device and compile there. | 08:40 |
Krikke | can recommend kvm and qemu though | 08:40 |
inky | is there a sailfish image which i may try to run in qemu? | 08:40 |
Krikke | I don't know | 08:40 |
inky | and is there virtualbox vdi image for sailfish? | 08:41 |
Krikke | don't know | 08:47 |
inky | thank you. | 08:48 |
*** frinring_ is now known as frinring | 08:50 | |
rinigus | inky: sdk should work on gentoo without problems, using it as well. you will need app-emulation/virtualbox-bin installed and then get sdk and follow the install instructions | 09:03 |
inky | the installer needs libwayland-egl.so.1 to run. thus i need to recompile mesa with wayland flag, and it changes my system. i am reluctant to do so. | 09:07 |
inky | the perfect solution would be to compile on device. | 09:07 |
inky | am i right that it is not realistic? | 09:07 |
inky | i did that under maemo. | 09:07 |
rinigus | strange, I don't think it needs libwayland-egl, unless they changed something with the last SDK. we are talking about https://sailfishos.org/wiki/Application_SDK , right? | 09:20 |
rinigus | re compile on device: depends on the project, could be slow. | 09:21 |
r0kk3rz | just install the platform sdk and compile on that | 09:23 |
_inky | that's it, i need a virtual debian or smth to install sdk. eh. | 09:27 |
_inky | okay i'll do that. it would be best to compile on device. | 09:27 |
r0kk3rz | platform sdk is just a chroot with sb2 in it | 09:27 |
r0kk3rz | compiling on device will be slooow | 09:28 |
r0kk3rz | there is also OBS | 09:28 |
_inky | installer depends on libwayland-egl.so which means i need to recompile mesa with wayland support. | 09:33 |
r0kk3rz | no | 09:33 |
_inky | i'll see okay, will install virtual debian. | 09:33 |
r0kk3rz | platform sdk | 09:33 |
r0kk3rz | not app sdk | 09:33 |
r0kk3rz | they're different | 09:33 |
_inky | i would be ok with slowness | 09:33 |
_inky | but when i install qt5-core-devel pkcon says it'll break your device and exits. | 09:34 |
r0kk3rz | https://sailfishos.org/wiki/Platform_SDK_Installation | 09:34 |
_inky | now i am from mobile, but see above i explained. | 09:34 |
*** norayr is now known as inky | 10:22 | |
*** svartoyg_afk is now known as svartoyg | 13:58 | |
Laalf | hello! i saw that my device now has okish support for sailfish and i thought about testing it out. one issue i will probably have is that i wont be able to connect my asteroidos watch to my device anymore. which smartwatches work decent with sfos? | 15:15 |
r0kk3rz | which device? | 15:17 |
r0kk3rz | we really should have good asteroid support, but the issue has been BLE in the past | 15:17 |
Laalf | r0kk3rz: i have a oneplus 3. my watch is an lg g watch. ble seems to be an issue with many watches even under aosp | 15:18 |
r0kk3rz | in general there isnt too much in the way of smartwatch support for sailfish | 15:21 |
r0kk3rz | theres stuff for the old pebble watches, an app for amazfit bip | 15:22 |
r0kk3rz | i remember kido working on something for sailfish, but i think BLE really didnt work on the sailfish phone he had | 15:22 |
r0kk3rz | OP3 might not be so bad | 15:22 |
kido | r0kk3rz: as far as I can remember, I worked both on the xperia x and the jolla c. none had support for BLE security mechanisms (authentication+encryption) in their kernels which made asteroid watches unusable | 15:24 |
Laalf | all i want is a watch that can skip songs and show me notifications. bluetooth didnt work on the op3 initially, now they say it works. if i can get my headphones to connect i will test out sfos some more. i wont flash it today i suppose. what pebbles can you recommend? | 15:24 |
kido | there are some sailfishos apps using BLE indeed but they do not use the BLE security mechanisms | 15:24 |
kido | r0kk3rz: interestingly enough, locusf tried "starfish" on another phone, with a newer kernel (I think it was the fairphone) and it would work | 15:25 |
kido | but since the two main sailfishos devices (the jolla c and the xperia x) wouldn't support it anyway, I stopped maintaining starfish or investing time in it | 15:26 |
Laalf | i saw starfish but the repo was kinda empty and i didnt see any binaries. i know that building android apps is a pain so i ignored it | 15:26 |
kido | it could be that a community-supported device like the oneplus3 would have support for that. but the audience is so so small that I won't maintain starfish for those couple of users myself | 15:27 |
kido | starfish obviously welcomes contributions though, so if anyone has a community-supported device with support for BLE security and want to help with starfish, I'd be glad to accept patches | 15:28 |
Laalf | kido: thanks for the effort you put into starfish. i am not a developer but if i can compile it(should just be qmake and thats it, no?) i will see if it works and maybe have a deeper look. | 15:29 |
kido | Laalf: compiling should be quite straightforward following the usual SFOS app development practics (use the SFOS SDK, open it in Qt Creator and compile from there) | 15:30 |
kido | but adding the necessary functionalities might need a bit of development knowledge. you are of course free to play with it but it might need some experience | 15:30 |
Laalf | kido: ah ok, i thought it would be possible to compile it on the phone itself. i guess nixos has qt creator packaged | 15:31 |
kido | you don't need just qt creator, you need the whole sailfishos SDK. but for that, other people here will most likely be more able to help you than me | 15:32 |
Laalf | i cannot offer much experience but its not like i am incompatible with writing software. just not my job | 15:32 |
Laalf | i wouldnt have thought that my newly aquired 1tb sdd would be used for vms but for more anime. well guess i was wrong. | 15:37 |
r0kk3rz | kido: pretty sure mal backported the bluetooth stack on fp2, so that would be why | 15:48 |
kido | r0kk3rz: quite likely | 15:55 |
r0kk3rz | kido: it might be worth revisiting with the XA2, its got a 4.4 kernel at least | 16:01 |
r0kk3rz | and uses bluebinder for bluetooth drivers | 16:02 |
kido | oh bluebinder is really interesting | 16:04 |
r0kk3rz | not sure if they will rework the Xperia X adaptation to use the same base | 16:04 |
r0kk3rz | its certainly possible, someone might do it | 16:04 |
kido | yeah it might be worth trying but I will not buy a XA2 for that | 16:04 |
albertux | i have Amazfit bip and I use (when it works) Amazfish from openrepo.. | 16:24 |
albertux | pairing watch with xperia x i'ts a mess... | 16:25 |
albertux | maybe bluetooth problem from xperia or problem via app-side? | 16:26 |
mal | kido: r0kk3rz yes, fp2 has backported bluetooth stack from kernel version 4.7 | 16:34 |
Laalf | albertux: can you skip songs with it? | 16:57 |
Thaodan | albertux: for me it worked fine with the X | 18:52 |
Thaodan | the X has a native bluez driver | 18:52 |
Thaodan | the XA2 sadly not | 18:52 |
Thaodan | bluez needs support for newer qualcom adapters | 18:52 |
r0kk3rz | bluez has the support just fine | 19:30 |
r0kk3rz | the old kernels dont | 19:30 |
*** Renault_ is now known as Renault | 19:52 | |
Thaodan | oh ok so the X has a backport? | 19:57 |
r0kk3rz | no | 20:09 |
albertux | Thaodan: yes. I mean with X....it is very difficult to pair and connect both watch and xperia. For rmine is necessary try a lot of time, befor pair and connect. (and wait a very long time, up to 5 minutes) | 20:09 |
r0kk3rz | thats the issue, if the xperia x had a full backported kernel stack from mainline it would be better | 20:09 |
r0kk3rz | i expect they will go the other way and rebase it on the xa2 adaptation | 20:10 |
albertux | r0kk3rz: ok, thanks | 20:10 |
Thaodan | r0kk3rz: the XA2 has one | 20:17 |
Thaodan | in the 4.4 and then 4.9 build | 20:17 |
Thaodan | *the | 20:17 |
Thaodan | it also depends on the adapter. I really would like to see a build without bluedroid | 20:18 |
r0kk3rz | yeah but they're using bluedroid | 20:19 |
r0kk3rz | you could easily reconfigure it to use the kernel if you wanted | 20:19 |
r0kk3rz | provided the kernel driver works adequately | 20:19 |
Thaodan | nope the userspace part has no support for the adapter | 20:20 |
Thaodan | tried it during porting | 20:20 |
r0kk3rz | aside from firmware loading the userspace part shouldnt be very adapter specific | 20:21 |
r0kk3rz | and you can try using patchram_plus | 20:22 |
r0kk3rz | which piggz just had to do because his firmware wasnt loading properly | 20:23 |
Thaodan | thats the thing that doesn't worked. Bluedroid uses the same kernel side | 20:23 |
r0kk3rz | ish | 20:25 |
r0kk3rz | bluedroid uses the serial pipe | 20:25 |
r0kk3rz | not the hci driver | 20:25 |
Thaodan | there's hci support for sdm660/sdm630 | 20:28 |
r0kk3rz | but tbh bluedroid is a fine solution | 20:29 |
Thaodan | no doubt in that | 20:57 |
Thaodan | still no idea why the hci support | 20:57 |
Thaodan | whats the difference betweeen serial pipe and hci? | 20:57 |
Thaodan | r0kk3rz: https://patchwork.kernel.org/patch/10380885/ | 21:22 |
Thaodan | https://patchwork.ozlabs.org/cover/952731/ | 21:22 |
r0kk3rz | looks like a thing that would help | 21:23 |
*** svartoyg is now known as svartoyg_afk | 21:26 | |
*** frinring_ is now known as frinring | 22:52 | |
Laalf | what can i do when sailfish says that / is read only? i cannot remount it rw either. reboot does not help | 22:53 |
Thaodan | r0kk3rz: I'd would be great if it did. However bluez needs to load the firmware still | 23:43 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!