!!################################ !!ALSA Information Script v 0.5.3 !!################################ !!Script ran on: Tue Sep 3 21:39:15 UTC 2024 !!Linux Distribution !!------------------ ID_LIKE=debian !!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: #1529 SMP Tue Mar 8 12:24:00 GMT 2022 Operating System: GNU/Linux Architecture: armv7l Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k5.10.103-v7l Library version: 1.1.8 Utilities version: 1.1.8 !!Loaded ALSA modules !!------------------- snd_soc_rpi_simple_soundcard (card 0) snd_usb_audio (card 1) !!Sound Servers on this system !!---------------------------- No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- 0 [sndrpihifiberry]: RPi-simple - snd_rpi_hifiberry_dac snd_rpi_hifiberry_dac 1 [Device ]: USB-Audio - USB PnP Sound Device C-Media Electronics Inc. USB PnP Sound Device at usb-0000:01:00.0-1.2, full spe !!PCI Soundcards installed in the system !!-------------------------------------- !!Modprobe options (Sound related) !!-------------------------------- snd_pcsp: index=-2 snd_usb_audio: index=-2 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 snd_bcm2835: enable_compat_alsa=0 snd_bcm2835: enable_hdmi=1 !!Loaded sound module options !!--------------------------- !!Module: snd_soc_rpi_simple_soundcard * : !!Module: snd_usb_audio autoclock : Y delayed_register : (null),(null),(null),(null),(null),(null),(null),(null) device_setup : 0,0,0,0,0,0,0,0 enable : Y,Y,Y,Y,Y,Y,Y,Y id : (null),(null),(null),(null),(null),(null),(null),(null) ignore_ctl_error : N index : -2,-1,-1,-1,-1,-1,-1,-1 pid : -1,-1,-1,-1,-1,-1,-1,-1 quirk_alias : (null),(null),(null),(null),(null),(null),(null),(null) skip_validation : N use_vmalloc : Y vid : -1,-1,-1,-1,-1,-1,-1,-1 !!Sysfs card info !!--------------- !!Card: /sys/class/sound/card0 Driver: /sys/bus/platform/drivers/snd-rpi-simple Tree: !!Card: /sys/class/sound/card1 Driver: /sys/bus/usb/drivers/snd-usb-audio Tree: !!USB Descriptors !!--------------- --startcollapse-- Bus 001 Device 005: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x08bb Texas Instruments idProduct 0x2902 PCM2902 Audio Codec bcdDevice 1.00 iManufacturer 1 C-Media Electronics Inc. iProduct 2 USB PnP Sound Device iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0099 bNumInterfaces 3 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 1 Control Device bInterfaceProtocol 0 iInterface 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 0x0037 bInCollection 1 baInterfaceNr(0) 1 AudioControl Interface Descriptor: bLength 12 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 2 wTerminalType 0x0201 Microphone bAssocTerminal 0 bNrChannels 1 wChannelConfig 0x0001 Left Front (L) iChannelNames 0 iTerminal 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 7 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bSourceID 8 iTerminal 0 AudioControl Interface Descriptor: bLength 7 bDescriptorType 36 bDescriptorSubtype 5 (SELECTOR_UNIT) bUnitID 8 bNrInPins 1 baSourceID(0) 10 iSelector 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 6 (FEATURE_UNIT) bUnitID 10 bSourceID 2 bControlSize 1 bmaControls(0) 0x43 Mute Control Volume Control Automatic Gain Control bmaControls(1) 0x00 iFeature 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 6 (FEATURE_UNIT) bUnitID 13 bSourceID 2 bControlSize 1 bmaControls(0) 0x03 Mute Control Volume Control bmaControls(1) 0x00 iFeature 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 AudioStreaming Interface Descriptor: bLength 7 bDescriptorType 36 bDescriptorSubtype 1 (AS_GENERAL) bTerminalLink 7 bDelay 1 frames wFormatTag 0x0001 PCM AudioStreaming Interface Descriptor: bLength 14 bDescriptorType 36 bDescriptorSubtype 2 (FORMAT_TYPE) bFormatType 1 (FORMAT_TYPE_I) bNrChannels 1 bSubframeSize 2 bBitResolution 16 bSamFreqType 2 Discrete tSamFreq[ 0] 48000 tSamFreq[ 1] 44100 Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 9 Transfer Type Isochronous Synch Type Adaptive Usage Type Data wMaxPacketSize 0x0064 1x 100 bytes bInterval 1 bRefresh 0 bSynchAddress 0 AudioStreaming Endpoint Descriptor: bLength 7 bDescriptorType 37 bDescriptorSubtype 1 (EP_GENERAL) bmAttributes 0x01 Sampling Frequency bLockDelayUnits 0 Undefined wLockDelay 0x0000 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.00 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 60 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x87 EP 7 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 2 Device Status: 0x0000 (Bus Powered) --endcollapse-- !!USB Stream information !!---------------------- --startcollapse-- C-Media Electronics Inc. USB PnP Sound Device at usb-0000:01:00.0-1.2, full spe : USB Audio Capture: Status: Stop Interface 1 Altset 1 Format: S16_LE Channels: 1 Endpoint: 2 IN (ADAPTIVE) Rates: 48000, 44100 Bits: 16 Channel map: MONO --endcollapse-- !!USB Mixer information !!--------------------- --startcollapse-- USB Mixer: usb_id=0x08bb2902, ctrlif=0, ctlerr=0 Card: C-Media Electronics Inc. USB PnP Sound Device at usb-0000:01:00.0-1.2, full spe Unit: 10 Control: name="Auto Gain Control", index=0 Info: id=10, control=7, cmask=0x0, channels=1, type="BOOLEAN" Volume: min=0, max=1, dBmin=0, dBmax=0 Unit: 10 Control: name="Mic Capture Volume", index=0 Info: id=10, control=2, cmask=0x0, channels=1, type="S16" Volume: min=0, max=6096, dBmin=0, dBmax=2381 Unit: 10 Control: name="Mic Capture Switch", index=0 Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN" Volume: min=0, max=1, dBmin=0, dBmax=0 --endcollapse-- !!ALSA Device nodes !!----------------- crw-rw---- 1 root audio 116, 0 Sep 3 20:49 /dev/snd/controlC0 crw-rw---- 1 root audio 116, 32 Sep 3 23:30 /dev/snd/controlC1 crw-rw---- 1 root audio 116, 16 Sep 3 20:49 /dev/snd/pcmC0D0p crw-rw---- 1 root audio 116, 56 Sep 3 23:30 /dev/snd/pcmC1D0c crw-rw---- 1 root audio 116, 1 Sep 3 20:49 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Sep 3 20:49 /dev/snd/timer /dev/snd/by-id: total 0 drwxr-xr-x 2 root root 60 Sep 3 23:30 . drwxr-xr-x 4 root root 200 Sep 3 23:30 .. lrwxrwxrwx 1 root root 12 Sep 3 23:30 usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00 -> ../controlC1 /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 80 Sep 3 23:30 . drwxr-xr-x 4 root root 200 Sep 3 23:30 .. lrwxrwxrwx 1 root root 12 Sep 3 23:30 platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2:1.0 -> ../controlC1 lrwxrwxrwx 1 root root 12 Sep 3 20:49 platform-soc:sound -> ../controlC0 !!ALSA configuration files !!------------------------ !!System wide config file (/etc/asound.conf) pcm.hifiberryMiniAmp { type softvol slave.pcm "plughw:0" control.name "Master" control.card 0 } pcm.!default { type plug slave.pcm "hifiberryMiniAmp" } !!Aplay/Arecord output !!-------------------- APLAY **** List of PLAYBACK Hardware Devices **** card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 !!Amixer output !!------------- !!-------Mixer controls for card sndrpihifiberry Card hw:0 'sndrpihifiberry'/'snd_rpi_hifiberry_dac' Mixer name : '' Components : '' Controls : 1 Simple ctrls : 1 Simple mixer control 'Master',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 255 Front Left: 127 [50%] Front Right: 127 [50%] !!-------Mixer controls for card Device Card hw:1 'Device'/'C-Media Electronics Inc. USB PnP Sound Device at usb-0000:01:00.0-1.2, full spe' Mixer name : 'USB Mixer' Components : 'USB08bb:2902' Controls : 5 Simple ctrls : 2 Simple mixer control 'Mic',0 Capabilities: cvolume cvolume-joined cswitch cswitch-joined Capture channels: Mono Limits: Capture 0 - 16 Mono: Capture 0 [0%] [0.00dB] [on] Simple mixer control 'Auto Gain Control',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] !!Alsactl output !!-------------- --startcollapse-- state.sndrpihifiberry { control.1 { iface MIXER name Master value.0 127 value.1 127 comment { access 'read write user' type INTEGER count 2 range '0 - 255' tlv '0000000100000008ffffec1400000014' dbmin -5100 dbmax 0 dbvalue.0 -2560 dbvalue.1 -2560 } } } state.Device { control.1 { iface PCM name 'Capture Channel Map' value 0 comment { access read type INTEGER count 1 range '0 - 36' } } control.2 { iface MIXER name 'Mic Capture Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.3 { iface MIXER name 'Mic Capture Volume' value 0 comment { access 'read write' type INTEGER count 1 range '0 - 16' dbmin 0 dbmax 2381 dbvalue.0 0 } } control.4 { iface MIXER name 'Auto Gain Control' value true comment { access 'read write' type BOOLEAN count 1 } } control.5 { iface CARD name 'Keep Interface' value false comment { access 'read write' type BOOLEAN count 1 } } } --endcollapse-- !!All Loaded Modules !!------------------ 8021q backlight bcm2835_codec bcm2835_isp bcm2835_mmal_vchiq bcm2835_v4l2 bluetooth bnep brcmfmac brcmutil btbcm cec cfg80211 cifs cmac drm drm_kms_helper drm_panel_orientation_quirks ecc ecdh_generic fb_sys_fops garp gpu_sched hci_uart ip_tables ipv6 libarc4 llc mc md4 md5 nls_utf8 nvmem_rmem raspberrypi_hwmon rfkill rpivid_mem snd snd_compress snd_hwdep snd_pcm snd_pcm_dmaengine snd_rawmidi snd_seq_device snd_soc_bcm2835_i2s snd_soc_core snd_soc_pcm5102a snd_soc_rpi_simple_soundcard snd_timer snd_usb_audio snd_usbmidi_lib stp syscopyarea sysfillrect sysimgblt uio uio_pdrv_genirq v3d v4l2_mem2mem vc4 vc_sm_cma videobuf2_common videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_vmalloc videodev x_tables !!ALSA/HDA dmesg !!-------------- [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 503104 [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=DC:A6:32:39:3C:5D vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=738a4d67-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [ 0.000000] Kernel parameter elevator= does not have any effect anymore. -- [ 4.804014] bcm2835-codec bcm2835-codec: Loaded V4L2 encode [ 4.822152] [drm] No displays found. Consider forcing hotplug if HDMI is attached [ 4.822291] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4]) -- [ 4.829555] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx [ 5.079519] usbcore: registered new interface driver snd-usb-audio [ 5.101811] cfg80211: Loading compiled-in X.509 certificates for regulatory database !!Packages installed !!-------------------- ii alsa-utils 1.1.8-2 rpt1 armhf Utilities for configuring and using ALSA