No Audio devices at all

running on live-cd:

i installed sof-firmware, still no sound devices other than dummy output.

[liveuser@eos-2020.09.20 ~]$ sudo pacman -S sof-firmware
resolving dependencies...
looking for conflicting packages...

Packages (1) sof-firmware-1.6-1

Total Download Size:   0.59 MiB
Total Installed Size:  7.29 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 sof-firmware-1.6-1-any          602.4 KiB  8.78 MiB/s 00:00 [--------------------------------] 100%
(1/1) checking keys in keyring                               [--------------------------------] 100%
(1/1) checking package integrity                             [--------------------------------] 100%
(1/1) loading package files                                  [--------------------------------] 100%
(1/1) checking for file conflicts                            [--------------------------------] 100%
:: Processing package changes...
(1/1) installing sof-firmware                                [--------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Requested output:

[liveuser@eos-2020.09.20 ~]$ inxi -fxxxa --no-host
CPU:       Info: Quad Core model: Intel Core i7-10510U bits: 64 type: MT MCP arch: Kaby Lake 
           family: 6 model-id: 8E (142) stepping: C (12) microcode: D6 L2 cache: 8192 KiB 
           bogomips: 36812 
           Speed: 3400 MHz min/max: 400/4900 MHz Core speeds (MHz): 1: 3400 2: 3400 3: 3400 
           4: 3401 5: 3400 6: 3400 7: 3400 8: 3400 
           Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities 
           arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid 
           cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c 
           flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify 
           ibpb ibrs ibrs_enhanced ida intel_pt invpcid invpcid_single lahf_lm lm mca mce 
           md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid 
           pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdtscp 
           rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 
           tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave 
           xsavec xsaveopt xsaves xtopology xtpr 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
           Type: srbds mitigation: TSX disabled 
           Type: tsx_async_abort status: Not affected 

P.S.

I had previously followed the arch wiki for a similar thread, this had not worked either. I hope that future kernel releases include these drivers, hopefully eos will work then...

https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_7)#Audio

thanks kindly for your support; at least i was able to make pop_os work for now. hopefully this thread will help others.

edit (requested output for inxi, done in my working config (pop))


System:    Kernel: 5.4.0-7642-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
           parameters: initrd=\EFI\Pop_OS-d11585ca-dfee-4709-9667-ce946ca8059f\initrd.img 
           root=UUID=d11585ca-dfee-4709-9667-ce946ca8059f ro quiet loglevel=0 
           systemd.show_status=false splash 
           Desktop: Gnome 3.36.4 wm: gnome-shell dm: GDM3 3.34.1 Distro: Pop!_OS 20.04 LTS 
           base: Ubuntu 20.04 LTS Focal 
Machine:   Type: Convertible System: HP product: HP Spectre x360 Convertible 15-df1xxx v: N/A 
           serial: <superuser/root required> Chassis: type: 31 
           serial: <superuser/root required> 
           Mobo: HP model: 863F v: 54.23 serial: <superuser/root required> UEFI: AMI v: F.22 
           date: 06/01/2020 
Battery:   ID-1: BAT0 charge: 83.1 Wh condition: 83.1/83.1 Wh (100%) volts: 13.1/11.6 
           model: HP Primary type: Li-ion serial: SerialNumber status: Full cycles: 21 
           Device-1: hid-0018:04F3:2992.0001-battery model: ELAN2514:00 04F3:2992 serial: N/A 
           charge: N/A status: N/A 
CPU:       Topology: Quad Core model: Intel Core i7-10510U bits: 64 type: MT MCP 
           arch: Kaby Lake family: 6 model-id: 8E (142) stepping: C (12) microcode: D6 
           L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 36799 
           Speed: 800 MHz min/max: 400/4900 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 
           4: 800 5: 800 6: 800 7: 800 8: 800 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 
           mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
           Type: srbds mitigation: TSX disabled 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics vendor: Hewlett-Packard driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:9b41 
           Device-2: NVIDIA GP108M [GeForce MX250] vendor: Hewlett-Packard driver: nvidia 
           v: 440.100 bus ID: 3b:00.0 chip ID: 10de:1d13 
           Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia 
           unloaded: fbdev,nouveau,vesa compositor: gnome-shell resolution: 3840x2160~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.0.8 
           direct render: Yes 
Audio:     Device-1: Intel vendor: Hewlett-Packard driver: sof-audio-pci bus ID: 00:1f.3 
           chip ID: 8086:02c8 
           Sound Server: ALSA v: k5.4.0-7642-generic 
Network:   Device-1: Intel Wireless-AC 9462 driver: iwlwifi v: kernel port: 4000 
           bus ID: 00:14.3 chip ID: 8086:02f0 
           IF: wlp0s20f3 state: up mac: 08:71:90:b0:f9:e1 
Drives:    Local Storage: total: 476.94 GiB used: 185.63 GiB (38.9%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/nvme0n1 vendor: Intel model: HBRPEKNX0202AH size: 476.94 GiB 
           block size: physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 
           serial: PHTE938400XF512B-1 rev: HPS1 scheme: GPT 
           ID-2: /dev/nvme1n1 vendor: Intel model: HBRPEKNX0202AHO size: 27.25 GiB 
           block size: physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 
           serial: PHTE938400XF512B-2 rev: HPS2 scheme: GPT 
RAID:      Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 
           port: 4060 bus ID: 00:17.0 chip ID: 8086.282a rev: N/A 
Partition: ID-1: / raw size: 476.44 GiB size: 467.96 GiB (98.22%) used: 92.77 GiB (19.8%) 
           fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: swap-1 size: 27.25 GiB used: 0 KiB (0.0%) fs: swap 
           swappiness: 10 (default 60) cache pressure: 100 (default) dev: /dev/dm-0 
Sensors:   System Temperatures: cpu: 49.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 337 Uptime: 7m Memory: 15.28 GiB used: 2.54 GiB (16.6%) Init: systemd 
           v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 
           running in: gnome-terminal inxi: 3.0.38

Sorry,
Could i get you to change the command to inxi -Fxxxa --no-host as it didnā€™t give me what i was looking for. You can edit your post and put it in where you posted the original command.

Thanks.
Edit: You should always put three tilde ~~~ before and after you post the output of the command as it is easier to read.

It should work the the sof-firmware. Did you load the module after you installed it?

Edit: You may have to do this on Arch. Create this file and add. Not sure it will work unless you try it. Sound issues are difficult. I have a number of these that did get working but not all are the same scenario. Itā€™s trial and errorā€¦research ā€¦try somethingā€¦ doesnā€™t work change it back.

/etc/modprobe.d/blacklist.conf

blacklist snd_hda_intel
blacklist snd_soc_skl

sorry i apologize i did not load the module.

i tried with modprobeā€¦ but perhaps the command is incorrect. how should i load it?

sorry, i know this is an elementary question - apologize.

thanks for your time.

@porferry
This is just a useful hint, using:

[details="title"]
```
a long list of specs, log results, etc.

```
[/details]

BTW ``` is the backwards quote that on a US keyboard is above the tab.
The backwards quotes must be on their own line. an example

Brown fox
The quick brown fox jumped over the lazy dog's back

Click on the arrow before Brown fox to see the contents.
Doing this cleans up the post and the second time through gives the reader a choice of reading or not reading the contents. Or a casual reader (not involved in the actual trouble shooting) has a choice.

Pudge

1 Like

@Pudge I thought it was called a Tilde? ~~~ Am i wrong on that? Anyway yes @porferry could add the ~~~ before and after the output as i said in one of my posts but maybe not familiar with it? It took me a while to sift through to find the Intel audio chip.

It may be not working when loading the sof-firmware because an intel audio module is also possibly trying to load too?

If you install it on EndeavourOS just reboot.

First try adding the sof-firware and reboot. If blacklisting also doesnā€™t work then remove the blacklisting and try adding this kernel parameter to /etc/default/grub

snd_hda_intel.dmic_detect=0 to the line after Quiet

Example:

 GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet splash acpi_backlight=vendor acpi_osi='!Windows 2013' acpi_osi='!Windows 2012' snd_hda_intel.dmic_detect=0"  

Then update grub and reboot.

grub-mkconfig -o /boot/grub/grub.cfg

If it were SHIFT'ed it would be - but it is only a backquote or a backtick on its ownā€¦ :grin:

I always use the Shift? I didnā€™t know itā€™s possible to use anything other than that? I see if you use ` it is different but not colored.

sorry - just for my education -

what are the windows references on these kernel parameters - should they be omitted?

Not sure? Where did they come from? Probably should be ommitted.

@porferry Your two kernel parameters are cancelling each-other out, if they are even being applied. First off, your should only use the ! as a last resort. It clears any ACPI defaults that come from the manufacturer. This can cause issues with the touchpad, wifi, and some times even sound. Also, ACPI kernel parameters for Windows versions are also ā€œbackwards compatibleā€. This means that the parameter for Windows 2013 ā€œshouldā€ cover Windows 2012.

Parameters I would try.

  1. acpi_osi='Windows 2019'

  2. acpi_osi='Windows 2018'

  3. If the above do not work, there is always acpi_osi=Linux

Which ever parameter you use needs to be placed FIRST in the GRUB_CMDLINE_LINUX_DEFAULT line.

Example from my own system (Asus FX504GD laptop):

GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi='Windows 2018' rd.udev.log-priority=3 nvme_core.default_ps_max_latency_us=5500"

@keybreak linked to my post I that goes into more detail about ACPI parameters and how the Windows ā€œnumberā€ is generated. I am working on getting the ability to update the table in the post with new information. I hope this helps and good luck!

2 Likes
  1. You must get TL3 or ask moderator to make that a wiki post (under ā€¦) see here

  2. This function allows you, or anyone to edit this post indefinitely (all edits are seen on top right) and also have a post length more than 30000 characters, but if you worry for content - you can disable wiki-post function afterwards :slight_smile:

2 Likes

@keybreak Already asked, waiting on a response.

2 Likes

good afternoon ricklinux,

finally had some time to try endeavour on my laptop with your suggestionsā€¦

andā€¦

IT WORKS!!

full sound using sof-firmware (no blacklist needed)

many thanks to you and the other contributors.

system is running great.

1 more question:

how do i handle the hybrid graphics (i.e. i donā€™t know which driver is active, after installing the nvidia drivers. glxgears is slow~60 fps):

neofetch

./o.                 
                  ./sssso-                -------------                                                      
                `:osssssss+-              OS: EndeavourOS Linux x86_64                                       
              `:+sssssssssso/.            Host: HP Spectre x360 Convertible 15-df1xxx                        
            `-/ossssssssssssso/.          Kernel: 5.8.13-arch1-1                                             
          `-/+sssssssssssssssso+:`        Uptime: 13 hours, 23 mins                                          
        `-:/+sssssssssssssssssso+/.       Packages: 1203 (pacman)                                            
      `.://osssssssssssssssssssso++-      Shell: bash 5.0.18                                                 
     .://+ssssssssssssssssssssssso++:     Resolution: 3840x2160                                              
   .:///ossssssssssssssssssssssssso++:    DE: Plasma 5.19.5                                                  
 `:////ssssssssssssssssssssssssssso+++.   WM: KWin                                                           
`-////+ssssssssssssssssssssssssssso++++-   Theme: Breeze [Plasma], Breeze [GTK2/3]                            
`..-+oosssssssssssssssssssssssso+++++/`   Icons: breeze [Plasma], breeze [GTK2/3]                            
  ./++++++++++++++++++++++++++++++/:.     Terminal: konsole                                                  
 `:::::::::::::::::::::::::------``       CPU: Intel i7-10510U (8) @ 4.900GHz                                
GPU: NVIDIA GeForce MX250  
GPU: Intel UHD Graphics  
Memory: 3533MiB / 15641MiB

Inxi output

 $ inxi -Fxxxa
System:    Host: x360 Kernel: 5.8.13-arch1-1 x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=30640e1c-cae3-455b-aefa-f6a9e4768170 rw 
           quiet 
           cryptdevice=UUID=f143c4ab-a3e3-42f6-979c-3684d9f5d8da:luks-f143c4ab-a3e3-42f6-979c-3684d9f5d8da 
           root=/dev/mapper/luks-f143c4ab-a3e3-42f6-979c-3684d9f5d8da 
           resume=/dev/mapper/luks-6fdc229e-23c9-455b-8d84-17da76b9d7b1 loglevel=3 nowatchdog 
           Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.1 wm: kwin_x11 dm: SDDM Distro: EndeavourOS 
Machine:   Type: Convertible System: HP product: HP Spectre x360 Convertible 15-df1xxx v: N/A 
           serial: <superuser/root required> Chassis: type: 31 serial: <superuser/root required> 
           Mobo: HP model: 863F v: 54.23 serial: <superuser/root required> UEFI: AMI v: F.22 
           date: 06/01/2020 
Battery:   ID-1: BAT0 charge: 77.4 Wh condition: 83.2/83.2 Wh (100%) volts: 13.1/11.6 model: HP Primary 
           type: Li-ion serial: SerialNumber status: Charging cycles: 22 
           Device-1: hid-0018:04F3:2992.0001-battery model: ELAN2514:00 04F3:2992 serial: N/A charge: N/A 
           status: N/A 
CPU:       Info: Quad Core model: Intel Core i7-10510U bits: 64 type: MT MCP arch: Kaby Lake family: 6 
           model-id: 8E (142) stepping: C (12) microcode: D6 L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 36812 
           Speed: 800 MHz min/max: 400/4900 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 
           6: 800 7: 800 8: 800 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
           Type: srbds mitigation: TSX disabled 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:9b41 
           Device-2: NVIDIA GP108M [GeForce MX250] vendor: Hewlett-Packard driver: nvidia v: 455.23.04 
           alternate: nouveau,nvidia_drm bus ID: 3b:00.0 chip ID: 10de:1d13 
           Device-3: Chicony HP Wide Vision FHD Camera type: USB driver: uvcvideo bus ID: 1-5:2 
           chip ID: 04f2:b67b serial: 200901010001 
           Display: x11 server: X.Org 1.20.9 compositor: kwin_x11 driver: intel,nvidia 
           unloaded: fbdev,modesetting,vesa alternate: nouveau,nv display ID: :0 screens: 1 
           Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.0x22.5") s-diag: 1165mm (45.9") 
           Monitor-1: eDP1 res: 3840x2160 hz: 60 dpi: 287 size: 340x190mm (13.4x7.5") diag: 389mm (15.3") 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: Intel vendor: Hewlett-Packard driver: sof-audio-pci 
           alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:02c8 
           Sound Server: ALSA v: k5.8.13-arch1-1 
Network:   Device-1: Intel Wireless-AC 9462 driver: iwlwifi v: kernel port: 4000 bus ID: 00:14.3 
           chip ID: 8086:02f0 
           IF: wlan0 state: up mac: 08:71:90:b0:f9:e1 
Drives:    Local Storage: total: 504.19 GiB used: 102.91 GiB (20.4%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 vendor: Intel model: HBRPEKNX0202AH size: 476.94 GiB block size: 
           physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 serial: PHTE938400XF512B-1 rev: HPS1 
           scheme: GPT 
           ID-2: /dev/nvme1n1 vendor: Intel model: HBRPEKNX0202AHO size: 27.25 GiB block size: 
           physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 serial: PHTE938400XF512B-2 rev: HPS2 
           scheme: GPT 
RAID:      Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 port: 4060 
           bus ID: 00:17.0 chip ID: 8086.282a rev: N/A 
Partition: ID-1: / raw size: 459.84 GiB size: 451.62 GiB (98.21%) used: 102.91 GiB (22.8%) fs: ext4 
           dev: /dev/dm-0 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 16.80 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-1 
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 277 Uptime: 13h 30m Memory: 15.27 GiB used: 2.88 GiB (18.8%) Init: systemd v: 246 
           Compilers: gcc: 10.2.0 Packages: pacman: 1203 lib: 282 Shell: Bash v: 5.0.18 
           running in: konsole inxi: 3.1.07

I will have a look at the graphics when I get some time. Iā€™m working tonight right now. I wanted to ask what exactly got the audio working as I know you needed sof-firmware but what else did you do that I suggested?

thank you again,

i simply installed the audio and rebooted and selected the appropriate output from kde.

i donā€™t know if the latest kernel 5.8.13 made a difference, but i can tell you the audio didnā€™t work with manjaro using the same method.

i think this should really help others install linux on this hp laptop system, as it is quite popular (HP Spectre x360 Convertible 15-df1xxx)

thanks again for your help.

It should have worked on Manjaro also but there is always some little difference somehow. Iā€™m glad it worked for you on EndeavourOS.