[Dell Inspiron 3790] pulseaudio module-alsa-card failed to find a working profile

Bug #1879462 reported by Kai-Chuan Hsieh
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Hui Wang

Bug Description

kchsieh@kchsieh-Inspiron-3790:~$ lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04
kchsieh@kchsieh-Inspiron-3790:~$

pulseaudio:
  Installed: 1:13.99.1-1ubuntu3.2
  Candidate: 1:13.99.1-1ubuntu3.2
  Version table:
 *** 1:13.99.1-1ubuntu3.2 500
        500 http://tw.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1:13.99.1-1ubuntu3 500
        500 http://tw.archive.ubuntu.com/ubuntu focal/main amd64 Packages

Expect result:
module-alsa-card loads successfully, 'pacmd info' shows the recognized sink device.

Actual result:
'pacmd info' shows "Dummy Output", and failed to load module-alsa-card.
1 sink(s) available.
  * index: 0
 name: <auto_null>
 driver: <module-null-sink.c>
 flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
 state: IDLE
 suspend cause: (none)
 priority: 1000
 volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
         balance 0.00
 base volume: 65536 / 100% / 0.00 dB
 volume steps: 65537
 muted: no
 current latency: 3.51 ms
 max request: 6 KiB
 max rewind: 6 KiB
 monitor source: 0
 sample spec: s16le 2ch 44100Hz
 channel map: front-left,front-right
              Stereo
 used by: 0
 linked by: 1
 configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
 module: 14
 properties:
  device.description = "Dummy Output"
  device.class = "abstract"
  device.icon_name = "audio-card"
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/hwC0D2', '/dev/snd/pcmC0D5p', '/dev/snd/pcmC0D4p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-04-16 (33 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200415.2)
Package: pulseaudio 1:13.99.1-1ubuntu3.2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.6.0-1010.10-oem 5.6.8
Tags: focal
Uname: Linux 5.6.0-1010-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 08/15/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.2.0
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.2.0:bd08/15/2019:svnDellInc.:pnInspiron3790:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 3790
dmi.product.sku: 096B
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kchsieh 1497 F.... pulseaudio
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-04-16 (33 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200415.2)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 0c45:671e Microdia Integrated_Webcam_HD
 Bus 001 Device 003: ID 8087:0aaa Intel Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Inspiron 3790
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.6.0-1010-oem root=UUID=265793ff-5abd-43bc-8a0a-7bbfa14e31c9 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.6.0-1010.10-oem 5.6.8
RelatedPackageVersions:
 linux-restricted-modules-5.6.0-1010-oem N/A
 linux-backports-modules-5.6.0-1010-oem N/A
 linux-firmware 1.187
Tags: focal
Uname: Linux 5.6.0-1010-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 08/15/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.2.0
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.2.0:bd08/15/2019:svnDellInc.:pnInspiron3790:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 3790
dmi.product.sku: 096B
dmi.sys.vendor: Dell Inc.

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote :
tags: added: apport-collected focal
description: updated
Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : AlsaInfo.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : Dependencies.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : ProcEnviron.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : PulseList.txt

apport information

summary: - pulseaudio module-alsa-card failed to find a working profile
+ [Dell Inspiron 3790] pulseaudio module-alsa-card failed to find a
+ working profile
Revision history for this message
Hui Wang (hui.wang) wrote :

kernel already has a valid sound card, but pulseaudio doesn't have.

Please edit /usr/lib/systemd/user/pulseaudio.service

comment out the existing line starting with ExecStart and add a new one ExecStart=/usr/bin/pulseaudio -vvvv --log-target=file:/tmp/a.txt

reboot

upload the /tmp/a.txt

thx.

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote :

It seems there is no hw:sofhdadsp,6 on this device.

kchsieh@kchsieh-Inspiron-3790:/proc/asound$ ls
card0 cards devices hwdep modules oss pcm seq sofhdadsp timers version
kchsieh@kchsieh-Inspiron-3790:/proc/asound$ cd sofhdadsp
kchsieh@kchsieh-Inspiron-3790:/proc/asound/sofhdadsp$ ls
codec#0 codec#2 eld#2.0 eld#2.1 eld#2.2 eld#2.3 eld#2.4 eld#2.5 eld#2.6 eld#2.7 eld#2.8 id pcm0c pcm0p pcm1c pcm1p pcm3p pcm4p pcm5p

kchsieh@kchsieh-Inspiron-3790:~$ cd /dev/snd/
kchsieh@kchsieh-Inspiron-3790:/dev/snd$ ls
by-path controlC0 hwC0D0 hwC0D2 pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D1p pcmC0D3p pcmC0D4p pcmC0D5p seq timer
kchsieh@kchsieh-Inspiron-3790:/dev/snd$

Revision history for this message
Hui Wang (hui.wang) wrote :

On your machine, there is a internal mic connected to the codec, so please try with "snd_hda_inte.dmic_detect=0".

Revision history for this message
Hui Wang (hui.wang) wrote :

"snd_hda_intel.dmic_detect=0".

Revision history for this message
Hui Wang (hui.wang) wrote :

This is a linux kernel bug instead of a pulseaudio bug, there is no dmic connected to the PCH, so the kernel should uses the legacy hda driver on this machine.

affects: pulseaudio (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: nobody → Hui Wang (hui.wang)
importance: Undecided → High
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1879462

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote :

@hui.wang

I try to add line 'options snd_hda_intel dmic_detect=0' into /etc/modprobe.d/alsa-base.conf. The pulseaudio can load module-alsa-card successfully. However, the kernel complain that the dmic_detect is not a good way to config the driver.

kchsieh@kchsieh-Inspiron-3790:~$ dmesg | grep snd_hda_intel
[ 17.009593] snd_hda_intel 0000:00:1f.3: dmic_detect option is deprecated, pass snd-intel-dspcfg.dsp_driver=1 option instead
[ 17.009609] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 17.020371] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
kchsieh@kchsieh-Inspiron-3790:~$

description: updated
Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : AlsaInfo.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : CRDA.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : IwConfig.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : Lspci.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : Lspci-vt.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : Lsusb-t.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : Lsusb-v.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : ProcEnviron.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : ProcModules.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : PulseList.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : RfKill.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : UdevDb.txt

apport information

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Hui Wang (hui.wang) wrote :

You could change using "snd-intel-dspcfg.dsp_driver=1". But this issue will be fixed in the kernel, after that you don't need to add those kernel parameters anymore.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.