Sunday, 2020-01-26

T42<elros34> try in /etc/dconf/db/vendor.d/silica-configs.txt, you need to also remove coresponding file in locks/ dir then dconf update00:08
T42<edp_17> Thank you, this helped. Now I bypassed the wifi settings and the initial setup completed. 😁 I skipped the tutorial and the phone is very slowly loaded up the main screen.00:25
T42<edp_17> The icons of the apps too large because I guess the icons not properly scaled.00:26
T42<edp_17> The Settings app often lags and the 'wait or close' message appears.00:27
T42<edp_17> The WLAN setting says: 'Network is not available. Please restart device.'00:27
T42<edp_17> I guess should check the wifi module loaded or not. How can I do that?00:28
T42<edp_17> Yeah, when I am trying to turn on wlan from top menu, it doesn't bring up the network list.00:31
r0kk3rzthe usual way00:32
r0kk3rzusing modprobe, lsmod /etc00:33
T42<edp_17> Thank you. I meant where from I can know the wifi module file name?00:35
r0kk3rzdid you create a script to load it on start? you kinda need to know the name to do that00:50
T42<edp_17> No, I didn't create any additional stuff yet. Only added one, the glibc support from Elros for the old kernel
T42<edp_17> Thanks. In defconfig the CONFIG_BCMDHD=m was missing.00:58
r0kk3rzah, yeah you actually need to build it as a module00:58
r0kk3rzbcmdhd is your wifi though?00:59
T42<edp_17> What I have there: CONFIG_BCMDHD_FW_PATH="/system/etc/firmware/fw_bcmdhd.bin"00:59
T42<edp_17> CONFIG_BCMDHD_NVRAM_PATH="/system/etc/wifi/"01:00
T42<edp_17> On the device the '/system/etc/wifi/' does exist, but the other doesn't.01:00
T42<edp_17> I try to follow the hadk-faq. Thank you.01:01
T42<edp_17> It is interesting because the faq says: I should see something WLAN in the defconfig and that is the wifi driver name. However in my defconfig there are only two lines that has the WLAN in the name:01:03
T42<edp_17> # CONFIG_USB_NET_RNDIS_WLAN is not set01:04
T42<edp_17> CONFIG_WLAN_REGION_CODE=10001:04
T42<edp_17> And that's it.01:04
r0kk3rzbcmdhd is it01:05
T42<edp_17> I don't have any similar to 'CONFIG_YYYYYY_WLAN=m' what the faq says.01:05
r0kk3rzyou wont have all of those01:05
r0kk3rzthose are for different wireless chips01:05
T42<edp_17> Ok, I believe you. 😊 And what is the CONFIG_BCM4330=m ?01:05
r0kk3rzits quite hardware specific01:05
T42<edp_17> Ok. then I rebuild the kernel. Do you know where I should look for the wlan driver once the kernel is compiled?01:06
r0kk3rztheres probably a bunch of flags for similar things, think of it as family group, and individual driver01:07
T42<edp_17> Ok, I have rebuild the kernel. Now I need to flash it to the device and transfer the wlan module. (If I know where that is located.)01:10
T42<elros34> you should see built modules in make output01:11
T42<edp_17> Oh yes, I found it. drivers/net/wireless/bcmdhd/dhd.ko01:12
T42<edp_17> And what is this: drivers/samsung/fm_si4709/Si4709_driver.ko ?01:12
r0kk3rzgoogle it :P01:13
T42<edp_17> 😁01:13
T42<edp_17> Do you know where I should copy the dhd.ko on the device?01:14
T42<elros34> in /lib/modules/`uname -r`/ then depmod -a01:17
T42<edp_17> Thank you.01:22
T42<edp_17> When I do this as root: /lib/modules/3.0.64-CM-gb758c834015-dirty01:25
T42<edp_17> I got : ls: cannot access /lib/modules/3.0.64-CM-gb758c834015-dirty/: No such file or directory01:25
T42<edp_17> However the '3.0.64-CM-gb758c834015-dirty/' does exist in /lib/modules01:26
T42<edp_17> I know. because the 3.0.64xxxx is a file not a directory.01:28
T42<edp_17> I create da 3.0.64.... directory in /lib/modules and copied the dhd.ko there.01:28
T42<edp_17> The depmod a gives me two warning:01:29
T42<edp_17> depmod: WARNING: could not open /lib/modules/3.0.64-CM-gb758c834015-dirty/modules.order: No such file or directory01:29
T42<edp_17> depmod: WARNING: could not open /lib/modules/3.0.64-CM-gb758c834015-dirty/modules.builtin: No such file or directory01:29
T42<edp_17> Then when I ran modprobe dhd, I got: modprobe: ERROR: could not insert 'dhd': No such device01:30
r0kk3rzwas bcmdhd set to y before?01:33
T42<edp_17> Yes. And I rebuilt the kernel and flashed on device, then rebooted.01:34
T42<elros34> either copy missing files and run depmode again or just insmod /path/to/module01:35
T42<edp_17> insmod /lib/modules/3.0.64-CM-gb758c834015-dirty/dhd.ko gives me:01:36
T42<edp_17> insmod: ERROR: could not insert module /lib/modules/3.0.64-CM-gb758c834015-dirty/dhd.ko: No such device01:36
T42<elros34> check dmesg01:38
T42<edp_17> dmesg:
T42<edp_17> from dmesg: dhd_bus_start: dhdsdio_probe_download failed. firmware or nvram wrong01:42
T42<edp_17> Isn't this related what I wrote a bit earlier about the configs I found in defconfig?01:43
T42<edp_17> The firmware path is not correct there but I don't know what the correct value would be.01:43
T42<edp_17> CONFIG_BCMDHD_FW_PATH="/system/etc/firmware/fw_bcmdhd.bin" this path doesn't exist on the device.01:44
T42<elros34> check your boardconfig* or maybe dhd.ko support parameters01:47
T42<edp_17> In galaxys2-common/ BOARD_WLAN_DEVICE := bcmdhd01:50
T42<edp_17> WIFI_DRIVER_MODULE_PATH := /system/lib/modules/dhd.ko01:50
T42<edp_17> So, there was a dhd.ko already on the device in /system/lib/modules. I tried to insmod but it said 'Invalid module format'.01:55
T42<edp_17> So, I copied the one I created into this location and tried insmod, I got: No such device01:56
T42<edp_17> Apologies I need to sleep now. Thanks for all of your support so far! I have a (more or less) working gui on my S2! Cool. (I didn't have that on my S7.)01:56
*** juiceme is now known as Guest9773516:49
DylanVanAsschemal: I checked your repo ( for the backlight of the PinePhone LCD but I can't find the config file there to fix the range of the brightness slider in Settings. Did I missed something?20:07
malI know, I fixed it in kernel (or actually fairphone fixed it) but there is need to make the ranges more configurable (if those are not already) because many devices have different als ranges20:23
DylanVanAsschemal (IRC): Oh okay, so there's no way atm of doing this... A PR must be made to for this?20:31
DylanVanAsscheOr is it more appropriate for handling this in `mce`?20:35
malI think it would go to mce probably20:36
malbecause it's an adaptation specific thing20:37
malso a suitable configurable thing to mce20:37
mal although that is quite terrible and we probably should have a better way20:38
DylanVanAsscheOkay 🙂 that seems to do the 'trick' but it's indeed terrible. Difficult to read it properly :D20:39

Generated by 2.17.1 by Marius Gedminas - find it at!