kernel-config/hardware/magneto.sh
2020-05-21 12:32:42 -06:00

41 lines
1.4 KiB
Bash
Executable File

cd /usr/src/linux;
./scripts/config --enable BLK_DEV_MD # tristate
./scripts/config --enable MD_RAID0 # tristate
./scripts/config --enable MD_RAID1 # tristate
./scripts/config --enable DM_RAID # tristate
./scripts/config --enable SND_USB_AUDIO # tristate
./scripts/config --enable SND_HDA_CODEC_REALTEK
./scripts/config --enable BT
./scripts/config --enable BT_HCIBTUSB
./scripts/config --enable BT_HCIBTUSB_BCM
./scripts/config --enable BT_HCIBTUSB_RTL
./scripts/config --enable SENSORS_NCT6775
./scripts/config --enable SENSORS_CORETEMP
./scripts/config --module DRM_AMDGPU
#https://wiki.gentoo.org/wiki/Power_management/Processor#CPU_frequency_scaling
#For Intel core processors, this should be selected as default.
./scripts/config --disable CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE
./scripts/config --enable CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
./scripts/config --enable KVM_INTEL
#UVC cameras
#./scripts/config --enable USB_GADGET
#./scripts/config --enable USB_CONFIGFS
./scripts/config --enable VIDEOBUF_V4L2
./scripts/config --enable VIDEO_V4L2
#./scripts/config --enable VIDEO_DEV
#./scripts/config --enable USB_CONFIGFS_F_UVC
#./scripts/config --enable USB_G_WEBCAM
#./scripts/config --enable USB_F_UVC
./scripts/config --enable MEDIA_SUPPORT
./scripts/config --enable MEDIA_CAMERA_SUPPORT
./scripts/config --enable MEDIA_USB_SUPPORT
./scripts/config --enable USB_VIDEO_CLASS