!!################################ !!ALSA Information Script v 0.5.1 !!################################ !!Script ran on: Sat Aug 26 13:07:03 UTC 2023 !!Linux Distribution !!------------------ NAME="Debian GNU/Linux" ID=debian !!DMI Information !!--------------- Manufacturer: Product Name: Product Version: Firmware Version: System SKU: Board Vendor: Board Name: !!ACPI Device Status Information !!--------------- !!Kernel Information !!------------------ Kernel release: 5.15.93-rockchip64 Operating System: GNU/Linux Architecture: aarch64 Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k5.15.93-rockchip64 Library version: 1.2.8 Utilities version: 1.2.8 !!Loaded ALSA modules !!------------------- snd_usb_audio (card 0) !!Sound Servers on this system !!---------------------------- No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- 0 [HaiSenKeJi ]: USB-Audio - HaiSenKeJi Qualcomm HaiSenKeJi at usb-xhci-hcd.0.auto-1.1, full speed !!Modprobe options (Sound related) !!-------------------------------- snd_pcsp: 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 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 implicit_fb : N,N,N,N,N,N,N,N index : -1,-1,-1,-1,-1,-1,-1,-1 lowlatency : Y pid : -1,-1,-1,-1,-1,-1,-1,-1 quirk_alias : (null),(null),(null),(null),(null),(null),(null),(null) quirk_flags : 0,0,0,0,0,0,0,0 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/usb/drivers/snd-usb-audio Tree: !!USB Descriptors !!--------------- --startcollapse-- Bus 004 Device 003: ID 0a12:123b Cambridge Silicon Radio, Ltd HaiSenKeJi Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0a12 Cambridge Silicon Radio, Ltd idProduct 0x123b bcdDevice 26.13 iManufacturer 1 Qualcomm iProduct 2 HaiSenKeJi iSerial 3 CBCDAF0123456789 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x00da bNumInterfaces 4 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 0mA 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 0x0047 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 10 bDescriptorType 36 bDescriptorSubtype 6 (FEATURE_UNIT) bUnitID 2 bSourceID 1 bControlSize 1 bmaControls(0) 0x03 Mute Control Volume Control bmaControls(1) 0x00 bmaControls(2) 0x00 iFeature 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 3 wTerminalType 0x0301 Speaker bAssocTerminal 0 bSourceID 2 iTerminal 0 AudioControl Interface Descriptor: bLength 12 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 4 wTerminalType 0x0201 Microphone bAssocTerminal 0 bNrChannels 1 wChannelConfig 0x0001 Left Front (L) iChannelNames 0 iTerminal 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 6 (FEATURE_UNIT) bUnitID 5 bSourceID 4 bControlSize 1 bmaControls(0) 0x03 Mute Control Volume Control bmaControls(1) 0x00 iFeature 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 6 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bSourceID 5 iTerminal 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 0 frames wFormatTag 0x0001 PCM AudioStreaming Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 2 (FORMAT_TYPE) bFormatType 1 (FORMAT_TYPE_I) bNrChannels 2 bSubframeSize 2 bBitResolution 16 bSamFreqType 1 Discrete tSamFreq[ 0] 48000 AudioStreaming Endpoint Descriptor: bLength 7 bDescriptorType 37 bDescriptorSubtype 1 (EP_GENERAL) bmAttributes 0x81 Sampling Frequency MaxPacketsOnly bLockDelayUnits 2 Decoded PCM samples wLockDelay 0x0000 Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x00c0 1x 192 bytes bInterval 1 bRefresh 0 bSynchAddress 0 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 6 bDelay 0 frames wFormatTag 0x0001 PCM AudioStreaming Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 2 (FORMAT_TYPE) bFormatType 1 (FORMAT_TYPE_I) bNrChannels 1 bSubframeSize 2 bBitResolution 16 bSamFreqType 1 Discrete tSamFreq[ 0] 16000 AudioStreaming Endpoint Descriptor: bLength 7 bDescriptorType 37 bDescriptorSubtype 1 (EP_GENERAL) bmAttributes 0x00 bLockDelayUnits 2 Decoded PCM samples wLockDelay 0x0000 Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0020 1x 32 bytes bInterval 1 bRefresh 0 bSynchAddress 0 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.11 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 98 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 Device Status: 0x0001 Self Powered --endcollapse-- !!USB Stream information !!---------------------- --startcollapse-- Qualcomm HaiSenKeJi at usb-xhci-hcd.0.auto-1.1, full speed : USB Audio Playback: Status: Stop Interface 1 Altset 1 Format: S16_LE Channels: 2 Endpoint: 0x03 (3 OUT) (NONE) Rates: 48000 Bits: 16 Channel map: FL FR Capture: Status: Stop Interface 2 Altset 1 Format: S16_LE Channels: 1 Endpoint: 0x83 (3 IN) (NONE) Rates: 16000 Bits: 16 Channel map: MONO --endcollapse-- !!USB Mixer information !!--------------------- --startcollapse-- USB Mixer: usb_id=0x0a12123b, ctrlif=0, ctlerr=0 Card: Qualcomm HaiSenKeJi at usb-xhci-hcd.0.auto-1.1, full speed Unit: 2 Control: name="PCM Playback Volume", index=0 Info: id=2, control=2, cmask=0x0, channels=1, type="S16" Volume: min=-10240, max=1280, dBmin=-4000, dBmax=500 Unit: 2 Control: name="PCM Playback Switch", index=0 Info: id=2, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN" Volume: min=0, max=1, dBmin=0, dBmax=0 Unit: 5 Control: name="Mic Capture Volume", index=0 Info: id=5, control=2, cmask=0x0, channels=1, type="S16" Volume: min=-3072, max=2304, dBmin=-1200, dBmax=900 Unit: 5 Control: name="Mic Capture Switch", index=0 Info: id=5, 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 Aug 26 21:03 /dev/snd/controlC0 crw-rw---- 1 root audio 116, 24 Aug 26 21:03 /dev/snd/pcmC0D0c crw-rw---- 1 root audio 116, 16 Aug 26 21:03 /dev/snd/pcmC0D0p crw-rw---- 1 root audio 116, 1 Aug 26 21:03 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Aug 26 21:03 /dev/snd/timer /dev/snd/by-id: total 0 drwxr-xr-x 2 root root 60 Aug 26 21:03 . drwxr-xr-x 4 root root 180 Aug 26 21:03 .. lrwxrwxrwx 1 root root 12 Aug 26 21:03 usb-Qualcomm_HaiSenKeJi_CBCDAF0123456789-00 -> ../controlC0 /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Aug 26 21:03 . drwxr-xr-x 4 root root 180 Aug 26 21:03 .. lrwxrwxrwx 1 root root 12 Aug 26 21:03 platform-xhci-hcd.0.auto-usb-0:1.1:1.0 -> ../controlC0 !!ALSA configuration files !!------------------------ !!System wide config file (/etc/asound.conf) pcm.!default { type hw card 0 device 0 channels 2 } ctl.!default { type hw card 0 } !!Aplay/Arecord output !!-------------------- APLAY **** List of PLAYBACK Hardware Devices **** card 0: HaiSenKeJi [HaiSenKeJi], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 0: HaiSenKeJi [HaiSenKeJi], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 !!Amixer output !!------------- !!-------Mixer controls for card HaiSenKeJi Card sysdefault:0 'HaiSenKeJi'/'Qualcomm HaiSenKeJi at usb-xhci-hcd.0.auto-1.1, full speed' Mixer name : 'USB Mixer' Components : 'USB0a12:123b' Controls : 6 Simple ctrls : 2 Simple mixer control 'PCM',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 15 Mono: Playback 12 [80%] [-4.00dB] [on] Simple mixer control 'Mic',0 Capabilities: cvolume cvolume-joined cswitch cswitch-joined Capture channels: Mono Limits: Capture 0 - 7 Mono: Capture 5 [71%] [3.00dB] [on] !!Alsactl output !!-------------- --startcollapse-- state.HaiSenKeJi { 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 'PCM Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.4 { iface MIXER name 'PCM Playback Volume' value 12 comment { access 'read write' type INTEGER count 1 range '0 - 15' dbmin -4000 dbmax 500 dbvalue.0 -400 } } control.5 { iface MIXER name 'Mic Capture Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.6 { iface MIXER name 'Mic Capture Volume' value 5 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin -1200 dbmax 900 dbvalue.0 300 } } } --endcollapse-- !!All Loaded Modules !!------------------ auth_rpcgss autofs4 binfmt_misc cpufreq_dt dm_mod dwmac_rk gpio_syscon grace inet_diag ip_tables joydev lockd mc nfs_acl nfsd pcs_xpcs realtek snd snd_hwdep snd_pcm snd_pcm_dmaengine snd_rawmidi snd_seq_device snd_soc_core snd_soc_rockchip_i2s snd_soc_rockchip_pcm snd_soc_rockchip_spdif snd_soc_simple_card snd_soc_simple_card_utils snd_timer snd_usb_audio snd_usbmidi_lib soundcore stmmac stmmac_platform sunrpc tcp_diag x_tables !!ALSA/HDA dmesg !!-------------- [ 9.367491] usb 4-1.1: 1:1: cannot set freq 48000 to ep 0x3 [ 9.952998] usbcore: registered new interface driver snd-usb-audio [ 12.355049] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx !!Packages installed !!-------------------- ii alsa-utils 1.2.8-1 arm64 Utilities for configuring and using ALSA