From a6f0798a4050cc1fa9be37790e7f53d656594125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Wed, 17 Sep 2025 14:53:37 +0200 Subject: [PATCH] feat(kernel-configs): USB audio and webcams MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a config fragment to enable support for USB audio devices and USB webcams on top of arm64 defconfig; this is useful for testing; fixes: #73 Signed-off-by: Loïc Minier --- .github/workflows/linux.yml | 3 ++- kernel-configs/usb-test-devices.config | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 kernel-configs/usb-test-devices.config diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c772adc7..7082090c 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -66,7 +66,8 @@ jobs: debhelper-compat kmod python3 rsync coreutils scripts/build-linux-deb.sh \ kernel-configs/qcom-imsdk.config \ - kernel-configs/systemd-boot.config + kernel-configs/systemd-boot.config \ + kernel-configs/usb-test-devices.config - name: Stage artifacts for upload run: | diff --git a/kernel-configs/usb-test-devices.config b/kernel-configs/usb-test-devices.config new file mode 100644 index 00000000..50657b4c --- /dev/null +++ b/kernel-configs/usb-test-devices.config @@ -0,0 +1,16 @@ +# it's convenient to use generic USB devices for testing, but these are +# not enabled in the defconfig; this config fragment adds basic support +# for USB audio devices and USB webcams + +# USB Audio Class driver +CONFIG_SND_USB_AUDIO=m + +# Media subsystem +CONFIG_MEDIA_SUPPORT=y +# USB media device support +CONFIG_MEDIA_USB_SUPPORT=y # USB media device support +# UVC driver +CONFIG_USB_VIDEO_CLASS=y +# V4L2 core support +CONFIG_VIDEO_DEV=y +