sbeem n00b
Joined: 16 Apr 2024 Posts: 4
|
Posted: Tue Apr 16, 2024 8:27 pm Post subject: [SOLVED] No sound with USB audio |
|
|
I followed https://wiki.gentoo.org/wiki/ALSA and I am not able to get any sound. The setup is USB audio to a DAC, connected to a headphone amp, connected to headphones. To test the sound, I'm running speaker-test -c 2.
lsmod output:
Code: |
snd_sof_pci_intel_cnl 12288 0
snd_sof_intel_hda_common 200704 1 snd_sof_pci_intel_cnl
soundwire_intel 65536 1 snd_sof_intel_hda_common
snd_sof_intel_hda_mlink 32768 2 soundwire_intel,snd_sof_intel_hda_common
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof_pci 20480 2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
snd_sof 327680 3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda
snd_sof_utils 16384 1 snd_sof
snd_soc_skl 196608 0
snd_soc_hdac_hda 24576 2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core 32768 5 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc 16384 1 snd_soc_skl
snd_soc_sst_dsp 36864 1 snd_soc_skl
snd_soc_acpi_intel_match 81920 3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
snd_soc_acpi 16384 3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_core 372736 5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
snd_compress 24576 1 snd_soc_core
snd_hda_codec_realtek 151552 1
ac97_bus 12288 1 snd_soc_core
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_codec_hdmi 77824 1
snd_hda_intel 49152 0
snd_usb_audio 368640 0
snd_intel_dspcfg 36864 4 snd_hda_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_skl
snd_usbmidi_lib 40960 1 snd_usb_audio
snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_ump 32768 1 snd_usb_audio
snd_hda_codec 184320 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_rawmidi 49152 2 snd_usbmidi_lib,snd_ump
snd_seq_device 12288 2 snd_ump,snd_rawmidi
snd_hda_core 122880 10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
mc 73728 1 snd_usb_audio
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
snd_pcm 151552 13 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_timer 45056 1 snd_pcm
ledtrig_audio 12288 2 snd_hda_codec_generic,asus_wmi
snd 126976 16 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_ump,snd_pcm,snd_rawmidi
soundcore 12288 1 snd
|
aplay --list-devices, the device I want to output to is card 3.
Code: |
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [VG27A]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [BenQ GW2780]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [BenQ GW2780]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: GoMic [Samson GoMic], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: Balanced [D10 Balanced], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
|
.asoundrc:
Code: |
defaults.pcm.!card Balanced
defults.pcm.!device 0
defaults.ctl.!card Balanced
defaults.pcm.dmix.rate 48000
|
Something I found interesting is in /proc/asound/Balanced/stream0:
Code: |
Topping D10 Balanced at usb-0000:00:14.0-9, high speed : USB Audio
Playback:
Status: Stop
Interface 1
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 0x01 (1 OUT) (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
Data packet interval: 125 us
Bits: 32
Channel map: FL FR
Sync Endpoint: 0x81 (1 IN)
Sync EP Interface: 1
Sync EP Altset: 1
Implicit Feedback Mode: No
Interface 1
Altset 2
Format: S32_LE
Channels: 2
Endpoint: 0x01 (1 OUT) (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
Data packet interval: 125 us
Bits: 24
Channel map: FL FR
Sync Endpoint: 0x81 (1 IN)
Sync EP Interface: 1
Sync EP Altset: 2
Implicit Feedback Mode: No
Interface 1
Altset 3
Format: SPECIAL DSD_U32_BE
Channels: 2
Endpoint: 0x01 (1 OUT) (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
Data packet interval: 125 us
Bits: 32
DSD raw: DOP=0, bitrev=0
Channel map: FL FR
Sync Endpoint: 0x81 (1 IN)
Sync EP Interface: 1
Sync EP Altset: 3
Implicit Feedback Mode: No
|
The format here is S32_LE, but when i run speaker-test, the format defaults to S16_LE. Running with --format S32_LE changes nothing though.
Also, /proc/asound/Balanced/pcm0p/sub0/hw_params is just "closed", but I think it shouldn't be.
I've also downloaded alsamixer and made sure it's unmuted.
What else should I try? |
|