T42 | <leha155> @elros34 Now i have more information in dmesg. https://pastebin.com/kfVCFX3n | 08: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 source | 10:00 |
T42 | <b100dian> That per se may not tell that HAS to be the only option | 10:00 |
Thaodan | Ah meh ok | 10:00 |
Thaodan | I thought it is possible to avoid providing a custom config. | 10:01 |
Thaodan | @b100dian: please check https://github.com/sailfishos/ngfd/pull/6 | 10:07 |
T42 | <b100dian> wow, already at 6th PR ;) Left a comment about _CUSTOM | 10:29 |
T42 | <b100dian> https://github.com/torvalds/linux/blob/master/include/uapi/linux/input.h#L395 | 10:30 |
T42 | <b100dian> Thaodan: "The exact syntax FF_CUSTOM is undefined for the time being as no driver supports it yet" :p | 10: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 |
Thaodan | b100dian: Well that's a nice way of saying the vendor decides... | 10:39 |
Thaodan | Better than having it not mainline. | 10:41 |
Thaodan | @nephros: You don't have to, you can reuse aosp for droid-system | 10:41 |
Thaodan | with 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 indeed | 10:57 |
T42 | <b100dian> https://github.com/b100dian/Xiaomi_Kernel_OpenSource/blob/tucana-q-oss/drivers/input/misc/drv260x_input.c#L249 | 10: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#L501 | 10:57 |
Thaodan | @b100dian: the thing seems to be the same from the middleware pov for all devices using qcom haptics. | 11:11 |
Thaodan | The driver may get slightly different data. | 11:11 |
Thaodan | E.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/15 | 12:43 |
T42 | <edp_17> I only have that file in one location: $ANDROID_ROOT/system/core/rootdir/ueventd.rc | 13:01 |
T42 | <edp_17> And there is another similar in $ANDROID_ROOT/device/samsung/jf-common/rootdir/ueventd.qcom.rc | 13: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 confusing | 17:42 |
Mister_Magister | lbt: 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 there | 18: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 5z | 18:37 |
Mister_Magister | hell it took us half a year to figure out screen on g2 xd | 18:37 |
Mister_Magister | well maybe not half a year but 2 months at least | 18:37 |
Mister_Magister | lets see whats this 4.4 about | 18:38 |
Mister_Magister | mal: 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/armv8el | 18:57 |
Mister_Magister | i'm looking up logs | 18:58 |
Mister_Magister | read something about pulseaudio-modules-droid-jb2q multiple times but i'm kinda confused | 18:58 |
mal | yeah, you need to replace it | 19:00 |
Mister_Magister | elaborate pelase | 19:00 |
mal | https://build.sailfishos.org/package/show/nemo:devel:hw:fairphone:fp2-sibon/pulseaudio-modules-droid-jb2q | 19:00 |
Mister_Magister | understood | 19:01 |
Mister_Magister | mal: sometimes i wonder if you feel relief that you don't have to go on for 30 minutes explaining what needs to be done xd | 19:02 |
mal | :) | 19:54 |
Mister_Magister | ayy knew u happy :D | 19:54 |
Mister_Magister | ayy got screen, we are off to good start | 20:56 |
Mister_Magister | mmmmm camera doesn't work | 21:04 |
Mister_Magister | mal: do i have to rebuild droidmedia for 4.4? | 21:04 |
mal | hmm, how does it fail? do you have correct gst-droid version? | 21:17 |
mal | but that does come from common repos now | 21:18 |
mal | try removing the gst cache file | 21:18 |
Mister_Magister | mal: it's like testvideosrc output | 21:19 |
Mister_Magister | rm: can't remove '.cache/gstreamer-1.0': Device or resource busy | 21:19 |
Mister_Magister | fascinatingh | 21:19 |
Mister_Magister | is it some sailjail thingy? | 21:20 |
piggz | Mister_Magister: jail only applies to invoker ran apps | 21:21 |
piggz | ssh in == no jail | 21:21 |
piggz | terminal == no jail | 21:21 |
Mister_Magister | piggz: yeah but apps were running that were using .cache/gstreamer | 21:22 |
Mister_Magister | so it was sailjail | 21:22 |
Mister_Magister | mal: nope. cleariing cache didn't help | 21:23 |
Mister_Magister | mal: "gst_element_factory_make: no such element factory "droideglsink"!" | 21:23 |
mal | hmm | 21:24 |
Mister_Magister | seems like gstdroid is not present to em | 21:24 |
mal | probably fails to load it | 21:24 |
piggz | Mister_Magister: no, if apps had it open, then the file was locked as per normal rules .... not really jail related | 21:24 |
Mister_Magister | piggz: jail related cause i was yeeting cache all the time without issue like that, but maybe i'm wrong, doesnt matter | 21:25 |
Mister_Magister | mal: possibly, package is installed | 21:25 |
Mister_Magister | mal: i don't even see it trying to load it | 21:26 |
mal | remove the cache again and try this gdb --args gst-inspect-1.0 --gst-disable-segtrap --gst-disable-registry-fork droidcamsrc | 21:26 |
Mister_Magister | hmmm, no app is running but again sometihng is using .cache/gstreamer-1.0 | 21:27 |
Mister_Magister | annoying | 21:27 |
Mister_Magister | and lsof doesn't display what | 21:28 |
Mister_Magister | so it is sailjail bullshittery | 21:28 |
mal | have you tried starting camera app from terminal? | 21:32 |
Mister_Magister | yep | 21:33 |
Mister_Magister | mal: https://paste.opensuse.org/92696552 idk what you want from there but here you go | 21:33 |
Mister_Magister | it's really not loading the gstdroid .so | 21:35 |
mal | was that right after removing the cache | 21:37 |
Mister_Magister | yep | 21:37 |
Mister_Magister | trying again just to make sure | 21:38 |
mal | if 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_Magister | mal: i basically have to rm cache before lipstick starts | 21:40 |
Mister_Magister | otherwise its not doable | 21:41 |
Mister_Magister | so perhaps i'm not really removing cache, i don't know | 21:41 |
Mister_Magister | mal: https://paste.opensuse.org/8437250 gst-inspect throws gst-inspect-1.0: ../hybris.c:75: __resolve_sym: Assertion `ptr != NULL' failed. which sounds awfully familiar | 21:43 |
Mister_Magister | https://forum.sailfishos.org/t/4-3-0-12-issue-with-droidmedia/8963 oh, i know why | 21:44 |
Mister_Magister | but adaptation-common is present and accounted for | 21:45 |
Mister_Magister | idk i'll try updating droidmedia | 21:52 |
mal | ok | 22:00 |
Mister_Magister | oh 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 configs | 23:13 |
Mister_Magister | it's crazy out there | 23:13 |
Mister_Magister | looks like it's not porter's lucky day | 23:24 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!