!!################################ !!ALSA Information Script v 0.5.1 !!################################ !!Script ran on: Fri Dec 2 07:58:09 UTC 2022 !!Linux Distribution !!------------------ Debian GNU/Linux 10 \n \l BeagleBoard.org Debian Buster IoT Image 2020-04-06 Support: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian default username:password is [debian:temppwd] PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" !!DMI Information !!--------------- Manufacturer: Product Name: Product Version: Firmware Version: System SKU: Board Vendor: Board Name: !!ACPI Device Status Information !!--------------- !!Kernel Information !!------------------ Kernel release: 4.19.232-bone75 Operating System: GNU/Linux Architecture: armv7l Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k4.19.232-bone75 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-musb-hdrc.1-1.2, full speed !!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 !!Loaded sound module options !!--------------------------- !!Module: snd_usb_audio autoclock : Y device_setup : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) ignore_ctl_error : N index : -2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 quirk_alias : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) use_vmalloc : Y vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-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-musb-hdrc.1-1.2, full speed : USB Audio Playback: Status: Stop Interface 1 Altset 1 Format: S16_LE Channels: 2 Endpoint: 1 OUT (ADAPTIVE) Rates: 48000, 44100 Capture: Status: Stop Interface 2 Altset 1 Format: S16_LE Channels: 1 Endpoint: 2 IN (SYNC) Rates: 48000, 44100 --endcollapse-- !!USB Mixer information !!--------------------- --startcollapse-- USB Mixer: usb_id=0x0d8c0014, ctrlif=0, ctlerr=0 Card: C-Media Electronics Inc. USB Audio Device at usb-musb-hdrc.1-1.2, 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, 4 Dec 2 02:49 /dev/snd/controlC1 crw-rw---- 1 root audio 116, 3 Dec 2 02:49 /dev/snd/pcmC1D0c crw-rw---- 1 root audio 116, 2 Dec 2 02:49 /dev/snd/pcmC1D0p crw-rw---- 1 root audio 116, 1 Dec 1 11:32 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Dec 2 02:41 /dev/snd/timer /dev/snd/by-id: total 0 drwxr-xr-x 2 root root 60 Dec 2 02:49 . drwxr-xr-x 4 root root 180 Dec 2 02:49 .. lrwxrwxrwx 1 root root 12 Dec 2 02:49 usb-C-Media_Electronics_Inc._USB_Audio_Device-00 -> ../controlC1 /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Dec 2 02:49 . drwxr-xr-x 4 root root 180 Dec 2 02:49 .. lrwxrwxrwx 1 root root 12 Dec 2 02:49 platform-musb-hdrc.1-usb-0:1.2:1.0 -> ../controlC1 !!ALSA configuration files !!------------------------ !!System wide config file (/etc/asound.conf) pcm.onboard{ type hw card 0 } ctl.onboard { type hw card 0 } ### Dsnoop splited channels pcm.onboard_capture_left { type dsnoop ipc_key 32 slave { pcm "onboard" channels 2 rate 48000 format S32_LE } bindings.0 0 } pcm.onboard_playback_left { type dmix ipc_key 33 slave { pcm "onboard" channels 2 } bindings.0 0 } pcm.onboard_capture_right { type dsnoop ipc_key 32 slave { pcm "onboard" channels 2 rate 48000 format S32_LE } bindings.0 1 } pcm.onboard_playback_right { type dmix ipc_key 33 slave { pcm "onboard" channels 2 } bindings.0 1 } ### PLUGS ## ### used with darkice ### device = plug:plug_onboard_left pcm.plug_onboard_capture_left{ type plug slave.pcm "onboard_capture_left" } pcm.plug_onboard_playback_left{ type plug slave.pcm "onboard_playback_left" } pcm.!default { type asym playback.pcm "plug_onboard_playback_left" capture.pcm "plug_onboard_capture_left" } !!Aplay/Arecord output !!-------------------- APLAY **** List of PLAYBACK Hardware Devices **** card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/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-musb-hdrc.1-1.2, 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 31 [84%] [-6.00dB] [on] Front Right: Playback 31 [84%] [-6.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 25 [81%] [2.00dB] [off] Capture 25 [71%] [13.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 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.2 { iface PCM name 'Capture Channel Map' value 0 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 25 comment { access 'read write' type INTEGER count 1 range '0 - 31' dbmin -9999999 dbmax 800 dbvalue.0 200 } } 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 31 value.1 31 comment { access 'read write' type INTEGER count 2 range '0 - 37' dbmin -9999999 dbmax 0 dbvalue.0 -600 dbvalue.1 -600 } } 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 25 comment { access 'read write' type INTEGER count 1 range '0 - 35' dbmin -1200 dbmax 2300 dbvalue.0 1300 } } 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 bmp280 bmp280_i2c evdev ftdi_sio garp ip_tables iptable_filter iptable_mangle iptable_nat libcomposite llc mrp nf_conntrack nf_defrag_ipv4 nf_defrag_ipv6 nf_nat nf_nat_ipv4 sht21 snd snd_hwdep snd_pcm snd_rawmidi snd_seq_device snd_timer snd_usb_audio snd_usbmidi_lib soundcore spidev stp tun u_ether u_serial uio uio_pdrv_genirq usb_f_acm usb_f_mass_storage usb_f_ncm usb_f_rndis usbserial x_tables !!ALSA/HDA dmesg !!-------------- !!Packages installed !!-------------------- ii alsa-tools 1.1.7-1 armhf Console based ALSA utilities for specific hardware ii alsa-utils 1.1.8-2 armhf Utilities for configuring and using ALSA