| Mister_Magister | fixed led (just needed path) | 00:00 |
|---|---|---|
| Mister_Magister | vendor.dataqti is bootlooping, i wonder if i need it | 00:01 |
| mal | is mobile data working? | 00:03 |
| Mister_Magister | yeah | 00:03 |
| Mister_Magister | got 40Mb/s on 5G | 00:03 |
| Mister_Magister | ehh i probably do need it | 00:04 |
| Mister_Magister | aaand no suspend | 00:04 |
| Mister_Magister | there doesn't seem to be autosuspend at all | 00:05 |
| mal | do you have then autosleep kernel option set? | 00:05 |
| Mister_Magister | no | 00:06 |
| Mister_Magister | by the looks of it | 00:06 |
| Mister_Magister | ah it's autosleep yeah no it's not enabled | 00:07 |
| mal | https://github.com/mlehtima/android_kernel_fairphone_qcm6490/blob/hybris-23.2/arch/arm64/configs/vendor/fp5-qgki_defconfig#L1036 | 00:07 |
| Mister_Magister | ye ye i know i know | 00:07 |
| Mister_Magister | it's not my first device i had to enable it on :) | 00:07 |
| Mister_Magister | i lost count but it's probably nearing 20th device | 00:08 |
| mal | I think android doesn't use autosleep anymore | 00:08 |
| Mister_Magister | brother it doesn't use autosuspend probably since like 8 years ago | 00:08 |
| Mister_Magister | when i mentioned autosuspend to android dev they were like "what?" | 00:09 |
| T42 | <the_hiktor> mal , what did i miss ?🙃 https://hastebin.com/share/edufuzonot.bash | 00:13 |
| Mister_Magister | i had same issue and gave up on building locally instantly xd | 00:13 |
| T42 | <the_hiktor> what would be the difference if i used a server regardless of building speed | 00:20 |
| T42 | <the_hiktor> and other cool shit | 00:20 |
| mal | @the_hiktor too new droid-config submodule | 00:21 |
| T42 | <the_hiktor> mal, so.... what could be done here ? | 00:22 |
| Mister_Magister | go back couple commits | 00:23 |
| mal | go to hybris/droid-configs/droid-configs-device and run "git reset --hard c67fe5b47b81714c1338c39d5d2547f528933b15" then back to $ANDROID_ROOT and run build_packages.sh -c | 00:23 |
| Mister_Magister | mal: the phone, despite having 120Hz screen, runs in 60Hz :( fps display says 60. ofc not debugging it now just saying | 00:25 |
| T42 | <the_hiktor> mal, dude https://hastebin.com/share/jixebahuhe.less | 00:33 |
| T42 | <the_hiktor> wrong commit ig | 00:34 |
| mal | different error | 00:39 |
| mal | add lines 14-17 and maybe also 22-24 to your droid-config spec https://github.com/mlehtima/droid-config-fp5/blob/master/rpm/droid-config-fp5.spec#L14 | 00:40 |
| mal | then again build_packages.sh -c | 00:43 |
| T42 | <the_hiktor> 😐 https://hastebin.com/share/kurogacowa.yaml | 00:51 |
| mal | sb2 -t $VENDOR-$DEVICE-aarch64 -R zypper in droid-local-repo/$DEVICE/droid-config-surya-1*.rpm -ofono-configs-binder | 00:54 |
| Mister_Magister | mal: do you remember the config to tell jolla camera i got two back cameras or at least label them? i lost hat somehow | 00:54 |
| mal | Mister_Magister: what did I say earlier :) | 00:55 |
| Mister_Magister | fp5 :) | 00:55 |
| mal | https://github.com/mlehtima/droid-config-fp5/blob/master/sparse/etc/dconf/db/vendor.d/jolla-camera-hw.txt | 00:55 |
| T42 | <the_hiktor> No update candidate for 'droid-config-surya-1-202604110047.aarch64'. The highest available version is already installed | 00:56 |
| mal | ok, so the error is something else then | 00:57 |
| mal | sb2 -t $VENDOR-$DEVICE-aarch64 -R zypper in droid-local-repo/$DEVICE/droid-config-surya-sailfish-1*.rpm -ofono-configs-binder | 00:59 |
| T42 | <the_hiktor> yup that was the one :D | 01:02 |
| Mister_Magister | mal: where the hell did you get ofono-binder-plugin-ext-qti from | 01:19 |
| Mister_Magister | ayy vibra working | 01:21 |
| Mister_Magister | Okay i think that's bulk of the fixes | 01:28 |
| Mister_Magister | oh you're building it | 01:31 |
| Mister_Magister | oh wait it's not the jolla's | 01:31 |
| Mister_Magister | you're using ubports one on fp5 | 01:31 |
| Mister_Magister | carry on | 01:31 |
| Mister_Magister | mal: turns out neither stock camera nor advanced camera sees second back camera o_O but video recording works | 02:15 |
| Mister_Magister | volte registered instantly after adding ext-qti :) | 02:17 |
| Mister_Magister | okay so what's left not working is: wide angle camera, mic in calls, charging indicator, sleep, fingerprint | 02:23 |
| Mister_Magister | if i'm not mistaken that's literally it | 02:23 |
| Mister_Magister | maybe nfc but idc, same as fingerprint i'm not doing in-screen fp | 02:23 |
| Mister_Magister | ohhhhhhhhhhh usb networking i forgot | 02:24 |
| Mister_Magister | usb netwroking, charging limit, ui sounds volume | 02:25 |
| Mister_Magister | but like the big features work flawlessly already | 02:25 |
| Mister_Magister | bro in one evening the port is literally 90% done | 02:26 |
| Mister_Magister | there's only one service bootlooping and it's vendor.dataqti | 02:28 |
| Mister_Magister | wait it might not be sleeping because… because it thinks it's charging | 02:30 |
| T42 | <the_hiktor> mal, Failed to execute %pack script with /bin/bash | 07:20 |
| T42 | <the_hiktor> wait i forgot this | 07:51 |
| T42 | <the_hiktor> Info[04/11 07:07:02] : Running pack scripts ... | 07:51 |
| T42 | <the_hiktor> /parentroot/mnt/Imp/hadk/SailfishOScommunity-release-5.0.0.62-surya-my1 /parentroot/mnt/Imp/hadk | 07:51 |
| T42 | <the_hiktor> mv: cannot stat 'update-binary': No such file or directory | 07:51 |
| T42 | <the_hiktor> Info[04/11 07:07:02] : Script returned with non zero status, failing. | 07:51 |
| T42 | <elros34> are you sure make hybris-hal doesn't show errors especially related to hybris-boot part? | 09:20 |
| T42 | <elros34> why did you comment out installable_zip? | 09:36 |
| T42 | <the_hiktor> 🤦♂️ | 10:16 |
| T42 | <the_hiktor> Yeah no errors related to hybris boot | 10:16 |
| T42 | <the_hiktor> Lemme try again | 10:17 |
| T42 | <the_hiktor> well that was dumb 🥲 | 10:56 |
| T42 | <the_hiktor> but it finished so well😄 | 10:57 |
| Mister_Magister | mal: are you up for some more debugging? | 12:28 |
| Mister_Magister | Keto: IIRC you're the guy to ask about jolla store access no? | 12:31 |
| Keto | yes | 12:57 |
| Keto | https://github.com/mer-hybris/hadk-faq?tab=readme-ov-file#jolla-store-access | 13:00 |
| Mister_Magister | somehow missed this | 13:07 |
| Mister_Magister | Keto: https://paste.opensuse.org/pastes/5538d828d586 :) | 13:09 |
| Keto | added | 13:12 |
| Mister_Magister | thank you kindliy :) | 13:17 |
| Mister_Magister | mal: i tried building halium thingy but it doesn't seem to compile, maybe it doesn't have a15 compatibility yet | 13:54 |
| Mister_Magister | https://paste.opensuse.org/pastes/11ca98fcf37a | 13:57 |
| mal | ah, I haven't pushed my changes anywhere yet | 13:59 |
| Mister_Magister | and i was reading into the c code | 14:01 |
| Mister_Magister | seems like I don't have to? :P | 14:01 |
| Mister_Magister | oh mal about volte calls, it works but funny issue, I can't hang up! is that somehow normal or it's your first time seeing that? | 14:01 |
| mal | try this https://github.com/mlehtima/android_vendor_halium_hardware/tree/halium-15.0 | 14:02 |
| Mister_Magister | trying | 14:05 |
| Mister_Magister | mal: call mic fixed! but there are two issues remaining: can't hang up, and even if other person hangs up call never ever ends. And proximity sensor seems bugged during call, it keeps turning my screen off even if i press power button, i tried on demand and i thought it fixed it but it didn't | 14:34 |
| mal | hmm, found some odd thing in the volte plugin | 14:40 |
| Mister_Magister | hm? | 14:41 |
| mal | https://gitlab.com/ubports/development/core/hybris-support/ofono-binder-plugin-ext-qti/-/blob/main/src/qti_ims_call.c?ref_type=heads#L332 | 14:41 |
| Mister_Magister | I'm sad to admit that doesn't tell me much | 14:41 |
| Mister_Magister | it completes only if it's complete? | 14:41 |
| mal | the code doesn't use the volte hangup | 14:42 |
| Mister_Magister | huh | 14:43 |
| Mister_Magister | idk what's that | 14:43 |
| Mister_Magister | but like on oneplus 6 it worked fine | 14:43 |
| Mister_Magister | ah | 14:43 |
| Mister_Magister | so we need to implement it <eventually> | 14:43 |
| mal | so now it seems your device needs that | 14:44 |
| Mister_Magister | uh-oh | 14:44 |
| Mister_Magister | well, i have no idea how to go about implementing it | 14:44 |
| mal | most of the code is there, just might have some bug | 14:45 |
| Mister_Magister | what are we doing then chief? | 14:45 |
| mal | maybe try removing that return 0 and see what happens | 14:46 |
| Mister_Magister | oh the dcd already provides ondemand proximity sensor config | 14:47 |
| Mister_Magister | i shall do that then | 14:47 |
| Mister_Magister | but do you have idea as to why it blanks the screen? | 14:47 |
| Mister_Magister | would be easier to try to hang up if i can press hang up | 14:47 |
| mal | does csd show proximity sensor as working? | 14:48 |
| Mister_Magister | yes | 14:48 |
| mal | maybe check journal during a call and see if you see anything there | 14:50 |
| Mister_Magister | will do | 14:51 |
| Mister_Magister | ext-qti is building | 14:51 |
| Mister_Magister | https://github.com/VerdandiTeam/ofono-binder-plugin-ext-qti/commit/20d36eb6f745b1ba2e1414a863356e3fbd96516a | 14:51 |
| Mister_Magister | nope, didn't fix it | 14:53 |
| Mister_Magister | https://paste.opensuse.org/pastes/91b75c9af3c5 | 14:54 |
| mal | check logcat for binder errors | 14:54 |
| Mister_Magister | here's journal, with the proximity stuff and hanging up | 14:54 |
| mal | I wonder that is happening, you see that ims:imsradio0: failed to parse incoming SMS data | 14:54 |
| Mister_Magister | also the vendor.dataqti seemingly wants /dev/rmnet which it doesn't find and then exits but that's beside the issue | 14:55 |
| Mister_Magister | https://paste.opensuse.org/pastes/0c0700830a6d logcat | 14:57 |
| Mister_Magister | it has some "undelivered transaction 47841, process died" but idk if that counts as "binder errors" | 15:00 |
| Mister_Magister | it could be the vendor.dataqti | 15:01 |
| Mister_Magister | the vendor.dataqti is doing this stuff as I mentioned https://paste.opensuse.org/pastes/e0344184e21e | 15:02 |
| Mister_Magister | it really wants /dev/rmnet_ctrl | 15:02 |
| mal | and there is no such device? | 15:03 |
| Mister_Magister | nope | 15:03 |
| Mister_Magister | but there is on android | 15:03 |
| mal | some module not loaded? | 15:04 |
| mal | or some init not done? | 15:04 |
| Mister_Magister | i thouhgt we loaded all of them hold on i'll verify agianst android | 15:04 |
| mal | any systemd services failing? did the libhybris fix the getprop/setprop things? | 15:04 |
| Mister_Magister | no services failing, yes it did i think | 15:05 |
| Mister_Magister | yeah rmnet modules are clearly missing | 15:05 |
| mal | it could cause all kinds of issues | 15:05 |
| mal | check all other modules also | 15:05 |
| Mister_Magister | i shall | 15:06 |
| Mister_Magister | i'll grep for the rmnet module and maybe i'll find other modules.list or whatever it was called | 15:06 |
| mal | modules.load I think | 15:07 |
| Mister_Magister | out/target/product/miami/vendor/lib/modules/modules.load has the rmnet stuff | 15:07 |
| Mister_Magister | but my modules-load already has the rmnet modules | 15:08 |
| Mister_Magister | on the list | 15:08 |
| mal | but don't get loaded? | 15:08 |
| Mister_Magister | i think so yes | 15:08 |
| mal | but module loading system service succeeds? | 15:09 |
| mal | *systemd service | 15:09 |
| Mister_Magister | rmnet_core and rmnet_ctl loaded | 15:09 |
| Mister_Magister | but rmnet_offload did not | 15:09 |
| Mister_Magister | but i can load them manulally | 15:09 |
| Mister_Magister | but i can load them manually | 15:09 |
| mal | but still no device node? | 15:09 |
| Mister_Magister | nope | 15:10 |
| mal | anything in dmesg? | 15:10 |
| Mister_Magister | it's hard to tell which ones are msising | 15:10 |
| Mister_Magister | the modules i mean | 15:10 |
| mal | about symbols or modules | 15:10 |
| Mister_Magister | https://paste.opensuse.org/pastes/f3a85c10f894 | 15:10 |
| mal | maybe grep kernel sources for rmnet_ctrl | 15:11 |
| Mister_Magister | i'll ask guy with same phone on android about dmesg and maybe i'll see something | 15:11 |
| mal | where is the kernel source on github? | 15:11 |
| Mister_Magister | okay i compared the lsmod and now only lzo_compress and lzo_decompress are missing | 15:13 |
| Mister_Magister | so i think we are good in term of modules | 15:13 |
| Mister_Magister | https://github.com/VerdandiTeam/android_kernel_motorola_sm6375/tree/lineage-22.2 | 15:14 |
| mal | looking at the code it's usb f_gsi.c which should be creating the missing device node | 15:16 |
| mal | https://github.com/LineageOS/android_kernel_motorola_sm6375/blob/lineage-22.2/drivers/usb/gadget/function/f_gsi.c#L1793 | 15:17 |
| mal | maybe gsi function needs to be loaded in configfs | 15:17 |
| Mister_Magister | # CONFIG_USB_CONFIGFS_F_GSI is not set | 15:18 |
| Mister_Magister | which would be funny as it wouldn't be on android either | 15:19 |
| mal | hmm | 15:19 |
| mal | ok | 15:19 |
| Mister_Magister | but i can just =y it | 15:19 |
| mal | maybe not if android doesn't have it | 15:19 |
| mal | then it's something else | 15:19 |
| Mister_Magister | i'll verify still | 15:19 |
| Mister_Magister | oh | 15:20 |
| Mister_Magister | android HAS it enabled | 15:20 |
| mal | how did it get disabled? | 15:20 |
| mal | you disabled it | 15:21 |
| Mister_Magister | i… i did? | 15:21 |
| Mister_Magister | I did | 15:21 |
| Mister_Magister | i copied usb stuff from op6 without looking | 15:21 |
| mal | https://github.com/VerdandiTeam/android_kernel_motorola_sm6375/blob/lineage-22.2/arch/arm64/configs/vendor/ext_config/moto-holi-miami.config#L161 | 15:21 |
| Mister_Magister | yeap | 15:21 |
| mal | not sure about the other changes also | 15:21 |
| Mister_Magister | I left only the CONFIG_USB_F_RNDIS=y CONFIG_USB_CONFIGFS_RNDIS=y | 15:21 |
| Mister_Magister | yeeted the rest | 15:22 |
| Mister_Magister | in that code block | 15:22 |
| Mister_Magister | okay next on the list of annoying stuff will be, charging indicator is broken | 15:23 |
| Mister_Magister | it always thinks it's charging | 15:23 |
| mal | any of the power_supply nodes showing the correct state? | 15:23 |
| mal | in sysfs | 15:23 |
| mal | mce has support for blacklisting broken ones | 15:24 |
| Mister_Magister | what do you mean by state? which file is that | 15:24 |
| mal | status maybe | 15:24 |
| mal | something that says Charging or something | 15:24 |
| Mister_Magister | oh wait i cat'd all the files and see two discharging and one charging | 15:25 |
| Mister_Magister | let me see which ones are those | 15:25 |
| mal | just fyi the blacklisting is done with [BatteryUDevDeviceBlacklist] and then next line is name like this based on the last part of power_supply path "something = true" | 15:26 |
| mal | https://github.com/mer-hybris/s19mps-droid-configs/blob/master/sparse/etc/mce/70-battery-s19mps.ini | 15:27 |
| Mister_Magister | battery: discharging, bms charging, charger discharging, mmi_battery discharging, | 15:27 |
| Mister_Magister | so we blacklist bms | 15:27 |
| mal | btw, maybe check for the charging control if you have something like in that | 15:28 |
| Mister_Magister | we were already checking for it yesterday no? | 15:28 |
| Mister_Magister | and we didn't find anything | 15:28 |
| mal | but look at the path in that example | 15:28 |
| mal | it's probably somewhere but it's just a bit hidden | 15:29 |
| Mister_Magister | i don't have stop_charge or anything like that | 15:29 |
| Mister_Magister | but first blacklisting | 15:29 |
| Mister_Magister | i'm not sure what to write there | 15:30 |
| mal | what is there in charger.0 if you have it | 15:30 |
| Mister_Magister | i don't have it | 15:30 |
| mal | bms = true | 15:30 |
| mal | maybe | 15:30 |
| mal | check the uevent file in bms | 15:30 |
| mal | or what was it | 15:30 |
| Mister_Magister | https://paste.opensuse.org/pastes/112dad4b45a7 | 15:31 |
| Mister_Magister | i added bms = true and restarted mce and it's still charging | 15:31 |
| mal | show the whole config file | 15:32 |
| mal | also is usb connection detection working correctly? | 15:32 |
| Mister_Magister | https://paste.opensuse.org/pastes/02841660af7b | 15:32 |
| mal | does it use extcon or android_usb thing | 15:32 |
| Mister_Magister | usb probably doesn't work at all as i masked usb-moded | 15:33 |
| Mister_Magister | i didn't yet get to usb-moded | 15:33 |
| Mister_Magister | i think that should be next step then | 15:33 |
| Mister_Magister | i think elros was mentioning some different solution to networkign than rndisk last time i mentioned it | 15:33 |
| Mister_Magister | i need to dig that up | 15:33 |
| Mister_Magister | ah it was adam | 15:34 |
| Mister_Magister | NCM is the thing we want | 15:34 |
| Mister_Magister | let me try | 15:34 |
| Mister_Magister | kernel built | 15:38 |
| Mister_Magister | hmm i don't have /sys/kernel/config/usb_gadget/g1/configs/b.1 only /sys/kernel/config/usb_gadget/g1/configs/c.1 | 15:39 |
| Mister_Magister | and the usb-moded config wants b.1 | 15:39 |
| mal | so you change it | 15:39 |
| Mister_Magister | okay | 15:39 |
| Mister_Magister | but c.1 has rndis.usb | 15:39 |
| mal | https://github.com/mlehtima/droid-config-fp5/blob/master/sparse/etc/usb-moded/usb-moded-fp5.ini#L3 | 15:40 |
| mal | like that but with c.1 | 15:40 |
| mal | b.1 is used on lvm based builds, c.1 in community style builds | 15:40 |
| Mister_Magister | /sys/kernel/config/usb_gadget/g1/UDC: write failure: No such device | 15:41 |
| Mister_Magister | for reference i literally copy pasted this https://github.com/HelloVolla/droid-config-halium-mimir/blob/master/sparse/usr/bin/droid/setup-configfs.sh https://github.com/HelloVolla/droid-config-halium-mimir/blob/master/sparse/etc/usb-moded/99-usb-moded-config-mtk.ini | 15:41 |
| mal | do you have anything under /sys/class/udc/ | 15:42 |
| Mister_Magister | i will tell you in 20 seconds once it reboots | 15:43 |
| Mister_Magister | i saw setup-configfs.sh also has b.1 | 15:43 |
| Mister_Magister | so i changed it and rebooted | 15:43 |
| Mister_Magister | yes it does have /sys/class/udc/ and it's non-empty | 15:44 |
| mal | check the usc things in that script | 15:45 |
| mal | and see if the paths exist | 15:45 |
| Mister_Magister | will do | 15:45 |
| Mister_Magister | the /sys/kernel/config/usb_gadget/g1/UDC is empty file and i suspect it's not supposed to be | 15:47 |
| mal | the script or usb-moded is supposed to write there | 15:48 |
| Mister_Magister | so "ls /sys/class/udc | grep -v dummy | head -n 1" returns 4e00000.dwc3, and writing that to /sys/kernel/config/usb_gadget/g1/UDC returns bash: write error: No such device | 15:49 |
| Mister_Magister | so script does it just fails i think | 15:49 |
| mal | are there others than 4e00000.dwc3 in the folder? | 15:49 |
| Mister_Magister | yes | 15:49 |
| Mister_Magister | there's dummy_udc.0 | 15:49 |
| mal | does getprop androidboot.usbcontroller return anything? | 15:50 |
| Mister_Magister | no | 15:50 |
| mal | anything in dmesg when you do that echo? | 15:50 |
| Mister_Magister | udc 4e00000.dwc3: failed to start g1: -19 | 15:51 |
| mal | check getprop for anything else related to usb, and kernel cmdline also | 15:51 |
| Mister_Magister | androidboot.usbcontroller=4e00000.dwc3 | 15:51 |
| mal | maybe the usb kernel config changes broke it? | 15:51 |
| Mister_Magister | i mean not sure it was ever working xd it's first time im trying to do udc not rndis | 15:51 |
| Mister_Magister | or i mean | 15:51 |
| Mister_Magister | NCM | 15:51 |
| mal | udc is a different thing | 15:52 |
| Mister_Magister | getprop: https://paste.opensuse.org/pastes/6d6c215c4de2 | 15:52 |
| Mister_Magister | yeah sorry | 15:52 |
| mal | but did you revert the kernel config changes and booted that already? | 15:52 |
| mal | related to usb | 15:52 |
| Mister_Magister | no not yet | 15:53 |
| Mister_Magister | it's building on obs | 15:53 |
| mal | continue debugging after you have done that | 15:53 |
| Mister_Magister | tho i don't have the scripts for flashing kernel | 15:53 |
| mal | I'll be away for an hour or more | 15:53 |
| Mister_Magister | oki | 15:53 |
| Mister_Magister | ill fix the OTA | 15:54 |
| Mister_Magister | do you have any tip to leave before you leave about the ui sounds? | 15:55 |
| mal | not at the moment | 15:55 |
| Mister_Magister | oki odki | 15:56 |
| mal | maybe check logs for ngf related things | 15:56 |
| mal | and pulseaudio | 15:56 |
| Mister_Magister | shall do | 15:56 |
| Mister_Magister | so i'll fix ota, and debug usb networking/charging | 15:56 |
| Mister_Magister | and the vendor.dataqti | 15:56 |
| Mister_Magister | after that we'll see if suspend works | 15:56 |
| Mister_Magister | i'm not fixing fingerprint cause that's in-screen | 15:56 |
| Mister_Magister | and beside that the only thing left will be wide angle camera not showing up but i want camera2 api anyway so maybe that'll fix it | 15:57 |
| Mister_Magister | and ye ui sounds | 15:57 |
| Mister_Magister | that's the plan | 15:57 |
| Mister_Magister | uh-oh /proc/cpuinfo doesn't have Hardware line | 16:01 |
| Mister_Magister | ahh it's also using /sys/firmware/devicetree/base/model which returns miami | 16:04 |
| Mister_Magister | I shall use that | 16:04 |
| Mister_Magister | so gsi is =y now but still no rmnet | 16:18 |
| Mister_Magister | https://paste.opensuse.org/pastes/a57796d1330b Hmm | 16:21 |
| Mister_Magister | vendor does stuff like /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_ctl but that doesn't work | 16:32 |
| Mister_Magister | okay so the "disagrees about version of symbol module_layout" is due to loading of the vendor module which doesn't want to load | 16:35 |
| Mister_Magister | so i think it can be ignored | 16:35 |
| Mister_Magister | idk man | 16:45 |
| Mister_Magister | apparently in other devices that service is just disabled, since mobile data works fine without it i also think we can disable it https://gitlab.com/ubports/porting/community-ports/android10/xiaomi-poco-x3/xiaomi-surya/-/merge_requests/21 | 16:51 |
| Mister_Magister | finally silence in logs | 16:55 |
| Mister_Magister | now, suspend doesn't work, it doesn't have single wakelock and all I can see is this https://paste.opensuse.org/pastes/279c67094b32 (i've fixed charging indicator) | 17:24 |
| mal | how did you fix charging indicator? | 17:31 |
| Mister_Magister | blacklisted 2 more devices :) | 17:33 |
| Mister_Magister | welcome back | 17:33 |
| Mister_Magister | i've blacklisted bq25960-slave and bq25960-master | 17:33 |
| Mister_Magister | and it works now | 17:34 |
| T42 | <Mister_Magister> @b100dian yooooo do you have a second to talk about out lord and saviour in-screen fp? | 17:34 |
| Mister_Magister | mal: if you're back i got couple burning questions :D | 17:34 |
| mal | how about you just ask | 17:35 |
| Mister_Magister | i just dont' know if you're back yet or just popped in | 17:35 |
| Mister_Magister | i'll just assume you're back then | 17:35 |
| Mister_Magister | so i disabled vendor.dataqti service as seemingly other ports done the same so we do not worry about that anyomre, fixed charging indicator by blacklisting those 2 devices, no clue why suspend doesn't wor, nothing seems to be blocking it, ncm still doesn't work oh and we got double tap to wake which makes /sys/class/touchscreen/primary/double_tap_pressed go from 0 to 1 when you double tap and then resets to 0 once screen | 17:37 |
| Mister_Magister | turns on, could we handle that in mce? | 17:37 |
| Mister_Magister | also you didn't push the patches for the suspend service, tho i'm not sure that will fix suspend despite the name? also turning wifi off doesn't help either so it's not wifi | 17:38 |
| mal | se | 17:39 |
| mal | oops | 17:39 |
| mal | check wakeup_sources | 17:39 |
| mal | and journal for suspend or wakeup related messages | 17:39 |
| Mister_Magister | no such file in sysfs | 17:40 |
| mal | should be/sys/kernel/debug/wakeup_sources | 17:40 |
| Mister_Magister | in journal, beside the dmesg messages i mentioned already, nothing else | 17:40 |
| Mister_Magister | https://paste.opensuse.org/pastes/b197451eed0b it just does this | 17:40 |
| Mister_Magister | /sys/kernel/debug/wakeup_sources does not exist, /sys/kernel/debug doesn't exist even | 17:41 |
| Mister_Magister | there's /sys/kernel/wakeup_reasons/last_resume_reason but that's empty | 17:42 |
| Mister_Magister | i don't think it even attempts suspend which's worse | 17:42 |
| mal | suspend service patch pushed | 17:43 |
| Mister_Magister | thanks | 17:43 |
| Mister_Magister | wait where was the path for count of failed suspends? | 17:43 |
| mal | I wonder why wakeup_sources is not there, maybe some kernel option | 17:43 |
| mal | grep kernel sources | 17:43 |
| Mister_Magister | like system monitor doesn't even count failed ones so i don't think it attempts suspend | 17:43 |
| Mister_Magister | i'll apply just that one patch | 17:44 |
| Mister_Magister | patched | 17:45 |
| Mister_Magister | mal: is handling of the dt2w possible in mce? | 17:46 |
| mal | yes | 17:46 |
| mal | probably | 17:46 |
| Mister_Magister | xd | 17:46 |
| Mister_Magister | i mean SHOULD be possible but can it be done currently or does it require changes in mce? | 17:46 |
| Mister_Magister | like some magical config | 17:46 |
| mal | well what kind of event does it send | 17:47 |
| mal | does it show in evdev_trace -t | 17:47 |
| Mister_Magister | it doesn't send evdev events | 17:47 |
| Mister_Magister | it only sets that sysfs file to 1 | 17:47 |
| Mister_Magister | that's all it does | 17:47 |
| mal | maybe look at kernel driver | 17:48 |
| Mister_Magister | i think CONFIG_PM_DEBUG is the one we want | 17:49 |
| mal | just wondering if we need to modify it or if there is some configuration | 17:49 |
| Mister_Magister | i think we need to modify it | 17:50 |
| Mister_Magister | Install: out/target/product/miami/system/bin/hw/android.system.suspend-service :) | 17:50 |
| Mister_Magister | let me rebuild kernel with CONFIG_PM_DEBUG and install both | 17:51 |
| Mister_Magister | will dhd pick the suspend service? | 17:51 |
| mal | afaik it should pick it https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L719 | 17:53 |
| Mister_Magister | meanwhile mal any ideas about NCM? | 18:00 |
| Mister_Magister | or if you're up to me, could you guide me through camera2 api | 18:00 |
| mal | is the udc still a problem? | 18:06 |
| Mister_Magister | yes | 18:06 |
| mal | even after the reverts | 18:06 |
| Mister_Magister | reverts? | 18:06 |
| mal | the config changes | 18:06 |
| Mister_Magister | yes | 18:06 |
| Mister_Magister | oh wait no it just worked | 18:07 |
| Mister_Magister | hold up | 18:07 |
| Mister_Magister | no i'm not getting anything on the pc | 18:07 |
| mal | but udc seemed ok now? | 18:08 |
| Mister_Magister | yeah now errors out | 18:08 |
| mal | is usb-moded configured correctly for ncm | 18:08 |
| T42 | <adampigg> finally, people onboard with using NCM over rndis | 18:09 |
| Mister_Magister | oh | 18:09 |
| Mister_Magister | there's typo in the script | 18:09 |
| Mister_Magister | $USB_DRVER | 18:09 |
| Mister_Magister | @adampigg fix it | 18:09 |
| Mister_Magister | and since you're to blame for this mess, help me fix the ncm | 18:09 |
| T42 | <adampigg> is that in my configfs scipt? | 18:09 |
| Mister_Magister | yes | 18:10 |
| Mister_Magister | writing to UDC says sh: write error: No such device | 18:10 |
| T42 | <adampigg> its correct here https://github.com/HelloVolla/droid-config-halium-mimir/blob/master/sparse/usr/bin/droid/setup-configfs.sh | 18:10 |
| Mister_Magister | no it's not | 18:10 |
| mal | https://github.com/HelloVolla/droid-config-halium-mimir/blob/master/sparse/usr/bin/droid/setup-configfs.sh#L29 | 18:10 |
| T42 | <adampigg> oh, i see it | 18:11 |
| Mister_Magister | https://github.com/HelloVolla/droid-config-halium-mimir/blob/master/sparse/usr/bin/droid/setup-configfs.sh#L29 DRVER | 18:11 |
| Mister_Magister | and the 33 and 34 are failing | 18:11 |
| mal | but you just said a moment ago that udc worked? | 18:12 |
| Mister_Magister | mal: yes usb-moded has the configuration files | 18:12 |
| Mister_Magister | mal: yeah it's weird | 18:12 |
| Mister_Magister | this is what usb-moded says when i plug the phone in https://paste.opensuse.org/pastes/15549b877723 | 18:12 |
| mal | what does it try to write there? do you udc configured in usb moded config? | 18:13 |
| mal | the dummy one could be messing up things if you don't tell it what to use | 18:13 |
| mal | check fp5 how to do it | 18:14 |
| Mister_Magister | i don't know what does it try to write, i'm using adam's config files https://github.com/HelloVolla/droid-config-halium-mimir/tree/master/sparse/etc/usb-moded | 18:14 |
| mal | look at the udc in that | 18:14 |
| mal | it's not even close to what you should have | 18:15 |
| Mister_Magister | you mean the gadget_udc_device? | 18:15 |
| mal | yes | 18:15 |
| mal | I asked about it earlier today | 18:15 |
| mal | and you told what you should have | 18:16 |
| Mister_Magister | well to be honest i have no idea what i'm doing | 18:17 |
| Mister_Magister | sorry | 18:17 |
| Mister_Magister | okay now when i connect usb it stars charging and usb-moded doesn't say anything | 18:18 |
| Mister_Magister | nothing in host dmesg | 18:18 |
| Mister_Magister | and when I disconnect the usb it fails to stop charging | 18:19 |
| mal | I wonder why you use different gadget_base_directory | 18:19 |
| Mister_Magister | i copied configs from adam thats why | 18:19 |
| mal | I also told you to check if extcon and android_usb report state correctly | 18:20 |
| mal | if one is wrong you need to disable it | 18:20 |
| Mister_Magister | sure but that doesn't tell me anything | 18:20 |
| Mister_Magister | what's extcon | 18:20 |
| mal | come on, obviously /sys/class/extcon | 18:20 |
| Mister_Magister | well it's not obvious to me, seriously | 18:21 |
| Mister_Magister | there's no /sys/class/android_usb/android0/enable but there's /sys/class/android_usb/android0/state | 18:21 |
| mal | I did ask if state is correct or not | 18:21 |
| Mister_Magister | state is correct | 18:21 |
| Mister_Magister | says DISCONNECTED | 18:21 |
| mal | how about extcon | 18:21 |
| Mister_Magister | there's extcons 0 2 4 | 18:21 |
| mal | check all state files there | 18:22 |
| Mister_Magister | https://paste.opensuse.org/pastes/6c327eb833d9 | 18:22 |
| mal | do those change correctly if you plug in usb | 18:22 |
| Mister_Magister | https://github.com/HelloVolla/droid-config-halium-mimir/blob/master/sparse/etc/usb-moded/dyn-modes/99-developer_mode.ini#L12C20-L12C58 is this path correct though? it doesn't exist here | 18:22 |
| mal | I have no idea about the stuff piggz has done | 18:23 |
| Mister_Magister | I've connected usb yet extcons and the /sys/class/android_usb/android0/state are all 0 or disconnected | 18:23 |
| mal | hmm | 18:23 |
| mal | is there only android0? | 18:24 |
| Mister_Magister | yes | 18:24 |
| Mister_Magister | other files in dyn-modes also use the /enable path so ig its correct | 18:25 |
| mal | reboot just in case | 18:25 |
| Mister_Magister | when i rebooted with usb in the /sys/class/android_usb/android0/state is CONFIGURED | 18:27 |
| Mister_Magister | extcons are 0 | 18:28 |
| Mister_Magister | and when i unplugged usb it remains configured | 18:28 |
| mal | ok so usb detection is broken then somehow | 18:29 |
| Mister_Magister | :( | 18:29 |
| mal | fp5 needed kernel patch to make it work | 18:29 |
| Mister_Magister | speaking of, the suspend service and new kernel are ready | 18:30 |
| T42 | <TheVancedGamer> USB was awful on FP5 | 18:30 |
| Mister_Magister | mal: cant' we use the charging indicator as usb plugged in indicator? | 18:30 |
| Mister_Magister | dumb question maybe | 18:30 |
| Mister_Magister | like the /sys/class/power_supply/usb/ | 18:31 |
| mal | it wouldn't be enough to detect which mode is wanted | 18:31 |
| mal | afaik | 18:31 |
| Mister_Magister | ah yes | 18:31 |
| mal | if it's a charger or computer | 18:31 |
| Mister_Magister | gotcha | 18:31 |
| Mister_Magister | I think i'll yeet the NCM changes and try the same configs i used in pipa | 18:32 |
| Mister_Magister | maybe @adampigg chekhov's gunned me | 18:32 |
| mal | this is not related to ncm | 18:32 |
| Mister_Magister | if you say so | 18:33 |
| Mister_Magister | so I added PM_DEBUG but still no /sys/kernel/debug/ :( | 18:33 |
| T42 | <TheVancedGamer> you need CONFIG_DEBUG_FS | 18:33 |
| T42 | <TheVancedGamer> which will probably break a lot of things in GKI kernel | 18:34 |
| Mister_Magister | thanks | 18:34 |
| mal | but it's a problem since we rebuild vendor_boot also | 18:34 |
| Mister_Magister | what do you mean? | 18:34 |
| mal | *not a problem | 18:34 |
| Mister_Magister | ah | 18:35 |
| mal | my multitasking is getting ridiculous, watching a movie, then I have a golf tournament in another display and irc on another | 18:35 |
| T42 | <adampigg> mal: thx, i just improved my configs :) | 18:36 |
| Mister_Magister | ey, i said that typo | 18:36 |
| T42 | <adampigg> that dyn-modes stuff is probably not needed, didnt know about [network] section in main conf | 18:36 |
| T42 | <adampigg> mister-magister: no, other stuff simplified :) | 18:37 |
| T42 | <adampigg> but also thx for typo | 18:37 |
| Mister_Magister | >:( | 18:37 |
| mal | let me check but I think overriding main.conf is not needed in 5.0.0 anymore, at least in newer ones | 18:38 |
| Mister_Magister | mal: what do we do with the suspendservice? | 18:39 |
| mal | 5.0.0.73+ doesn't need main.conf override because it supports main.conf.d | 18:42 |
| Mister_Magister | there's /system/bin/hw/android.system.suspend-service running | 18:42 |
| mal | hmm | 18:42 |
| mal | is something missing, maybe | 18:42 |
| Mister_Magister | what do you mean? | 18:42 |
| Mister_Magister | there's /usr/libexec/droid-hybris/system/bin/hw/android.system.suspend-service | 18:43 |
| Mister_Magister | do we want to start it somehow? | 18:43 |
| Mister_Magister | like the executable is there, what next? xd | 18:43 |
| Mister_Magister | ahhh there's .rc that needs to be added | 18:46 |
| Mister_Magister | should've said so | 18:46 |
| Mister_Magister | hmm, it did not start | 18:48 |
| mal | override it in libexec rc | 18:49 |
| Mister_Magister | i did that | 18:50 |
| Mister_Magister | i added this https://github.com/sailfishos-sony-nagara/droid-config-sony-nagara/blob/main/sparse/usr/libexec/droid-hybris/system/etc/init/android.system.suspend-service.rc | 18:50 |
| Mister_Magister | but it still starts /system one | 18:50 |
| mal | is the service name the same? | 18:51 |
| Mister_Magister | yes | 18:51 |
| mal | what are the permissions of the file? | 18:52 |
| mal | has to be 644 | 18:52 |
| Mister_Magister | it wasn't | 18:53 |
| mal | I think android is strict about that now | 18:53 |
| Mister_Magister | kernel finished rebuilding | 18:53 |
| Mister_Magister | now it worked | 18:54 |
| Mister_Magister | so ig android can now block suspend | 18:54 |
| Mister_Magister | now in /sys/power/wake_lock we have rich-core-dumper all day every day | 18:56 |
| Mister_Magister | maybe that's our little culprit? | 18:56 |
| Mister_Magister | oh its gone | 18:56 |
| Mister_Magister | still no suspend though | 18:57 |
| Mister_Magister | what's interesting it doesn't wake up the display when you connect charger | 18:57 |
| mal | because usb detection is broken | 18:58 |
| Mister_Magister | ahh gotcha | 18:58 |
| mal | maybe | 18:58 |
| Mister_Magister | now droid-hal is rebuilding and give me 15 minutes i have to go to the shop before they close it | 18:58 |
| Mister_Magister | uh-oh mal with the latest kernel device is bootlooping | 19:25 |
| Mister_Magister | so maybe DEBUG_FS wasn't such a good idea | 19:25 |
| mal | you flashed also vendor_boot? | 19:26 |
| T42 | <Mister_Magister> i assume sfos flashed it yes | 19:27 |
| mal | recheck the flash script etc | 19:28 |
| T42 | <TheVancedGamer> mal: FP5 also crashes with debug_fs and all modules packaged, but I never debugged it :P | 19:28 |
| mal | oh | 19:28 |
| Mister_Magister | i just flashed them manually | 19:28 |
| T42 | <TheVancedGamer> it violates some GKI thing apparently | 19:29 |
| Mister_Magister | yeah no it bootloops | 19:30 |
| T42 | <adampigg> heh, i couldnt find my sonos speakers on the lan, realised im still tethering over usb to my phone as i was testing that out | 19:31 |
| T42 | <adampigg> i bet not many ports check that | 19:31 |
| mal | I have debugfs on a16-based device | 19:36 |
| Mister_Magister | idk what to tell you | 19:36 |
| Mister_Magister | looks like i'll have to get REALLY familiar with the kernel :( | 19:54 |
| Mister_Magister | mal: okay so ig currently the biggest issue is lack of suspend, any tips on how to even go about debugging it? | 20:13 |
| Mister_Magister | mal: does jolla's volte plugin support hanging up? can we try that? | 20:18 |
| mal | it does | 20:56 |
| Mister_Magister | can we try that? i forgot the package name | 21:15 |
| Mister_Magister | also i read a bit of kernel code and the double tap DOES have evdev device and it DOES send event before setting sysfs file but for whatever reason nothing is emitted on the event | 21:15 |
| mal | is there some path for controlling the double tap? | 21:21 |
| Mister_Magister | yes but that doesn't enable the evdev | 21:21 |
| Mister_Magister | holdon | 21:21 |
| Mister_Magister | so | 21:22 |
| Mister_Magister | we literally need this https://github.com/VerdandiTeam/android_kernel_motorola_sm6375/blob/lineage-22.2/drivers/input/touchscreen/touchscreen_mmi/touchscreen_mmi_gesture.c#L306 | 21:22 |
| Mister_Magister | it's picture perfect of what we need, the evdev device even exists | 21:22 |
| Mister_Magister | but this is my driver https://github.com/VerdandiTeam/android_kernel_motorola_sm6375/tree/lineage-22.2/drivers/input/touchscreen/goodix_berlin_mmi | 21:22 |
| Mister_Magister | now i gotta figure out the diff | 21:22 |
| Mister_Magister | am i thinking correctly here? | 21:24 |
| Mister_Magister | ye i have INPUT_TOUCHSCREEN_MMI=y too | 21:24 |
| Mister_Magister | but it does'nt seem to send the evdev stuff | 21:24 |
| mal | and evdev_trace -i doesn't show that? | 21:29 |
| Mister_Magister | nope | 21:30 |
| Mister_Magister | not even cat event2 shows anything (event2 being the double-tap) | 21:30 |
| Mister_Magister | i have no idea why at this point | 21:30 |
| Mister_Magister | yeah reading through this there's 0 reason why evdev shouldn't be sent | 21:32 |
| mal | check sysfs input device | 21:32 |
| Mister_Magister | what do you mean? | 21:33 |
| mal | event2 in sysfs | 21:33 |
| mal | what files does it have | 21:33 |
| mal | maybe there is some enable file or something | 21:34 |
| mal | could be input2 or whatever | 21:34 |
| mal | just find the correct one | 21:34 |
| Mister_Magister | https://paste.opensuse.org/pastes/b0f7fc83dded | 21:34 |
| Mister_Magister | event3 is the touchscreen | 21:34 |
| Mister_Magister | all the event directories contain the same files | 21:34 |
| mal | input2? | 21:34 |
| mal | show the evdev_trace -i entry for double tap | 21:35 |
| Mister_Magister | https://paste.opensuse.org/pastes/e6af37e71a06 | 21:35 |
| Mister_Magister | it should send BTN_TRIGGER_HAPPY6 on DT | 21:36 |
| mal | so what does the sysfs for input2 contain? | 21:36 |
| Mister_Magister | https://paste.opensuse.org/pastes/551a71627bc2 | 21:37 |
| Mister_Magister | cat /sys/class/input/input2/dt-gesture/enable is 0 | 21:37 |
| mal | so what happens if you write 1 there? | 21:38 |
| Mister_Magister | https://paste.opensuse.org/pastes/db6f68ed7c5a | 21:38 |
| Mister_Magister | nothing still | 21:38 |
| mal | or enable_wakeup | 21:38 |
| Mister_Magister | enable_waekup says invalid argument | 21:38 |
| mal | is that really correct kernel driver? | 21:39 |
| mal | ah missed the other link | 21:40 |
| mal | did you see anything in dmesg when you wrote to those paths? | 21:41 |
| Mister_Magister | Invalid sensor class enable_wakeup handle | 21:42 |
| mal | that goodix_ts_gesture.c has some enable stuff | 21:42 |
| Mister_Magister | btw the dt-gesture is here https://github.com/VerdandiTeam/android_kernel_motorola_sm6375/blob/lineage-22.2/drivers/input/touchscreen/touchscreen_mmi/touchscreen_mmi_gesture.c#L520 | 21:43 |
| Mister_Magister | and hold up | 21:43 |
| Mister_Magister | https://paste.opensuse.org/pastes/ddfdf1d1e169 | 21:44 |
| mal | hmm | 21:44 |
| Mister_Magister | ye i'm getting taps | 21:44 |
| Mister_Magister | but no double tap messages only single tap | 21:44 |
| Mister_Magister | it should have single tap to wake too | 21:44 |
| mal | there is the mode_type in the driver | 21:45 |
| Mister_Magister | ig i'm seeing this https://github.com/VerdandiTeam/android_kernel_motorola_sm6375/blob/lineage-22.2/drivers/input/touchscreen/touchscreen_mmi/touchscreen_mmi_gesture.c#L257 | 21:46 |
| Mister_Magister | but even that doesn't report anything in evdev, even though it should | 21:46 |
| Mister_Magister | from that pr_info it should report to evdev nothin in between yet it doesnt | 21:47 |
| mal | but if mode_type is not showinf double tap support then it would not reach the other parts | 21:48 |
| mal | the mode_type checks at the beginning of each case | 21:48 |
| Mister_Magister | but if it reached the single tap it ought to report that in evdev no? | 21:49 |
| mal | are you monitoring all input devices in evdev_trace ? | 21:50 |
| Mister_Magister | yeap | 21:50 |
| Mister_Magister | https://github.com/VerdandiTeam/android_kernel_motorola_sm6375/blob/lineage-22.2/drivers/input/touchscreen/touchscreen_mmi/touchscreen_mmi_class.c#L417 | 21:51 |
| Mister_Magister | so if double tap is set to 1 it will enable single tap to wake? | 21:51 |
| mal | where is that double_tap_enabled ? | 21:52 |
| mal | have you found it in sysfs? | 21:52 |
| Mister_Magister | touchscreen/primary/ | 21:52 |
| mal | and what does it contain? | 21:52 |
| Mister_Magister | https://paste.opensuse.org/pastes/df217bdebda1 | 21:52 |
| mal | also in the those double_tap* | 21:53 |
| mal | and maybe gesture | 21:53 |
| Mister_Magister | the enable is 0 unless i write 1, the pressed i described previously, is 0, when you double tap it's set to 1 until you turn the screen on then it resets, and gesture is 07 | 21:54 |
| mal | do you see any of the events if display is on? | 21:54 |
| mal | if you write 1 to enable | 21:55 |
| Mister_Magister | i see the single tap events sent above with display off | 21:55 |
| mal | it's possible that mce in configured correctly and it just ignores the events if it thinks those are unwanted | 21:55 |
| mal | *is not configured correctly | 21:55 |
| Mister_Magister | https://paste.opensuse.org/pastes/4308c2c27edb nothing with display on or off | 21:56 |
| Mister_Magister | but if i tap the screen with it off i see single tap in dmesg i sent above | 21:57 |
| Mister_Magister | and like single tap also should send evdev code | 21:57 |
| mal | I suspect mce is filtering them | 21:57 |
| Mister_Magister | can we stop mce and check? | 21:57 |
| Mister_Magister | https://github.com/sailfishos/mce/blob/91198feec76f1069ed7b38f519e9a0f7852ed358/evdev.inc#L511 that's literally the only mention tho | 21:59 |
| Mister_Magister | >.> | 22:05 |
| mal | have you tried what you see in mce debug log | 22:10 |
| Mister_Magister | mal: doing cat /dev/input/event2 on android also doesn't report anything | 22:10 |
| mal | and the wakeup works in android? | 22:11 |
| Mister_Magister | ye | 22:11 |
| Mister_Magister | android listens to the sysfs file though | 22:11 |
| Mister_Magister | not to evdev | 22:11 |
| mal | maybe mce needs patching then | 22:13 |
| mal | unless you want to to debug why events are not sent | 22:13 |
| Mister_Magister | ideally i'd like not to debug that | 22:15 |
| Mister_Magister | okay i'll leave dt2w for now | 22:19 |
| Mister_Magister | so any way i can try jolla's volte plugin? | 22:19 |
| Mister_Magister | i'll take that as a no then | 22:22 |
| Mister_Magister | ahh it was the fpd jolla's plugin that was available in repos not the volte one | 22:25 |
| Mister_Magister | my mistake | 22:25 |
| Mister_Magister | it gets confusing :P | 22:25 |
| Mister_Magister | oh oh | 22:25 |
| Mister_Magister | mal: the display is 120Hz but in sfos it shows 60FPS so it seemingly runs in 60Hz mode, do you know how can we change that? last time i remember it wasn't straightforward | 22:26 |
| Mister_Magister | my 144Hz device runs at 144Hz no issues | 22:26 |
| mal | does android run with 120? | 22:29 |
| Mister_Magister | i'm gonna disable TOUCHSCREEN_MMI becasue then goodix sends the events on its own instead of through it | 22:29 |
| Mister_Magister | maybe that will fix it | 22:30 |
| Mister_Magister | it's stab in the dark but might just work | 22:30 |
| mal | does android have that mmi? | 22:30 |
| Mister_Magister | yes its from preexisting defconfig | 22:31 |
| Mister_Magister | about android "switches between 60/120 by default, but 48 and 90hz are also available" | 22:31 |
| Mister_Magister | looks like it's dynamic | 22:31 |
| mal | sysfs or via hwc? | 22:31 |
| Mister_Magister | I couldn't tell you, I have no idea | 22:32 |
| Mister_Magister | tho in that sysfs i sent earlier there is refresh_rate | 22:32 |
| Mister_Magister | i tried writing 120 and restarting lipstick and it did nothing | 22:32 |
| Mister_Magister | no there is'nt anything in dmesg when i write to that | 22:36 |
| mal | did you restart hwcomposer? | 22:37 |
| Mister_Magister | oh… no just lipstick | 22:37 |
| mal | btw, do you have correct hwc restart config for mce | 22:39 |
| Mister_Magister | no but the lipstick restarts no issue | 22:39 |
| mal | https://github.com/mlehtima/droid-config-fp5/blob/master/sparse/etc/mce/60-compositor-fp5.ini | 22:39 |
| Mister_Magister | so i didn't think i needd it | 22:39 |
| Mister_Magister | ye but that was needed when lipstick failed to restart | 22:40 |
| Mister_Magister | there's no issue with restarting lipstick | 22:40 |
| Mister_Magister | do i still need it? | 22:40 |
| mal | and boot splash looks ok? | 22:40 |
| Mister_Magister | yes | 22:40 |
| Mister_Magister | i restarted hwc still 60 | 22:41 |
| Mister_Magister | there's CONFIG_DRM_DYNAMIC_REFRESH_RATE but it's not set to y | 22:43 |
| Mister_Magister | there's /sys/firmware/devicetree/base/soc/qcom,mdss_mdp@5e00000/qcom,mdss_dsi_visionox_r66451_fhd_plus_video/qcom,mdss-dsi-min-refresh-rate which returns < (60 in ascii) and max-refresh-rate which returns x (120 in ascii) | 22:51 |
| Mister_Magister | /sys/firmware/devicetree/base/soc/qcom,mdss_mdp@5e00000/qcom,sde-qos-refresh-rates also returns <x | 22:51 |
| Mister_Magister | well i really should sink my teeth into the suspend but idk even where to start | 22:55 |
| Mister_Magister | that or usb which I also have no idea where to even begin | 22:56 |
| T42 | <CRK_11755> Any luck with volte on fairphone 4 on T-Mobile | 23:00 |
| T42 | <CRK_11755> In the USA | 23:00 |
| T42 | <CRK_11755> I tried sfos on my fairphone4 in the US I had no VOLTE on T-Mobile. Has the community port been updated at all | 23:01 |
| Mister_Magister | mal: i switched the if's so that goodix is the one sending events aaaand nada, nothing still :( | 23:43 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!