Bug 219552 - CA0132 Creative Soundblaster AE-9 no sound at all [1102:0010]
Summary: CA0132 Creative Soundblaster AE-9 no sound at all [1102:0010]
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P3 high
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-03 17:33 UTC by Starfoxfs
Modified: 2025-01-13 08:44 UTC (History)
4 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
alsa-info.txt (66.51 KB, text/plain)
2024-12-03 17:33 UTC, Starfoxfs
Details
Windows 11 PinConfig´s SB AE-9 (902 bytes, text/x-ms-regedit)
2024-12-10 14:04 UTC, Starfoxfs
Details
Windows 11 Pinconfig SB AE-9 (2) (6.27 KB, text/x-ms-regedit)
2024-12-10 14:05 UTC, Starfoxfs
Details
Windows 11 Pinconfig SB AE-9 (3) (5.79 KB, text/x-ms-regedit)
2024-12-10 14:06 UTC, Starfoxfs
Details
Windows 11 Pinconfig Override Verbs SB AE-9 (1) (1.51 KB, text/x-ms-regedit)
2024-12-10 14:07 UTC, Starfoxfs
Details
Windows 11 Pinconfig Override Verbs SB AE-9 (2) (2.26 KB, text/x-ms-regedit)
2024-12-10 14:07 UTC, Starfoxfs
Details
Windows 11 Pinconfig Override Verbs SB AE-9 (3) (2.26 KB, text/x-ms-regedit)
2024-12-10 14:07 UTC, Starfoxfs
Details
Windows 11 Pinconfig Override Verbs SB AE-9 (4) (3.01 KB, text/x-ms-regedit)
2024-12-10 14:08 UTC, Starfoxfs
Details
Soundblaster AE-9 Windows Driver INF (Creative) (80.08 KB, text/plain)
2024-12-14 18:53 UTC, Starfoxfs
Details
Soundblaster AE9 Windows Driver INF ctxhda.inf (80.08 KB, text/plain)
2024-12-14 18:54 UTC, Starfoxfs
Details
Windows Driver extracted from Windows (3.62 MB, application/x-zip-compressed)
2024-12-16 09:41 UTC, Starfoxfs
Details
Last Patchwork from Connor Mcadams on AE9 (67.17 KB, patch)
2025-01-07 08:42 UTC, Starfoxfs
Details | Diff
Email Dump between Connor McAdams and Shengyu (334.34 KB, application/x-zip-compressed)
2025-01-07 08:47 UTC, Starfoxfs
Details

Description Starfoxfs 2024-12-03 17:33:49 UTC
Created attachment 307312 [details]
alsa-info.txt

Hi,

i have installed a fresh Linux Mint 22 Cinnamon Edition Kernel 6.8.0-49-generic x86_64

I don't get any sound from the Creative Soundblaster AE-9, neither digital via SPDIF nor analogue via the rear connectors of the sound card. The ACM (Audio Control Module) is also not initialized and remains dark. 

I tried various configurations with the pavucontrol tool and HDAJackRetask, unfortunately without any success.

Unfortunately, Creative itself does not provide Linux drivers and refers to the Alsa Community

Output of LSPCI:

lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers [8086:3ec2] (rev 07)
00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07)
00:14.0 USB controller [0c03]: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller [8086:a36d] (rev 10)
00:14.2 RAM memory [0500]: Intel Corporation Cannon Lake PCH Shared SRAM [8086:a36f] (rev 10)
00:16.0 Communication controller [0780]: Intel Corporation Cannon Lake PCH HECI Controller [8086:a360] (rev 10)
00:17.0 SATA controller [0106]: Intel Corporation Cannon Lake PCH SATA AHCI Controller [8086:a352] (rev 10)
00:1b.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #19 [8086:a342] (rev f0)
00:1b.4 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 [8086:a32c] (rev f0)
00:1c.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #3 [8086:a33a] (rev f0)
00:1c.3 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #4 [8086:a33b] (rev f0)
00:1d.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 [8086:a330] (rev f0)
00:1f.0 ISA bridge [0601]: Intel Corporation H370 Chipset LPC/eSPI Controller [8086:a304] (rev 10)
00:1f.4 SMBus [0c05]: Intel Corporation Cannon Lake PCH SMBus Controller [8086:a323] (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller [8086:a324] (rev 10)
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (7) I219-V [8086:15bc] (rev 10)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GP104 High Definition Audio Controller [10de:10f0] (rev a1)
03:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc 2550 NVMe SSD (DRAM-less) [1344:5416] (rev 01)
05:00.0 PCI bridge [0604]: Tundra Semiconductor Corp. Tsi381 PCIe to PCI Bridge [10e3:8111] (rev 02)
06:00.0 Audio device [0403]: Creative Labs Device [1102:0010] (rev 01)


I hope there will be kernel driver updates from the community
Comment 1 Takashi Iwai 2024-12-07 13:21:49 UTC
Have you enabled CONFIG_SND_HDA_CODEC_CA0132?

Although the quirk entry for matching SSID (1102:0071) is missing, binding with snd-hda-code-ca0132 driver is the very first step.

Also, 6.8.0 kernel is pretty old.  For debugging, use the latest upstream kernel.
Comment 2 Starfoxfs 2024-12-07 14:42:48 UTC
CONFIG_SND_HDA_CODEC_CA0132 is enabled:

aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: PCH [HDA Intel PCH], Gerät 0: ALC887-VD Analog [ALC887-VD Analog]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0
Karte 0: PCH [HDA Intel PCH], Gerät 1: ALC887-VD Digital [ALC887-VD Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 7: HDMI 1 [HDMI 1]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 8: HDMI 2 [HDMI 2]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 9: HDMI 3 [HDMI 3]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 2: Creative [HDA Creative], Gerät 0: CA0132 Analog [CA0132 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 2: Creative [HDA Creative], Gerät 1: CA0132 Digital [CA0132 Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0


Here are HWInfos about this Card:

 *-multimedia
                   Beschreibung: Audio device
                   Produkt: Creative Labs
                   Hersteller: Creative Labs
                   Physische ID: 0
                   Bus-Informationen: pci@0000:06:00.0
                   Logischer Name: card2
                   Logischer Name: /dev/snd/controlC2
                   Logischer Name: /dev/snd/hwC2D1
                   Logischer Name: /dev/snd/hwC2D2
                   Logischer Name: /dev/snd/pcmC2D0c
                   Logischer Name: /dev/snd/pcmC2D0p
                   Logischer Name: /dev/snd/pcmC2D1c
                   Logischer Name: /dev/snd/pcmC2D1p
                   Logischer Name: /dev/snd/pcmC2D2c
                   Logischer Name: /dev/snd/pcmC2D4c
                   Version: 01
                   Breite: 64 bits
                   Takt: 33MHz
                   Fähigkeiten: bus_master cap_list
                   Konfiguration: driver=snd_hda_intel latency=32 maxlatency=20 mingnt=16
                   Ressourcen: irq:19 memory:a3204000-a3207fff memory:a3200000-a3203fff
                 *-input
                      Produkt: HDA Creative Line Out
                      Physische ID: 0
                      Logischer Name: input28
                      Logischer Name: /dev/input/event9


--------------------------

Here is the SSID with Subsystem:

lspci -nnm

06:00.0 "Audio device [0403]" "Creative Labs [1102]" "Device [0010]" -r01 -p00 "Creative Labs [1102]" "Device [0071]"


I know there is a newer Kernel but the newer Kernel not working correctly with Nvidia Graphic Drivers so i stay on 6.8.0-49.
Comment 3 Starfoxfs 2024-12-07 15:04:38 UTC
Here are some more additional Information:

ez 07 14:15:56 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D1: ca0132 DSP downloaded and running
Dez 07 14:15:57 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2: autoconfig for CA0132: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
Dez 07 14:15:57 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Dez 07 14:15:57 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
Dez 07 14:15:57 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    mono: mono_out=0x0
Dez 07 14:15:57 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    dig-out=0xc/0x0
Dez 07 14:15:57 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    inputs:
Dez 07 14:15:57 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:      Line=0x11
Dez 07 14:15:57 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    dig-in=0xe
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2: ca0132 DSP downloaded and running
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Master Playback Volume:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Master Playback Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Capture Volume:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Analog-Mic2 Capture Volume:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Analog-Mic2 Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:What U Hear Capture Volume:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:What U Hear Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Mic1-Boost (30dB) Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:HP/Speaker Playback Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:AMic1/DMic Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:HP/Speaker Auto Detect Playback Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:AMic1/DMic Auto Detect Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Surround Playback Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132: probe of hdaudioC2D2 failed with error -16
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2: autoconfig for CA0132: line_outs=2 (0xb/0x11/0x0/0x0/0x0) type:line
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    hp_outs=2 (0x10/0xf/0x0/0x0/0x0)
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    mono: mono_out=0x0
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    dig-out=0xc/0xd
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    inputs:
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:      Mic=0x12
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:      Line=0x13
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2:    dig-in=0xe
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132 hdaudioC2D2: ca0132 DSP downloaded and running
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Master Playback Volume:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Master Playback Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Capture Volume:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Analog-Mic2 Capture Volume:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Analog-Mic2 Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:What U Hear Capture Volume:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:What U Hear Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Mic1-Boost (30dB) Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:HP/Speaker Playback Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:AMic1/DMic Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:HP/Speaker Auto Detect Playback Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:AMic1/DMic Auto Detect Capture Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Surround Playback Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_ca0132: probe of hdaudioC2D2 failed with error -16
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_generic hdaudioC2D2: autoconfig for Generic: line_outs=2 (0xb/0x11/0x0/0x0/0x0) type:line
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_generic hdaudioC2D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_generic hdaudioC2D2:    hp_outs=2 (0x10/0xf/0x0/0x0/0x0)
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_generic hdaudioC2D2:    mono: mono_out=0x0
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_generic hdaudioC2D2:    dig-out=0xc/0xd
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_generic hdaudioC2D2:    inputs:
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_generic hdaudioC2D2:      Mic=0x12
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_generic hdaudioC2D2:      Line=0x13
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_generic hdaudioC2D2:    dig-in=0xe
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Surround Playback Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:Capture Volume:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_intel 0000:06:00.0: control 2:0:0:IEC958 Default PCM Playback Switch:0 is already present
Dez 07 14:15:58 The-Core kernel: snd_hda_codec_generic: probe of hdaudioC2D2 failed with error -16
Dez 07 14:15:58 The-Core kernel: hdaudio hdaudioC2D2: Unable to configure, disabling
Dez 07 14:15:58 The-Core kernel: input: HDA Creative Line Out as /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/0000:06:00.0/sound/card2/input28
Comment 4 Starfoxfs 2024-12-07 15:19:08 UTC
I have activated 

CONFIG_SND_HDA_CODEC_CA0132=y

in Kernel Config 6.8.0-49-generic
Comment 5 Starfoxfs 2024-12-07 17:30:37 UTC
Update: Now on Kernel  6.11.0-12-generic with enabled CONFIG_SND_HDA_CODEC_CA0132=y

No Sound anyway. I have tried all settings with PavuControl and also Alsamixer. With Analog Outputs, with Digital Outputs and SPDIF Optical Cable.

I also used preinstalled Pipewire and then uninstalled this and used PulseAudio for testing but both have no sound.

The PulseAudio is "better" for my integrated Mainboard Soundcard ALC887-VD, here Pipewire didn´t find Analog Ports, but that's not the issue here.
Comment 6 Takashi Iwai 2024-12-08 18:59:54 UTC
You can try to apply the quirk for AE-7 to your device, e.g. a one-liner patch like:

--- a/sound/pci/hda/patch_ca0132.c
+++ b/sound/pci/hda/patch_ca0132.c
@@ -1313,6 +1313,7 @@ static const struct snd_pci_quirk ca0132_quirks[] = {
 	SND_PCI_QUIRK(0x1102, 0x0051, "Sound Blaster AE-5", QUIRK_AE5),
 	SND_PCI_QUIRK(0x1102, 0x0191, "Sound Blaster AE-5 Plus", QUIRK_AE5),
 	SND_PCI_QUIRK(0x1102, 0x0081, "Sound Blaster AE-7", QUIRK_AE7),
+	SND_PCI_QUIRK(0x1102, 0x0071, "Sound Blaster AE-9", QUIRK_AE7),
 	{}
 };
Comment 7 Starfoxfs 2024-12-09 10:40:56 UTC
I can try it, but I'm not that experienced Linux user, I switched from Windows ;)
Comment 8 Starfoxfs 2024-12-09 15:00:33 UTC
Although I get the Patch_CA0132.c modified, I don't get this kernel module compiled into SND-HDA-Codec-CA0132.ko and certainly not loaded into the kernel. I probably lack experience in the Linux area here. Although I've read a lot of tutorials now.
Comment 9 Takashi Iwai 2024-12-09 15:10:34 UTC
Ask your distribution for the help?
Comment 10 Starfoxfs 2024-12-09 17:19:31 UTC
I post it to the Linux Mint Forums, maybe somebody helps
Comment 11 Starfoxfs 2024-12-10 13:39:27 UTC
Ok now i have compilied my own Kernel for the first Time.

Linux Mint works fine with it.

Now Soundblaster AE-9 have the Sinks/Ports from Soundblaster AE-7 but all Ports are unavailable in PavuControl

I think there are other ID`s for the Sinks on Soundblaster AE-7.

name: <alsa_card.pci-0000_06_00.0>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "2"
		alsa.card_name = "HDA Creative"
		alsa.long_card_name = "HDA Creative at 0xa3204000 irq 19"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:06:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1c.3/0000:05:00.0/0000:06:00.0/sound/card2"
		device.bus = "pci"
		device.vendor.id = "1102"
		device.vendor.name = "Creative Labs"
		device.product.id = "0010"
		device.string = "2"
		device.description = "HDA Creative"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo-Eingabe (priority 65, available: no)
		output:analog-stereo: Analog Stereo-Ausgabe (priority 6500, available: no)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
		output:analog-surround-21: Analog Surround 2.1-Ausgabe (priority 1300, available: no)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1-Ausgabe + Analog Stereo-Eingabe (priority 1365, available: no)
		output:analog-surround-40: Analog Surround 4.0-Ausgabe (priority 1200, available: no)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0-Ausgabe + Analog Stereo-Eingabe (priority 1265, available: no)
		output:analog-surround-41: Analog Surround 4.1-Ausgabe (priority 1300, available: no)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1-Ausgabe + Analog Stereo-Eingabe (priority 1365, available: no)
		output:analog-surround-50: Analog Surround 5.0-Ausgabe (priority 1200, available: no)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0-Ausgabe + Analog Stereo-Eingabe (priority 1265, available: no)
		output:analog-surround-51: Analog Surround 5.1-Ausgabe (priority 1300, available: no)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1-Ausgabe + Analog Stereo-Eingabe (priority 1365, available: no)
		output:iec958-stereo: Digital Stereo (IEC958)-Ausgabe (priority 38268, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958)-Ausgabe + Analog Stereo-Eingabe (priority 5565, available: unknown)
		output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3)-Ausgabe (priority 300, available: unknown)
		output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3)-Ausgabe + Analog Stereo-Eingabe (priority 365, available: no)
		off: Aus (priority 0, available: unknown)
	active profile: <output:analog-surround-41>
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
			properties:
				
		analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: no)
			properties:
				
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
Comment 12 Starfoxfs 2024-12-10 14:04:08 UTC
Created attachment 307335 [details]
Windows 11 PinConfig´s SB AE-9
Comment 13 Starfoxfs 2024-12-10 14:05:39 UTC
Created attachment 307336 [details]
Windows 11 Pinconfig SB AE-9 (2)
Comment 14 Starfoxfs 2024-12-10 14:06:01 UTC
Comment on attachment 307335 [details]
Windows 11 PinConfig´s SB AE-9

In Registry as original PinConfig
Comment 15 Starfoxfs 2024-12-10 14:06:41 UTC
Created attachment 307337 [details]
Windows 11 Pinconfig SB AE-9 (3)
Comment 16 Starfoxfs 2024-12-10 14:07:13 UTC
Created attachment 307338 [details]
Windows 11 Pinconfig Override Verbs SB AE-9 (1)
Comment 17 Starfoxfs 2024-12-10 14:07:31 UTC
Created attachment 307339 [details]
Windows 11 Pinconfig Override Verbs SB AE-9 (2)
Comment 18 Starfoxfs 2024-12-10 14:07:50 UTC
Created attachment 307340 [details]
Windows 11 Pinconfig Override Verbs SB AE-9 (3)
Comment 19 Starfoxfs 2024-12-10 14:08:09 UTC
Created attachment 307341 [details]
Windows 11 Pinconfig Override Verbs SB AE-9 (4)
Comment 20 Starfoxfs 2024-12-10 16:16:57 UTC
I have overwritten the Pinconfig from AE-7 to test it:

patch_ca0132.c line 1282-1294

static const struct hda_pintbl ae7_pincfgs[] = {
-	{ 0x0b, 0x01017010 },
-	{ 0x0c, 0x014510f0 },
-	{ 0x0d, 0x414510f0 },
-	{ 0x0e, 0x01c520f0 },
-	{ 0x0f, 0x01017114 },
-	{ 0x10, 0x01017011 },
-	{ 0x11, 0x018170ff },
-	{ 0x12, 0x01a170f0 },
-	{ 0x13, 0x908700f0 },
-	{ 0x18, 0x500000f0 },
	{}
};

with this:

static const struct hda_pintbl ae7_pincfgs[] = {
+	{ 0x0b, 0x011471f0 },
+       { 0x0c, 0x414580f0 },
+       { 0x0d, 0x414570f0 },
+       { 0x0e, 0x41c530f0 },
+       { 0x0f, 0x412000f0 },
+       { 0x10, 0x412160f0 },
+       { 0x11, 0x418120f0 },
+       { 0x12, 0x01a190f0 },
+       { 0x13, 0x50d000f0 },
+       { 0x18, 0x500000f0 },
	{}
};

The most Audio Configuration Output Profiles (HDA_Creative) in PavUControl are now available. Before with the standard AE-7 pincfgs all Profiles are unavailable.


But still Audio doesn´t work. I think more adaptation to the Soundblaster AE-9 is necessary here.
Comment 21 Starfoxfs 2024-12-10 18:54:18 UTC
The Main Problem is that the Soundblaster AE-9 Card isn´t initialized by PCI Driver

I have only one PCI Device for this Soundcard listed:

06:00.0 Audio device [0403]: Creative Labs Device [1102:0010] (rev 01)
	Subsystem: Creative Labs Device [1102:0071]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

But there a 2 more ! i have noticed that in Windows 11

Soundblaster AE-9 1102:0011 (rev 1009) Subsys 1102:0071
Soundblaster AE-9s 1102:0011 (rev 1009) Subsys 1102:0072
Soundblaster Audio Controller 1102:0010 (rev 01) Subsys 0071:1102

I cant get Sound when only the Audio Controller is listed in Linux, that's an external Hardware Microphone/Volumecontrol.
Comment 22 Starfoxfs 2024-12-12 13:41:43 UTC
Unfortunately no news here, still no sound.

I can only say on Windows 10 or 11 the Soundblaster AE-9 initializing with a "click" noise (I think Electrical Relay). 

Unfortunately this is not the case with Linux no clicking at Linux Boot and the Soundblaster AE-9 seems to be dead. Although the output profiles now fit somewhat (see above).
Comment 23 Starfoxfs 2024-12-14 18:47:17 UTC
Here are the correct pincfgs for the AE9:

static const struct hda_pintbl ae9_pincfgs[] = {
	{ 0x0b, 0x01017010 }, /* Port G -- Lineout FRONT L/R */
	{ 0x0c, 0x014510f0 }, /* SPDIF Out 1 */
	{ 0x0d, 0x414510f0 }, /* SPDIF OUT -- Not connected */
	{ 0x0e, 0x01c520f0 }, /* SPDIF In */
	{ 0x0f, 0x01017114 }, /* Port A -- Rear L/R, PresenceDetectOverride=True */
	{ 0x10, 0x01017011 }, /* Port D -- Center/LFE or FP Hp */
	{ 0x11, 0x41a170ff }, /* Port B -- LineMicIn2 or BackPanel HP */
	{ 0x12, 0x01a170f0 }, /* Port C -- LineMicIn1, Mic-In and Headset-Mic */
	{ 0x13, 0x908700f0 }, /* What U Hear In*/
	{ 0x18, 0x500000f0 }, /* N/A */
	{}
};

I attach the original OEM.inf from Windows with Pinconfigs and GPIO Settings for all AE Series Soundblaster.
For testing i have overwritten the ae7_pincfgs in my customkernel.


Unfortunately I still don't have any sound with the correct pin configs. I get the error:


snd_hda_codec_ca0132: probe of hdaudioC1D2 failed with error -16

snd_hda_codec_generic: probe of hdaudioC1D2 failed with error -16
[   17.278810] snd_hda_intel 0000:06:00.0: Too many BDL entries: buffer=1572864, period=49152

A little help would be nice
Comment 24 Starfoxfs 2024-12-14 18:53:47 UTC
Created attachment 307358 [details]
Soundblaster AE-9 Windows Driver INF (Creative)
Comment 25 Starfoxfs 2024-12-14 18:54:44 UTC
Created attachment 307359 [details]
Soundblaster AE9 Windows Driver INF ctxhda.inf
Comment 26 Starfoxfs 2024-12-16 09:41:57 UTC
Created attachment 307363 [details]
Windows Driver extracted from Windows

All i have found for Creative AE-9 in Windows Folder
Comment 27 Starfoxfs 2024-12-31 11:54:11 UTC
Unfortunately I can't get any further without help from an experienced Developer.
Most users in forums can't help here because it's technically very complex and the Windows drivers have to be read.
So wait for someone who knows about it.
I installed Windows with the Soundblaster AE-9 and would be happy to help with information if someone told me how to do it.
Comment 28 Shengyu Qu 2025-01-06 06:23:34 UTC
For anyone interested, here are some useful information thanks to Connor: https://github.com/ValveSoftware/SteamOS/issues/1763#issuecomment-2572358833
Comment 29 Starfoxfs 2025-01-07 08:42:30 UTC
Created attachment 307447 [details]
Last Patchwork from Connor Mcadams on AE9

Thanks to Connor Mcadams for the work until now and Shengyu for providing it to me.

Source: https://github.com/ValveSoftware/SteamOS/issues/1763
Comment 30 Starfoxfs 2025-01-07 08:47:58 UTC
Created attachment 307448 [details]
Email Dump between Connor McAdams and Shengyu

Email correspondence between connor mcadams and shengyu with some detailed Informations about ae9 work.

Source: https://github.com/ValveSoftware/SteamOS/issues/1763
Thanks to Shengyu for Providing this to me.
Comment 31 Starfoxfs 2025-01-07 08:55:42 UTC
I have compiled a Kernel with the complete Patch work of Connor Mcadams (attachment 307447 [details]) but still no sound.

In an email between Connor Mcadams and me he wrote:


--------------------------------------------------------------
"This will take a lot more work than just pincfgs, and the information
you need won't be in ctxhda.inf. You'd need to capture the correct
commands/GPIO settings from watching the Windows driver.

FWIW, I've done some preliminary work on this, but stopped because it
would be more work than I have time for anymore. The biggest issue
will be dealing with the breakout module, my guess was that that will
likely require some kind of background thread in the driver and that's
something I have no experience with.

I can try to dig up my old patches if those would be of any use, but
they still weren't enough to get audio working. It might have been
because the AE-9 has two ca0132 codecs on board, or it may have been
due to not handling the breakout module, I'm not sure. I didn't dig
too deeply into it at the time."
-------------------------------------------------------------

I don't have much experience with this. We need an experienced Programmer here.
Comment 32 Branloins 2025-01-09 13:17:03 UTC
Im in the same boat trying to find a way to get this card to work… do you have a github with the work you have done and documentation? No experience with linux kernel drivers but know c and c++ and am willing to help get this work.
Comment 33 Starfoxfs 2025-01-10 11:24:26 UTC
Thanks @Branloins, The main task is to monitor the Windows driver for the correct commands/GPIO settings that is the difficult task and only someone who is familiar with this programming language can do that. I currently have WinDBG installed but cannot assign any unique commands.
Comment 34 Branloins 2025-01-10 18:34:53 UTC
@Starfoxfs@gmx.net I’m going to get a windows vm and the tools from Connor McAdams’s github up and running this weekend and see what i can do… from what the can find step one seems to be getting the card initialized.
Comment 35 Branloins 2025-01-10 18:35:23 UTC
@Starfoxfs@gmx.net I’m going to get a windows vm and the tools from Connor McAdams’s github up and running this weekend and see what i can do… from what the can find step one seems to be getting the card initialized.
Comment 36 Branloins 2025-01-12 20:02:42 UTC
@Starfoxfs@gmx.net well i cant get any output from the pci in qemu either…… you have a driver compiled with the correct pinout right? Have you tried disconnecting the ACM and seeing if the base card outputs sound?
Comment 37 Branloins 2025-01-13 00:58:36 UTC
Well i also added all the patches from connor and same as you no output… ngl im not a reverse engineer and im stumped i would for real be willing to put up some money to whoever can get this card to work…
Comment 38 Starfoxfs 2025-01-13 08:44:31 UTC
Hi @Branloins,

yes i tried all Output Settings (Digital and Analog), with disconnected the ACM and with connected the ACM but no luck.


The correct Pinouts i have posted in Comment 23. It´s 1 more than in the Patches because Connor Mcadams has not set the "SPDIF OUT not connected" in the Original Driver in Windows this is set too.

At least some basic support for the card would be great

Note You need to log in before you can comment on or make changes to this bug.