adding CONFIG_HOTPLUG_PCI=y to the config file do the trick, now these two module persist in kernel config. thank you very much for your help.
Posts by puppet13th
-
-
project/Generic/linux/linux.x86_64.conf does not have CONFIG_ASUS_WMI line.so i manually add these lines:
CONFIG_ASUS_WMI=m
CONFIG_ASUS_NB_WMI=mthen i copy project/Generic/linux/linux.x86_64.conf to project/Generic/linux/linux.x86_64.conf.new
i enabled 4 more asus specific kernel driver so i got something like this:
Code~/LibreELEC.tv$ cat projects/Generic/linux/linux.x86_64.conf.new | grep -i asus # CONFIG_USB_PEGASUS is not set CONFIG_SENSORS_ASUS_WMI=m CONFIG_SENSORS_ASUS_EC=m CONFIG_HID_ASUS=y CONFIG_ASUS_LAPTOP=m CONFIG_ASUS_WIRELESS=m CONFIG_ASUS_WMI=m CONFIG_ASUS_NB_WMI=m # CONFIG_ASUS_TF103C_DOCK is not set
to make sure that the config persist i ran command:
PROJECT=Generic ARCH=x86_64 tools/adjust_kernel_config menuconfig
i recheck CONFIG_ASUS_WMI=m and CONFIG_ASUS_NB_WMI=m and they where gone from menuconfig, while others 4 still remain. then i save the config and got something like this:
-
Edit project/Generic/linux/linux.x86_64.conf and search for CONFIG_ASUS_WMI .. change it from unset to CONFIG_ASUS_WMI=m and then add CONFIG_ASUS_NB_WMI=m underneath it, save/exit and then rebuild the image with the change. There's really no need to use make menuconfig.
i will try it and report back. thank you very much.
-
i have been building LE from this guide. i'm trying to enable linux kernel driver - platform - asus wmi and asus nb wmi. if i copy kernel config from project/Generic/linux/linux.x86_64.conf to build dir and do make menuconfig that two items did not show up.
if i remove .config and run make menuconfig the two items that i want show up in the menu.
is there any way to enable kernel driver that i need?