Friday, 2019-12-20

r0kk3rz@edp_17: dont use that one, you should use the one from themuppets00:00
T42<edp_17> @r0kk3rz: Is this the one: https://github.com/TheMuppets/proprietary_vendor_samsung00:01
r0kk3rzyeah00:01
mautzoner0kk3rz: What are the differnces from the two repos?00:02
T42<edp_17> Ok, so I need to change this in local_manifest, then do a repo sync fetch submodules, then rebuild hybris-hal?00:02
r0kk3rzmautzone: hard to know exactly, because those repos are filled with blobs00:03
mautzoner0kk3rz: Ok.00:03
r0kk3rzbut if you build things against the wrong blobs, you're going to get segfaults00:03
mautzoner0kk3rz: Seems to be worth a try.00:03
r0kk3rzso you really need to use the same source as the base image00:03
T42<edp_17> Ok, I'll try then.00:04
r0kk3rzthat repo is huge btw, so maybe just download the hero folder00:05
mautzoneWhat are the advantages of Bluez5 instead of Bluez4 in SFOS?00:05
T42<edp_17> @r0kk3rz: so I need to define 'TheMuppets/proprietary_vendor_samsung/hero-common' rather than 'TheMuppets/proprietary_vendor_samsung' ?00:06
r0kk3rzyou cant do that00:07
T42<edp_17> Yep, I just realized.00:07
T42<edp_17> Then how can I do that?00:07
r0kk3rzmautzone: lots of things really, but if you've got an old kernel you need bluez400:07
T42<edp_17> What does it mean old? All android phone use old kernel. :(00:08
T42<edp_17> 3.4 is it old. I think so.00:08
T42<edp_17> 3.18, this one too.00:08
r0kk3rz3.4 is too old for bluez500:08
r0kk3rz3.18 isnt00:09
mautzoner0kk3rz: I cherry picked the necessary changes to get bluez5 working on 3.4 kernel from ubports.00:09
T42<edp_17> Ok, thanks.00:09
r0kk3rzyeah you can backport the whole bt stack00:09
r0kk3rzmal did that on fp200:09
mautzoner0kk3rz: But i think i went into another problem. I can set up the bt device with btattach, but it takes several minutes to find other bt devices and then the connection fails.00:10
mautzoner0kk3rz: Ialso tried it with mals backports as the hadk-faq suggests, but this didn't work.00:11
T42<edp_17> @r0kk3rz: before I start the fetch submodules, is it not causing problem if there are stuff in there from the other repo?00:11
T42<edp_17> I have just checked what's in my vendor/samsung/hero-common. I have only that stuff what's in here: https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-14.1/hero-common00:14
T42<edp_17> But how can I use only this bit from the huge TheMuppets/proprietary_vendor_samsung tree?00:14
r0kk3rz@edp_17 i suspect thats why driim made his own repo, and copied the blobs he needed into that00:15
T42<edp_17> I see. Manually.00:16
r0kk3rzbut for now, so long as the files are in the folder, you dont need to resync00:16
T42<edp_17> Oh boy, lots of files especially in the proprietary sub folder. :( The lots of file means, lots of chance to make mistakes.00:17
T42<edp_17> Is there a way to save a file from github with firefox? I don't want to copy/paste all files' content because I will surely make mistakes.00:21
r0kk3rzmautzone: what kind of bt you have?00:21
T42<edp_17> Nevermind, I know how.00:22
mautzoner0kk3rz: What do you mean? Chipset?00:23
r0kk3rzmautzone: yeah00:23
mautzonebcm 433500:23
r0kk3rzah broadcomm00:24
r0kk3rzwas it working before the backport?00:24
mautzoner0kk3rz: Yes.00:26
r0kk3rzthere might be some bluesleep fixes you need now00:27
mautzoner0kk3rz: Ok, but is there any kind of log for bt?00:28
r0kk3rztheres a bunch of stuff in bluez5-tools for probing00:28
mautzoner0kk3rz: You mean like bluetoothctl, hciconfig, btmon and so on?00:29
r0kk3rzyeah00:29
T42<edp_17> @mautzone: If this helps. When I did the hammerhed build I needed to install the connman-tool because the bluetooth_sleep uses a function from there. The BT was broken until I installed the connman-tools, then it worked fine.00:30
T42<edp_17> Bluez4 of course.00:30
mautzoner0kk3rz:Everything seems ok, and since it found my XA2 after several minutes of searching, i think that it is working...kind of. But the XA2 was not able to find the Nexus.00:32
r0kk3rzyeah sounds like the bluesleep issues we had00:33
r0kk3rzyou installed the rfkill service?00:33
mautzoner0kk3rz: Yes, but i don't use it. I haven't figured out what it does actually. Does it only block or unblock or does it manage the conection via hciattach?00:35
r0kk3rzit is mostly used to load the firmware on startup00:35
r0kk3rzin a consistent way00:35
mautzoner0kk3rz: Id there some documentation?00:37
r0kk3rznot really, other than the stuff in the faq i wrote00:37
r0kk3rzthe config file is fairly self explanatory00:37
r0kk3rzyou would have the details already for however you're using hciattach00:38
mautzoner0kk3rz: Using btattach.00:38
SimdolHow do you fix: Fatal: 'oneplus-enchilada-armv7hl' is not a known build target00:42
Simdolfor build_packages.sh00:42
r0kk3rzSimdol: you made the target? did you give it the right name?00:43
Simdolr0kk3rz: I don't think so, how do you do that?00:43
mautzoneSimdol: Wrong target name.00:43
r0kk3rzSimdol: it says in the hadk00:43
Simdolmautzone: is it oneplus-enchilada-arm6400:44
Simdolinstead of armv7hl?00:44
r0kk3rzchapter 6, setting up scratchbox2 target00:44
mautzoneOutput of sdk-assistant list?00:44
SimdolSailfishOS-latest00:44
Simdol├─SailfishOS-latest-armv7hl00:44
Simdol└─SailfishOS-latest-i48600:44
r0kk3rzso00:44
r0kk3rzyou ignored the box with 'warning' written on it00:44
Simdoloh shit lol00:45
Simdoli just read it00:45
r0kk3rzthere you go00:45
Simdolis that really reason why it doesn't build?00:45
r0kk3rzif your thing has the wrong name00:45
r0kk3rzyes00:45
Simdolr0kk3rz: so i assume the naming is done through file name?00:46
Simdolso line oneplus-enchilada-armv7hl.7z00:47
Simdol*like00:47
T42<edp_17> @r0kk3rz: I have a concern. Some files has some hieroglyph like '# Low Power Range calibration 시에만 enable' but when I see as raw on github I see '# Low Power Range�� start value: 0dBm'00:47
T42<edp_17> So those chars have converted to ? Will it cause any issues?00:47
r0kk3rzedp_17, what on earth are you doing?00:48
T42<edp_17> From github TheMuppets/hero-common I am manually saving all files into my vendor/samsung/hero-common00:49
r0kk3rzyeah... dont do that00:49
T42<edp_17> This is what you said that Driim did the same because there is no way to sync a part of a repo.00:49
T42<edp_17> Ok then, what else I can do?00:50
r0kk3rzmaybe you just need to download the whole thing, it was just a suggestion00:50
T42<edp_17> In Driim's repo, that I forked, was only this hero-common. So I definetaly don't need all.00:51
r0kk3rzno you dont00:51
r0kk3rzits annoying they put it all in a mega repo, for other vendors they dont do that00:52
T42<edp_17> Yeah, I agree but they did for this. :(00:52
T42<edp_17> So, my options: 1. sync the whole, 2. manually download all from hero-common sub folder. 3. ??00:53
r0kk3rzsee what you can google up00:54
T42<edp_17> Ok, I have updated my local manifest to point to TheMuppets and I do sync. I download them all. While I am googling it is downloading. 😁00:55
T42<edp_17> Ops, it seems I need to push some changes first.00:57
mautzoneedp_17: You could just do a git clone and copy the files, no need to put them in your manifest if your not resyncing.01:01
T42<edp_17> @mautzone: Good point, I do this now. Once I pushed my other changes to github. Thanks!01:04
mautzoneedp_17: Or you could also downlaod the zip file.01:05
T42<edp_17> I have started cloning.01:05
T42<edp_17> Thanks.01:05
mautzoner0kk3rz: Does rf kill service also set up the bt device? Or do i need to di this manually?01:06
r0kk3rzmautzone: it sets it up, thats basically its only job01:07
mautzoner0kk3rz: Then i must have an error in the config file.01:12
mautzoneDamn, so late again....01:14
mautzoner0kk3rz: Thanks for your help!01:15
T42<edp_17> @mautzone: Yep, this is my problem too. getting tired and so much things to do...01:15
mautzoneedp_17: Just take a day off this porting stuff :-P01:15
T42<edp_17> @mautzone: I already have taken 2. Now I feel I shouldn't but I had to. :)01:17
T42<edp_17> @mautzone: Good night.01:17
SimdolDoes anyone know how to solve this dependency issue? http://dpaste.com/1R0Z48R01:20
r0kk3rzSimdol: you need this https://github.com/mer-hybris/libncicore01:22
Simdolr0kk3rz: Okay, how do I install it?01:23
Simdoljust make && make install?01:23
r0kk3rztheres a build_packages.sh command01:23
r0kk3rzhttps://github.com/mer-hybris/droid-hal-device/blob/master/helpers/build_packages.sh#L4201:24
T42<edp_17> @r0kk3rz: I have cloned the vendor/samsung from the TheMuppets, then deleted everything from my local vendor/samsung/hero-common, then copied everything here from themuppets/hero-common, then pushed everything to github. The only difference between TheMuppets and Driim's repo is this: https://github.com/edp17/proprietary_vendor_samsung01:26
T42/commit/45a6cb1f0954f6f86d213fd6d8395d174d0466a601:26
T42<edp_17> Is it possible that this is the reason why the gui isn't starting?01:27
T42<edp_17> This is wifi related but my build is not really yet there.01:27
r0kk3rzdoubtful01:28
T42<edp_17> I though so.01:28
T42<edp_17> Then I am stuck again.01:28
mautzoneGood nght everyone.01:29
T42<edp_17> @mautzone: Sleep well.01:30
Simdolr0kk3rz: sorry, still can't figure it out how to install01:35
Simdolbuild_packages.sh -m libncicore is not the way to do it, i assume?01:35
r0kk3rzno01:36
r0kk3rz--mw=[github repo url]01:36
Simdoloh you specify the url01:37
r0kk3rzyes01:37
T42<edp_17> @r0kk3rz: What I spotted in Driim's repo and I do no have is a file: sparse/usr/bin/droid/droid-hal-startup.sh01:40
T42<edp_17> If I do not have droid-hal-startup.sh in my sparse, is there anywhere else by default what the process put in when building the image? Or need to manually put this into sparse?01:43
SimdolStill have this error:01:47
Simdolerror: Failed build dependencies:01:47
Simdol        pkgconfig(libnciplugin) is needed by nfcd-binder-plugin-1.1.1-0.armv7hl01:47
T42<edp_17> Well, comparing the droid-hal-startup.sh what I have on my device and what is in Driim's repo, the difference is that he added a condition for aarch64 or 3201:47
Simdol        pkgconfig(nfcd-plugin) >= 1.0.20 is needed by nfcd-binder-plugin-1.1.1-0.armv7hl01:47
T42<edp_17> So, it is pointless to use his one.01:47
mautzoneSimdol: I think you need to install the package.01:48
r0kk3rzmautzone: it should get pulled in by the requires01:50
r0kk3rz@edp_17 id ignore that one for now01:50
T42<edp_17> @mautzone: As you are still here rather than counting the sheep on a nice green field 😀 Can you confirm whether my hammerhead build was good for OBS, please?01:50
T42<edp_17> @r0kk3rz: Thanks, I have ignored.01:51
r0kk3rzhttps://github.com/mer-hybris/libnciplugin01:51
mautzoneedp_17: Could you update without problems?01:51
T42<edp_17> @mautzone: Yes I did. I thought mentioned this on maemo.01:52
T42<edp_17> I have checked the files in your test (or dev I don't remember) repo and seen you were using those files I sent you. (based on the timestamps)01:53
Simdolr0kk3rz: for the life of me, I can't find nfcd-plugin. I can only find nfcd-binder-plugin, which won't install.01:54
SimdolAnyone know where to find nfcd-plugin?01:59
r0kk3rzmaybe you need this as well https://git.sailfishos.org/mer-core/nfcd/tree/master01:59
mautzoneedp_17: Can you build this? build_packages.sh --mw=https://github.com/mautz-kernel/qt5-qpa-hwcomposer-plugin02:02
Simdolr0kk3rz: http://dpaste.com/3HZGHF902:04
T42<edp_17> @mautzone: Ok, I am trying this out now.02:04
T42<edp_17> Wait a second! Should this qt5-qpa-hwcomposer-plugin be somewhere in droid-local-repo?02:07
T42<edp_17> Newermind, I found it.02:08
mautzoneedp_17:Yes, but this version is 29 commits behind, which shoukd be the version driim has used.02:11
T42<edp_17> @mautzone: 👍 Thank you! One day please teach me how to build these old packages. 😀02:12
T42<edp_17> I am running the mic now. Fingers crossed!02:13
mautzoneedp_17: Did the package built?02:14
T42<edp_17> Yes, without any issues.02:14
mautzoneMaybe it is enough to install this package on your device.02:15
T42<edp_17> I have already wiped. :(02:15
mautzone:-D02:15
T42<edp_17> I know, I know. :)02:16
T42<edp_17> You should set your nick. It would be easier to respond. :P02:17
mautzone?02:17
T42<edp_17> When I enter @ and start typing maut... it doesn't bring up your nick.02:18
T42<edp_17> If you set this as username, it will do that. edp17 was booked so I became edp_17.02:18
mautzoneThis is my username.02:19
mautzoneMaybe it's due to this Telegram transport or whatever it is.02:19
T42<edp_17> Oh, then I am sorry. Are you using a telegram client?02:19
T42<edp_17> Yes, I just guessed. I am on the web version.02:20
T42<edp_17> By the way, why are your trying to use bluez5 instead of bluez4?02:20
mautzoneNope, Xchat.02:20
mautzoneYes, i took the bluez5 route.02:21
T42<edp_17> What's the benefit against bluez4?02:21
mautzoneI hope it will give better quality during calls.02:22
T42<edp_17> I see.02:23
r0kk3rzwe're on irc, not telespam02:23
r0kk3rzso it wont autocomplete us02:24
mautzoner0kk3rz: I know, but isn't T42 a telegram transport?02:24
r0kk3rzit is02:24
mautzoner0kk3rz: After several tries i was able to pair the Nexus5 and my XA2 over bluetooth...so, i think the backported driver is basically working02:26
T42<edp_17> I have tried to ask questions on irc then I gave up. I couldn't send a single message, then when I registered my user, no one really responded. I am using the telegram web client and it is much much better. for me at least.02:26
T42<edp_17> @mautzone: Whoohoo. Well done!02:26
mautzoneedp_17: Nah, this took about 5 minutes :-D02:27
r0kk3rzwell its bluetooth, sorta working and actually working can be different02:27
r0kk3rzmost people want bt headphones to work at least02:27
mautzoner0kk3rz: I know why i never use it...02:28
mautzoner0kk3rz: First i'll try to get the rfkill service manage the bluetooth device.02:29
r0kk3rzgetting things to pair is usually ok, but then theres stuff about profile selection, various middleware integrations .etc02:29
T42<edp_17> Speaking about that, on my hammerhead port the sound is good when I play music and connected to a bluetooth speaker or radio transmitter or even headset but for calls ... not so great. What can be the reason behind this?02:29
r0kk3rzheadset profile is different from a2dp profile02:30
T42<edp_17> I understand that but when I was connected to the radio transmitter playing the music was great, then I made a phone call and that sounded different. Did it use a different protocol or something for audio calls?02:32
r0kk3rzyes02:33
T42<edp_17> @mautzone: Wish me luck I am installing the image with your qt5-qpa-hwcomposer-plugin.02:33
r0kk3rzdepending on which profile it ends up selecting02:33
T42<edp_17> @r0kk3rz: Thanks. That explains then.02:34
r0kk3rzi think theres a few generations for call hardware, so it might select an ancient one02:34
r0kk3rzwith tight bandwidth restrictions02:34
T42<edp_17> @0kk3rz: Can I somehow set that profile on the device?02:34
T42<edp_17> Try which sounds better?02:35
r0kk3rzyou should first probe it to see what profiles the device says it supports02:35
r0kk3rzand which one it ends up using02:35
T42<edp_17> @r0kk3rz: Ok, thanks I may come back to this later if I have something is working.02:36
T42<edp_17> I booted up and the led light up then stopped. Still no gui.02:37
T42<edp_17> But after a time the samsung logo is dimmed and double tapping on the screen brighten it up again.02:38
T42<edp_17> And the 'EGL_PLATFORM=hwcomposer /system/xbin/strace /usr/lib/qt5/bin/qmlscene -platform hwcomposer main.qml' gives me the same 'Segmentation fault'02:39
T42<edp_17> What is gralloc?02:39
T42<edp_17> 'SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0}'02:40
r0kk3rzhttps://source.android.com/devices/graphics/arch-bq-gralloc02:40
T42<edp_17> Thanks.02:42
T42<edp_17> Wovwovwov, Now the 'systemctl --user restart lipstick' gives me 'Job for lipstick.service failed because a fatal signal was delivered to the control process. See "systemctl status lipstick.service" and "journalctl -xe" for details.02:43
T42<edp_17> '02:43
T42<edp_17> And the journalctl -xe: https://pastebin.com/MqnfnLqb02:44
T42<edp_17> I don't see any obvious wrong in there.02:45
T42<edp_17> The 'systemctl status lipstick.service' gives me: 'lipstick.service02:46
T42<edp_17>    Loaded: not-found (Reason: No such file or directory)02:46
T42<edp_17>    Active: inactive (dead)02:46
T42<edp_17> '02:46
r0kk3rzhuh? the issue hasnt changed02:48
T42<edp_17> Now the error message is different when I try to start lipstick.02:49
r0kk3rzrun test_hwcomposer02:50
T42<edp_17> Ok, and here is the relevant (I think) part from journal: https://pastebin.com/qvuRNFe602:51
T42<edp_17> 'EGL_PLATFORM=hwcomposer /system/xbin/strace /usr/lib/qt5/bin/qmlscene -platform hwcomposer main.qml': https://pastebin.com/10Cieay902:52
r0kk3rzis it still segfaulting?02:53
T42<edp_17> 'EGL_PLATFORM=hwcomposer /system/xbin/strace test_hwcomposer': https://pastebin.com/Uv4EPBZ302:54
T42<edp_17> Yes, it still segfaulting. :(02:54
T42<edp_17> The same message: 'EGL_PLATFORM=hwcomposer /system/xbin/strace test_hwcomposer'02:55
T42<edp_17> what the heck is this libgui.so?02:55
T42<edp_17> and the RTLD_NOLOAD?02:55
T42<edp_17> I found this: https://together.jolla.com/question/211500/how-to-resolve-an-overlay-error-in-release-31011/02:56
T42<edp_17> Maybe this is because I built and installed the droid-camres and gstreamer packages?03:02
T42<edp_17> Okay, I am out. Good night.03:13
T42<Evans %lastname%> (Photo, 890x976) https://irc.thaodan.de/.imgstore/aly6lrxn0G.png 联系方式  @fafalea07:55
masya_I'm stucked at vendor logo after installing SFOS. Trying to get logs - https://pastebin.com/e7Whu7eC . LOS-16.0, Xiaomi Mi A2 (jasmine_sprout), A/B partition scheme.11:00
masya_From LOS get mountpoints https://pastebin.com/6rukMejZ11:02
masya_Fixup-mountpoints https://pastebin.com/z6hDn3ed11:03
KALUBEmasya_: for treble devices you need to use the _a slot partition but remove the _a suffix like this: https://github.com/sailfish-oneplus6/hybris-boot/blob/fbd90f5fad090762adf140a58f68f9d4f25cc5fe/fixup-mountpoints#L81211:48
masya_Ok, will try this. Thanks11:49
deathmistmasya_: could you link your kernel repo, you probably have a bad commit which will make it so your device never loads hybris-boot ramdisk thanks to a commit. you cannot get any useful logs from SFOS chroot in TWRP11:51
deathmistany reason why buteo-mtp.service would require dev-mtp.mount to be NOT masked to even launch? that mount unit just fails for me since I use configfs instead of functionfs & I just found this https://git.sailfishos.org/mer-core/buteo-mtp/blob/master/rpm/buteo-mtp-qt5.spec#L121 which doesn't explain much (to me anyway)13:24
deathmistmeh masking the unit causes even more spam, probably better to implement better configfs support to buteo-mtp at some point so the unit is not obligatory13:34
deathmistspiiroin: you around? I've added sailfish_hw_key_enabled=true dconf thing & https://git.sailfishos.org/mer-core/mce/blob/master/inifiles/buttonbacklight.ini both in fresh images, yet I have to manually invoke "echo 1 > /sys/class/leds/button-backlight/brightness" after boots to enable backlight on physical keys (back/recents)14:58
deathmistoutput of "mcetool" https://pastebin.com/raw/5kLuEg90 "Button backlight" is reported as disabled14:59
deathmistI've also enabled ButtonBacklight in /usr/share/csd/settings.d/hw-settings.ini of course https://git.io/Jedml15:02
spiiroindeathmist: have to go now, but I'll check what you wrote later on ...15:04
deathmistalright :)15:04
vknechthow could I "emulate" on property:init.svc.surfaceflinger=running from an rc file, so as to start hwcomposer service only after minisf is running ?15:04
deathmistvknecht: I'd guess something like "setprop init.svc.surfaceflinger running" under an "on boot" section in some init.rc file15:06
deathmistoh after, ehm I'll try to look into it xD15:07
deathmistwonder if you can setprop something from a "service" definition in an android init rc file, because you could just add it under that setprop under minisf service in /usr/libexec/droid-hybris/system/etc/init/servicemanager.rc somehow15:15
deathmists/under that setprop//15:18
* vknecht tries a naive "on boot" "sleep 5" "start vendor.hwcomposer-2-115:33
vknechtbingo :-)15:34
vknechtallows lang selection screen, but reboots after sfos logo screen and some delay15:36
vknechtguess have to add some explicit onrestart wrt. minisf, or something15:37
vknechthttps://framapic.org/wUMyoCO4hV9Q/hEKVIssXjYWZ.png15:57
deathmistnice ^^16:03
deathmistmal: I assume I can disable building on the 3.2.0 repo somehow so it doesn't start building stuff always for every single version I have added on testing? https://build.sailfishos.org/project/show/nemo:testing:hw:oneplus:cheeseburger16:45
maldeathmist: https://build.merproject.org/project/show/nemo:testing:hw:fairphone:fp2-sibon check that for example17:10
maldeathmist: the repositories subpage has toggle for each target17:11
maldeathmist: the build flag part in there17:11
deathmistah very nice, got it :D17:13
deathmistayyy OTA using sfos-upgrade went perfectly, now on 3.2.1 from 3.2.0 :)18:04
malit seemed like a simple update18:09
deathmistyeah I read about it, mostly bug fixing but that's welcome too especially if they're annoying ones like notif/ticker bar breaking when trying to uninstall apps etc18:10
spiiroindeathmist: have you added button backlight to hw settings? i.e. you should have somewhere in /usr/share/csd/settings.d/*.ini -> [features] ButtonBacklight=118:22
deathmistyep, I linked it before18:22
spiiroinoh, mm, yes ;-)18:23
spiirointhat should enable csd test, does it do something sane?18:23
spiiroin.. pastebin links do not seem to work. server outage?18:24
deathmistspiiroin: damn seems like it, here's fresh mcetool output from 3.2.1 where behavior is still identical https://dpaste.org/Jd1h/raw18:28
maldeathmist: what problem are you trying to fix18:29
deathmistmal: backlight for physical buttons not working without echo 1 to sysfs manually http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2019-12-20.log.html#t2019-12-20T14:58:0318:30
malhmm18:30
maldeathmist: can you give a link to your repo18:30
spiiroindeathmist: have you tried that csd test? it should bypass all the lipstick related things18:31
deathmistdroid-config here, others under same "organization" https://github.com/sailfishos-oneplus5/droid-config-cheeseburger18:31
deathmistI've never ran a csd test before, how would I do that?18:31
spiiroindeathmist: settings -> about product -> tap on build number 5 times18:32
maldeathmist: I always check the hardware csd tests before a new release18:33
spiiroindeathmist: buteo mtp needs to have those device nodes in place (end point config = writing to control ep). that symlink just makes mtp device node mounting part of local-fs target18:38
spiiroinat least earlier one needed to add some functionfs patches to kernel. afaik configfs is just another way to take functionfs features in use18:39
spiiroinbut mal / sledges might actually know more about how those kernel / configfs setup things go18:40
deathmistspiiroin: I meant that MTP works perfectly fine, that units just seemingly fails because I don't have functionfs stuff configured, but instead use configfs for it https://github.com/sailfishos-oneplus5/droid-config-cheeseburger/blob/master/sparse/etc/usb-moded/10-setup-configfs.ini18:41
deathmisteither way csd test for button backlight passes, it flashes18:41
maldeathmist: strange18:41
spiiroindeathmist: you have added also the android home/menu/back keys to hwconfig? they should show up in keys csd test18:46
spiiroin... do you get key events from them? with evdev_trace i.e. do they act as keys or just and aread of touchscreen?18:46
masya_deathmist I'm using this kernel repo https://github.com/LineageOS/android_kernel_xiaomi_sdm66018:47
T42<elros34> masya: there is no 16.0 branch in this kernel18:49
deathmistspiiroin: probably not, they do not show up in key tests, only vol +/-. I never bothered to dig deeper as the back and recents (I remapped recents to back too in synaptics driver xD) and home key all functioned out of the box, here's evdev_trace tho https://dpaste.org/CCf318:49
deathmisthere's how I did the remap on kernel https://git.io/JedZ8 very ugly yes I know, but it works exactly how I want it to work ^^18:52
spiiroindeathmist: tail end of /usr/share/lipstick-jolla-home-qt5/compositor.qml -> you need to have Key_HomePage in hw settings for lipstick to handle those android keys19:08
spiiroin"ssu-sysinfo --has-hw-key=Key_HomePage && echo YES || echo NO" -> hw settings ok when you get YES from that19:09
spiiroin[Keys] Keys=0x01000072, 0x01000070, 0x010000dc, 0x01000090, 0x01000061 -> would be vol keys + menu/home/back19:10
piggzspiiroin: oh neat, thats something i can do on mido too then19:21
piggzspiiroin: oh, thats awesome, why did i not know that was possible19:27
deathmistspiiroin: thank you! that made it work as intended :D  no need for this stupid garbo https://git.io/JedZN then that I've been doing for a very loooooong time19:33
deathmistit also behaved in a weird way where the LEDs started blinking occasionally on suspend19:35

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