Public bug reported:

[Impact]
Audio on new Dell Pro 5 All-in-One platforms is not fully supported on
systems with the newer Realtek SoundWire codec variants. The driver lacks
device matching and the variant-specific settings needed for playback, 
microphone capture, and headset setup.


[Fix]
Extend the existing codec driver to match the new variants and apply their
register settings, headset calibration, and playback volume ranges.
Add the new device to the shared SoundWire codec information table.

ASoC: rt721: Add support for the RT721_U and RT718 codec variants
https://patch.msgid.link/[email protected]


[Test Plan]
Use systems with each newly supported codec variant. Boot the unpatched
kernel and then the patched kernel with the same audio userspace.

List the playback and capture devices:

    aplay -l
    arecord -l

Select the speaker output and set a safe audible volume. Use the matching
ALSA card and device numbers to test stereo playback:

    speaker-test -D plughw:CARD,DEVICE -c 2 -t wav -l 1

Plug in a headset, select its output, and repeat with its playback device.
Select the headset microphone and record while speaking:

    arecord -D plughw:CARD,DEVICE -f S16_LE -r 48000 -c 1 -d 5 
/tmp/realtek-mic.wav
    aplay /tmp/realtek-mic.wav

Repeat the recording with the built-in microphone selected. Replace CARD
and DEVICE with the numbers for each path.

Without the support patch, the new device may not bind to the driver, or
audio paths may fail because they use settings for the original variant.
With the patch, the device binds and playback and capture work on each path.

For the reset dependency, warm-reboot an affected system from Windows into
Ubuntu and run the playback test. Without the reset fix, output can sound
abnormal. With the fix, output sounds normal.

[Where problems could occur]
The changes affect the Realtek SoundWire codec driver and the shared
SoundWire codec table.

Wrong variant detection or volume ranges could cause silent, distorted,
or unexpectedly loud playback. Wrong pin or calibration settings could
break headset detection or microphone capture.

** Affects: hwe-next
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Resolute)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Stonking)
     Importance: Undecided
         Status: New


** Tags: jira-somerville-4796 oem-priority somerville

** Also affects: linux (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Stonking)
   Importance: Undecided
       Status: New

** Tags added: jira-somerville-4796 oem-priority somerville

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169378

Title:
  Add Realtek RT721_U and RT718 SoundWire audio support

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2169378/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to