[PATCH v3 0/6] ALSA: ctxfi: Add support for Onkyo SE-300PCIE

Harin Lee posted 6 patches 1 week ago
sound/pci/ctxfi/ctatc.c      | 97 ++++++++++++++++++++++++++----------
sound/pci/ctxfi/ctatc.h      |  8 +--
sound/pci/ctxfi/ctdaio.c     | 18 ++++---
sound/pci/ctxfi/ctdaio.h     |  3 ++
sound/pci/ctxfi/cthardware.h |  4 +-
sound/pci/ctxfi/cthw20k1.c   |  3 +-
sound/pci/ctxfi/cthw20k2.c   | 81 +++++++++++++++++++++++-------
sound/pci/ctxfi/ctmixer.c    | 73 +++++++++++++++++++++++++--
8 files changed, 225 insertions(+), 62 deletions(-)
[PATCH v3 0/6] ALSA: ctxfi: Add support for Onkyo SE-300PCIE
Posted by Harin Lee 1 week ago
I added support for the Onkyo SE-300PCIE (OK0010), a Creative X-Fi
CA20K2-based sound card with dual TI PCM1798 DACs, a single TI PCM1681
DAC for 7.1ch output, and a CS5364 ADC. This model differs
significantly from other CA20K2-based variants.

Since official driver support for this hardware was discontinued a long
time ago, this patch series enables the card to be used on modern
platforms.

This patch series was developed using QEMU vfio tracing, and PCIe BAR
dumps. Tested with analog output (up to 192kHz) and line/microphone
input (up to 96kHz) at various sample rates.

Changes in v3:
 - Patch 5: Rename ALSA mixer control to "Analog Playback Route" as
   suggested by the maintainer
 - Patch 5: Fix 'rca_state' type to 'unsigned int' in
   dedicated_rca_put()
 - Patch 6: Add comments explaining the port mapping logic for
   SE-300PCIE

Harin Lee (6):
  ALSA: ctxfi: Add hw parameter to daio_mgr_dao_init()
  ALSA: ctxfi: Add ADC helper functions for GPIO
  ALSA: ctxfi: Use explicit output flag for DAIO resources
  ALSA: ctxfi: Refactor resource alloc for sparse mappings
  ALSA: ctxfi: Add support for dedicated RCA switching
  ALSA: ctxfi: Add support for Onkyo SE-300PCIE (OK0010)

 sound/pci/ctxfi/ctatc.c      | 97 ++++++++++++++++++++++++++----------
 sound/pci/ctxfi/ctatc.h      |  8 +--
 sound/pci/ctxfi/ctdaio.c     | 18 ++++---
 sound/pci/ctxfi/ctdaio.h     |  3 ++
 sound/pci/ctxfi/cthardware.h |  4 +-
 sound/pci/ctxfi/cthw20k1.c   |  3 +-
 sound/pci/ctxfi/cthw20k2.c   | 81 +++++++++++++++++++++++-------
 sound/pci/ctxfi/ctmixer.c    | 73 +++++++++++++++++++++++++--
 8 files changed, 225 insertions(+), 62 deletions(-)

-- 
2.52.0
Re: [PATCH v3 0/6] ALSA: ctxfi: Add support for Onkyo SE-300PCIE
Posted by Takashi Iwai 6 days, 17 hours ago
On Mon, 24 Nov 2025 19:04:55 +0100,
Harin Lee wrote:
> 
> I added support for the Onkyo SE-300PCIE (OK0010), a Creative X-Fi
> CA20K2-based sound card with dual TI PCM1798 DACs, a single TI PCM1681
> DAC for 7.1ch output, and a CS5364 ADC. This model differs
> significantly from other CA20K2-based variants.
> 
> Since official driver support for this hardware was discontinued a long
> time ago, this patch series enables the card to be used on modern
> platforms.
> 
> This patch series was developed using QEMU vfio tracing, and PCIe BAR
> dumps. Tested with analog output (up to 192kHz) and line/microphone
> input (up to 96kHz) at various sample rates.
> 
> Changes in v3:
>  - Patch 5: Rename ALSA mixer control to "Analog Playback Route" as
>    suggested by the maintainer
>  - Patch 5: Fix 'rca_state' type to 'unsigned int' in
>    dedicated_rca_put()
>  - Patch 6: Add comments explaining the port mapping logic for
>    SE-300PCIE
> 
> Harin Lee (6):
>   ALSA: ctxfi: Add hw parameter to daio_mgr_dao_init()
>   ALSA: ctxfi: Add ADC helper functions for GPIO
>   ALSA: ctxfi: Use explicit output flag for DAIO resources
>   ALSA: ctxfi: Refactor resource alloc for sparse mappings
>   ALSA: ctxfi: Add support for dedicated RCA switching
>   ALSA: ctxfi: Add support for Onkyo SE-300PCIE (OK0010)

All six patches applied to for-next branch now.


thanks,

Takashi