Monday, 2022-10-24

*** deathmist1 is now known as deathmist01:08
*** amccarthy is now known as Guest383809:40
*** amccarthy_ is now known as amccarthy09: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<edp_17> @Spidey24Z : It is 32. I'll try this one too!13:43
T42<Spidey24Z> This one for 6413:44
T42<Spidey24Z> What's you're problem may I can help you13: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
crworkidoI 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 device15:03
T42<Spidey24Z> WiFi saved but can't connect after reboot15:04
T42<edp_17> Haha, I have a hecky solution for that! :D15:25
T42<Spidey24Z> O_O15:26
T42<Spidey24Z> What's it15: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 better15:27
T42<Spidey24Z> Take you're time15:28
malis the mac address changing every time?15:28
T42<Spidey24Z> I guess so15:28
T42<Spidey24Z> Lemme check15:30
T42<edp_17> Yes, it does change every time.15:30
Mister_Magisterahhh the classic15:30
T42<edp_17> Here is what I do (I wrote a script to turn wifi on):
T42<edp_17> Here is the script:
T42<edp_17> @Spidey24Z ^^15:33
malcould there be something else that needs to be run at boot to make mac address status15:38
mal*to make mac address stable15:38
T42<Spidey24Z> i found it
T42<Spidey24Z> i had to disable mac address randomization15:52
T42<edp_17> I'll try this thanks!16:06
T42<Spidey24Z> (re @edp_17: I'll try this thanks...)16:14
maldo you have CONFIG_ENABLE_INSMOD_NO_FW_LOAD=y in kernel defconfig?16:17
T42<Spidey24Z> no16:18
malok, wondering why the other code path is not taken16:18
malwhat makes dhd_download_fw_on_driverload false16:19
T42<Spidey24Z> if it enabled ? (re @SailfishFreenodeIRCBridgeBot: <mal>what makes dhd_...)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:
malyeah, that is still hardcoded value not from firmware16:24
T42<Spidey24Z> Yeah16: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 correctly18:58
T42<elros34> mal, @Spidey24Z ENABLE_INSMOD_NO_FW_LOAD will be in Makefile, see my patch I posted recently19:06
T42<Spidey24Z> after applying this patch i couldn't turn wifi on (re @elros34: https://susepaste.or...)20:12
T42<Spidey24Z> fw path is set20:12
T42<Spidey24Z> / # zcat /proc/config.gz | grep BCMDHD_FW_PATH20:12
T42<Spidey24Z> CONFIG_BCMDHD_FW_PATH="/vendor/etc/wifi/bcmdhd_sta.bin"20:12
T42<Spidey24Z> / # ls -la /vendor/etc/wifi/bcmdhd_sta.bin20:12
T42<Spidey24Z> -rw-r--r--    1 root     root        315729 Oct  6 17:49 /vendor/etc/wifi/bcmdhd_sta.bin20: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 boot20:15
T42<Spidey24Z> i fix it
T42<elros34> yeah but I ask about error you got after applying patch and reasony why you don't just build driver as module20:16
T42<Spidey24Z> there's nothing in logs related to wifi20:20
T42<Spidey24Z> just this when i tried to turn it on20:20
T42<Spidey24Z> n-selector[2024]: [W] unknown:0 - Can't set: technology is NULL20:20
T42<Spidey24Z> why i had to build it as module ?20:21
T42<elros34> because that usually fix all issues20:21
T42<elros34> wlan driver puts info to dmesg, ifconfig -a and rfkill may be also useful20: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 impossible20:24
T42<elros34> but it's not wort debugging if you can simply build driver as module20:24
T42<Spidey24Z> CONFIG_BCM4343=m20:25
T42<elros34> probably, see Kconfig/Makefile or use xconfig to be sure20: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
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-120:59

Generated by 2.17.1 by Marius Gedminas - find it at!