Skip to content

build(config): trim media subsystem & purge legacy DVB/TV/SDR drivers - #33

Merged
azagramac merged 1 commit into
masterfrom
develop
Sep 20, 2026
Merged

azagramac merged 1 commit into
masterfrom
develop

Conversation

@azagramac

Copy link
Copy Markdown
Owner

🧹 config: Trim multimedia subsystem & purge unused DVB/TV/SDR drivers

Summary

Streamlined kernel multimedia subsystem configuration in config-6.19.14-debian13 by disabling legacy DVB/TDT, satellite, analog TV, FM radio, software-defined radio (SDR), and unneeded video capture drivers.

Retained strict UVC webcam (CONFIG_USB_VIDEO_CLASS=m) and V4L2 camera pipelines required for desktop webcams, streaming tools (OBS Studio), and modern camera sensors.


🛠️ Changes Breakdown

✂️ Media Subsystem Trimming & Filter Setup

  • Enabled strict media filtering: CONFIG_MEDIA_SUPPORT=y and CONFIG_MEDIA_SUPPORT_FILTER=y.
  • Fully disabled unused media classes:
    • # CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set
    • # CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set
    • # CONFIG_MEDIA_RADIO_SUPPORT is not set
    • # CONFIG_MEDIA_SDR_SUPPORT is not set

📡 Full DVB & Satellite Removal

  • Purged DVB core framework (# CONFIG_DVB_CORE is not set).
  • Removed all DVB-S/S2, DVB-T/T2, and DVB-C demodulators and frontends.
  • Stripped RTL2832, RTL2832 SDR, LNB controllers, and satellite tuner drivers.

📹 Capture Devices & Virtual Driver Removal

  • Disabled unused USB capture hardware: # CONFIG_VIDEO_USBTV is not set.
  • Disabled virtual test drivers: # CONFIG_VIDEO_VIVID is not set (along with VIVID_CEC, VIVID_OSD, V4L2_TPG).

📻 Legacy Audio/Video Decoders & Encoders Stripped

  • Removed legacy analog TV audio/video processors and decoders:
    • Audio Decoders: CS3308, CS5345, CS53L32A, MSP3400, TDA7432, TDA9840, TEA6415C, TEA6420, TLV320AIC23B, TVAUDIO, VP27SMPX, WM8739, WM8775.
    • Video Decoders/Encoders: SAA6588, BT819, BT856, KS0127, SAA7110, SAA711X, TVP5150, VPX3220, SAA717X, CX25840, ADV7170, ADV7175, SAA7127, SAA7185, UPD64031A, UPD64083, SAA6752HS, M52790.

🎥 Retained Camera & USB Webcam Pipeline

  • Core V4L2 Architecture: Kept CONFIG_MEDIA_CAMERA_SUPPORT=y, CONFIG_VIDEO_DEV=y, CONFIG_VIDEO_V4L2_I2C=y, and CONFIG_VIDEO_V4L2_SUBDEV_API=y.
  • USB Webcams: Kept CONFIG_MEDIA_USB_SUPPORT=y, CONFIG_USB_VIDEO_CLASS=m (UVC), and CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y.
  • Camera Sensors: Preserved sensors HI556, MT9V011, OV01A10, OV08X40, OV13B10, OV2640, OV2680, OV2740, OV5670, OV5693, OV7251, OV7670, OV8856, OV8865.

🎯 Rationale & Impact

  • Reduced Kernel & Module Bloat: Eliminated dozens of obsolete TV/DVB/SDR kernel modules from the build target.
  • Improved Build Speed: Faster kernel compilation by skipping unneeded media driver subdirectories.
  • Zero Desktop Regression: USB webcams, virtual cameras (OBS), and modern camera sensors remain fully functional via uvcvideo and v4l2.

@azagramac azagramac self-assigned this Sep 20, 2026
@azagramac azagramac added the enhancement New feature or request label Sep 20, 2026
@azagramac
azagramac merged commit 8cd8007 into master Sep 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant