Page MenuHomeFreeBSD

snd_hdsp(4): Add sysctls to select analog signal levels.
ClosedPublic

Authored by dev_submerge.ch on Oct 29 2024, 2:32 PM.
Tags
None
Referenced Files
F160052194: D47330.id.diff
Sat, Jun 20, 10:24 PM
Unknown Object (File)
Thu, Jun 18, 9:35 PM
Unknown Object (File)
May 20 2026, 9:11 AM
Unknown Object (File)
May 16 2026, 4:48 PM
Unknown Object (File)
Apr 21 2026, 9:40 AM
Unknown Object (File)
Apr 21 2026, 1:39 AM
Unknown Object (File)
Apr 18 2026, 6:05 PM
Unknown Object (File)
Apr 18 2026, 3:52 PM
Subscribers

Details

Summary

RME HDSP 9632 sound cards support different sensitivity levels at the
analog input, and different gain levels for the analog line and phones
outputs. Expose these settings as sysctl tunables.

Test Plan

Tested on hardware:

  • Phones output volume changes according to sysctl setting (caution, still extremely loud).
  • Create loop to feedback the line output to line input.
  • Iterate through input signal levels and observe volume changes in recorded audio.
  • Iterate through output signal levels and observe volume changes in recorded audio.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60245
Build 57129: arc lint + arc unit

Event Timeline

@br: If this patch is ok, I'll also adapt it to the HDSPe AIO in snd_hdspe(4) for you to test. Looks like it uses a different register though.

This revision is now accepted and ready to land.Oct 29 2024, 3:50 PM

great idea, and happy to test (and actually use) if you can adopt to hdspe!