*** deathmist1 is now known as deathmist | 01:08 | |
*** amccarthy is now known as Guest3838 | 09:40 | |
*** amccarthy_ is now known as amccarthy | 09:40 | |
T42 | <edp_17> @elros34 I've checked my devices - especially jflte (S4) where I had problem with LEDs - but none of them have this bug. | 11:04 |
---|---|---|
T42 | <edp_17> @elros34 : Also checked the "wifi driver as module" problem. Unfortunately, your solution didn't help. (I appreciate you remembered my problem and suggested that fix anyway. :) ) | 12:58 |
T42 | <Spidey24Z> 32 or 64? (re @edp_17: @elros34 : Also chec...) | 13:32 |
T42 | <Spidey24Z> https://github.com/Exynos7880-Linux/kernel-samsung-exynos7880/commit/811dfcd1c70f7b30d8538da10ce52c961677e674 | 13:34 |
T42 | <edp_17> @Spidey24Z : It is 32. I'll try this one too! | 13:43 |
T42 | <Spidey24Z> This one for 64 | 13:44 |
T42 | <Spidey24Z> What's you're problem may I can help you | 13:45 |
T42 | <edp_17> The problem is the device forgets the wifi network/password after each reboot. | 13:49 |
T42 | <edp_17> I thought it could be solved if the wifi was compiled as module, but it couldn't be done. | 13:50 |
crworkido | greetings | 14:21 |
crworkido | I have a sony xperia X can I follow the instructions to install sailfish os on it using lineage os 18.1 (android 11) as base ? | 14:22 |
T42 | <Spidey24Z> I had the exact same issue on 32bit device (re @edp_17: The problem is the d...) | 14:49 |
T42 | <edp_17> What was your solution? (What device was that?) | 14:52 |
T42 | <Spidey24Z> I couldn't fix it, it's Samsung device | 15:03 |
T42 | <Spidey24Z> WiFi saved but can't connect after reboot | 15:04 |
T42 | <edp_17> Haha, I have a hecky solution for that! :D | 15:25 |
T42 | <Spidey24Z> O_O | 15:26 |
T42 | <Spidey24Z> What's it | 15:26 |
T42 | <edp_17> I meant hacky. Give me a few mins, I am finding the link to it. | 15:27 |
T42 | <Mister_Magister> hecky sounds better | 15:27 |
T42 | <Spidey24Z> Take you're time | 15:28 |
mal | is the mac address changing every time? | 15:28 |
T42 | <Spidey24Z> I guess so | 15:28 |
T42 | <Spidey24Z> Lemme check | 15:30 |
T42 | <edp_17> Yes, it does change every time. | 15:30 |
Mister_Magister | ahhh the classic | 15:30 |
T42 | <edp_17> Here is what I do (I wrote a script to turn wifi on): https://paste.ubuntu.com/p/5QJ25rg7DP/ | 15:31 |
T42 | <edp_17> Here is the script: https://github.com/edp17/droid-config-treltexx/blob/master/sparse/usr/bin/droid/wifi-on.sh | 15:32 |
T42 | <edp_17> @Spidey24Z ^^ | 15:33 |
mal | could there be something else that needs to be run at boot to make mac address status | 15:38 |
mal | *to make mac address stable | 15:38 |
T42 | <Spidey24Z> i found it https://github.com/Samsung-GNP/android_kernel_samsung_grandneove3g/blob/0bcf4614e953c8fa0ab5c7d35e656fcb0d4304f6/drivers/net/wireless/bcmdhd/dhd_sdio.c#L7239 | 15:51 |
T42 | <Spidey24Z> i had to disable mac address randomization | 15:52 |
mal | nice | 15:55 |
T42 | <edp_17> I'll try this thanks! | 16:06 |
T42 | <Spidey24Z> https://github.com/GrandNeoVe3G-Linux/kernel-samsung-grandneove3g/commit/1cce349848b3b55f7425bedc631ebd8dee722a59 (re @edp_17: I'll try this thanks...) | 16:14 |
mal | do you have CONFIG_ENABLE_INSMOD_NO_FW_LOAD=y in kernel defconfig? | 16:17 |
T42 | <Spidey24Z> no | 16:18 |
mal | ok, wondering why the other code path is not taken | 16:18 |
mal | what makes dhd_download_fw_on_driverload false | 16:19 |
T42 | <Spidey24Z> if it enabled ? (re @SailfishFreenodeIRCBridgeBot: <mal>what makes dhd_...) | 16:21 |
T42 | <Spidey24Z> https://github.com/Samsung-GNP/android_kernel_samsung_grandneove3g/blob/0bcf4614e953c8fa0ab5c7d35e656fcb0d4304f6/drivers/net/wireless/bcmdhd/wl_android.c#L3609 | 16:21 |
T42 | <Spidey24Z> but fw path defined here CONFIG_BCMDHD_FW_PATH="/system/etc/wifi/bcmdhd_sta.bin" | 16:23 |
T42 | <Spidey24Z> btw this fix wifi issue (re @Spidey24Z: https://github.com/G...) | 16:23 |
mal | yeah, that is still hardcoded value not from firmware | 16:24 |
T42 | <Spidey24Z> Yeah | 16:31 |
T42 | <Spidey24Z> @edp_17 is it fixed for you ? | 18:41 |
T42 | <edp_17> I haven't tried that. I'll do but need to make the build environment first. (My PC broke down and just got a new one.) | 18:47 |
T42 | <elros34> @edp17 and you amend patch to match your exynos version and it still doesn't help? Did you revert previous changes you did? Patch basically force fw load when driver is initialized. By default it doesn't and generate random MAC (see link mentioned today) then when wlan iterface is up MAC is read from OTP or from some other place and it change. Connman can't handle it correctly | 18:58 |
T42 | <elros34> mal, @Spidey24Z ENABLE_INSMOD_NO_FW_LOAD will be in Makefile, see my patch I posted recently | 19:06 |
T42 | <elros34> https://susepaste.org/96528746 | 19:13 |
T42 | <Spidey24Z> after applying this patch i couldn't turn wifi on (re @elros34: https://susepaste.or...) | 20:12 |
T42 | <Spidey24Z> fw path is set | 20:12 |
T42 | <Spidey24Z> / # zcat /proc/config.gz | grep BCMDHD_FW_PATH | 20:12 |
T42 | <Spidey24Z> CONFIG_BCMDHD_FW_PATH="/vendor/etc/wifi/bcmdhd_sta.bin" | 20:12 |
T42 | <Spidey24Z> / # ls -la /vendor/etc/wifi/bcmdhd_sta.bin | 20:12 |
T42 | <Spidey24Z> -rw-r--r-- 1 root root 315729 Oct 6 17:49 /vendor/etc/wifi/bcmdhd_sta.bin | 20:12 |
T42 | <elros34> You alse have driver which can't be build as module? what error did you get? | 20:14 |
T42 | <Spidey24Z> random mac address every boot | 20:15 |
T42 | <Spidey24Z> i fix it https://github.com/GrandNeoVe3G-Linux/kernel-samsung-grandneove3g/commit/1cce349848b3b55f7425bedc631ebd8dee722a59 | 20:16 |
T42 | <elros34> yeah but I ask about error you got after applying patch and reasony why you don't just build driver as module | 20:16 |
T42 | <Spidey24Z> there's nothing in logs related to wifi | 20:20 |
T42 | <Spidey24Z> just this when i tried to turn it on | 20:20 |
T42 | <Spidey24Z> n-selector[2024]: [W] unknown:0 - Can't set: technology is NULL | 20:20 |
T42 | <Spidey24Z> why i had to build it as module ? | 20:21 |
T42 | <elros34> because that usually fix all issues | 20:21 |
T42 | <elros34> wlan driver puts info to dmesg, ifconfig -a and rfkill may be also useful | 20:22 |
T42 | <Spidey24Z> lemme see if i can do it (re @elros34: because that usually...) | 20:23 |
T42 | <Spidey24Z> nothing also (re @elros34: wlan driver puts inf...) | 20:23 |
T42 | <elros34> quite impossible | 20:24 |
T42 | <elros34> but it's not wort debugging if you can simply build driver as module | 20:24 |
T42 | <Spidey24Z> CONFIG_BCM4343=m | 20:25 |
T42 | <elros34> probably, see Kconfig/Makefile or use xconfig to be sure | 20:25 |
T42 | <Spidey24Z> this from .config it's bulding (re @elros34: probably, see Kconfi...) | 20:26 |
T42 | <Spidey24Z> i also had an issue with camera https://hastebin.com/diwateyoku.yaml | 20:30 |
T42 | <Spidey24Z> how can i debug this ? | 20:31 |
T42 | <k1gen> can I port Sailfish within WSL on Windows? | 20:48 |
T42 | <elros34> @Spidey24Z do you at least use correct droidmedia version? | 20:53 |
T42 | <Spidey24Z> What version I should use ? | 20:55 |
T42 | <elros34> the one which jolla use on xperia (see 4.4.0.x changelog or follow hadk-hot) | 20:56 |
T42 | <Spidey24Z> this droidmedia: 0.20211101.0 ? | 20:59 |
T42 | <Spidey24Z> this what i have | droidmedia | package | 0.20220929.0-1 | 20:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!