!!################################ !!ALSA Information Script v 0.5.3 !!################################ !!Script ran on: Fri Oct 18 02:54:58 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: #1403 SMP Mon Feb 22 11:33:35 GMT 2021 Operating System: GNU/Linux Architecture: armv7l Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k5.10.17-v7l Library version: 1.1.8 Utilities version: 1.1.8 !!Loaded ALSA modules !!------------------- snd_usb_audio (card 1) !!Sound Servers on this system !!---------------------------- No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- 1 [Device ]: USB-Audio - USB Audio Device C-Media Electronics Inc. USB Audio Device at usb-0000:01:00.0-1.3, full speed !!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_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/card1 Driver: /sys/bus/usb/drivers/snd-usb-audio Tree: !!USB Descriptors !!--------------- --startcollapse-- Bus 001 Device 005: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A) Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0d8c C-Media Electronics, Inc. idProduct 0x0014 Audio Adapter (Unitek Y-247A) bcdDevice 1.00 iManufacturer 1 C-Media Electronics Inc. iProduct 2 USB Audio Device iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x00fd bNumInterfaces 4 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 10 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 0x0064 bInCollection 2 baInterfaceNr(0) 1 baInterfaceNr(1) 2 AudioControl Interface Descriptor: bLength 12 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 1 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bNrChannels 2 wChannelConfig 0x0003 Left Front (L) Right Front (R) iChannelNames 0 iTerminal 0 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 6 wTerminalType 0x0301 Speaker bAssocTerminal 0 bSourceID 9 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 10 bDescriptorType 36 bDescriptorSubtype 6 (FEATURE_UNIT) bUnitID 9 bSourceID 15 bControlSize 1 bmaControls(0) 0x01 Mute Control bmaControls(1) 0x02 Volume Control bmaControls(2) 0x02 Volume Control iFeature 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 AudioControl Interface Descriptor: bLength 13 bDescriptorType 36 bDescriptorSubtype 4 (MIXER_UNIT) bUnitID 15 bNrInPins 2 baSourceID(0) 1 baSourceID(1) 13 bNrChannels 2 wChannelConfig 0x0003 Left Front (L) Right Front (R) iChannelNames 0 bmControls(0) 0x00 iMixer 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 1 bDelay 1 frames wFormatTag 0x0001 PCM AudioStreaming Interface Descriptor: bLength 14 bDescriptorType 36 bDescriptorSubtype 2 (FORMAT_TYPE) bFormatType 1 (FORMAT_TYPE_I) bNrChannels 2 bSubframeSize 2 bBitResolution 16 bSamFreqType 2 Discrete tSamFreq[ 0] 48000 tSamFreq[ 1] 44100 Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 9 Transfer Type Isochronous Synch Type Adaptive Usage Type Data wMaxPacketSize 0x00c8 1x 200 bytes bInterval 1 bRefresh 0 bSynchAddress 0 AudioStreaming Endpoint Descriptor: bLength 7 bDescriptorType 37 bDescriptorSubtype 1 (EP_GENERAL) bmAttributes 0x01 Sampling Frequency bLockDelayUnits 1 Milliseconds wLockDelay 0x0001 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 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 13 Transfer Type Isochronous Synch Type Synchronous 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 3 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 Audio Device at usb-0000:01:00.0-1.3, full speed : USB Audio Playback: Status: Running Interface = 1 Altset = 1 Packet Size = 200 Momentary freq = 48000 Hz (0x30.0000) Interface 1 Altset 1 Format: S16_LE Channels: 2 Endpoint: 1 OUT (ADAPTIVE) Rates: 48000, 44100 Bits: 16 Channel map: FL FR Capture: Status: Running Interface = 2 Altset = 1 Packet Size = 100 Momentary freq = 48000 Hz (0x30.0000) Interface 2 Altset 1 Format: S16_LE Channels: 1 Endpoint: 2 IN (SYNC) Rates: 48000, 44100 Bits: 16 Channel map: MONO --endcollapse-- !!USB Mixer information !!--------------------- --startcollapse-- USB Mixer: usb_id=0x0d8c0014, ctrlif=0, ctlerr=0 Card: C-Media Electronics Inc. USB Audio Device at usb-0000:01:00.0-1.3, full speed Unit: 9 Control: name="Speaker Playback Volume", index=0 Info: id=9, control=2, cmask=0x3, channels=2, type="S16" Volume: min=-9472, max=0, dBmin=-3700, dBmax=0 Unit: 9 Control: name="Speaker Playback Switch", index=0 Info: id=9, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN" Volume: min=0, max=1, dBmin=0, dBmax=0 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=-3072, max=5888, dBmin=-1200, dBmax=2300 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 Unit: 13 Control: name="Mic Playback Volume", index=0 Info: id=13, control=2, cmask=0x0, channels=1, type="S16" Volume: min=-5888, max=2048, dBmin=-2300, dBmax=800 Unit: 13 Control: name="Mic Playback Switch", index=0 Info: id=13, 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, 32 Oct 18 02:31 /dev/snd/controlC1 crw-rw---- 1 root audio 116, 56 Oct 18 02:31 /dev/snd/pcmC1D0c crw-rw---- 1 root audio 116, 48 Oct 18 02:31 /dev/snd/pcmC1D0p crw-rw---- 1 root audio 116, 1 Oct 18 02:31 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Oct 18 02:31 /dev/snd/timer /dev/snd/by-id: total 0 drwxr-xr-x 2 root root 60 Oct 18 02:31 . drwxr-xr-x 4 root root 180 Oct 18 02:31 .. lrwxrwxrwx 1 root root 12 Oct 18 02:31 usb-C-Media_Electronics_Inc._USB_Audio_Device-00 -> ../controlC1 /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Oct 18 02:31 . drwxr-xr-x 4 root root 180 Oct 18 02:31 .. lrwxrwxrwx 1 root root 12 Oct 18 02:31 platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0 -> ../controlC1 !!ALSA configuration files !!------------------------ !!System wide config file (/etc/asound.conf) pcm.dmixed { type dmix ipc_key 1024 ipc_key_add_uid 0 slave.pcm "hw:0,0" } pcm.dsnooped { type dsnoop ipc_key 1025 slave.pcm "hw:0,0" } pcm.duplex { type asym playback.pcm "dmixed" capture.pcm "dsnooped" } pcm.left { type asym playback.pcm "shared_left" capture.pcm "dsnooped" } pcm.right { type asym playback.pcm "shared_right" capture.pcm "dsnooped" } # Instruct ALSA to use pcm.duplex as the default device pcm.!default { type plug slave.pcm "duplex" } ctl.!default { type hw card 0 } # split left channel off pcm.shared_left { type plug slave.pcm "hw:0" slave.channels 2 ttable.0.0 1 } # split right channel off pcm.shared_right { type plug slave.pcm "hw:0" slave.channels 2 ttable.1.1 1 } #dtparam=i2s=on Pcm_slave.hw_loopback { Pcm "hw: loopback, 1.2" Channels 2 Format RAW Rate 16000 } Pcm.plug_loopback { Type plug Slave hw_loopback Ttable { 0.0 = 1 0.1 = 1 } } Ctl. Equal { type equal ; Controls "/home/pi/.alsaequal.bin" } !!Aplay/Arecord output !!-------------------- APLAY **** List of PLAYBACK Hardware Devices **** card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 0/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 0/1 Subdevice #0: subdevice #0 !!Amixer output !!------------- !!-------Mixer controls for card Device Card hw:1 'Device'/'C-Media Electronics Inc. USB Audio Device at usb-0000:01:00.0-1.3, full speed' Mixer name : 'USB Mixer' Components : 'USB0d8c:0014' Controls : 10 Simple ctrls : 3 Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 37 Mono: Front Left: Playback 17 [46%] [-20.00dB] [on] Front Right: Playback 17 [46%] [-20.00dB] [on] Simple mixer control 'Mic',0 Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono Capture channels: Mono Limits: Playback 0 - 31 Capture 0 - 35 Mono: Playback 16 [52%] [-7.00dB] [off] Capture 20 [57%] [8.00dB] [on] Simple mixer control 'Auto Gain Control',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] !!Alsactl output !!-------------- --startcollapse-- state.Device { control.1 { iface PCM name 'Playback Channel Map' value.0 3 value.1 4 comment { access read type INTEGER count 2 range '0 - 36' } } control.2 { iface PCM name 'Capture Channel Map' value 2 comment { access read type INTEGER count 1 range '0 - 36' } } control.3 { iface MIXER name 'Mic Playback Switch' value false comment { access 'read write' type BOOLEAN count 1 } } control.4 { iface MIXER name 'Mic Playback Volume' value 16 comment { access 'read write' type INTEGER count 1 range '0 - 31' dbmin -9999999 dbmax 800 dbvalue.0 -700 } } control.5 { iface MIXER name 'Speaker Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.6 { iface MIXER name 'Speaker Playback Volume' value.0 17 value.1 17 comment { access 'read write' type INTEGER count 2 range '0 - 37' dbmin -9999999 dbmax 0 dbvalue.0 -2000 dbvalue.1 -2000 } } control.7 { iface MIXER name 'Mic Capture Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.8 { iface MIXER name 'Mic Capture Volume' value 20 comment { access 'read write' type INTEGER count 1 range '0 - 35' dbmin -1200 dbmax 2300 dbvalue.0 800 } } control.9 { iface MIXER name 'Auto Gain Control' value true comment { access 'read write' type BOOLEAN count 1 } } control.10 { 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 binfmt_misc bluetooth bnep brcmfmac brcmutil btbcm cec cfg80211 cmac drm drm_kms_helper drm_panel_orientation_quirks ecc ecdh_generic fb_sys_fops ff_memless garp gpu_sched hci_uart hid_microsoft i2c_bcm2835 i2c_dev industrialio ip_tables ipv6 joydev llc mc mcp320x nvmem_rmem pinctrl_mcp23s08 pinctrl_mcp23s08_i2c raspberrypi_hwmon regmap_i2c rfkill rpivid_mem sha256_generic snd snd_compress snd_hwdep snd_pcm snd_pcm_dmaengine snd_rawmidi snd_seq_device snd_soc_bcm2835_i2s snd_soc_core snd_soc_fe_pi_audio snd_soc_sgtl5000 snd_timer snd_usb_audio snd_usbmidi_lib spi_bcm2835 spidev squashfs 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: 2059008 [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1600x900M@60 smsc95xx.macaddr=D8:3A:DD:1D:75:D4 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=5f4942ec-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [ 0.000000] Kernel parameter elevator= does not have any effect anymore. -- [ 8.005020] microsoft 0003:045E:0750.0003: input,hidraw3: USB HID v1.11 Device [Microsoft Wired Keyboard 600] on usb-0000:01:00.0-1.2/input1 [ 8.007759] usbcore: registered new interface driver snd-usb-audio [ 8.041528] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 !!Packages installed !!-------------------- ii alsa-utils 1.1.8-2 armhf Utilities for configuring and using ALSA