Saturday, 2020-05-16

T42<elros34> use: vi /lib/systemd/system/system.mount and edit that few lines00:09
T42<ankaos> Okey. I get it now.00:10
T42<ankaos> not work00:45
T42<ankaos> it gives the same errors.00:48
T42<ankaos> https://paste.ubuntu.com/p/Rk6PTfqf5N/00:52
T42<elros34> always include command you used to generate paste because your last one doesn't make sense01:03
T42<ankaos> https://paste.ubuntu.com/p/wRk9yKBjpp/ now?01:05
T42<ankaos> https://paste.ubuntu.com/p/Rh7syZn8rq/01:09
T42<ankaos> which?01:09
T42<ankaos> neither of them worked.01:18
T42Bob %lastname% was added by: Bob %lastname%05:47
T42Herbert %lastname% was added by: Herbert %lastname%06:05
rinigusmal: yes, just changed that line. I wonder if you could make it work with gyro disabled in sensorfw? Sounds like proper place to disable gyroscope06:12
rinigusMaybe gyroscope has to be removed from from qtconfig in sensors.conf as well. Code does check if it can enable gyro in constructor, so maybe just correct config is missing06:14
rinigusmal: just checked, without gyro it should be disabled in sensorfw. when disabling under qtconfig, it leads to compass crash. will have to approach it better there - probably by just checking if the sensor is available08:41
rinigusmal: looks like there is no proper error handling in that generic compass code, let's add some08:43
rinigusmal: seems like crash occurs somewhere deeper in qt. as soon as I disable QGyroscope=sensorfw.gyroscope, compass crashes. but it works to set gyroscopesensor=False in sensorfw09:46
rinigusnow csd and Messwork can handle absence of QGyroscope09:47
*** birdzhang1 is now known as birdzhang10:01
rinigusmal: I have found a place for extra check that I missed for QGyroscope. will test and update later today10:13
malrinigus: ok, so disabling has to be in sensorfw not in Sensors.conf11:35
malrinigus: yep, right after adding gyro back to Sensors.conf the code started to work11:37
maldidn't think it would be that stupid11:37
T42<Amber %lastname%> @ankaos [https://paste.ubuntu.com/p/wRk9yKBjpp/ now?], Bro any progress..are you able to solve the issue.11:45
malrinigus: the direction it gives is quite close but always a bit off11:46
T42<ankaos> the computer is broken.11:46
*** birdzhang1 is now known as birdzhang12:22
rinigusmal: same over here, but close to what's shown by compass. I will make a new version soon that will work with/without gyro as expected.12:49
malrinigus: yeah, the errors is strange, depending on the device orientation it is either one direction or the other, quite reproducable, quite often even 20 degress error, usually 10-20 degrees13:14
malthe compass I use as comparison is an actual physical orienteering compass which should be quite accurate13:15
rinigusmal: new version is ready for testing. now you should be able to drop QGyro from Sensors.conf13:21
rinigusit failed before as it was checking for gyro as well in the prev version here: https://git.sailfishos.org/rinigus/qtsensors/blob/generic_compass/src/plugins/sensors/generic/main.cpp#L9513:22
rinigusas for comparison with physical compass, I am getting closer to +-10 degrees, maybe even less. but I have to make measurement on some surface with the analog one and then, on exactly the same spot, with the app13:24
rinigusif I hold it in hands, slightly different locations, I can get +-20 degrees differences.13:24
rinigusbut even in that case, it should be sufficient to decide on which side to walk when you exit metro13:25
rinigusmal: I guess for xperia 10 proper config would disable gyro in sensorfw and in qt sensors.conf13:25
malyeah, that would be the proper way imo13:25
T42<ankaos> @Amber %lastname% [Bro any progress..are you able to solve the is …], now ı see13:26
malrinigus: although having gyro in Sensors.conf isn't that bad, wondering if it reports correctly that there is no backend13:27
malrinigus: ah, in the main.cpp it only enables the compass sensor in gyro is present13:28
rinigusmal: that was in the prev version. now it should be enabled without gyro as well13:28
malrinigus: does it work if you only remove that requirement? I would assume the other calls would be just noop calls13:29
malif the backend is missing13:29
malI can test that13:29
rinigusmal: I suspect that the sensorfw backend will return zeros then13:30
rinigusmal: but the checks for gyro presence are in genericcompass.cpp. commit at https://git.sailfishos.org/rinigus/qtsensors/commit/6fc4ec15020b144e52a92b08572f97f44fe485be13:31
rinigusI did try to disable gyro backend as well and it looked to be ok13:31
rinigusbut good if you test13:31
T42<ankaos> https://paste.ubuntu.com/p/kDFz3J8Qvr/ ı dont understand O.o16:39
T42<ankaos> and kernel defcnfig https://paste.ubuntu.com/p/cFC7VZfymg/16:44
T42<ankaos> @elros34 now build lge g216:45
T42<edp_17> @ankaos : What don't you understand? You need to fix errors from mer-kernel-check.17:32
T42<ankaos> I corrected the kernel file.17:35
T42<ankaos> I get an error in the kernel file in the output.17:36
T42邹汝惠 %lastname% was added by: 邹汝惠 %lastname%17:57
T42<edp_17> What is the error? What command did you run when the error happened?18:23
T42<ankaos> @edp_17 [What is the error? What command did you run wh …], ./hybris/mer-kernel-check/mer_verify_kernel_config kernel/lge/msm8974/arch/arm/configs/cyanogenmod_d802_defconfig18:35
T42<ankaos> ı havent error output18:35
T42<edp_17> Good evening. Can somebody let me know where Sailfish is storing the wifi MAC address, please?21:33
T42<ankaos> good night21:34
T42<elros34> loading wlan in systemd service didn't help?21:46
T42<edp_17> I couldn't compile the wifi as module. 😔 Because other errors the kernel didn't compile.21:47
T42<edp_17> I have seen that kalube has hardcoded the wifi mac address for enchilada, so I am currently checking his work and trying something similar.21:48
T42<elros34> Did you set every other config to =y after enabling CONFIG_MODULES?21:49
T42<edp_17> I have tried to identify all changes the way you suggested but it was not obvious for me. I used 'git diff HEAD ....defconfig21:50
T42<edp_17> Now, with the CONFIG_MODULES=y, the kernel compiles.21:51
T42<edp_17> But when I try to put the wifi into module (CONFIG_BCM4358=m) it fails.21:53
T42<edp_17> Well, kalube's solution won't help either because he also uses the wifi as module.21:53
T42<edp_17> It seems the only way is compile the wifi as module.21:54
T42<edp_17> I got this: https://paste.ubuntu.com/p/nF38YqJGRQ/22:00
T42<edp_17> I have a CONFIG_EXYNOS_PCIE=y in defconfig but am not sure what happens if I unset it.22:00
T42<elros34> try with CONFIG_BCMDHD=y22:09
T42<edp_17> I have tried with # CONFIG_EXYNOS_PCIE is unset, but it failed. Now I try with CONFIG_BCM4358=y and CONFIG_WLAN=m. If it fails, I'll try with CONFIG_BCMDHD=y.22:14
T42<edp_17> By the way the 'CONFIG_BCMDHD=y' was not there, I have added it.22:14
T42<elros34> xconfig doesn't allow CONFIG_WLAN to be set as module22:19
T42<edp_17> It compiled. but still there is no dhd module. I try with what you suggested. CONFIG_BCMDHD=y22:20
T42<edp_17> I guess I should set CONFIG_BCM4358=m.22:21
T42<edp_17> I always wanted to about the oneshot. What is it?22:23
T42<edp_17> *ask22:24
T42<elros34> https://git.sailfishos.org/mer-core/oneshot/blob/master/README22:24
T42<edp_17> Thanks.22:24
T42<edp_17> It failed again with the same error: /home/n4/mer/android/droid/out/target/product/treltexx/obj/KERNEL_OBJ/../../../../../../kernel/samsung/exynos5433/drivers/pci/host/pci-exynos.c:367: undefined reference to `dhd_host_recover_link'22:25
T42<edp_17> It is related to the exynos_pcie22:25
T42<edp_17> When I set:22:37
T42<edp_17> CONFIG_BC4358=m,22:38
T42<edp_17> CONFIG_BCMDHD=m,22:38
T42<edp_17> # CONFIG_BCMDHD_PCIE is not set22:38
T42<edp_17> I get: https://paste.ubuntu.com/p/XTC5wRwfYS/22:38
T42<edp_17> Okay, I go back to what you suggested. I only set CONFIG_BC4358=m and CONFIG_BCMDHD=m.22:39
T42<edp_17> I will fail, then I will copy the .config to defconfig and try to see what else changed.22:40
T42<elros34> from where did you get this CONFIG_BCMDHD, I can't seam to find it in kernel nor via xconfig22:41
T42<edp_17> From the S2 defconfig. This kernel probably doesn't need as it didn't make any difference if I set or unset it.22:42
T42<edp_17> Originally it was not there.22:42
T42<elros34> looks like this line is false so dhd_host_recover_link is not exported: https://github.com/edp17/android_kernel_samsung_exynos5433/blob/cm-14.1-treltexx/drivers/net/wireless/bcmdhd4358/dhd_linux.c#L886522:45
T42<elros34> or something around22:46
T42<edp_17> What kernel source did you check in my repo cm-14.1-treltexx or cm14.1-treltexx-v2?22:48
T42<edp_17> Because it is set in the defconfig I use: https://github.com/edp17/android_kernel_samsung_exynos5433/blob/cm-14.1-treltexx-v2/arch/arm/configs/lineage_exynos5433_treltexx_defconfig#L38722:48
T42<edp_17> I compiled a kernel with wifi built in then copied the .config to defconfig and pushed to github as -v2.22:49
T42<elros34> I use default, but anyway machine for sure was already set22:50
T42<edp_17> Sorry that's my bad because I didn't set the v2 as default yet. I wanted to do it once the kernel is fixed.22:52

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