Bluetooth (RTL8723D USB combo chip): - GPIO pin 357 (active low) enables WiFi/BT hardware via x6200_gpio_set() - bluez5_utils 5.64 (downgraded from 5.79 — HID input plugin broken in 5.79) - rtl8723d_config.bin added to overlay (missing from linux-firmware package) - S45wifi-bt: GPIO enable + modprobe btusb/uhid/hidp at boot - S85bt-keyboard: auto-connect loop with scan+connect every 20s WiFi (RTL8723DU): - out-of-tree lwfinger/rtw88 driver (RTW88_8723DU not in kernel 6.1 mainline) - linux-firmware RTL_RTW88 for rtw88/rtw8723d_fw.bin - regulatory.db for cfg80211 - wpa_supplicant with multi-network config in /etc/wpa_supplicant.conf - S46wifi: wpa_supplicant + udhcpc at boot Key findings: - RTL8723D USB WiFi (0bda:d723) requires out-of-tree rtw88 on kernel 6.1 - BT and WiFi share same USB device, both need GPIO 357 = 0 to power on - bluez5 5.79 HID input plugin not linked into bluetoothd (build system bug)
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# Mestre kernel config fragment — evdev + ALSA MIDI sequencer
|
|
#
|
|
# Applied on top of linux.config via BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES.
|
|
# These symbols are required for mestred (the evdev→ALSA MIDI bridge).
|
|
#
|
|
# Many of these may already be set in linux.config; the fragment is kept
|
|
# separate to make the MIDI dependency explicit and easy to trace.
|
|
|
|
# Input subsystem — evdev is the interface mestred reads
|
|
CONFIG_INPUT_EVDEV=y
|
|
CONFIG_INPUT_KEYBOARD=y
|
|
CONFIG_INPUT_MISC=y
|
|
|
|
# HID (USB MIDI devices, in case we ever attach one)
|
|
CONFIG_HID=y
|
|
CONFIG_UHID=y
|
|
|
|
# ALSA core
|
|
CONFIG_SND=y
|
|
CONFIG_SND_TIMER=y
|
|
CONFIG_SND_PCM=y
|
|
|
|
# ALSA Sequencer — the MIDI bus mestred publishes to
|
|
CONFIG_SND_SEQ_DEVICE=y
|
|
CONFIG_SND_SEQUENCER=y
|
|
CONFIG_SND_SEQ_MIDI=y
|
|
CONFIG_SND_SEQ_MIDI_EVENT=y
|
|
CONFIG_SND_RAWMIDI=y
|
|
CONFIG_SND_DRIVERS=y
|
|
|
|
# Virtual soundcard — useful for testing piHPSDR MIDI mapping on the bench
|
|
# without needing the actual X6200 input devices.
|
|
CONFIG_SND_DUMMY=m
|
|
|
|
# Expose kernel config via /proc/config.gz (useful for debugging)
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
|
|
# HID via userspace (required for Bluetooth HID devices)
|
|
CONFIG_UHID=y
|
|
CONFIG_INPUT_UINPUT=y
|
|
|