Tuesday, 2022-04-12

T42<leha155> @elros34 Now i have more information in dmesg. https://pastebin.com/kfVCFX3n08:06
Thaodan@b100dian: Do you think it is possible to detect if custom waveform has to be used in ngfd ffmemless plugin?09:56
T42<b100dian> Thaodan: Maybe its the FF_CUSTOM shown in evdev_trace? I need to read the input.h kernel source10:00
T42<b100dian> That per se may not tell that HAS to be the only option10:00
ThaodanAh meh ok10:00
ThaodanI thought it is possible to avoid providing a custom config.10:01
Thaodan@b100dian: please check https://github.com/sailfishos/ngfd/pull/610:07
T42<b100dian> wow, already at 6th PR ;) Left a comment about _CUSTOM10:29
T42<b100dian> https://github.com/torvalds/linux/blob/master/include/uapi/linux/input.h#L39510:30
T42<b100dian> Thaodan: "The exact syntax FF_CUSTOM is undefined for the time being as no driver supports it yet" :p10:30
T42<nephros> If I'm building with los14/android 7, do I have to do the extras from the SFOS Hw Adaptation docs site, i.e build the syspart stuff?10:38
T42<nephros> There is no section for 14/7 so I'm reading the 6 version.10:38
Thaodanb100dian: Well that's a nice way of saying the vendor decides...10:39
ThaodanBetter than having it not mainline.10:41
Thaodan@nephros: You don't have to, you can reuse aosp for droid-system10:41
Thaodanwith all the downsides and upsides of doing that.10:42
T42<nephros> Ok thanks!10:43
Thaodan@b100dian: _CUSTOM doesn't have a default or does it, also it is one of the defaults predefined by the driver?10:48
T42<edp_17> Hi all! I am building droid-hal and getting error about missing "./out/target/product/jfltexx/vendor". None of my other ports has vendor folder in out/target/product/$DEVICE/. Any idea how to solve it? Thanks. https://paste.ubuntu.com/p/sc53MmZW7R/10:48
T42<b100dian> Thaodan: both our drivers seem to have _CUSTOM=0 as click and the default value when missing in the ffmemless.ini 0 indeed10:57
T42<b100dian> https://github.com/b100dian/Xiaomi_Kernel_OpenSource/blob/tucana-q-oss/drivers/input/misc/drv260x_input.c#L24910:57
T42<b100dian> https://github.com/mer-hybris/android_kernel_sony_msm/blob/hybris-sony-aosp/LA.UM.7.1.r1/arch/arm64/boot/dts/qcom/pm8150b.dtsi#L50110:57
Thaodan@b100dian: the thing seems to be the same from the middleware pov for all devices using qcom haptics.11:11
ThaodanThe driver may get slightly different data.11:11
ThaodanE.g. compare sm8150 with https://github.com/sonyxperiadev/kernel/blob/aosp/LA.UM.9.14.r1/arch/arm64/boot/dts/qcom/pm8350b.dtsi#L56=11:12
T42<b100dian> Let's see when there will be a driver that breaks the convention:)11:19
T42<edp_17> I think know the problem now. Not the missing vendor folder. The real issue is that I do not have ueventd.rc in neither "out/target/product/$DEVICE/system/vendor/" nor "out/target/product/$DEVICE/root/"12:32
T42<edp_17> Actually both of these locations have much less folders than on other ports.12:32
T42<edp_17> I guess something is missing. Has anyone got ide what's missing? (The hybris-hal has built sucessfully.)12:34
T42<b100dian> Do yoi have the file in some other place though?12:41
T42<b100dian> I for one have a bug written that I needed this manual step myself https://github.com/sailfishos-on-tucana/Readme/issues/1512:43
T42<edp_17> I only have that file in one location: $ANDROID_ROOT/system/core/rootdir/ueventd.rc13:01
T42<edp_17> And there is another similar in $ANDROID_ROOT/device/samsung/jf-common/rootdir/ueventd.qcom.rc13:04
T42<edp_17> The other ueventd* files are not .rc, only these two.13:04
T42<edp_17> Okay, I've manually copied both to $ANDROID_ROOT/out/target/product/$DEVICE/root/ and now I got a different about complaining missing default.prop. I had to comment out /default.prop in rpm/dhd/droid-hal-device.inc and now droid-hal-$DEVICE has successfully built! 😃13:28
T42<edp_17> @b100dian : Thanks for the hint! That helped. 👍13:28
T42<edp_17> On OBS when building pulseaudio-modules-droid-glue, it goes "unresolvable" with message "nothing provides audioflingerglue-devel >= 0.0.1".15:14
T42<edp_17> Ops, it seems I don't need pulseaudio-modules-droid-glue anymore. :) Great! :)15:37
T42<edp_17> mal : Are line 19 and 20 here: https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/rpm/droid-config-fp2-sibon.spec#L19 replaces the use of  noplugin.conf in sparse/var/lib/environment/ofono ?15:51
T42<elros34> @leha155 so looks like boringssl_self_test32 mess with you. No idea what is the use for it, try to start it manually with strace.17:11
T42<elros34> ah so probably every service which has: "shutdown critical" starts including ueventd. That is why it was so confusing17:42
Mister_Magisterlbt: holy shit you fixed search!18:18
T42<edp_17> This is my luck. By the time I've put the dev environment together, built hybris-hal, droid-hal, obs packages and a sfos image for an old spare device, its screen became unresponsive. :(18:25
Mister_Magister@edp_17 haven't we all been there18:28
T42<edp_17> It's very frustrating. :( I've already spent the same amount what's the device worth on fixing its screen just for be able to port sfos onto it. Then two weeks work on hunting together android base, device-, kernel trees and blobs. The the work on the port itself. And now, I cannot even try what I've built. I am devastated now. :(18:36
Mister_Magister@edp_17 it took me half a year to figure out bootloader's fuckery on 5z18:37
Mister_Magisterhell it took us half a year to figure out screen on g2 xd18:37
Mister_Magisterwell maybe not half a year but 2 months at least18:37
Mister_Magisterlets see whats this 4.4 about18:38
Mister_Magistermal: do you know anything about pulseaudio-modules-droid? it's not building for me on obs lol https://build.sailfishos.org/package/live_build_log/nemo:testing:hw:motorola:thea/pulseaudio-modules-droid/sailfishos_4.4.0.58/armv8el18:57
Mister_Magisteri'm looking up logs18:58
Mister_Magisterread something about pulseaudio-modules-droid-jb2q multiple times but i'm kinda confused18:58
malyeah, you need to replace it19:00
Mister_Magisterelaborate pelase19:00
malhttps://build.sailfishos.org/package/show/nemo:devel:hw:fairphone:fp2-sibon/pulseaudio-modules-droid-jb2q19:00
Mister_Magisterunderstood19:01
Mister_Magistermal: sometimes i wonder if you feel relief that you don't have to go on for 30 minutes explaining what needs to be done xd19:02
mal:)19:54
Mister_Magisterayy knew u happy :D19:54
Mister_Magisterayy got screen, we are off to good start20:56
Mister_Magistermmmmm camera doesn't work21:04
Mister_Magistermal: do i have to rebuild droidmedia for 4.4?21:04
malhmm, how does it fail? do you have correct gst-droid version?21:17
malbut that does come from common repos now21:18
maltry removing the gst cache file21:18
Mister_Magistermal: it's like testvideosrc output21:19
Mister_Magisterrm: can't remove '.cache/gstreamer-1.0': Device or resource busy21:19
Mister_Magisterfascinatingh21:19
Mister_Magisteris it some sailjail thingy?21:20
piggzMister_Magister: jail only applies to invoker ran apps21:21
piggzssh in == no jail21:21
piggzterminal == no jail21:21
Mister_Magisterpiggz: yeah but apps were running that were using .cache/gstreamer21:22
Mister_Magisterso it was sailjail21:22
Mister_Magistermal: nope. cleariing cache didn't help21:23
Mister_Magistermal: "gst_element_factory_make: no such element factory "droideglsink"!"21:23
malhmm21:24
Mister_Magisterseems like gstdroid is not present to em21:24
malprobably fails to load it21:24
piggzMister_Magister: no, if apps had it open, then the file was locked as per normal rules .... not really jail related21:24
Mister_Magisterpiggz: jail related cause i was yeeting cache all the time without issue like that, but maybe i'm wrong, doesnt matter21:25
Mister_Magistermal: possibly, package is installed21:25
Mister_Magistermal: i don't even see it trying to load it21:26
malremove the cache again and try this  gdb --args gst-inspect-1.0 --gst-disable-segtrap --gst-disable-registry-fork droidcamsrc21:26
Mister_Magisterhmmm, no app is running but again sometihng is using .cache/gstreamer-1.021:27
Mister_Magisterannoying21:27
Mister_Magisterand lsof doesn't display what21:28
Mister_Magisterso it is sailjail bullshittery21:28
malhave you tried starting camera app from terminal?21:32
Mister_Magisteryep21:33
Mister_Magistermal: https://paste.opensuse.org/92696552 idk what you want from there but here you go21:33
Mister_Magisterit's really not loading the gstdroid .so21:35
malwas that right after removing the cache21:37
Mister_Magisteryep21:37
Mister_Magistertrying again just to make sure21:38
malif that doesn't work then try again after removing cache: strace -Ff -s1024 gst-inspect-1.0 --gst-disable-segtrap --gst-disable-registry-fork droidcamsrc"21:40
Mister_Magistermal: i basically have to rm cache before lipstick starts21:40
Mister_Magisterotherwise its not doable21:41
Mister_Magisterso perhaps i'm not really removing cache, i don't know21:41
Mister_Magistermal: https://paste.opensuse.org/8437250 gst-inspect throws gst-inspect-1.0: ../hybris.c:75: __resolve_sym: Assertion `ptr != NULL' failed. which sounds awfully familiar21:43
Mister_Magisterhttps://forum.sailfishos.org/t/4-3-0-12-issue-with-droidmedia/8963  oh, i know why21:44
Mister_Magisterbut adaptation-common is present and accounted for21:45
Mister_Magisteridk i'll try updating droidmedia21:52
malok22:00
Mister_Magisteroh man, what seemed like "i'll update droidmedia" turned out to be insanely annoying and hard task. My archive with repo is damaged, repo sync doesn't want to pull first from github now from android.googlesource.com, i don't have platformsdk, nor tagets nor my configs23:13
Mister_Magisterit's crazy out there23:13
Mister_Magisterlooks like it's not porter's lucky day23:24

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