MAX98357A on Raspberry Pi CM4. No volume control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Problem - alsamixer can't control volume.
OS - Yocto based distributive. Problem appear after updating distro. On early version sound works (thus HW is OK)

!!################################
!!ALSA Information Script v 0.5.3
!!################################

!!Script ran on: Mon Oct 14 12:57:42 UTC 2024


!!Linux Distribution
!!------------------




!!DMI Information
!!---------------

Manufacturer:      
Product Name:      
Product Version:  
Firmware Version:  
System SKU:        
Board Vendor:      
Board Name:        


!!ACPI Device Status Information
!!---------------



!!ACPI SoundWire Device Status Information
!!---------------



!!Kernel Information
!!------------------

Kernel release:    #1 SMP PREEMPT_RT Mon Oct 14 10:03:35 UTC 2024
Operating System:  GNU/Linux
Architecture:      aarch64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k6.6.56-rt44-v7l-g8f7f4dd0a2ee-dirty
Library version:    
Utilities version:  1.2.11


!!Loaded ALSA modules
!!-------------------



!!Sound Servers on this system
!!----------------------------

No sound servers found.


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [MAX98357A      ]: simple-card - MAX98357A
                      MAX98357A


!!PCI Soundcards installed in the system
!!--------------------------------------



!!Modprobe options (Sound related)
!!--------------------------------

snd_bcm2835: enable_headphones=0
snd_bcm2835: enable_hdmi=0


!!Loaded sound module options
!!---------------------------


!!Sysfs card info
!!---------------

!!Card: /sys/class/sound/card0
Driver: /sys/bus/platform/drivers/asoc-simple-card
Tree:


!!ALSA Device nodes
!!-----------------

crw-rw----    1 root     audio     116,   0 Oct 14 12:42 /dev/snd/controlC0
crw-rw----    1 root     audio     116,  16 Oct 14 12:42 /dev/snd/pcmC0D0p
crw-rw----    1 root     audio     116,  33 Oct 14 12:42 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x    2 root     root            60 Oct 14 12:42 .
drwxr-xr-x    3 root     root           120 Oct 14 12:42 ..
lrwxrwxrwx    1 root     root            12 Oct 14 12:42 platform-soc:sound -> ../controlC0


!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

pcm.speakerbonnet {
   type hw card 0
}

pcm.dmixer {
   type dmix
   ipc_key 1024
   ipc_perm 0666
   slave {
     pcm "speakerbonnet"
     period_time 0
     period_size 1024
     buffer_size 8192
     rate 44100
     channels 2
   }
}

ctl.dmixer {
    type hw card 0
}

pcm.softvol {
    type softvol
    slave.pcm "dmixer"
    control.name "PCM"
    control.card 0
}

ctl.softvol {
    type hw card 0
}

pcm.!default {
    type             plug
    slave.pcm       "softvol"
}


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: MAX98357A [MAX98357A], device 0: fe203000.i2s-HiFi HiFi-0 [fe203000.i2s-HiFi HiFi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****

!!Amixer output
!!-------------

!!-------Mixer controls for card MAX98357A

Card sysdefault:0 'MAX98357A'/'MAX98357A'
  Mixer name : ''
  Components : ''
  Controls      : 0
  Simple ctrls  : 0


!!Alsactl output
!!--------------

--startcollapse--
state.MAX98357A {
control {
}
}
--endcollapse--


!!All Loaded Modules
!!------------------

af_alg
algif_hash
algif_skcipher
bluetooth
bnep
brcmfmac
brcmfmac_wcc
brcmutil
btbcm
btintel
btqca
btrtl
btsdio
cfg80211
cmac
ecc
ecdh_generic
hci_uart
ipv6
nfnetlink
overlay
phy_generic
rfkill
sch_fq_codel
uio_pdrv_genirq


!!ALSA/HDA dmesg
!!--------------

[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=E4:5F:01:4E:13:37 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyAMA3,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait  fbcon=map:10 fbcon=font:SUN12x22 video=DSI-1:1200x1920M@60,rotate=90
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
--
[    0.362339] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops)
[    0.363065] vc4_hdmi fef00700.hdmi: 'dmas' DT property is missing or empty, no HDMI audio
[    0.363080] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops)
[    0.363722] vc4_hdmi fef05700.hdmi: 'dmas' DT property is missing or empty, no HDMI audio
[    0.363732] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops)
--
[    2.131441] clk: Disabling unused clocks
[    2.131826] ALSA device list:
[    2.131830]   #0: MAX98357A
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux