Posts: 369
Threads: 9
Joined: Apr 2018
Reputation:
10
03-20-2023, 09:12 PM
(This post was last modified: 03-20-2023, 10:25 PM by Tim Curtis.
Edit Reason: Fix logfile
)
(03-20-2023, 08:25 PM)Tim Curtis Wrote: @bitlab suggested that the DAC's might be reporting an invalid USB mixer profile to ALSA.
@jonners and @ycdtosa, run the command below and then post/attach the log file. It may contain some info about whats going on and possibly lead to a method for detection so moOde will not flag these or other similar DAC's as having Hardware volume.
It might print a couple odd messages but they are harmless
Code: alsa-info --stdout > /tmp/alsa.log
cat /tmp/alsa.log
Either copy/paste into a code box in the post or upload it as an attachment.
Nothing very useful here:
Code: pi@moode:~ $ alsa-info --stdout > /tmp/alsa.log
cat /tmp/alsa_log.txt
cat: /tmp/alsa-info.fDGiYfTgFN/acpidevicestatus.tmp: No such file or directory
cat: /tmp/alsa_log.txt: No such file or directory
Posts: 1,281
Threads: 24
Joined: Jun 2022
Reputation:
42
(03-20-2023, 09:12 PM)jonners Wrote: (03-20-2023, 08:25 PM)Tim Curtis Wrote: @bitlab suggested that the DAC's might be reporting an invalid USB mixer profile to ALSA.
@jonners and @ycdtosa, run the command below and then post/attach the log file. It may contain some info about whats going on and possibly lead to a method for detection so moOde will not flag these or other similar DAC's as having Hardware volume.
It might print a couple odd messages but they are harmless
Code: alsa-info --stdout > /tmp/alsa.log
cat /tmp/alsa_log.txt
Either copy/paste into a code box in the post or upload it as an attachment.
Nothing very useful here:
Code: pi@moode:~ $ alsa-info --stdout > /tmp/alsa.log
cat /tmp/alsa_log.txt
cat: /tmp/alsa-info.fDGiYfTgFN/acpidevicestatus.tmp: No such file or directory
cat: /tmp/alsa_log.txt: No such file or directory
Hmmm,
probably the commands Tim posted were some unchecked copy/paste... I think the file to be cat'ed was /tmp/alsa.log, not /tmp/alsa_log.txt
there is no need for you to run the alsa-info command again, just cat the correct file and post its contents again. I might be a lot of info, and wrapping it in a code box as already suggested is recommended.
Posts: 369
Threads: 9
Joined: Apr 2018
Reputation:
10
03-20-2023, 09:52 PM
(This post was last modified: 03-20-2023, 10:03 PM by jonners.)
OK. Thanks Al, here goes:
Code: pi@moode:~ $ cat /tmp/alsa.log
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.65
!!################################
!!Script ran on: Mon Mar 20 21:06:46 UTC 2023
!!Linux Distribution
!!------------------
Debian GNU/Linux 11 \n \l PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" 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: 5.15.84-v8+
Operating System: GNU/Linux
Architecture: aarch64
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: k5.15.84-v8+
Library version: 1.2.4
Utilities version: 1.2.4
!!Loaded ALSA modules
!!-------------------
snd_bcm2835
snd_bcm2835
snd_usb_audio
!!Sound Servers on this system
!!----------------------------
No sound servers found.
!!Soundcards recognised by ALSA
!!-----------------------------
0 [b1 ]: bcm2835_hdmi - bcm2835 HDMI 1
bcm2835 HDMI 1
1 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
bcm2835 Headphones
2 [Audio ]: USB-Audio - iFi (by AMR) HD USB Audio
iFi (by AMR) iFi (by AMR) HD USB Audio at usb-3f980000.usb-1.2.2, high 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_bcm2835
enable_compat_alsa : N
enable_hdmi : Y
enable_headphones : Y
force_bulk : N
!!Module: snd_bcm2835
enable_compat_alsa : N
enable_hdmi : Y
enable_headphones : Y
force_bulk : N
!!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 : -2,-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
!!USB Mixer information
!!---------------------
--startcollapse--
USB Mixer: usb_id=0x20b13008, ctrlif=0, ctlerr=0
Card: iFi (by AMR) iFi (by AMR) HD USB Audio at usb-3f980000.usb-1.2.2, high speed
Unit: 10
Control: name="iFi (by AMR) HD USB Audio Playback Volume", index=1
Info: id=10, control=2, cmask=0x0, channels=1, type="S16"
Volume: min=-32512, max=0, dBmin=-12700, dBmax=0
Unit: 10
Control: name="iFi (by AMR) HD USB Audio Playback Volume", index=0
Info: id=10, control=2, cmask=0x3, channels=2, type="S16"
Volume: min=-32512, max=0, dBmin=-12700, dBmax=0
Unit: 10
Control: name="iFi (by AMR) HD USB Audio Playback Switch", index=1
Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name="iFi (by AMR) HD USB Audio Playback Switch", index=0
Info: id=10, control=1, cmask=0x3, channels=2, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 41
Control: name="iFi (by AMR) Internal Clock Validity", index=0
Info: id=41, control=2, cmask=0x0, channels=1, type="BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 0 Mar 19 23:13 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 32 Mar 19 23:13 /dev/snd/controlC1
crw-rw---- 1 root audio 116, 64 Mar 19 23:13 /dev/snd/controlC2
crw-rw---- 1 root audio 116, 16 Mar 19 23:13 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 48 Mar 19 23:13 /dev/snd/pcmC1D0p
crw-rw---- 1 root audio 116, 80 Mar 20 20:59 /dev/snd/pcmC2D0p
crw-rw---- 1 root audio 116, 1 Mar 19 23:13 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Mar 19 23:13 /dev/snd/timer
/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root 60 Mar 19 23:13 .
drwxr-xr-x 4 root root 240 Mar 19 23:13 ..
lrwxrwxrwx 1 root root 12 Mar 19 23:13 usb-iFi__by_AMR__iFi__by_AMR__HD_USB_Audio_0003-00 -> ../controlC2
/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 80 Mar 19 23:13 .
drwxr-xr-x 4 root root 240 Mar 19 23:13 ..
lrwxrwxrwx 1 root root 12 Mar 19 23:13 platform-3f980000.usb-usb-0:1.2.2:1.0 -> ../controlC2
lrwxrwxrwx 1 root root 12 Mar 19 23:13 platform-bcm2835_audio -> ../controlC0
!!Aplay/Arecord output
!!--------------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 2: Audio [iFi (by AMR) HD USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
!!Amixer output
!!-------------
!!-------Mixer controls for card b1
Card hw:0 'b1'/'bcm2835 HDMI 1'
Mixer name : 'Broadcom Mixer'
Components : ''
Controls : 2
Simple ctrls : 1
Simple mixer control 'HDMI',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback -10239 [0%] [-99999.99dB] [on]
!!-------Mixer controls for card Headphones
Card hw:1 'Headphones'/'bcm2835 Headphones'
Mixer name : 'Broadcom Mixer'
Components : ''
Controls : 2
Simple ctrls : 1
Simple mixer control 'Headphone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback 0 [96%] [0.00dB] [on]
!!-------Mixer controls for card Audio
Card hw:2 'Audio'/'iFi (by AMR) iFi (by AMR) HD USB Audio at usb-3f980000.usb-1.2.2, high speed'
Mixer name : 'USB Mixer'
Components : 'USB20b1:3008'
Controls : 6
Simple ctrls : 2
Simple mixer control 'iFi (by AMR) HD USB Audio ',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 32512
Mono:
Front Left: Playback 32512 [100%] [0.00dB] [on]
Front Right: Playback 32512 [100%] [0.00dB] [on]
Simple mixer control 'iFi (by AMR) HD USB Audio ',1
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 32512
Mono: Playback 0 [0%] [-127.00dB] [on]
!!Alsactl output
!!--------------
--startcollapse--
state.b1 {
control.1 {
iface MIXER
name 'HDMI Playback Volume'
value -10239
comment {
access 'read write'
type INTEGER
count 1
range '-10239 - 400'
dbmin -9999999
dbmax 400
dbvalue.0 -9999999
}
}
control.2 {
iface MIXER
name 'HDMI Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}
state.Headphones {
control.1 {
iface MIXER
name 'Headphone Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '-10239 - 400'
dbmin -9999999
dbmax 400
dbvalue.0 0
}
}
control.2 {
iface MIXER
name 'Headphone Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}
state.Audio {
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 MIXER
name 'iFi (by AMR) HD USB Audio Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.3 {
iface MIXER
name 'iFi (by AMR) HD USB Audio Playback Switch'
index 1
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'iFi (by AMR) HD USB Audio Playback Volume'
value.0 32512
value.1 32512
comment {
access 'read write'
type INTEGER
count 2
range '0 - 32512'
dbmin -12700
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.5 {
iface MIXER
name 'iFi (by AMR) HD USB Audio Playback Volume'
index 1
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 32512'
dbmin -12700
dbmax 0
dbvalue.0 -12700
}
}
control.6 {
iface CARD
name 'iFi (by AMR) Internal Clock Validity'
value true
comment {
access read
type BOOLEAN
count 1
}
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
8021q
ax88179_178a
backlight
bcm2835_codec
bcm2835_isp
bcm2835_mmal_vchiq
bcm2835_v4l2
cfg80211
drm
drm_panel_orientation_quirks
fuse
garp
i2c_bcm2835
i2c_dev
ip_tables
ipv6
llc
mc
raspberrypi_hwmon
rfkill
sg
snd
snd_bcm2835
snd_compress
snd_hwdep
snd_pcm
snd_pcm_dmaengine
snd_rawmidi
snd_seq_device
snd_soc_bcm2835_i2s
snd_soc_core
snd_timer
snd_usb_audio
snd_usbmidi_lib
stp
uio
uio_pdrv_genirq
v4l2_mem2mem
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: 238896
[ 0.000000] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:D2:9C:DC vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=d522dfa2-02 rootfstype=ext4 fsck.repair=yes rootwait
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
--
[ 10.024707] mc: Linux media interface: v0.10
[ 10.215215] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.225009] videodev: Linux video capture interface: v2.00
--
[ 11.535403] usb 1-1.2.2: [10] FU [iFi (by AMR) HD USB Audio Playback Volume] ch = 1, val = -32512/0/1
[ 11.546557] usbcore: registered new interface driver snd-usb-audio
[ 13.232660] 8021q: 802.1Q VLAN Support v1.8
!!Packages installed
!!--------------------
ii alsa-topology-conf 1.2.4-1 all ALSA topology configuration files
ii alsa-ucm-conf 1.2.4-2 all ALSA Use Case Manager configuration files
ii alsa-utils 1.2.4-1+rpt1 arm64 Utilities for configuring and using ALSA
hi bluez-alsa-utils 3.0.0-2moode1 arm64 Bluetooth Audio ALSA Backend (utils)
pi@moode:~ $ -bash: cat:: command not found
pi@moode:~ $ cat /tmp/alsa.log
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.65
!!################################
!!Script ran on: Mon Mar 20 21:06:46 UTC 2023
!!Linux Distribution
!!------------------
Debian GNU/Linux 11 \n \l PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" 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: 5.15.84-v8+
Operating System: GNU/Linux
Architecture: aarch64
pi@moode:~ $ (utils) 3.0.0-2moode1 arm64 Bluetooth Audio
Posts: 13,428
Threads: 304
Joined: Mar 2018
Reputation:
545
Thanks @ Nutul I fixed the file name in the earlier posts
Posts: 13,428
Threads: 304
Joined: Mar 2018
Reputation:
545
(03-20-2023, 09:52 PM)jonners Wrote: OK. Thanks Al, here goes:
Code: pi@moode:~ $ cat /tmp/alsa.log
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.65
!!################################
!!Script ran on: Mon Mar 20 21:06:46 UTC 2023
!!Linux Distribution
!!------------------
Debian GNU/Linux 11 \n \l PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" 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: 5.15.84-v8+
Operating System: GNU/Linux
Architecture: aarch64
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: k5.15.84-v8+
Library version: 1.2.4
Utilities version: 1.2.4
!!Loaded ALSA modules
!!-------------------
snd_bcm2835
snd_bcm2835
snd_usb_audio
!!Sound Servers on this system
!!----------------------------
No sound servers found.
!!Soundcards recognised by ALSA
!!-----------------------------
0 [b1 ]: bcm2835_hdmi - bcm2835 HDMI 1
bcm2835 HDMI 1
1 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
bcm2835 Headphones
2 [Audio ]: USB-Audio - iFi (by AMR) HD USB Audio
iFi (by AMR) iFi (by AMR) HD USB Audio at usb-3f980000.usb-1.2.2, high 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_bcm2835
enable_compat_alsa : N
enable_hdmi : Y
enable_headphones : Y
force_bulk : N
!!Module: snd_bcm2835
enable_compat_alsa : N
enable_hdmi : Y
enable_headphones : Y
force_bulk : N
!!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 : -2,-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
!!USB Mixer information
!!---------------------
--startcollapse--
USB Mixer: usb_id=0x20b13008, ctrlif=0, ctlerr=0
Card: iFi (by AMR) iFi (by AMR) HD USB Audio at usb-3f980000.usb-1.2.2, high speed
Unit: 10
Control: name="iFi (by AMR) HD USB Audio Playback Volume", index=1
Info: id=10, control=2, cmask=0x0, channels=1, type="S16"
Volume: min=-32512, max=0, dBmin=-12700, dBmax=0
Unit: 10
Control: name="iFi (by AMR) HD USB Audio Playback Volume", index=0
Info: id=10, control=2, cmask=0x3, channels=2, type="S16"
Volume: min=-32512, max=0, dBmin=-12700, dBmax=0
Unit: 10
Control: name="iFi (by AMR) HD USB Audio Playback Switch", index=1
Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name="iFi (by AMR) HD USB Audio Playback Switch", index=0
Info: id=10, control=1, cmask=0x3, channels=2, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 41
Control: name="iFi (by AMR) Internal Clock Validity", index=0
Info: id=41, control=2, cmask=0x0, channels=1, type="BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 0 Mar 19 23:13 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 32 Mar 19 23:13 /dev/snd/controlC1
crw-rw---- 1 root audio 116, 64 Mar 19 23:13 /dev/snd/controlC2
crw-rw---- 1 root audio 116, 16 Mar 19 23:13 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 48 Mar 19 23:13 /dev/snd/pcmC1D0p
crw-rw---- 1 root audio 116, 80 Mar 20 20:59 /dev/snd/pcmC2D0p
crw-rw---- 1 root audio 116, 1 Mar 19 23:13 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Mar 19 23:13 /dev/snd/timer
/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root 60 Mar 19 23:13 .
drwxr-xr-x 4 root root 240 Mar 19 23:13 ..
lrwxrwxrwx 1 root root 12 Mar 19 23:13 usb-iFi__by_AMR__iFi__by_AMR__HD_USB_Audio_0003-00 -> ../controlC2
/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 80 Mar 19 23:13 .
drwxr-xr-x 4 root root 240 Mar 19 23:13 ..
lrwxrwxrwx 1 root root 12 Mar 19 23:13 platform-3f980000.usb-usb-0:1.2.2:1.0 -> ../controlC2
lrwxrwxrwx 1 root root 12 Mar 19 23:13 platform-bcm2835_audio -> ../controlC0
!!Aplay/Arecord output
!!--------------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 2: Audio [iFi (by AMR) HD USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
!!Amixer output
!!-------------
!!-------Mixer controls for card b1
Card hw:0 'b1'/'bcm2835 HDMI 1'
Mixer name : 'Broadcom Mixer'
Components : ''
Controls : 2
Simple ctrls : 1
Simple mixer control 'HDMI',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback -10239 [0%] [-99999.99dB] [on]
!!-------Mixer controls for card Headphones
Card hw:1 'Headphones'/'bcm2835 Headphones'
Mixer name : 'Broadcom Mixer'
Components : ''
Controls : 2
Simple ctrls : 1
Simple mixer control 'Headphone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback 0 [96%] [0.00dB] [on]
!!-------Mixer controls for card Audio
Card hw:2 'Audio'/'iFi (by AMR) iFi (by AMR) HD USB Audio at usb-3f980000.usb-1.2.2, high speed'
Mixer name : 'USB Mixer'
Components : 'USB20b1:3008'
Controls : 6
Simple ctrls : 2
Simple mixer control 'iFi (by AMR) HD USB Audio ',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 32512
Mono:
Front Left: Playback 32512 [100%] [0.00dB] [on]
Front Right: Playback 32512 [100%] [0.00dB] [on]
Simple mixer control 'iFi (by AMR) HD USB Audio ',1
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 32512
Mono: Playback 0 [0%] [-127.00dB] [on]
!!Alsactl output
!!--------------
--startcollapse--
state.b1 {
control.1 {
iface MIXER
name 'HDMI Playback Volume'
value -10239
comment {
access 'read write'
type INTEGER
count 1
range '-10239 - 400'
dbmin -9999999
dbmax 400
dbvalue.0 -9999999
}
}
control.2 {
iface MIXER
name 'HDMI Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}
state.Headphones {
control.1 {
iface MIXER
name 'Headphone Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '-10239 - 400'
dbmin -9999999
dbmax 400
dbvalue.0 0
}
}
control.2 {
iface MIXER
name 'Headphone Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}
state.Audio {
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 MIXER
name 'iFi (by AMR) HD USB Audio Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.3 {
iface MIXER
name 'iFi (by AMR) HD USB Audio Playback Switch'
index 1
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'iFi (by AMR) HD USB Audio Playback Volume'
value.0 32512
value.1 32512
comment {
access 'read write'
type INTEGER
count 2
range '0 - 32512'
dbmin -12700
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.5 {
iface MIXER
name 'iFi (by AMR) HD USB Audio Playback Volume'
index 1
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 32512'
dbmin -12700
dbmax 0
dbvalue.0 -12700
}
}
control.6 {
iface CARD
name 'iFi (by AMR) Internal Clock Validity'
value true
comment {
access read
type BOOLEAN
count 1
}
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
8021q
ax88179_178a
backlight
bcm2835_codec
bcm2835_isp
bcm2835_mmal_vchiq
bcm2835_v4l2
cfg80211
drm
drm_panel_orientation_quirks
fuse
garp
i2c_bcm2835
i2c_dev
ip_tables
ipv6
llc
mc
raspberrypi_hwmon
rfkill
sg
snd
snd_bcm2835
snd_compress
snd_hwdep
snd_pcm
snd_pcm_dmaengine
snd_rawmidi
snd_seq_device
snd_soc_bcm2835_i2s
snd_soc_core
snd_timer
snd_usb_audio
snd_usbmidi_lib
stp
uio
uio_pdrv_genirq
v4l2_mem2mem
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: 238896
[ 0.000000] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:D2:9C:DC vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=d522dfa2-02 rootfstype=ext4 fsck.repair=yes rootwait
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
--
[ 10.024707] mc: Linux media interface: v0.10
[ 10.215215] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.225009] videodev: Linux video capture interface: v2.00
--
[ 11.535403] usb 1-1.2.2: [10] FU [iFi (by AMR) HD USB Audio Playback Volume] ch = 1, val = -32512/0/1
[ 11.546557] usbcore: registered new interface driver snd-usb-audio
[ 13.232660] 8021q: 802.1Q VLAN Support v1.8
!!Packages installed
!!--------------------
ii alsa-topology-conf 1.2.4-1 all ALSA topology configuration files
ii alsa-ucm-conf 1.2.4-2 all ALSA Use Case Manager configuration files
ii alsa-utils 1.2.4-1+rpt1 arm64 Utilities for configuring and using ALSA
hi bluez-alsa-utils 3.0.0-2moode1 arm64 Bluetooth Audio ALSA Backend (utils)
pi@moode:~ $ -bash: cat:: command not found
pi@moode:~ $ cat /tmp/alsa.log
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.65
!!################################
!!Script ran on: Mon Mar 20 21:06:46 UTC 2023
!!Linux Distribution
!!------------------
Debian GNU/Linux 11 \n \l PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" 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: 5.15.84-v8+
Operating System: GNU/Linux
Architecture: aarch64
pi@moode:~ $ (utils) 3.0.0-2moode1 arm64 Bluetooth Audio
Bump and thanks!
Posts: 18
Threads: 3
Joined: Dec 2020
Reputation:
0
Here is the result from the Geshelli DAC:
Code: upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.65
!!################################
!!Script ran on: Tue Mar 21 18:50:01 UTC 2023
!!Linux Distribution
!!------------------
Debian GNU/Linux 11 \n \l PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" 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: 5.15.84-v8+
Operating System: GNU/Linux
Architecture: aarch64
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: k5.15.84-v8+
Library version: 1.2.4
Utilities version: 1.2.4
!!Loaded ALSA modules
!!-------------------
snd_bcm2835
snd_bcm2835
snd_usb_audio
!!Sound Servers on this system
!!----------------------------
No sound servers found.
!!Soundcards recognised by ALSA
!!-----------------------------
0 [b1 ]: bcm2835_hdmi - bcm2835 HDMI 1
bcm2835 HDMI 1
1 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
bcm2835 Headphones
2 [Amanero ]: USB-Audio - Combo384 Amanero
Amanero Technologies Combo384 Amanero at usb-3f980000.usb-1.2, high 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_bcm2835
enable_compat_alsa : N
enable_hdmi : Y
enable_headphones : Y
force_bulk : N
!!Module: snd_bcm2835
enable_compat_alsa : N
enable_hdmi : Y
enable_headphones : Y
force_bulk : N
!!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 : -2,-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
!!USB Mixer information
!!---------------------
--startcollapse--
USB Mixer: usb_id=0x16d0071a, ctrlif=1, ctlerr=0
Card: Amanero Technologies Combo384 Amanero at usb-3f980000.usb-1.2, high speed
Unit: 10
Control: name="PCM Playback Volume", index=1
Info: id=10, control=2, cmask=0x0, channels=1, type="S16"
Volume: min=-32767, max=0, dBmin=-12799, dBmax=0
Unit: 10
Control: name="PCM Playback Volume", index=0
Info: id=10, control=2, cmask=0x3, channels=2, type="S16"
Volume: min=-32767, max=0, dBmin=-12799, dBmax=0
Unit: 10
Control: name="PCM Playback Switch", index=1
Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name="PCM Playback Switch", index=0
Info: id=10, control=1, cmask=0x3, channels=2, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 41
Control: name="Combo384 Amanero Validity", index=0
Info: id=41, control=2, cmask=0x0, channels=1, type="BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 0 Mar 18 14:49 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 32 Mar 18 14:49 /dev/snd/controlC1
crw-rw---- 1 root audio 116, 64 Mar 18 14:49 /dev/snd/controlC2
crw-rw---- 1 root audio 116, 16 Mar 18 14:49 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 48 Mar 18 14:49 /dev/snd/pcmC1D0p
crw-rw---- 1 root audio 116, 80 Mar 21 17:34 /dev/snd/pcmC2D0p
crw-rw---- 1 root audio 116, 1 Mar 18 14:49 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Mar 18 14:49 /dev/snd/timer
/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root 60 Mar 18 14:49 .
drwxr-xr-x 4 root root 240 Mar 18 14:49 ..
lrwxrwxrwx 1 root root 12 Mar 18 14:49 usb-Amanero_Technologies_Combo384_Amanero_413-001-01 -> ../controlC2
/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 80 Mar 18 14:49 .
drwxr-xr-x 4 root root 240 Mar 18 14:49 ..
lrwxrwxrwx 1 root root 12 Mar 18 14:49 platform-3f980000.usb-usb-0:1.2:1.1 -> ../controlC2
lrwxrwxrwx 1 root root 12 Mar 18 14:49 platform-bcm2835_audio -> ../controlC1
!!Aplay/Arecord output
!!--------------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 2: Amanero [Combo384 Amanero], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
!!Amixer output
!!-------------
!!-------Mixer controls for card b1
Card hw:0 'b1'/'bcm2835 HDMI 1'
Mixer name : 'Broadcom Mixer'
Components : ''
Controls : 2
Simple ctrls : 1
Simple mixer control 'HDMI',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback -10239 [0%] [-99999.99dB] [on]
!!-------Mixer controls for card Headphones
Card hw:1 'Headphones'/'bcm2835 Headphones'
Mixer name : 'Broadcom Mixer'
Components : ''
Controls : 2
Simple ctrls : 1
Simple mixer control 'Headphone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback 0 [96%] [0.00dB] [on]
!!-------Mixer controls for card Amanero
Card hw:2 'Amanero'/'Amanero Technologies Combo384 Amanero at usb-3f980000.usb-1.2, high speed'
Mixer name : 'USB Mixer'
Components : 'USB16d0:071a'
Controls : 6
Simple ctrls : 2
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 32767
Mono:
Front Left: Playback 26098 [80%] [-26.05dB] [on]
Front Right: Playback 26098 [80%] [-26.05dB] [on]
Simple mixer control 'PCM',1
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 32767
Mono: Playback 26120 [80%] [-25.97dB] [on]
!!Alsactl output
!!--------------
--startcollapse--
state.b1 {
control.1 {
iface MIXER
name 'HDMI Playback Volume'
value -10239
comment {
access 'read write'
type INTEGER
count 1
range '-10239 - 400'
dbmin -9999999
dbmax 400
dbvalue.0 -9999999
}
}
control.2 {
iface MIXER
name 'HDMI Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}
state.Headphones {
control.1 {
iface MIXER
name 'Headphone Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '-10239 - 400'
dbmin -9999999
dbmax 400
dbvalue.0 0
}
}
control.2 {
iface MIXER
name 'Headphone Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}
state.Amanero {
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 MIXER
name 'PCM Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.3 {
iface MIXER
name 'PCM Playback Switch'
index 1
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'PCM Playback Volume'
value.0 26098
value.1 26098
comment {
access 'read write'
type INTEGER
count 2
range '0 - 32767'
dbmin -12799
dbmax 0
dbvalue.0 -2605
dbvalue.1 -2605
}
}
control.5 {
iface MIXER
name 'PCM Playback Volume'
index 1
value 26120
comment {
access 'read write'
type INTEGER
count 1
range '0 - 32767'
dbmin -12799
dbmax 0
dbvalue.0 -2597
}
}
control.6 {
iface CARD
name 'Combo384 Amanero Validity'
value true
comment {
access read
type BOOLEAN
count 1
}
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
8021q
aes_arm64
aes_generic
ax88179_178a
backlight
bcm2835_codec
bcm2835_isp
bcm2835_mmal_vchiq
bcm2835_v4l2
cfg80211
cifs
cifs_arc4
cifs_md4
cmac
drm
drm_panel_orientation_quirks
fuse
garp
hmac
i2c_bcm2835
i2c_dev
ip_tables
ipv6
libaes
llc
mc
md5
nls_utf8
raspberrypi_hwmon
rfkill
snd
snd_bcm2835
snd_compress
snd_hwdep
snd_pcm
snd_pcm_dmaengine
snd_rawmidi
snd_seq_device
snd_soc_bcm2835_i2s
snd_soc_core
snd_timer
snd_usb_audio
snd_usbmidi_lib
stp
uio
uio_pdrv_genirq
v4l2_mem2mem
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: 238896
[ 0.000000] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:AE:24:2C vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=eaf29c69-02 rootfstype=ext4 fsck.repair=yes rootwait
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
--
[ 17.107963] videodev: Linux video capture interface: v2.00
[ 17.171299] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 17.174000] bcm2835_audio bcm2835_audio: there is not valid maps for state default
--
[ 18.615166] usb 1-1.2: [10] FU [PCM Playback Volume] ch = 1, val = -32767/0/1
[ 18.616685] usbcore: registered new interface driver snd-usb-audio
[ 25.792808] 8021q: 802.1Q VLAN Support v1.8
!!Packages installed
!!--------------------
ii alsa-topology-conf 1.2.4-1 all ALSA topology configuration files
ii alsa-ucm-conf 1.2.4-2 all ALSA Use Case Manager configuration files
ii alsa-utils 1.2.4-1+rpt1 arm64 Utilities for configuring and using ALSA
hi bluez-alsa-utils 4.0.0-2moode1 arm64 Bluetooth Audio ALSA Backend (utils)
pi@moode:~ $
|