You are not logged in.

#1 2020-06-20 17:15:03

ZeroLinux
Member
Registered: 2011-10-07
Posts: 154

[SOLVED] Carbon X1 Gen 7 too many audio devices

Hello, I followed the wiki page and as a result, I have too any audio devices  in  my PulseAudio Volume Control and only one Profile: Play HiFi Quality Music

 arecord -l   
**** List of CAPTURE Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 6: DMIC (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 7: DMIC16kHz (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

https://filedn.com/lDwQYHG8HLuzrPiiYHgt … n_512p.png
https://filedn.com/lDwQYHG8HLuzrPiiYHgt … t_512p.png
https://filedn.com/lDwQYHG8HLuzrPiiYHgt … t_512p.png

Please, help me to get rid of these unneeded (I don't have anything plugged) output devices: HDMI1/DP1, HDMI2/DP2, HDMI3/DP3

moderator edit -- replaced oversized images with links.
Pasting pictures and code

Last edited by ZeroLinux (2020-07-02 12:03:35)

Offline

#2 2020-06-20 19:37:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,995

Re: [SOLVED] Carbon X1 Gen 7 too many audio devices

If you remove the two lines adding seperate sinks (the two load-module directives in the default.pa) does it work properly?

Offline

#3 2020-06-21 16:37:49

ZeroLinux
Member
Registered: 2011-10-07
Posts: 154

Re: [SOLVED] Carbon X1 Gen 7 too many audio devices

Thank you for helping me

I just commented out these 2 strings as you mentioned. https://pastebin.com/r6fBU2k7
Nothing has changed. Still many devices... Audio output and mic work.

I have these output devices:

$ pacmd list-cards
1 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "LENOVO-20QDCT01WW-ThinkPadX1Carbon7th"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "9dc8"
                device.product.name = "Cannon Point-LP High Definition Audio Controller"
                device.string = "0"
                device.description = "Cannon Point-LP High Definition Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                HiFi: Play HiFi quality Music (priority 8000, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <HiFi>
        sinks:
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink/#0: Cannon Point-LP High Definition Audio Controller HDMI3/DP3 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink/#1: Cannon Point-LP High Definition Audio Controller HDMI2/DP2 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink/#2: Cannon Point-LP High Definition Audio Controller HDMI1/DP1 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink/#3: Cannon Point-LP High Definition Audio Controller Speaker + Headphones
        sources:
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor/#0: Monitor of Cannon Point-LP High Definition Audio Controller HDMI3/DP3 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor/#1: Monitor of Cannon Point-LP High Definition Audio Controller HDMI2/DP2 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor/#2: Monitor of Cannon Point-LP High Definition Audio Controller HDMI1/DP1 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor/#3: Monitor of Cannon Point-LP High Definition Audio Controller Speaker + Headphones
                alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source/#4: Cannon Point-LP High Definition Audio Controller Headphones Stereo Microphone
                alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source/#5: Cannon Point-LP High Definition Audio Controller Digital Microphone
        ports:
                [Out] HDMI3: HDMI3/DP3 Output (priority 700, latency offset 0 usec, available: no)
                        properties:

                [Out] HDMI2: HDMI2/DP2 Output (priority 600, latency offset 0 usec, available: no)
                        properties:

                [Out] HDMI1: HDMI1/DP1 Output (priority 500, latency offset 0 usec, available: no)
                        properties:

                [Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
                        properties:

                [Out] Headphones: Headphones (priority 200, latency offset 0 usec, available: no)
                        properties:

                [In] Mic2: Headphones Stereo Microphone (priority 200, latency offset 0 usec, available: no)
                        properties:

                [In] Mic1: Digital Microphone (priority 100, latency offset 0 usec, available: unknown)
                        properties:

Last edited by ZeroLinux (2020-06-24 11:49:36)

Offline

#4 2020-07-02 11:15:48

pbateman
Member
Registered: 2020-07-02
Posts: 4

Re: [SOLVED] Carbon X1 Gen 7 too many audio devices

Did you get this resolved? Having similar issue after last update on my x1c7. All of a sudden i have all these extra entries for HDMI like you.
Difference is my regular sounds thru the speakers stopped working.

Offline

#5 2020-07-02 11:33:54

ZeroLinux
Member
Registered: 2011-10-07
Posts: 154

Re: [SOLVED] Carbon X1 Gen 7 too many audio devices

pbateman wrote:

Did you get this resolved? Having similar issue after last update on my x1c7. All of a sudden i have all these extra entries for HDMI like you.
Difference is my regular sounds thru the speakers stopped working.

Unfortunately, I have not found solution yet. But the sound works well.

Offline

#6 2020-07-02 11:47:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,995

Re: [SOLVED] Carbon X1 Gen 7 too many audio devices

They are there because they exist and should be exposed to people that need them. It seems UCM config and relevant logic is still quite in it's early stages and proper logic relations with how pulse used to set up devices not yet in place.

Technically what you can adjust here are the ucm profiles corresponding to your card under /usr/share/alsa/ucm2 ... in this case likely /usr/share/alsa/ucm2/sof-hda-dsp/HiFi.conf if you remove the last line including a HDMI conf, do they disappear on reboot?

Last edited by V1del (2020-07-02 11:49:45)

Offline

#7 2020-07-02 12:02:27

ZeroLinux
Member
Registered: 2011-10-07
Posts: 154

Re: [SOLVED] Carbon X1 Gen 7 too many audio devices

V1del wrote:

They are there because they exist and should be exposed to people that need them. It seems UCM config and relevant logic is still quite in it's early stages and proper logic relations with how pulse used to set up devices not yet in place.

Technically what you can adjust here are the ucm profiles corresponding to your card under /usr/share/alsa/ucm2 ... in this case likely /usr/share/alsa/ucm2/sof-hda-dsp/HiFi.conf if you remove the last line including a HDMI conf, do they disappear on reboot?

Thank you. It  has helped

I edited /usr/share/alsa/ucm2/sof-hda-dsp/HiFi.conf as you suggested and commented out the last line

# <sof-hda-dsp/Hdmi.conf>

and after

$ pulseaudio -k

It works!!! All HDMI devices disappeared. THANK YOU!

Last edited by ZeroLinux (2020-07-02 12:03:13)

Offline

Board footer

Powered by FluxBB