Tuesday, 2020-05-26

OksanaHelp, please! I am trying to use https://build.sailfishos.org/ , and I see button "Add file", but I do not see button "Add folder/aka/directory". What should I do?03:14
r0kk3rzwhat do you want a folder for?03:14
Oksanar0kk3rz: I am trying to build pyhoca-cli for Sailfish OS. As a first step for getting a working X2Go client. Looking at source code, it has hierarchical structure, with some python code put into a pyhoca directory.03:22
r0kk3rztwo options, upload a tarball or use the git03:22
r0kk3rzpreferrably use the git03:22
OksanaBut looking at spec file, it uses a tar.gz archive. So, I might try that route. But I don't like how a tar.gz file has everything put into a directory, internally, and not just in root of the tarball.03:23
Oksanahttps://code.x2go.org/releases/source/pyhoca-cli/pyhoca-cli-0.6.1.2.tar.gz ^03:23
r0kk3rzwhy is that a problem?03:24
* Oksana would have expected a tarball to contain the source code directly inside the tarball, and not inside a pyhoca-cli-0.6.1.2 directory03:25
r0kk3rzpreferably you create the packaging in a git like this https://git.sailfishos.org/mer-core/python3-attrs03:26
r0kk3rzyour account will work there also03:27
OksanaHmm, thank you! Didn't know this git existed - will use that, instead of github.03:28
OksanaBuild breaks at line '%{py2_build}'/var/tmp/rpm-tmp.1HbsK7: line 36: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.1HbsK7 (%build)03:29
r0kk3rzthis is an example of how you can export to OBS from the gitlab https://build.sailfishos.org/package/view_file/mer:core/python3-gobject/_service?expand=103:31
r0kk3rzyou just create a _service file with that contents03:31
OksanaComplicated conditional spec...03:34
r0kk3rzwhere did you get the spec from?03:44
rinigus@adampigg: great! I'm ready to join (tonight). If you have some docs to read up, please post. In particular, what are the libs/parts involved06:21
rinigusmal: ping regarding sensorfw and qtsensors MR reviews06:22
T42<hacker12455> anyone knows why this happens?08:08
T42<hacker12455> Error building the cache:08:08
T42<hacker12455> [adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL08:08
r0kk3rzremove adaptation0 repo08:08
T42<hacker12455> where are the repos stored?08:09
r0kk3rzssu08:10
T42<hacker12455> weird I can't seem to remove the repo08:17
T42<hacker12455> https://bpa.st/FWRA08:18
T42<hacker12455> is there something going on with the releases.sailfishos.org server?08:33
T42<hacker12455> since downloading the ubuntu tarball fails08:34
T42<hacker12455> with wget it works08:49
T42Yourshobhit was added by: Yourshobhit11:18
T42<ankaos> https://github.com/enesutku07/android_kernel_samsung_msm8916/tree/sailfishos https://github.com/enesutku07/android_kernel_samsung_msm8916/tree/sailfishos @elros34 where is problem?12:38
T42<elros34> problem with what? Did you make wlan working? Did you modprobe wifi module you found in /lib/modules/`uname -r`/?13:00
T42<elros34> I am talking about xiaomi13:01
T42<ankaos> @elros34 [problem with what? Did you make wlan working? …], I found the wlan. I change it. however, the problem persists.13:19
T42<ankaos> @elros34 [problem with what? Did you make wlan working? …], los-14.1 not open.13:20
T42<ankaos> I prepared the files. I am now waiting for the people who will improve it.13:21
T42<elros34> please be more verbose, what happend when you type: modprobe 'you wlan module name'?13:32
T42<ankaos> kernel say me wil621013:36
T42<elros34> so, type: modprobe wil621013:36
T42<ankaos> @elros34 [so, type: modprobe wil6210], okey. test this code.13:37
T42<ankaos> I want to compile on my brother's device. he is using j5lte. I wonder if you can.13:38
T42<ankaos> @ankaos [https://github.com/enesutku07/android_kernel_s …], @elros34 these are the files.13:52
T42<ankaos> ı look los-16 kernel config. ı edit wifi line.18:15
T42<ankaos> `Warning[05/26 18:50:33] : repo problem: nothing provides libbinder.so needed by` droid-config how fix?18:51
riniguspiggz: any pointers regarding fp? or you'd prefer to focus on it yourself as it starts to work out?19:06
piggzrinigus: open to help....19:23
piggzrinigus: start by buiding https://github.com/piggz/biometryd/tree/sailfish19:24
T42<ankaos> piggz: say problem.19:24
piggzi know the spec needs work, and needs split into a -devel package....19:24
riniguspiggz: we don't have it at OBS?19:24
piggzso, atm when you install on device, you have some odd deps19:24
piggznot yet19:25
piggzmaybe i can add it, one minute19:25
riniguspiggz: exactly, let's add at obs.19:25
rinigus(separate repo?)19:26
piggzrinigus: it needs the dbus-cpp from my home project19:29
riniguslooks from obs that it has to be in the ported device repo19:29
riniguspiggz ^19:29
piggzyes, needs hybris-devel19:29
piggzrinigus: you also need to build a part in your android sdk19:30
riniguspiggz: which part of android-sdk?19:31
piggzthe part to build your DHD19:31
piggzie ubu chroot19:32
rinigusok, what should be built there?19:32
rinigushttps://github.com/erfanoabdi/biometryd/blob/xenial/android/hybris/biometry_fp_hidl_for_hybris.cpp ?19:32
piggzyes19:32
piggzrinigus: modue is called libbiometry_fp_api_3219:33
riniguspiggz: `make libbiometry_fp_api_32` I presume. and then we need to somehow package/move it to device, right?19:34
piggzyup19:34
piggzits all manual atm19:34
piggzthat should get you running biometryd on device19:34
piggzcopy it to usual /usr/libexec/droid-hybris/system/lib/19:35
riniguspiggz: `it` is biometryd and its produced by that module?19:36
piggzit is libbiometry_fp_api.so19:37
rinigusOK, I'll start then19:37
piggzbiometryd is a normal linux application19:37
rinigussilly question: now, when we will get it up, then what? any idea how to hook it to sfos?19:38
piggzthat is a bigger question19:38
piggz:D19:38
piggzso, running biomteryd will atleast let you test the FP19:39
piggzafter that, my idea is to write a systemd service that implements the sailfish-fpd dbus protocol19:39
piggzas a backend, we could use biometryd, or, as erfan suggests, take the code from the android biometryd plugin and write our own19:40
riniguspiggz: ideally, we should make it so that others (nemo, for example) could use it. what's this sailfish-fpd protocol?19:40
piggzatm, for speed, im gonna try and use the biometryd qt interface19:40
riniguspiggz: what does that qt interface look like? how can it be hooked to unlocking of device?19:41
rinigussorry for dragging with questions19:41
piggzsfos fp lockscreen talks to sailfish-fpd using dbus ... sailfish-fpd talks to sailfish-fpd-slave using a custom ipc (so its difficult to implement the slave) .... and the salve talks to android19:41
piggzso, easiest is to create a package the provides: sailfish-fpd, but uing our own daemon19:42
piggzi got a dbus-monitor of the protocol, and there isnt much to it19:42
rinigusOK, sounds good. if needed we can also open up lockscreen and add some new protocol. I'll start compiling19:43
piggzrinigus: i think its basically https://bpa.st/4Q2A19:43
piggzand #define SERVICE_NAME "org.sailfishos.fingerprint1"19:44
piggzso, if you have an XA2 device handy, and dbus montoring output may be useful :)19:44
rinigusnope, no XA2 - only my own ported XZ2 (just a letter difference).19:45
rinigusbtw, completely unrelated - my car managed to get phonebook out from my phone while I was using it today. looks like SFOS 3.3.0.x had some improvements in BT stack. earlier it wasn't able to do so...19:47
piggzi thought it was 3.3 that broke it!19:47
piggzi always could get the phonebook, and it stopped working in 3.3 ... there is some timing issue betwen bluez and ofono, not sure if its resolved yet19:48
rinigusit didn't connect immediately, had to reconnect the device. after that, very nice surprise19:49
riniguspiggz: https://build.merproject.org/package/live_build_log/home:rinigus:fp/biometryd/sailfish_latest_armv7hl/armv8el20:14
rinigusdid not look happy regarding qt config20:14
riniguspiggz: I'll look into missing deps20:16
piggzrinigus: ta, it was just building locally so could have had things installed20:27
riniguspiggz: building now. if it builds, will send pr20:27
piggzrinigus: thanks, it needs a PR for the -devel seperation too ;)20:28
riniguspiggz: ooh, that can wait. unless its many GBs in storage20:29
piggzno, its tiny20:30
riniguspiggz: from api at https://bpa.st/4Q2A - how do you remove fingerprint?20:34
rinigusit did compile, but crossed some badness levels. will fix and make -devel as well20:36
riniguspiggz ^20:36
piggzrinigus: there may be methods missing ... that dbus-monitor was taken while enrolling/unlocking20:52
piggzso, i am definitiely missing a lot of the strings used also20:53
piggzbut, we have to reverse engineer it20:53
riniguspiggz: or make up our own. I have to finish for tonight, its late over here. will continue tomorrow. as it is, android bits are ready; obs is at https://build.merproject.org/project/show/home:rinigus:fp20:57
rinigusit required also process-cpp from mal's repo. decided to add it into the same obs build repo for simplicity in installation20:58
rinigusgn20:58
piggzrinigus: yeah, makes sense to have everything together21:08
T42<edp_17> Hi guys. I am trying to create configs for cameras but getting errors: https://paste.ubuntu.com/p/Qjw6PFDWBY/22:05
T42<edp_17> Is this changed in hadk?22:06
T42<edp_17> Or I did something wrong in kernel/sailfish?22:08
T42<elros34> mk-cam-conf is not needed anymore22:16
T42<edp_17> How can I get the conf files then?22:20
T42<elros34> they are not needed22:24
T42<edp_17> Okay. In settings/apps/camera the photo resolution is 16:9(?Mpix) and 4:3(8Mpix) for the back and 16:9(?Mpix) and 4:3(2Mpix) for the front. I guess the ?Mpix is wrong. How can I fix it?22:35
T42<edp_17> In the past it was the conf file what fixed this.22:35
T42<ankaos> @elros34 [they are not needed], https://paste.ubuntu.com/p/428fvVPzqm/ full log22:42
T42<elros34> ? We seems can not communicate properly. I ask you to run modprobe but you provide me some logs without any context. This is going nowhere. I can not help you22:53
T42<ankaos> sh-3.2# modprobe wil621022:57
T42<ankaos> modprobe: FATAL: Module wil6210 not found in directory /lib/modules/3.18.113+22:57
T42<ankaos> sh-3.2# modprobe wlan22:57
T42<ankaos> modprobe: FATAL: Module wlan not found in directory /lib/modules/3.18.113+22:57
T42<elros34> you said you have moule builtin, what uname -r and  ls -alR /lib/modules/ shows?23:00
T42<ankaos> sh-3.2# uname -r23:03
T42<ankaos> 3.18.113+23:03
T42<ankaos> https://paste.ubuntu.com/p/FYS5926fmy/23:04
T42<elros34> hmm, does depmod -av help? Anything in dmesg after trying to modprobe?23:08
T42<ankaos> sh-3.2# depmod -av23:17
T42<ankaos> /lib/modules/3.18.113+/ufs_test.ko needs "test_iosched_unregister": /lib/modules/3.18.113+/test-iosched.ko23:17
T42<ankaos> /lib/modules/3.18.113+/mmc_block_test.ko needs "test_iosched_unregister": /lib/modules/3.18.113+/test-iosched.ko23:17
T42<ankaos> /lib/modules/3.18.113+/generic_bl.ko needs "devm_backlight_device_register": /lib/modules/3.18.113+/backlight.ko23:17
T42<ankaos> sh-3.2# ls lib/modules/3.18.113+/23:19
T42<ankaos> ansi_cprng.ko        diagchar.ko          lcd.ko               modules.alias.bin    modules.dep          modules.order        modules.symbols.bin  ufs_test.ko23:19
T42<ankaos> backlight.ko         evbug.ko             mmc_block_test.ko    modules.builtin      modules.dep.bin      modules.softdep      sdcardfs.ko          wil6210.ko23:19
T42<ankaos> br_netfilter.ko      generic_bl.ko        modules.alias        modules.builtin.bin  modules.devname      modules.symbols      test-iosched.ko      wlan.ko23:19
T42<edp_17> @elros34 : Last time you recommended to stop pulseaudio service and start it in more verbose mode: pulseaudio -vvvv (+ params form /etc/sysconfig/pulseaudio". Here is what I got: https://paste.ubuntu.com/p/Fcsk3YHjKG/23:20
T42<edp_17> I think this is the issue: "Failed to load module "module-droid-card" (argument: "rate=48000"): initialization failed."23:21
T42<edp_17> How should I found out the correct rate?23:21
T42<elros34> read first line from pulseaudio23:22
T42<edp_17> Sorry, I wasn't realized that I was root. Here the new one as nemo: https://paste.ubuntu.com/p/mcPz92R9KG/23:23
T42<edp_17> I stopped the service but it seems running. How can I gracefully stop it?23:25
T42<elros34> service is in /usr/lib/systemd so use systemctl-user to stop it23:27
T42<edp_17> Thank you. Here is the more verbose log: https://paste.ubuntu.com/p/j2FtgBzFrd/23:29
T42<elros34> maybe this:  Failed to parse configuration from /system/etc/audio_policy.conf23:31
T42<edp_17> At line 48 it says: "Failed to parse configuration from /system/etc/audio_policy_configuration.xml"23:34
T42<edp_17> I don't have such an xml file.23:34
T42<edp_17> I see, line 46 above.23:34
T42<elros34> but for sure you have audio_policy.conf23:35
T42<edp_17> Yes, I have that in /system/etc/23:36
T42<edp_17> And what about this: Failed to open module "module-droid-glue"23:36
T42<elros34> I guess you did not build it?23:37
T42<edp_17> Is it audioflingerglue?23:38
T42<edp_17> I did built Gstreamer, Camera and BT stuff. I followed the hadk.23:39
T42<edp_17> (broadcom-bluetooth and bluetooth-rfkill-event)23:39
T42<edp_17> The pulseaudio-modules-droid-glue was part of the camera section and I did build it.23:41
T42<elros34> it is loaded after droid module so maybe that is the reason it fials23:41
T42<elros34> fails23:41
T42<edp_17> The zypper says on device that pulseaudio-modules-droid-glue is installed.23:43
T42<elros34> like I said focus on droid module first23:43
T42<edp_17> All three are installed: pulseaudio-modules-droid, pulseaudio-modules-droid-common and pulseaudio-modules-droid-glue23:45
T42<elros34> try to remove that AUDIO_OUTPUT_FLAG_MULTI_CH to see if that helps23:52

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