#StackBounty: #drivers #sound #pulseaudio #dell #alsa Ubuntu 20.04 Dell Inspiron 3000 on-board audio not being detected

Bounty: 100

This is a fresh install of 20.04 on a Dell Inspiron 3000.

The system will detect an external headset and hdmi as an output/input, however, it will not detect the internal speakers/mic.

Kernal – 5.12.10-051210-generic

Sound driver – Advanced Linux Sound Architecture Driver Version k5.12.10-051210-generic.

    Subsystem: Dell Raven/Raven2/Fenghuang HDMI/DP Audio Controller
    Flags: bus master, fast devsel, latency 0, IRQ 76
    Memory at c06c8000 (32-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor
    Subsystem: Dell Raven/Raven2/FireFlight/Renoir Audio Processor
    Flags: bus master, fast devsel, latency 0, IRQ 69
    Memory at c0680000 (32-bit, non-prefetchable) [size=256K]
    Capabilities: <access denied>
    Kernel driver in use: snd_pci_acp3x
    Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x

04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
    Subsystem: Dell Family 17h (Models 10h-1fh) HD Audio Controller
    Flags: bus master, fast devsel, latency 0, IRQ 77
    Memory at c06c0000 (32-bit, non-prefetchable) [size=32K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel 

Running alsamixer shows two options of 0 HD-Audio Generic and 1 HD-Audio Generic, but none of these seem to do anything.

Any ideas on where to look next would be greatly appreciated, thanks.


Get this bounty!!!

#StackBounty: #sound #kernel #alsa #hdmi No HDMI audio device on intel_snd_hda (Ubuntu 20.04)

Bounty: 100

I have a home server that I want to use as a media server.

But when I connect to a TV, there is no sound.

I’ve tried to update to latest available kernel, and also switch kernel module snd-hda-intel to generic. This fixes issues with no sound device, and now 3.5 jack works, but still no HDMI.

Some extra info:

inxi

System:    Kernel: 5.13.13-051313-generic x86_64 bits: 64 Console: tty 1 
           Distro: Ubuntu 20.04.3 LTS (Focal Fossa) 
Machine:   Type: Desktop Mobo: ASRock model: Z590M-ITX/ax serial: M80-E1004401592 UEFI: American Megatrends LLC. v: P1.00 
           date: 01/11/2021 
Audio:     Device-1: Intel driver: snd_hda_intel 
           Sound Server: ALSA v: k5.13.13-051313-generic

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

videocard info (it is integrated GPU in i5-10400):

Intel Corporation Device 9bc8 (rev 03)

  *-display UNCLAIMED       
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 03
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:a0000000-a0ffffff memory:90000000-9fffffff ioport:4000(size=64) memory:c0000-dffff


Get this bounty!!!

#StackBounty: #sound #pulseaudio #alsa #headphones Headphone Sound Output Gets Mixed with the Line-Out Output

Bounty: 100

Problem Summary

When the line-out speaker is selected as the sound output, the sound
is fine. Sound comes only from the speakers connected to the line-out port. However, when the headphone is selected as the output device,
sound comes out both from the headphone and the speakers.

Details

My desktop computer has three sound output options:

  • HDMI/Display port (not used)
  • Headphone port at the front (headphone
    connected)
  • Line-out port at the back (speakers connected)

When line-out is selected as the output device, the sound is
heard only from the speakers connected to the line-out port. No problem there.

enter image description here

However, when headphone is selected as the output device, the sound is
heard both from headphones and the speakers connected to the line out
port.

enter image description here

This is really strange and beats the very purpose of the headphone,
namely, privacy and not disturbing others.

Current Settings

My sound card as found is as follows.

sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3234 Analog [ALC3234 Analog]

rest snipped

I even tried setting the sound volume of the line-out to zero in
settings. This works for the line-out speakers. However, this does not
seem to have any effect on the sound volume when the headphone is
selected. The line-out speakers are equally loud, even with the sound volume set to zero.

enter image description here

I am not sure whether the output from alsamixer will be useful. But
here it goes anyway.

enter image description here


Get this bounty!!!

#StackBounty: #20.04 #pulseaudio #alsa #microphone Ubuntu 20.04 – Headset mic not working

Bounty: 50

I’m using Ubuntu 20.04 on an HP da0077tx laptop and my headset’s mic is not working on ubuntu. The same headset is working fine with other devices.

Audio Codec: Realtek ALC236

This Audio codec is not available on https://www.kernel.org/doc/html/latest/sound/hd-audio/models.html

I have my interviews next week and this issue can create a problem. Any help will be greatly appreciated.

Only built-in mic is detected


Get this bounty!!!

#StackBounty: #x11 #pulseaudio #alsa #video #ffmpeg Recording screen with pulseaudio causes desyncs

Bounty: 100

Following the ffmpeg’s Capturing Desktop guide for linux, when audio source is pulse format it causes frame freezes and desyncs, fps slows down, and video is delayed compared to audio.

I have tried several arguments’ combinations that I have found in my research trying to fix this issue, following is the current command I’m using:

ffmpeg 
  -video_size 1920x1080 
  -framerate 60 
  -f x11grab 
  -probesize 42M 
  -thread_queue_size 64 
  -i :0.0 
  -f pulse 
  -thread_queue_size 64 
  -i default 
  -c:v libx264rgb 
  -crf 0 
  -preset ultrafast 
  -c:a aac 
  -ac 2 
  -b:a 160k 
  -ar 44100 
  -strict experimental 
  -threads 8 
  -vsync vfr 
  -max_muxing_queue_size 64 
  -f mp4 
  -y o.mp4

But the funny fact is that if I replace the audio source for -f alsa -i pulse it works and the warning message "100 buffers queued in out_0_1, something may be wrong." is gone.

I’m using the version 4.2.4-1ubuntu0.1, since pulse is more versatile, allowing volume control by application and custom modules, I’d like ffmpeg would work fine with pulse.

Evidences: https://youtu.be/rhjfQNd5lP4

Here is my default source (pactl list sources):

Source #1
        State: SUSPENDED
        Name: alsa_input.pci-0000_27_00.3.analog-stereo
        Description: Family 17h (Models 00h-0fh) HD Audio Controller Estéreo analógico
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 9
        Mute: no
        Volume: front-left: 19661 /  30% / -31.37 dB,   front-right: 19661 /  30% / -31.37 dB
                balance 0.00
        Base Volume: 6554 /  10% / -60.00 dB
        Monitor of Sink: n/a
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC892 Analog"
                alsa.id = "ALC892 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xfe800000 irq 69"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:27:00.3"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:27:00.3/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "1457"
                device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
                device.string = "front:1"
                device.buffering.buffer_size = "17664"
                device.buffering.fragment_size = "2944"
                device.access_mode = "mmap"
                device.profile.name = "analog-stereo"
                device.profile.description = "Estéreo analógico"
                device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Estéreo analógico"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-input-front-mic: Microfone frontal (priority: 8500, available)
                analog-input-rear-mic: Microfone traseiro (priority: 8200, not available)
                analog-input-linein: Entrada de linha (priority: 8100, not available)
        Active Port: analog-input-front-mic
        Formats:
                pcm

As I don’t know if this problem is due to my audio card or a missing ffmpeg’s setting, could you please try the command I’ve tried and feed me back if it worked for you or not? And if you have any idea I could try in order to make it work please help me out.


Get this bounty!!!

#StackBounty: #sound #pulseaudio #alsa #microphone #audio-recording t.bone SC 420 USB Microphone

Bounty: 50

I bought a t.bone SC 420 USB Microphone.

Recording via Audacity works fine.

But as soon as the USB cable is connected to my PC, there is no more audio output.

I changed the settings, but nevertheless. The PC audio output is selected, but no sound is audible.

As soon as I unplug the USB cable of the microphone, audio output is audible again.

pactl list short sinks

1   alsa_output.pci-0000_00_1b.0.analog-stereo  module-alsa-card.c  s16le 2ch 44100Hz   RUNNING
5   alsa_output.usb-0b0e_Jabra_Link_380_3050750AE0B3-00.iec958-stereo   module-alsa-card.c  s16le 2ch 44100Hz   SUSPENDED
7   alsa_output.usb-USB_MICROPHONE_USB_MICROPHONE_20190809-00.analog-stereo module-alsa-card.c  s16le 2ch 48000Hz   SUSPENDED

What could be the root cause?


Get this bounty!!!

#StackBounty: #sound #20.04 #pulseaudio #alsa #audio-jack How to detect headset sound output and mic input for ALC1220 (asus x570-i mot…

Bounty: 150

I just recently installed Ubuntu 20.04 on a new desktop and making the jack connection (with or without using a splitter) work for sound with mic seems impossible.

I want to use my headphones to hear audio and also communicate using the headphone’s mic, but it is not working so far.

I have tried everything:

  • Upgraded kernel to 5.7.1
  • Clearing pulse config; rm -rf ~/.config/pulse/.
  • Killing pulseaudio reloading ALSA; pulseaudio -k && sudo alsa force-reload
  • Finding my Audio Codec (ALC1220->dual-codecs for gaming mobos) and adding the following mapping: options snd-hda-intel model=dual-codecs to: /etc/modprobe.d/alsa-base.conf.
  • Installing and using pavucontrol.
  • alsactl restore.
  • apt-get update/upgrade/dist-upgrade
  • shutdown/rebooting several times.

The Mic is detected now but not the headset:

enter image description here

Hardware:

Motherboard: ROG Strix X570-I (specifications)

  • SupremeFX 8-Channel HD Audio CODEC S1220A (Supports: Jack-detection, Front Panel Jack-retasking)

Headphones: Sennheiser HD 450BT Headphones (specifications)

  • connectivity: Bluetooth v4.0/NFC pairing

lspci | grep Audio:

0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
0d:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller

cat /proc/asound/cards

 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfcda0000 irq 138
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfcc00000 irq 140

dmesg | grep codec

[    3.102699] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1220: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    3.102701] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.102702] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    3.102703] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    3.102703] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    3.102705] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    3.102706] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    3.102707] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a

cat /etc/modprobe.d/alsa-base.conf:

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
# Add audio for ALC1220 (gaming mobos)
options snd-hda-intel position fix=1
options snd-hda-intel model=dual-codecs


Get this bounty!!!

#StackBounty: #sound #20.04 #pulseaudio #alsa #audio-jack How to detect headset sound output with mic for ALC1220 (asus x570-i motherbo…

Bounty: 150

I just recently installed Ubuntu 20.04 on a new desktop and making the jack connection (with or without using a splitter) work for sound with mic seems impossible.

I have tried everything:

  • Upgraded kernel to 5.7.1
  • Clearing pulse config; rm -rf ~/.config/pulse/.
  • Killing pulseaudio reloading ALSA; pulseaudio -k && sudo alsa force-reload
  • Finding my Audio Codec (ALC1220->dual-codecs for gaming mobos) and adding the following mapping: options snd-hda-intel model=dual-codecs to: /etc/modprobe.d/alsa-base.conf.
  • Installing and using pavucontrol.
  • alsactl restore.
  • apt-get update/upgrade/dist-upgrade
  • shutdown/rebooting several times.

The Mic is detected now but not the headset:

enter image description here

Hardware:

Motherboard: ROG Strix X570-I (specifications)

  • SupremeFX 8-Channel HD Audio CODEC S1220A (Supports: Jack-detection, Front Panel Jack-retasking)

Headphones: Sennheiser HD 450BT Headphones (specifications)

  • connectivity: Bluetooth v4.0/NFC pairing

lspci | grep Audio:

0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
0d:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller

cat /proc/asound/cards

 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfcda0000 irq 138
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfcc00000 irq 140

dmesg | grep codec

[    3.102699] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1220: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    3.102701] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.102702] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    3.102703] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    3.102703] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    3.102705] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    3.102706] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    3.102707] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a

cat /etc/modprobe.d/alsa-base.conf:

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
# Add audio for ALC1220 (gaming mobos)
options snd-hda-intel position fix=1
options snd-hda-intel model=dual-codecs


Get this bounty!!!

#StackBounty: #sound #20.04 #pulseaudio #alsa #audio-jack Headset sound output not detected for ALC1220 (asus x570-i motherboard)

Bounty: 150

I just recently installed Ubuntu 20.04 on a new desktop and making the jack connection (with or without using a splitter) work for sound with mic seems impossible.

I have tried everything:

  • Upgraded kernel to 5.7.1
  • Clearing pulse config; rm -rf ~/.config/pulse/.
  • Killing pulseaudio reloading ALSA; pulseaudio -k && sudo alsa force-reload
  • Finding my Audio Codec (ALC1220->dual-codecs for gaming mobos) and adding the following mapping: options snd-hda-intel model=dual-codecs to: /etc/modprobe.d/alsa-base.conf.
  • Installing and using pavucontrol.
  • alsactl restore.
  • apt-get update/upgrade/dist-upgrade
  • shutdown/rebooting several times.

The Mic is detected now but not the headset:

enter image description here

Hardware:

Motherboard: ROG Strix X570-I (specifications)

  • SupremeFX 8-Channel HD Audio CODEC S1220A (Supports: Jack-detection, Front Panel Jack-retasking)

Headphones: Sennheiser HD 450BT Headphones (specifications)

  • connectivity: Bluetooth v4.0/NFC pairing

lspci | grep Audio:

0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
0d:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller

cat /proc/asound/cards

 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfcda0000 irq 138
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfcc00000 irq 140

dmesg | grep codec

[    3.102699] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1220: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    3.102701] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.102702] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    3.102703] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    3.102703] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    3.102705] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    3.102706] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    3.102707] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a

cat /etc/modprobe.d/alsa-base.conf:

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
# Add audio for ALC1220 (gaming mobos)
options snd-hda-intel position fix=1
options snd-hda-intel model=dual-codecs

Update: Going to buy a different Bluetooth headphone and see if I Can replicate the issue.


Get this bounty!!!

#StackBounty: #sound #pulseaudio #dell #alsa Dell XPS + dock WD19 – speakers not work

Bounty: 100

I have a problem with speakers connected via jack to docking station Dell WD19. Outputs seem to be detected but the sound does not play.

╰>  aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Dock [WD19 Dock], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Dock [WD19 Dock], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 0: ALC289 Analog [ALC289 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: Headset [Wireless Stereo Headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Two outputs on card 1 seem to be jack in the front and back of the dock – the rest are built-in speakers, monitors and usb connected headset.

Here’s output from pacmd list-cards:

index: 5
name: <alsa_card.usb-Generic_USB_Audio_200901010001-00>
driver: <module-alsa-card.c>
owner module: 28
properties:
    alsa.card = "1"
    alsa.card_name = "WD19 Dock"
    alsa.long_card_name = "Dell-WD15-Dock"
    alsa.driver_name = "snd_usb_audio"
    device.bus_path = "pci-0000:00:14.0-usb-0:5.3.4:1.0"
    sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.3/1-5.3.4/1-5.3.4:1.0/sound/card1"
    udev.id = "usb-Generic_USB_Audio_200901010001-00"
    device.bus = "usb"
    device.vendor.id = "0bda"
    device.vendor.name = "Realtek Semiconductor Corp."
    device.product.id = "402e"
    device.product.name = "USB Audio"
    device.serial = "Generic_USB_Audio_200901010001"
    device.string = "1"
    device.description = "USB Audio"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card-usb"
profiles:
    HiFi: Default (priority 8000, available: unknown)
    off: Off (priority 0, available: unknown)
active profile: <HiFi>
sinks:
    alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink/#10: USB Audio Line Out
    alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__sink/#11: USB Audio Headphones
sources:
    alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink.monitor/#16: Monitor of USB Audio Line Out
    alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__sink.monitor/#17: Monitor of USB Audio Headphones
    alsa_input.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__source/#18: USB Audio Microphone
ports:
    [Out] Line: Line Out (priority 200, latency offset 0 usec, available: unknown)
        properties:
            
    [Out] Headphones: Headphones (priority 100, latency offset 0 usec, available: unknown)
        properties:
            
    [In] Mic: Microphone (priority 100, latency offset 0 usec, available: unknown)
        properties:

Now, when I open sound settings I can see a number of devices:

sound settings

When I select any Wireless Stereo Headset, HDMI 2 or Speakers Built-in appropriate device does make sound. But when I select USB Audio (Headset or Line Out) everything is quiet – even though the volume is set to 100%. I am running out of ideas what else could I check to fix this…

(exact same setup works fine when I switch to Windows so it’s not a hardware issue)


Get this bounty!!!