amd cz-da7219-max98357a sound driver ??

If it doesn't relate to Debian, but you still want to share it, please do it here

amd cz-da7219-max98357a sound driver ??

Postby deaton2 » 2020-05-03 18:21

I am using linux Mint debian edition. After quite a bit of work by an expert on their forum I thought I would try here since it appears a driver is not included in the kernel.

Background: I have an AMD A4 based Acer Chromebook which is running a replacement firmware by mr.chromebox which allowed me to just install linux to it. I initially installed linux mint 19.3 but sound wasn't working. After some discussion on the mint forum it was suggested I install the linux mint debian edition. I did that and the problem persists. The sound is not working.

In mint 19.3 sound settings showed 2 output devices - 1 for hdmi via the R6 video (I have no hdmi port) and another for the sound "chip" on the board. This second device was always disabled and I could not get it enabled. After much research by people on the mint forum and myself it appears there is no current driver for the sound. I was pointed to https://code.woboq.org/linux/linux/sound/soc/amd/acp-da7219-max98357a.c.html as the driver not yet in the kernel.

Some outputs I hope are helpful:

Code: Select all
dave@davecb:~$ lspci | grep Audio
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15b3
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge
dave@davecb:~$


Code: Select all
dave@davecb:~$ uname -vnn
davecb #1 SMP Debian 5.4.19-1~bpo10+1 (2020-03-09)
dave@davecb:~$


This output is from mint 19.3, NOT the current lmde, but it does show the 2nd audio device even though it didn't work:
Code: Select all
dave@dave-test-linux:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: acpd7219m98357 [acpd7219m98357], device 0: Playback da7219-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: acpd7219m98357 [acpd7219m98357], device 2: HiFi Playback HiFi-2 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
dave@dave-test-linux:~$


The following is the CURRENT state under lmde

Code: Select all
dave@davecb:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
dave@davecb:~$


Code: Select all
dave@davecb:~$ inxi -Fxz
System:    Host: davecb Kernel: 5.4.0-0.bpo.4-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 Desktop: Cinnamon 4.4.8
           Distro: LMDE 4 Debbie base: Debian 10.2 buster
Machine:   Type: Laptop System: Google product: Aleena v: rev6 serial: <filter>
           Mobo: Google model: Aleena v: rev6 serial: <filter> UEFI: coreboot v: MrChromebox-4.11+ date: 01/19/2020
Battery:   ID-1: BAT0 charge: 45.4 Wh condition: 45.4/54.2 Wh (84%) model: PANASON AP15O5L status: Charging
           Device-1: hidpp_battery_0 model: Logitech M310 charge: 55% (should be ignored) status: Discharging
CPU:       Topology: Dual Core model: AMD A4-9120C RADEON R4 5 COMPUTE CORES 2C+3G bits: 64 type: MCP arch: Excavator
           L2 cache: 1024 KiB
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 6387
           Speed: 1192 MHz min/max: 1200/1600 MHz Core speeds (MHz): 1: 1190 2: 1189
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] driver: amdgpu v: kernel
           bus ID: 00:01.0
           Display: x11 server: X.Org 1.20.4 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa resolution: 1280x720~60Hz
           OpenGL: renderer: AMD STONEY (DRM 3.35.0 5.4.0-0.bpo.4-amd64 LLVM 7.0.1) v: 4.5 Mesa 18.3.6 direct render: Yes
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] driver: snd_hda_intel v: kernel bus ID: 00:01.1
           Sound Server: ALSA v: k5.4.0-0.bpo.4-amd64
Network:   Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Lite-On driver: ath10k_pci v: kernel
           port: 1000 bus ID: 01:00.0
           IF: wlp1s0 state: up mac: <filter>
Drives:    Local Storage: total: 29.12 GiB used: 7.33 GiB (25.2%)
           ID-1: /dev/mmcblk1 model: DA4032 size: 29.12 GiB
Partition: ID-1: / size: 28.06 GiB used: 7.32 GiB (26.1%) fs: ext4 dev: /dev/mmcblk1p2
Sensors:   System Temperatures: cpu: 37.0 C mobo: N/A gpu: amdgpu temp: 35 C
           Fan Speeds (RPM): N/A
Info:      Processes: 180 Uptime: 2d 16h 46m Memory: 3.80 GiB used: 1.28 GiB (33.6%) Init: systemd runlevel: 5 Compilers:
           gcc: 8.3.0 Shell: bash v: 5.0.3 inxi: 3.0.32
dave@davecb:~$


Code: Select all
dave@davecb:~$ dmesg | grep -C1 -E 'ALSA|HDA|sof|HDMI|snd[_-]|sound|hda.codec|hda.intel'
[    0.593142] ACPI: Added _OSI(Linux-Dell-Video)
[    0.593143] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.593144] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[    1.809820] Freeing initrd memory: 56212K
[    1.809882] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.809885] software IO TLB: mapped [mem 0xc5e40000-0xc9e40000] (64MB)
[    1.809927] LVT offset 0 assigned for vector 0x400
--
[    4.958724] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    4.958730] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.003278] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.003284] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.024382] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.024387] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.040013] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver
--
[    5.040386] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.040390] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.068805] EFI Variables Facility v0.08 2004-May-17
--
[    5.072939] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.072943] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.076087] pstore: Using crash dump compression: deflate
--
[    5.118526] cryptd: max_cpu_qlen set to 1000
[    5.119476] snd_hda_intel 0000:00:01.1: Force to non-snoop mode
[    5.119796] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.119800] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.177550] AVX2 version of gcm_enc/dec engaged.
[    5.177553] AES CTR mode by8 optimization enabled
[    5.199978] snd_hda_intel 0000:00:01.1: bound 0000:00:01.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    5.204809] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.204814] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.205572] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/sound/card0/input7
[    5.205651] input: HDA ATI HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/sound/card0/input8
[    5.529950] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.529956] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.536366] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.536373] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.536522] usbcore: registered new interface driver usbhid
--
[    5.549518] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.549523] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.550058] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:10.0/usb2/2-3/2-3.4/2-3.4:1.1/0003:046D:C52F.0002/input/input10
--
[    5.611482] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.611489] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.625671] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
--
[    5.708714] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.708720] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.710951] uvcvideo: Found UVC 1.00 device HD WebCam (04f2:b567)
[    5.721442] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.721448] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.732311] uvcvideo 1-1.1:1.0: Entity type for entity Extension 4 was not initialized!
--
[    5.776877] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.776882] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.838165] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.838170] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.838259] logitech-djreceiver 0003:046D:C52F.0002: device of type eQUAD step 4 DJ (0x04) connected on slot 1
--
[    5.851958] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.851962] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.863281] audit: type=1400 audit(1588298798.470:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=468 comm="apparmor_parser"
--
[    5.868499] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    5.868503] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    5.906288] audit: type=1400 audit(1588298798.514:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/ippusbxd" pid=477 comm="apparmor_parser"
--
[    6.021184] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    6.021190] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    6.024646] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    6.024651] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    6.026303] usbcore: registered new interface driver btusb
--
[    6.061350] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[    6.061355] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[    6.106925] bluetooth hci0: firmware: direct-loading firmware qca/nvm_usb_00000302.bin
--
[ 1051.166425] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[ 1051.166429] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[ 1051.166576] OOM killer enabled.
--
[ 1311.859050] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[ 1311.859055] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[ 1311.859202] OOM killer enabled.
--
[13102.981655] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[13102.981660] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[13102.981833] OOM killer enabled.
--
[13114.824814] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
[15378.068468] snd_hda_intel 0000:00:01.1: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
[24809.427623] PM: suspend entry (deep)
--
[24810.105049] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[24810.105053] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[24810.105199] OOM killer enabled.
--
[38766.618549] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[38766.618553] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[38766.618699] OOM killer enabled.
--
[51166.890776] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[51166.890781] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[51166.890925] OOM killer enabled.
--
[51980.232062] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[51980.232067] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[51980.264664] done.
--
[63008.033534] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[63008.033538] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[63008.033686] OOM killer enabled.
--
[71660.729750] cz-da7219-max98357a AMD7219:00: ASoC: CPU DAI designware-i2s.1.auto not registered
[71660.729755] cz-da7219-max98357a AMD7219:00: devm_snd_soc_register_card(acpd7219m98357) failed: -517
[71660.729925] done.
dave@davecb:~$


Please note that I am not an experienced or knowledgeable user. I followed other instructions and mr.chromebox to get linux installed on this Chromebook.

If it makes any difference it is an Acer CB315-2HT-47WG.

Thank you for any help you may provide.
deaton2
 
Posts: 5
Joined: 2020-05-03 17:46

Re: amd cz-da7219-max98357a sound driver ??

Postby deaton2 » 2020-05-05 23:17

BTW - did someone move this thread? I thought I posted it under the hardware group for sound, etc., problems?
deaton2
 
Posts: 5
Joined: 2020-05-03 17:46

Re: amd cz-da7219-max98357a sound driver ??

Postby cuckooflew » 2020-05-06 06:05

Unread postby deaton2 » 2020-05-03 18:21
I am using linux Mint debian edition.

This is ImageDebian User Forums

Other distros are considered off topic.
Please Read.. What we expect you have already Done.
Does any one know about this ?
Users browsing this forum: Google Knows, and
My grand father knows all about everything:
…one flew east, one flew west,
One flew over the cuckoo’s nest.
cuckooflew
 
Posts: 388
Joined: 2018-05-10 19:34
Location: Some where out west


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable