T42 | <kreatowastaken> droid-hal-init is spitting out a lot of "exited 4 times in 4 minutes" errors | 05:19 |
---|---|---|
T42 | <KernelPanix> This https://github.com/SailfishOS-msmnile/defconfig.git Can use ? | 09:46 |
T42 | <KernelPanix> This https://github.com/SailfishOS-msmnile/defconfig.git Will work ? (edited) | 09:46 |
mal | what do you mean? is that config file from some other device? | 10:51 |
T42 | <11> did you have any problems with not working wifi? (re @SailfishFreenodeIRCBridgeBot: <mal>what do you mea...) | 10:52 |
T42 | <11> [ 2.540236] Register interface [wlan0] MAC: 00:d3:e9 [ 2.540258] CFG80211-INFO2) wl_event_handler : was terminated | 10:56 |
mal | not that I remember | 11:01 |
T42 | <kreatowastaken> mine has working wifi even tho i couldnt even get gui working | 11:06 |
T42 | <elros34> so did you managed to get full journal/dmesg/logcat log? | 11:07 |
T42 | <elros34> not 10s of boot, at least 60s | 11:07 |
T42 | <kreatowastaken> uh i could | 11:08 |
T42 | <kreatowastaken> tho the phone is powered on for like 30 mins so i should reboot it to get logs (re @elros34: so did you managed t...) | 11:08 |
T42 | <kreatowastaken> what do you mean by this (re @elros34: not 10s of boot, at ...) | 11:08 |
T42 | <kreatowastaken> do you mean i should wait 1m before trying to get logs? | 11:09 |
T42 | <elros34> no you should start collecting them as soon as possible and at least 60s (usual boot time) | 11:10 |
T42 | <kreatowastaken> thats what i usually do anyway ok | 11:10 |
T42 | <elros34> if you didn't see lipstick in logs then unlikely | 11:11 |
T42 | <kreatowastaken> `Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.` | 11:13 |
T42 | <kreatowastaken> i literally booted this thing up 5 seconds ago... | 11:13 |
T42 | <kreatowastaken> ok now i do | 11:14 |
T42 | <kreatowastaken> i have to get the logs like | 11:15 |
T42 | <kreatowastaken> in 2s | 11:15 |
T42 | <kreatowastaken> then it gets rotated | 11:15 |
T42 | <kreatowastaken> ` Aug 21 14:14:24 GalaxyS10 lipstick[5500]: couldn't load system EGL wrapper libraries` | 11:15 |
T42 | <kreatowastaken> okay | 11:18 |
T42 | <kreatowastaken> now i did get journalctl output | 11:18 |
T42 | <kreatowastaken> finally | 11:18 |
T42 | <kreatowastaken> https://hastebin.com/rohogudadi | 11:20 |
T42 | <elros34> 5s of journal | 11:35 |
T42 | <kreatowastaken> i did this as soon as possible tho | 11:36 |
T42 | <elros34> you hide your command so I do not know what you really executing | 11:37 |
T42 | <kreatowastaken> oh | 11:37 |
T42 | <kreatowastaken> ok now i see what you mean | 11:37 |
T42 | <kreatowastaken> you mean like this? https://hastebin.com/erayoyapam | 11:41 |
T42 | <elros34> I still do not know how do you generate this log: journalctl --nopage of live log with -f --no-tail, how about you read 'generating logs' section in notes? | 11:43 |
T42 | <kreatowastaken> i did journalctl > file | 11:43 |
T42 | <kreatowastaken> ok | 11:46 |
T42 | <kreatowastaken> 5 secs of logs | 11:46 |
T42 | <kreatowastaken> with journalctl --no-pager --no-tail -f > file | 11:46 |
T42 | <kreatowastaken> 1sec | 11:46 |
T42 | <elros34> did you read instruction? How about reboot then as soon as possible journalctl -f --no-tail, dmseg -w in other window, and /usr/libexec/droid-hybris/system/bin/logcat when droid-hal-init-starts | 11:48 |
T42 | <kreatowastaken> all at the same time | 11:49 |
T42 | <kreatowastaken> hm | 11:49 |
T42 | <kreatowastaken> ok | 11:49 |
T42 | <kreatowastaken> ill try | 11:49 |
T42 | <kreatowastaken> i couldnt do it at the same time | 11:50 |
T42 | <kreatowastaken> i hope thats ok | 11:50 |
T42 | <kreatowastaken> i got 5s of each | 11:50 |
T42 | <elros34> then do not even post it if it's just 5s. what is so hard to keep it running for 1 minute? | 11:51 |
T42 | <kreatowastaken> i thought u wanted it for 5s | 11:51 |
T42 | <kreatowastaken> ok | 11:51 |
T42 | <kreatowastaken> sending them as gists now | 11:56 |
T42 | <kreatowastaken> journalctl https://gist.github.com/kreatoo/f9469de6c8f3eeeca54c0f3fd38410fa | 11:58 |
T42 | <kreatowastaken> dmesg https://gist.github.com/kreatoo/48c5b23b5778b1caff4828ea663fcd81 | 11:58 |
T42 | <kreatowastaken> logcat https://gist.github.com/kreatoo/9cfb6c8c3537574c62a0078a3209500e | 11:58 |
T42 | <elros34> these kind of errors looks strange: dlopen("/libEGL.so") | 12:12 |
T42 | <elros34> this one is probaly important:' servicemanager: Could not self register servicemanager Missing permissions to add IBase' | 12:14 |
T42 | <elros34> you said something about sparse/etc/selinux and symlinks there instead real files? If yes then do it properly and copy files there | 12:16 |
T42 | <kreatowastaken> alright | 12:32 |
T42 | <kreatowastaken> ok | 12:44 |
T42 | <kreatowastaken> doing that made wait_for_keymaster.service work | 12:45 |
T42 | <kreatowastaken> and theres a camera click now (so camera hal now starts) | 12:45 |
T42 | <kreatowastaken> still no lipstick and same output on that though | 12:45 |
T42 | <kreatowastaken> i can do the same 1min journal + dmesg + logcat if u want | 12:45 |
T42 | <elros34> just tell whether *servicemanager starts correctly now | 12:46 |
T42 | <kreatowastaken> it does but it gives this output every 20 secs | 12:47 |
T42 | <kreatowastaken> `Aug 21 15:41:46 GalaxyS10 ServiceManager: Waiting for service 'vold' on '/dev/binder'...` | 12:47 |
T42 | <elros34> I guess it's not critical if there are no other servicemanager errors. What about this strange dlopen error? | 12:48 |
T42 | <kreatowastaken> need to reboot to check that onesec | 12:49 |
T42 | <kreatowastaken> it does | 12:50 |
T42 | <elros34> I see common libandroidicu error too | 12:51 |
T42 | <kreatowastaken> oh yeah i forgot to fix that | 12:51 |
T42 | <elros34> I think you could also get rid of failing adb_root android service | 12:55 |
T42 | <elros34> I guess android.hardware.wifi@1.0-service too | 12:57 |
T42 | <kreatowastaken> wifi does work btw | 12:57 |
T42 | <kreatowastaken> i connected thru connmanctl | 12:57 |
T42 | <kreatowastaken> it does work so idk why that error exists | 12:57 |
T42 | <elros34> wifi is handled in sfos/kernel side | 12:58 |
T42 | <elros34> this is android service | 12:58 |
T42 | <kreatowastaken> i see | 12:58 |
T42 | <kreatowastaken> "then create sparse/odm/lib64/ (or sparse/odm/lib for 32bit minimediaservice) " | 12:59 |
T42 | <kreatowastaken> should i make both? I did a search for the lib and i have both lib and lib64 of it | 12:59 |
T42 | <elros34> try and report, just a symlink to test | 12:59 |
T42 | <kreatowastaken> `08-21 13:10:29.319 5578 5578 F linker : CANNOT LINK EXECUTABLE "/usr/libexec/droid-hybris/system/bin/minimediaservice": library "libicuuc.so" not found: | 13:11 |
T42 | <kreatowastaken> needed by /apex/com.android.art/lib/libandroidicu.so in namespace (default)` | 13:11 |
T42 | <kreatowastaken> getting this on logcat after doing the libandroidicu.so fix | 13:11 |
T42 | <elros34> so what you would do with this kind of error? | 13:15 |
T42 | <kreatowastaken> i tried doing the same thing but for libicuuc.so but it didnt change anything | 13:15 |
T42 | <elros34> so how your /odm looks like now: ls -lR /odm | 13:17 |
T42 | <kreatowastaken> https://hastebin.com/todazohubu.yaml | 13:19 |
T42 | <kreatowastaken> oh wait | 13:20 |
T42 | <kreatowastaken> now i see the issue lol | 13:20 |
T42 | <kreatowastaken> ok that was just me being dumb | 13:22 |
T42 | <kreatowastaken> now it complains bout "libicui18n.so" | 13:22 |
T42 | <kreatowastaken> i guess ill do this until everything is set ig | 13:22 |
T42 | <elros34> mind sharing what was wrong then? | 13:22 |
T42 | <kreatowastaken> the dot (re @elros34: mind sharing what wa...) | 13:22 |
T42 | <kreatowastaken> on ls -lR | 13:22 |
T42 | <kreatowastaken> it should be /apex/ instead of ./apex/ so me being dumb | 13:23 |
T42 | <elros34> ah | 13:23 |
T42 | <kreatowastaken> okay | 13:24 |
T42 | <kreatowastaken> now thats gone | 13:24 |
T42 | <Spidey24Z> Hello | 13:25 |
T42 | <Spidey24Z> https://pastebin.com/frbWYH4v any fix for this error? | 13:26 |
T42 | <kreatowastaken> dlopen still exists though | 13:26 |
T42 | <elros34> @Spidey24Z yeah first entry in hadk-hot | 13:28 |
T42 | <KernelPanix> i want this may work, or not ? (re @SailfishFreenodeIRCBridgeBot: <mal>what do you mea...) | 13:36 |
mal | what? | 13:55 |
mal | you can't just take configs from other devices if that is what you mean | 13:55 |
T42 | <Spidey24Z> hybris 14.1 ? (re @elros34: @Spidey24Z yeah firs...) | 13:57 |
T42 | <elros34> what? I am talking about listAudioSessions error | 13:58 |
T42 | <Spidey24Z> i know but the fix in hadk-hot is revert a commit "https://github.com/LineageOS/android_frameworks_av/commit/14259c0d9a8b829f2217c9297cd8070f8b85c3fc" this commit not in cm-14.1 | 14:01 |
T42 | <Spidey24Z> i know but the fix in hadk-hot is revert a commit "https://github.com/LineageOS/android_frameworks_av/commit/14259c0d9a8b829f2217c9297cd8070f8b85c3fc" this commit not in cm-14.1 branch (edited) | 14:02 |
T42 | <elros34> it is: https://github.com/LineageOS/android_frameworks_av/commit/663e17f360bf80abf8302485cec074dc9dddea2c | 14:03 |
T42 | <Spidey24Z> thanks bro | 14:06 |
T42 | <Spidey24Z> @elros34 fixed thanks | 14:16 |
T42 | <KernelPanix> i make it. follow mer check config. (re @SailfishFreenodeIRCBridgeBot: <mal>you can't just ...) | 14:25 |
T42 | <kreatowastaken> any ideas about the dlopen issue? | 16:07 |
T42 | <kreatowastaken> libEGL.so already exists on `/system/lib` and `/system/lib64` | 16:09 |
Mister_Magister | whats the latest hybris? | 16:15 |
T42 | <kreatowastaken> @e | 16:26 |
T42 | <kreatowastaken> @elros34 it seems like the vold not working is the problem | 16:26 |
T42 | <kreatowastaken> `08-21 16:22:30.248 4489 4489 E SELinux : avc: denied { find } for pid=4775 uid=0 name=vold scontext=u:r:kernel:s0 tcontext=u:object_r:vold_service:s0 tclass=service_manager permissive=1` | 16:26 |
T42 | <kreatowastaken> and this seems like the cause of it | 16:27 |
T42 | <kreatowastaken> this is the only log i found on logcat that mentioned vold | 16:27 |
voidanix[m] | @Thaodan any changes when applying 4ab3f8675342ed88127c92b862dde95d40b08aaa? | 16:51 |
Thaodan | voidanix[m]: I did apply that however I'm not sure if that made a difference | 16:54 |
Thaodan | I found out that https://github.com/mer-hybris/android_kernel_sony_msm/commit/16517fc0bdf1a2810865a9d86b2043212fd15223 triggers the issue | 16:55 |
Thaodan | however I'm not sure if reverthing is the right fix | 16:55 |
voidanix[m] | so even with the above commit applied it does not suspend... | 17:16 |
voidanix[m] | you can try your luck with copying an updated version of the function from https://github.com/sonyxperiadev/kernel/blob/05bd3959baba7a0bcf00f8b1e04d7797bc4784d2/drivers/bus/mhi/core/misc.c#L573 | 17:17 |
voidanix[m] | notice how it doesn't check the PCIe link status and return ETIMEDOUT unlike LA.UM.9.12... | 17:18 |
T42 | <Spidey24Z> need help with radio,RIL this log from logcat and journalctl https://pastebin.com/9xZGTEqC | 17:28 |
mal | does your device use legacy ril or the newer IRadio interface? | 17:34 |
T42 | <Spidey24Z> Legacy (re @SailfishFreenodeIRCBridgeBot: <mal>does your devic...) | 17:34 |
mal | can you check if that /dev/CHNPTYW3 mentioned in log exists and if it does what permissions/user/group it has | 17:35 |
T42 | <Spidey24Z> It's not exist even on android there are /dev/CHNPTYW1~11 | 17:37 |
T42 | <kreatowastaken> @elros34 i found the reason for those libEGL errors | 17:45 |
T42 | <kreatowastaken> it seems to be because it checks /vendor/lib, not /system/lib | 17:45 |
T42 | <kreatowastaken> so i copied stuff that it needed from /system/lib to /vendor/lib | 17:46 |
T42 | <kreatowastaken> and i think libegl works now | 17:46 |
T42 | <kreatowastaken> now test_hwcomposer and lipstick doesn't segfault but they hang it seems | 17:47 |
T42 | <elros34> how about making symlink from /system/vendor /vendor? | 17:53 |
T42 | <kreatowastaken> ln -s /system/vendor /vendor | 17:54 |
T42 | <kreatowastaken> like this? | 17:54 |
T42 | <Spidey24Z> it exist actually https://pastebin.com/Hy5txXsu from 0 to 14 (re @SailfishFreenodeIRCBridgeBot: <mal>can you check i...) | 18:06 |
mal | what happens you change the group of the numbers 0 and 3 to radio? I mean those target ones | 18:08 |
T42 | <Spidey24Z> root radio 10 Aug 21 20:53 /dev/CHNPTYW0 -> /dev/pts/0 it's radio already | 18:14 |
mal | I meant the target that symlink points to | 18:21 |
mal | which is crw-rw---- 1 root tty 136, 0 Aug 21 20:53 0 | 18:21 |
T42 | <kreatowastaken> why would that help | 18:22 |
T42 | <kreatowastaken> and its already there (re @elros34: how about making sym...) | 18:22 |
T42 | <Spidey24Z> I/use-Rlog/RLOG-RIL: [w] AT channel [0] open successfully, ttyName:/dev/CHNPTYW3 | 18:23 |
T42 | <Spidey24Z> I/use-Rlog/RLOG-RIL: [w] AT channel [1] open fail, ttyName:/dev/CHNPTYW4, errno = 13 (Permission denied) | 18:23 |
T42 | <Spidey24Z> I/use-Rlog/RLOG-RIL: [w] AT channel [0] open successfully, ttyName:/dev/CHNPTYW0 | 18:23 |
T42 | <Spidey24Z> I/use-Rlog/RLOG-RIL: [w] AT channel [1] open fail, ttyName:/dev/CHNPTYW1, errno = 13 (Permission denied) (re @SailfishFreenodeIRCBridgeBot: <mal>which is crw-rw...) | 18:23 |
T42 | <Spidey24Z> ah sorry (re @SailfishFreenodeIRCBridgeBot: <mal>I meant the tar...) | 18:23 |
Thaodan | voidanix[m]: hm I can look. Yeah I noticed that too even in the tree for sm8350 there wasn't such a thing | 18:26 |
Thaodan | What might be that 16517fc0bdf1a2810865a9d86b2043212fd15223 was added from another tree/branch but isn't handled. | 18:27 |
Thaodan | Right now with it the resume is done wrong and breaks all subsequent suspends and resume. | 18:28 |
Thaodan | Really these whole of branching and then copying of code into the new branch doesn't do good, context is hard to follow and fixes are stuck in newer versions | 18:29 |
Thaodan | Like I found this one https://github.com/sonyxperiadev/kernel-techpack-audio/pull/51 | 18:29 |
T42 | <Spidey24Z> log now i changed all /dev/pts/ group to radio https://pastebin.com/DD0mz2td (re @SailfishFreenodeIRCBridgeBot: <mal>I meant the tar...) | 18:30 |
Thaodan | Already used in LA.UM.9.14.r1 but not in LA.UM.9.12.r1 | 18:30 |
mal | @Spidey24Z that looks much better now, does ofono print any errors anymore or work? | 18:31 |
T42 | <Spidey24Z> still cannot connect to rild https://pastebin.com/Mn5utSc5 (re @SailfishFreenodeIRCBridgeBot: <mal>@Spidey24Z that...) | 18:36 |
T42 | <Spidey24Z> still cannot connect to ril https://pastebin.com/Mn5utSc5 (edited) (re @SailfishFreenodeIRCBridgeBot: <mal>@Spidey24Z that...) | 18:36 |
T42 | <Spidey24Z> lol | 18:43 |
T42 | <Spidey24Z> it works | 18:43 |
T42 | <Spidey24Z> is any way to add this to udev rules ? (re @Spidey24Z: log now i changed al...) | 18:44 |
mal | probably some way, other option is to check why the permissions are wrong, does one of the android side .rc files set those or ueventd? | 18:53 |
mal | so grep device repos etc for those and hopefully there is some simple fix | 18:56 |
T42 | <Spidey24Z> couldn't found it on .rc files (re @SailfishFreenodeIRCBridgeBot: <mal>probably some w...) | 19:06 |
T42 | <Spidey24Z> this all device repo https://github.com/GrandNeoVe3G-Linux (re @SailfishFreenodeIRCBridgeBot: <mal>so grep device ...) | 19:06 |
T42 | <11> hello everyone, such a problem that wlan is not looking for networks | 19:10 |
T42 | <11> https://pastebin.com/XPz8AZbJ | 19:12 |
T42 | <11> https://pastebin.com/i94UXumN | 19:12 |
T42 | <11> https://pastebin.com/jRDEWMcK | 19:13 |
T42 | <11> hybris 14.1 | 19:13 |
T42 | <elros34> @Spidey24Z check also /system and /vendor | 19:13 |
T42 | <kreatowastaken> btw now i still get the libEGL errors | 19:15 |
T42 | <kreatowastaken> even tho i put them to the place i did before to fix it | 19:15 |
T42 | <kreatowastaken> idk why | 19:15 |
Thaodan | voidanix[m]: mhi support was rewritten against mainline from that tree | 19:36 |
Thaodan | it's like 80% mainline code | 19:36 |
Thaodan | (from commit history pov) | 19:37 |
voidanix[m] | by "that tree" you mean K.P.1.0? | 19:48 |
Thaodan | voidanix[m]: yes | 19:50 |
Thaodan | LA.UM.9.14.r1 has the downstream version | 19:50 |
Thaodan | K.P.1.0 has mainline plus patches | 19:50 |
voidanix[m] | even more justified to copy `mhi_pm_fast_resume()` from there :D | 19:53 |
Thaodan | If it was just that easy:D | 19:53 |
Thaodan | for example there's no fast resume anymore | 19:53 |
voidanix[m] | wdym? | 19:54 |
Thaodan | Other variants of https://github.com/sonyxperiadev/kernel/commit/16517fc0bdf1a2810865a9d86b2043212fd15223 return -EIO instead of -ETIMEDOUT no idea if that makes a difference | 19:54 |
Thaodan | voidanix[m]: the mainline version is a rewrite theirs no fast suspend or resume anymore just suspend and resume | 19:55 |
voidanix[m] | ah yes not mainline, i sent you the link from where you can get K.P.1.0's (there's both fast resume and suspend there) | 19:56 |
voidanix[m] | -EIO indeed makes more sense there though... | 19:56 |
Thaodan | Ah yes they moved that out to the misc file where they put all there downstream stuff there | 19:57 |
Thaodan | But ahain it's a totally different driver | 19:58 |
Thaodan | that version of mhi_fast_resume doesn't have MHI_ERR("Unable to access EP Config space\n"); either (K.P.1.0) | 19:59 |
voidanix[m] | about being different: the driver (including that function) is the same but the order of calls is different in K.P.1.0 | 20:00 |
voidanix[m] | yes because that's the bogus commit that doesn't exist outside LA.UM.9.12 | 20:00 |
voidanix[m] | have you noticed there are 2 missing commits compared to upstream msm-4.19? | 20:10 |
voidanix[m] | 9b4eddb8 and 020b270b | 20:10 |
Thaodan | upstream? | 20:12 |
Thaodan | Yeah the order of calls is about the same in the version based on mainline | 20:13 |
Thaodan | some cleanup and etc | 20:13 |
Thaodan | Upstream upgrades qualcomm code | 20:13 |
Thaodan | I've seen the two commits that you mentioned however I don't know why they are there | 20:15 |
Thaodan | should ask kholk about that | 20:16 |
Thaodan | voidanix[m]: changing the bogus commit to return -EIO didn't help besides creating a kernel panic | 20:52 |
Thaodan | Removing the bogus commit is better | 20:52 |
Thaodan | Adding those two commits that you mentioned that were missing didn't help. | 20:53 |
Thaodan | But I guess they are still useful | 20:53 |
Thaodan | Now suspend works but pci_pm_suspend_noirq(): cnss_pci_suspend_noirq+0x0/0x48 returns -11 | 20:53 |
Thaodan | bothers me | 20:53 |
voidanix[m] | congrats! you on 4.19.188 correct? | 20:57 |
Thaodan | yes | 20:58 |
voidanix[m] | would like a log of that `pci_pm_suspend_noirq()` just for the record :) | 20:58 |
Thaodan | voidanix[m]: https://github.com/sonyxperiadev/bug_tracker/issues/735#issuecomment-1221559009 | 20:59 |
Thaodan | Stock has a similar error: https://github.com/sonyxperiadev/bug_tracker/issues/735#issuecomment-1221523875 | 21:01 |
Thaodan | (expand the second error) | 21:01 |
Thaodan | (message) | 21:01 |
voidanix[m] | `smcinvoke: process_accept_req: accept thread returning with ret: -11` wut | 21:12 |
voidanix[m] | this is wlan though | 21:12 |
Thaodan | in stock? | 21:17 |
voidanix[m] | that error msg is from stock yes | 21:18 |
voidanix[m] | but in this case the error stems from wlan on both SODP and stock | 21:19 |
voidanix[m] | two things: try https://github.com/sonyxperiadev/kernel/commit/85799b3a85b7e07866a36dded9bbc0ad54579c17 | 21:23 |
voidanix[m] | maybe adding these 3 lines can also help: https://git.codelinaro.org/clo/la/kernel/msm-5.10/-/blob/KERNEL.PLATFORM.1.0.r1-09000-WAIPIO.0/drivers/net/wireless/cnss2/pci.c#L3174-3176 | 21:23 |
Thaodan | voidanix[m]: ah thanks | 21:24 |
Thaodan | good ideas | 21:24 |
Thaodan | Do you found any docs on the qcom branch naming? | 21:24 |
voidanix[m] | lol nope | 21:25 |
voidanix[m] | for 5.10 i just look for waipio (sd 8 gen 1) tags | 21:25 |
Thaodan | code linaros gitlab is finally working | 21:25 |
Thaodan | voidanix[m]: I guess there's some idea behind them. some things make sense such as s s = snapdragon , m = mobile, a = auto | 21:26 |
Thaodan | why is this not already there... | 21:28 |
Thaodan | https://git.codelinaro.org/clo/la/kernel/msm-5.10/-/commit/47b53726d86d544beb0180fe2e129c334c0c6ece | 21:28 |
voidanix[m] | yep, got buried in those "CNSS2 snapshot" commits | 21:29 |
voidanix[m] | about branch names: https://stackoverflow.com/a/63244589 | 21:30 |
voidanix[m] | K.P might just mean mainline+something extra but no weird out of tree drivers | 21:32 |
Thaodan | Those weird out of tree drivers are now in techpacks, sigh:/ | 21:33 |
Thaodan | But those branches kinda make sense in these scheme | 21:33 |
Thaodan | want to see the stuff that runs on linux without android by them. | 21:34 |
Thaodan | want to know what this is thermal thermal_zone91: failed to read out thermal zone (-19) | 21:36 |
Thaodan | stock has the same | 21:36 |
Thaodan | there's a thermal zone that can't be fully read | 21:37 |
Thaodan | but don't know which driver created it | 21:37 |
voidanix[m] | at least techpacks do not bleed inside core kernel files like in the past | 21:39 |
voidanix[m] | maybe you can use the board as well without them, gonna miss features like a display though | 21:39 |
Thaodan | Idk there's benefit in both since this way the drivers can reuse in kernel code | 21:40 |
Thaodan | as external modules I'm not sure | 21:40 |
Thaodan | but it's not just for android as their still autotools support for Car Linux | 21:41 |
voidanix[m] | i've heard something about caf now just being codelinaro... | 21:45 |
voidanix[m] | not being android specific like caf benefits everyone :) | 21:45 |
Thaodan | There's native linux support from some of the qcom blobs | 21:48 |
Thaodan | but I only saw that kind of thing mentioned in commit messages but not in any public docs besides their linux sdk | 21:49 |
Thaodan | the two commits from codelinaro apply cleanly on sony aosp | 21:51 |
voidanix[m] | nice, also have you checked `/sys/class/thermal/thermal_zone91/type`? | 21:54 |
Thaodan | yes | 21:55 |
Thaodan | i | 21:55 |
Thaodan | ] | 21:55 |
Thaodan | itswirelss | 21:55 |
Thaodan | its wireless | 21:56 |
Thaodan | the two commits don't fix the issue | 22:00 |
Thaodan | voidanix[m]: how do you know that those noirq suspend errors are from wifi? | 22:27 |
voidanix[m] | it comes from `struct cnss_wlan_driver *driver_ops` | 22:30 |
voidanix[m] | iirc your logs mention that it was wlan as well | 22:31 |
Thaodan | makes sense | 22:32 |
Thaodan | well wlan is running while use adb over tcp | 22:33 |
Thaodan | I can check if it happens if I don't | 22:33 |
Thaodan | It doesn't seam to happen if wlan is off | 22:36 |
voidanix[m] | yeah as expected | 22:36 |
Thaodan | I wonder what's wrong, the driver should just don't do that action | 22:37 |
Thaodan | Maybe that's just not fixed upstream | 22:37 |
Thaodan | pci-msm-rc 0002:00:00.0: Refused to change power state, currently in D3 is the only thing that's left besides the thermalzone messages in that case | 22:38 |
voidanix[m] | you still have these even after you said it suspends? | 22:38 |
Thaodan | yes but stock has those too | 22:39 |
voidanix[m] | oh, for thermal zone, is modem-wifi-usr mentioned anywhere there? | 22:39 |
Thaodan | see stock dmesg here: for the | 22:40 |
Thaodan | https://github.com/sonyxperiadev/bug_tracker/issues/735#issuecomment-1221523875 | 22:40 |
Thaodan | you mean in the sysfs entry? | 22:40 |
voidanix[m] | yes | 22:40 |
Thaodan | no that's disabled | 22:42 |
Thaodan | https://github.com/sonyxperiadev/kernel/blob/aosp/LA.UM.9.12.r1/arch/arm64/boot/dts/somc/kona-edo-common.dtsi#L3755 | 22:42 |
voidanix[m] | check kona-thermal.dtsi | 22:43 |
Thaodan | there it's defined | 22:44 |
Thaodan | the disable comes from stock | 22:44 |
voidanix[m] | then what does `cat type` exactly give? | 22:45 |
voidanix[m] | i get it's wireless but looking for a string | 22:45 |
Thaodan | wireless | 22:45 |
voidanix[m] | oh, that's it? | 22:45 |
Thaodan | 1|pdx203:/ $ cat /sys/class/thermal/thermal_zone91/type | 22:46 |
Thaodan | wireless | 22:46 |
Thaodan | yes | 22:46 |
Thaodan | I wonder why it's disabled in stock and deleted on the sdxprairie | 22:46 |
Thaodan | eh deleted on kona-v2.1-iot-rb5.dtsi | 22:47 |
Thaodan | Any opinions on adding those two cnss commits you meantioned earlier anyway? | 22:51 |
voidanix[m] | i don't think they hurt... | 22:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!