Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Sound Not Working HP Spectre x360
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Thu Jul 29, 2021 8:00 pm    Post subject: [Solved] Sound Not Working HP Spectre x360 Reply with quote

Hello, I need some help with getting sound to work.

I followed the alsa & pulseaudio installation instructions but my sound cards arent detected with `aplay -l` and there is no `/proc/asound` directory.

modprobing any of the following drivers doesn't seem to work: "snd_hda_intel, snd_soc_skl, snd_sof_pci"


lspci -vv (audio portion)
Code:

00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS
        Subsystem: Hewlett-Packard Company Comet Lake PCH-LP cAVS
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 255
        Region 0: Memory at 6043118000 (64-bit, non-prefetchable) [disabled] [size=16K]
        Region 4: Memory at 6043000000 (64-bit, non-prefetchable) [disabled] [size=1M]
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [80] Vendor Specific Information: Len=14 <?>
        Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci


kernel config (audio poriton)
Code:

#
# audio, video and radio I2C drivers auto-selected by 'Autoselect ancillary drivers'
#
CONFIG_VIDEO_MSP3400=m
CONFIG_VIDEO_CS53L32A=m
CONFIG_VIDEO_UDA1342=m
CONFIG_VIDEO_WM8775=m
CONFIG_VIDEO_SONY_BTF_MPX=m
CONFIG_VIDEO_SAA711X=m
CONFIG_VIDEO_TVP5150=m
CONFIG_VIDEO_TW2804=m
CONFIG_VIDEO_TW9903=m
CONFIG_VIDEO_TW9906=m

#
# Video and audio decoders
#
CONFIG_VIDEO_CX25840=m

#
# Camera sensor devices
#
# CONFIG_VIDEO_HI556 is not set
# CONFIG_VIDEO_IMX214 is not set
# CONFIG_VIDEO_IMX219 is not set
# CONFIG_VIDEO_IMX258 is not set
# CONFIG_VIDEO_IMX274 is not set
# CONFIG_VIDEO_IMX290 is not set
# CONFIG_VIDEO_IMX319 is not set
# CONFIG_VIDEO_IMX355 is not set
CONFIG_VIDEO_OV2640=m
# CONFIG_VIDEO_OV2659 is not set
# CONFIG_VIDEO_OV2680 is not set
# CONFIG_VIDEO_OV2685 is not set
# CONFIG_VIDEO_OV2740 is not set
# CONFIG_VIDEO_OV5647 is not set
# CONFIG_VIDEO_OV6650 is not set
# CONFIG_VIDEO_OV5670 is not set
# CONFIG_VIDEO_OV5675 is not set
# CONFIG_VIDEO_OV5695 is not set
# CONFIG_VIDEO_OV7251 is not set
# CONFIG_VIDEO_OV772X is not set
CONFIG_VIDEO_OV7640=m
# CONFIG_VIDEO_OV7670 is not set
# CONFIG_VIDEO_OV7740 is not set
# CONFIG_VIDEO_OV8856 is not set
# CONFIG_VIDEO_OV9640 is not set
# CONFIG_VIDEO_OV9650 is not set
# CONFIG_VIDEO_OV13858 is not set
# CONFIG_VIDEO_VS6624 is not set
# CONFIG_VIDEO_MT9M001 is not set
# CONFIG_VIDEO_MT9M032 is not set
# CONFIG_VIDEO_MT9M111 is not set
# CONFIG_VIDEO_MT9P031 is not set
# CONFIG_VIDEO_MT9T001 is not set
# CONFIG_VIDEO_MT9T112 is not set
CONFIG_VIDEO_MT9V011=m
# CONFIG_VIDEO_MT9V032 is not set
# CONFIG_VIDEO_MT9V111 is not set
# CONFIG_VIDEO_SR030PC30 is not set
# CONFIG_VIDEO_NOON010PC30 is not set
# CONFIG_VIDEO_M5MOLS is not set
# CONFIG_VIDEO_RDACM20 is not set
# CONFIG_VIDEO_RJ54N1 is not set
# CONFIG_VIDEO_S5K6AA is not set
# CONFIG_VIDEO_S5K6A3 is not set
# CONFIG_VIDEO_S5K4ECGX is not set
# CONFIG_VIDEO_S5K5BAF is not set
# CONFIG_VIDEO_SMIAPP is not set
# CONFIG_VIDEO_ET8EK8 is not set
# CONFIG_VIDEO_S5C73M3 is not set
# end of Camera sensor devices

#
# Lens drivers
#
# CONFIG_VIDEO_AD5820 is not set
# CONFIG_VIDEO_AK7375 is not set
# CONFIG_VIDEO_DW9714 is not set
# CONFIG_VIDEO_DW9768 is not set
# CONFIG_VIDEO_DW9807_VCM is not set
# end of Lens drivers

#
# Flash devices
#
# CONFIG_VIDEO_ADP1653 is not set
# CONFIG_VIDEO_LM3560 is not set
# CONFIG_VIDEO_LM3646 is not set
# end of Flash devices

#
# SPI I2C drivers auto-selected by 'Autoselect ancillary drivers'
#

#
# Media SPI Adapters
#
CONFIG_CXD2880_SPI_DRV=m
# end of Media SPI Adapters

CONFIG_MEDIA_TUNER=m

#
# Tuner drivers auto-selected by 'Autoselect ancillary drivers'
#
CONFIG_MEDIA_TUNER_SIMPLE=m
CONFIG_MEDIA_TUNER_TDA18250=m
CONFIG_MEDIA_TUNER_TDA8290=m
CONFIG_MEDIA_TUNER_TDA827X=m
CONFIG_MEDIA_TUNER_TDA18271=m
CONFIG_MEDIA_TUNER_TDA9887=m
CONFIG_MEDIA_TUNER_TEA5761=m
CONFIG_MEDIA_TUNER_TEA5767=m
CONFIG_MEDIA_TUNER_MT20XX=m
CONFIG_MEDIA_TUNER_MT2060=m
CONFIG_MEDIA_TUNER_MT2063=m
CONFIG_MEDIA_TUNER_MT2266=m
CONFIG_MEDIA_TUNER_QT1010=m
CONFIG_MEDIA_TUNER_XC2028=m
CONFIG_MEDIA_TUNER_XC5000=m
CONFIG_MEDIA_TUNER_XC4000=m
CONFIG_MEDIA_TUNER_MXL5005S=m
CONFIG_MEDIA_TUNER_MXL5007T=m
CONFIG_MEDIA_TUNER_MC44S803=m
CONFIG_MEDIA_TUNER_MAX2165=m
CONFIG_MEDIA_TUNER_TDA18218=m
CONFIG_MEDIA_TUNER_FC0011=m
CONFIG_MEDIA_TUNER_FC0012=m
CONFIG_MEDIA_TUNER_FC0013=m
CONFIG_MEDIA_TUNER_TDA18212=m
CONFIG_MEDIA_TUNER_E4000=m
CONFIG_MEDIA_TUNER_FC2580=m
CONFIG_MEDIA_TUNER_TUA9001=m
CONFIG_MEDIA_TUNER_SI2157=m
CONFIG_MEDIA_TUNER_IT913X=m
CONFIG_MEDIA_TUNER_R820T=m
CONFIG_MEDIA_TUNER_QM1D1C0042=m

#
# DVB Frontend drivers auto-selected by 'Autoselect ancillary drivers'
#

#
# Multistandard (satellite) frontends
#
CONFIG_DVB_STB0899=m
CONFIG_DVB_STB6100=m
CONFIG_DVB_STV090x=m
CONFIG_DVB_STV6110x=m
CONFIG_DVB_M88DS3103=m

#
# Multistandard (cable + terrestrial) frontends
#
CONFIG_DVB_DRXK=m
CONFIG_DVB_TDA18271C2DD=m
CONFIG_DVB_SI2165=m
CONFIG_DVB_MN88472=m
CONFIG_DVB_MN88473=m

#
# DVB-S (satellite) frontends
#
CONFIG_DVB_CX24123=m
CONFIG_DVB_MT312=m
CONFIG_DVB_ZL10039=m
CONFIG_DVB_S5H1420=m
CONFIG_DVB_STV0288=m
CONFIG_DVB_STB6000=m
CONFIG_DVB_STV0299=m
CONFIG_DVB_STV6110=m
CONFIG_DVB_STV0900=m
CONFIG_DVB_TDA8083=m
CONFIG_DVB_TDA10086=m
CONFIG_DVB_TUNER_ITD1000=m
CONFIG_DVB_TUNER_CX24113=m
CONFIG_DVB_TDA826X=m
CONFIG_DVB_CX24116=m
CONFIG_DVB_CX24120=m
CONFIG_DVB_SI21XX=m
CONFIG_DVB_TS2020=m
CONFIG_DVB_DS3000=m
CONFIG_DVB_TDA10071=m

#
# DVB-T (terrestrial) frontends
#
CONFIG_DVB_CX22700=m
CONFIG_DVB_CX22702=m
CONFIG_DVB_DRXD=m
CONFIG_DVB_TDA1004X=m
CONFIG_DVB_NXT6000=m
CONFIG_DVB_MT352=m
CONFIG_DVB_ZL10353=m
CONFIG_DVB_DIB3000MB=m
CONFIG_DVB_DIB3000MC=m
CONFIG_DVB_DIB7000M=m
CONFIG_DVB_DIB7000P=m
CONFIG_DVB_TDA10048=m
CONFIG_DVB_AF9013=m
CONFIG_DVB_EC100=m
CONFIG_DVB_CXD2820R=m
CONFIG_DVB_CXD2841ER=m
CONFIG_DVB_RTL2830=m
CONFIG_DVB_RTL2832=m
CONFIG_DVB_SI2168=m
CONFIG_DVB_AS102_FE=m
CONFIG_DVB_ZD1301_DEMOD=m
CONFIG_DVB_GP8PSK_FE=m

#
# DVB-C (cable) frontends
#
CONFIG_DVB_VES1820=m
CONFIG_DVB_TDA10023=m
CONFIG_DVB_STV0297=m

#
# ATSC (North American/Korean Terrestrial/Cable DTV) frontends
#
CONFIG_DVB_NXT200X=m
CONFIG_DVB_BCM3510=m
CONFIG_DVB_LGDT330X=m
CONFIG_DVB_LGDT3305=m
CONFIG_DVB_LGDT3306A=m
CONFIG_DVB_LG2160=m
CONFIG_DVB_S5H1409=m
CONFIG_DVB_AU8522=m
CONFIG_DVB_AU8522_DTV=m
CONFIG_DVB_AU8522_V4L=m
CONFIG_DVB_S5H1411=m

#
# ISDB-T (terrestrial) frontends
#
CONFIG_DVB_S921=m
CONFIG_DVB_DIB8000=m
CONFIG_DVB_MB86A20S=m

#
# ISDB-S (satellite) & ISDB-T (terrestrial) frontends
#
CONFIG_DVB_TC90522=m

#
# Digital terrestrial only tuners/PLL
#
CONFIG_DVB_PLL=m
CONFIG_DVB_TUNER_DIB0070=m
CONFIG_DVB_TUNER_DIB0090=m

#
# SEC control devices for DVB-S
#
CONFIG_DVB_DRX39XYJ=m
CONFIG_DVB_LNBP21=m
CONFIG_DVB_LNBP22=m
CONFIG_DVB_ISL6421=m
CONFIG_DVB_ISL6423=m
CONFIG_DVB_A8293=m
CONFIG_DVB_LGS8GXX=m
CONFIG_DVB_ATBM8830=m
CONFIG_DVB_IX2505V=m
CONFIG_DVB_M88RS2000=m
CONFIG_DVB_AF9033=m

#
# Common Interface (EN50221) controller drivers
#
CONFIG_DVB_SP2=m
# end of Media ancillary drivers

#
# Graphics support
#
CONFIG_AGP=y
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
CONFIG_AGP_SIS=m
CONFIG_AGP_VIA=m
CONFIG_INTEL_GTT=y
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
CONFIG_VGA_SWITCHEROO=y
CONFIG_DRM=y
CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_DP_AUX_CHARDEV=y
# CONFIG_DRM_DEBUG_MM is not set
# CONFIG_DRM_DEBUG_SELFTEST is not set
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
CONFIG_DRM_DP_CEC=y
CONFIG_DRM_TTM=y
CONFIG_DRM_TTM_DMA_PAGE_POOL=y
CONFIG_DRM_VRAM_HELPER=m
CONFIG_DRM_TTM_HELPER=m
CONFIG_DRM_GEM_SHMEM_HELPER=y
CONFIG_DRM_SCHED=m

#
# I2C encoder or helper chips
#
CONFIG_DRM_I2C_CH7006=m
CONFIG_DRM_I2C_SIL164=m
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_I2C_NXP_TDA9950 is not set
# end of I2C encoder or helper chips

#
# ARM devices
#
# end of ARM devices

CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_USERPTR=y
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y
# CONFIG_DRM_AMDGPU_GART_DEBUGFS is not set

#
# ACP (Audio CoProcessor) Configuration
#
CONFIG_DRM_AMD_ACP=y
# end of ACP (Audio CoProcessor) Configuration

#
# Display Engine Configuration
#
CONFIG_DRM_AMD_DC=y
CONFIG_DRM_AMD_DC_DCN=y
# CONFIG_DRM_AMD_DC_DCN3_0 is not set
CONFIG_DRM_AMD_DC_HDCP=y
CONFIG_DRM_AMD_DC_SI=y
# CONFIG_DEBUG_KERNEL_DC is not set
# end of Display Engine Configuration

CONFIG_HSA_AMD=y
CONFIG_DRM_NOUVEAU=y
# CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT is not set
CONFIG_NOUVEAU_DEBUG=5
CONFIG_NOUVEAU_DEBUG_DEFAULT=3
# CONFIG_NOUVEAU_DEBUG_MMU is not set
# CONFIG_NOUVEAU_DEBUG_PUSH is not set
CONFIG_DRM_NOUVEAU_BACKLIGHT=y
# CONFIG_DRM_NOUVEAU_SVM is not set
CONFIG_DRM_I915=y
CONFIG_DRM_I915_FORCE_PROBE=""
CONFIG_DRM_I915_CAPTURE_ERROR=y
CONFIG_DRM_I915_COMPRESS_ERROR=y
CONFIG_DRM_I915_USERPTR=y
# CONFIG_DRM_I915_GVT is not set
CONFIG_DRM_I915_FENCE_TIMEOUT=10000
CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250
CONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500
CONFIG_DRM_I915_PREEMPT_TIMEOUT=640
CONFIG_DRM_I915_MAX_REQUEST_BUSYWAIT=8000
CONFIG_DRM_I915_STOP_TIMEOUT=100
CONFIG_DRM_I915_TIMESLICE_DURATION=1
CONFIG_DRM_VGEM=m
CONFIG_DRM_VKMS=m
CONFIG_DRM_VMWGFX=m
CONFIG_DRM_VMWGFX_FBCON=y
CONFIG_DRM_GMA500=m
# CONFIG_DRM_GMA600 is not set
CONFIG_DRM_GMA3600=y
CONFIG_DRM_UDL=m
CONFIG_DRM_AST=m
CONFIG_DRM_MGAG200=m
CONFIG_DRM_QXL=m
CONFIG_DRM_BOCHS=m
CONFIG_DRM_PANEL=y

#
# Display Panels
#
# CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN is not set
# end of Display Panels

CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y

#
# Display Interface Bridges
#
CONFIG_DRM_ANALOGIX_ANX78XX=m
CONFIG_DRM_ANALOGIX_DP=m
# end of Display Interface Bridges

# CONFIG_DRM_ETNAVIV is not set
CONFIG_DRM_CIRRUS_QEMU=m
CONFIG_DRM_GM12U320=m
# CONFIG_TINYDRM_HX8357D is not set
# CONFIG_TINYDRM_ILI9225 is not set
# CONFIG_TINYDRM_ILI9341 is not set
# CONFIG_TINYDRM_ILI9486 is not set
# CONFIG_TINYDRM_MI0283QT is not set
# CONFIG_TINYDRM_REPAPER is not set
# CONFIG_TINYDRM_ST7586 is not set
# CONFIG_TINYDRM_ST7735R is not set
# CONFIG_DRM_XEN is not set
CONFIG_DRM_VBOXVIDEO=m
# CONFIG_DRM_LEGACY is not set
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y

#
# Frame buffer Devices
#
CONFIG_FB_CMDLINE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not set
# CONFIG_FB_VESA is not set
CONFIG_FB_EFI=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SM501 is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_XEN_FBDEV_FRONTEND is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FB_SM712 is not set
# end of Frame buffer Devices

#
# Backlight & LCD device support
#
CONFIG_LCD_CLASS_DEVICE=m
# CONFIG_LCD_L4F00242T03 is not set
# CONFIG_LCD_LMS283GF05 is not set
# CONFIG_LCD_LTV350QV is not set
# CONFIG_LCD_ILI922X is not set
# CONFIG_LCD_ILI9320 is not set
# CONFIG_LCD_TDO24M is not set
# CONFIG_LCD_VGG2432A4 is not set
CONFIG_LCD_PLATFORM=m
# CONFIG_LCD_AMS369FG06 is not set
# CONFIG_LCD_LMS501KF03 is not set
# CONFIG_LCD_HX8357 is not set
# CONFIG_LCD_OTM3225A is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_KTD253 is not set
CONFIG_BACKLIGHT_PWM=m
CONFIG_BACKLIGHT_APPLE=m
# CONFIG_BACKLIGHT_QCOM_WLED is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3630A is not set
# CONFIG_BACKLIGHT_LM3639 is not set
CONFIG_BACKLIGHT_LP855X=m
# CONFIG_BACKLIGHT_GPIO is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
CONFIG_BACKLIGHT_ARCXCNN=m
# end of Backlight & LCD device support

CONFIG_HDMI=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=50
CONFIG_DUMMY_CONSOLE_ROWS=15
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y
# end of Console display driver support

# CONFIG_LOGO is not set
# end of Graphics support

CONFIG_SOUND=y
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_PCM_ELD=y
CONFIG_SND_DMAENGINE_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_SEQ_DEVICE=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_COMPRESS_OFFLOAD=m
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
# CONFIG_SND_OSSEMUL is not set
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_SEQ_MIDI_EVENT=m
CONFIG_SND_SEQ_MIDI=m
CONFIG_SND_SEQ_VIRMIDI=m
CONFIG_SND_MPU401_UART=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_DRIVERS=y
# CONFIG_SND_PCSP is not set
CONFIG_SND_DUMMY=m
CONFIG_SND_ALOOP=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_MTS64=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_PORTMAN2X4=m
CONFIG_SND_AC97_POWER_SAVE=y
CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SE6X is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# HD-Audio
#
CONFIG_SND_HDA=m
CONFIG_SND_HDA_GENERIC_LEDS=y
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_HWDEP=y
# CONFIG_SND_HDA_RECONFIG is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
CONFIG_SND_HDA_CODEC_SIGMATEL=m
CONFIG_SND_HDA_CODEC_VIA=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_CODEC_CIRRUS=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_CODEC_CA0110=m
CONFIG_SND_HDA_CODEC_CA0132=m
CONFIG_SND_HDA_CODEC_CA0132_DSP=y
CONFIG_SND_HDA_CODEC_CMEDIA=m
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1
CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM=y
# end of HD-Audio

CONFIG_SND_HDA_CORE=m
CONFIG_SND_HDA_DSP_LOADER=y
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_EXT_CORE=m
CONFIG_SND_HDA_PREALLOC_SIZE=2048
CONFIG_SND_INTEL_NHLT=y
CONFIG_SND_INTEL_DSP_CONFIG=m
# CONFIG_SND_SPI is not set
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER=y
CONFIG_SND_USB_UA101=m
CONFIG_SND_USB_USX2Y=m
CONFIG_SND_USB_CAIAQ=m
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_US122L=m
CONFIG_SND_USB_6FIRE=m
CONFIG_SND_USB_HIFACE=m
CONFIG_SND_BCD2000=m
CONFIG_SND_USB_LINE6=m
CONFIG_SND_USB_POD=m
CONFIG_SND_USB_PODHD=m
CONFIG_SND_USB_TONEPORT=m
CONFIG_SND_USB_VARIAX=m
CONFIG_SND_FIREWIRE=y
CONFIG_SND_FIREWIRE_LIB=m
CONFIG_SND_DICE=m
CONFIG_SND_OXFW=m
CONFIG_SND_ISIGHT=m
CONFIG_SND_FIREWORKS=m
CONFIG_SND_BEBOB=m
CONFIG_SND_FIREWIRE_DIGI00X=m
CONFIG_SND_FIREWIRE_TASCAM=m
CONFIG_SND_FIREWIRE_MOTU=m
CONFIG_SND_FIREFACE=m
# CONFIG_SND_PCMCIA is not set
CONFIG_SND_SOC=m
CONFIG_SND_SOC_AC97_BUS=y
CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y
CONFIG_SND_SOC_COMPRESS=y
CONFIG_SND_SOC_TOPOLOGY=y
CONFIG_SND_SOC_ACPI=m
CONFIG_SND_SOC_AMD_ACP=m
CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH=m
CONFIG_SND_SOC_AMD_CZ_RT5645_MACH=m
CONFIG_SND_SOC_AMD_ACP3x=m
CONFIG_SND_SOC_AMD_RENOIR=m
CONFIG_SND_SOC_AMD_RENOIR_MACH=m
# CONFIG_SND_ATMEL_SOC is not set
# CONFIG_SND_BCM63XX_I2S_WHISTLER is not set
# CONFIG_SND_DESIGNWARE_I2S is not set

#
# SoC Audio for Freescale CPUs
#

#
# Common SoC Audio options for Freescale CPUs:
#
# CONFIG_SND_SOC_FSL_ASRC is not set
# CONFIG_SND_SOC_FSL_SAI is not set
# CONFIG_SND_SOC_FSL_AUDMIX is not set
# CONFIG_SND_SOC_FSL_SSI is not set
# CONFIG_SND_SOC_FSL_SPDIF is not set
# CONFIG_SND_SOC_FSL_ESAI is not set
# CONFIG_SND_SOC_FSL_MICFIL is not set
# CONFIG_SND_SOC_IMX_AUDMUX is not set
# end of SoC Audio for Freescale CPUs

CONFIG_SND_I2S_HI6210_I2S=m
# CONFIG_SND_SOC_IMG is not set
CONFIG_SND_SOC_INTEL_SST_TOPLEVEL=y
CONFIG_SND_SOC_INTEL_SST=m
# CONFIG_SND_SOC_INTEL_CATPT is not set
CONFIG_SND_SST_ATOM_HIFI2_PLATFORM=m
# CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_PCI is not set
CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_ACPI=m
CONFIG_SND_SOC_INTEL_SKYLAKE=m
CONFIG_SND_SOC_INTEL_SKL=m
CONFIG_SND_SOC_INTEL_APL=m
CONFIG_SND_SOC_INTEL_KBL=m
CONFIG_SND_SOC_INTEL_GLK=m
CONFIG_SND_SOC_INTEL_CNL=m
CONFIG_SND_SOC_INTEL_CFL=m
CONFIG_SND_SOC_INTEL_CML_H=m
CONFIG_SND_SOC_INTEL_CML_LP=m
CONFIG_SND_SOC_INTEL_SKYLAKE_FAMILY=m
CONFIG_SND_SOC_INTEL_SKYLAKE_SSP_CLK=m
CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC=y
CONFIG_SND_SOC_INTEL_SKYLAKE_COMMON=m
CONFIG_SND_SOC_ACPI_INTEL_MATCH=m
CONFIG_SND_SOC_INTEL_MACH=y
CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES=y
# CONFIG_SND_SOC_INTEL_BDW_RT5650_MACH is not set
# CONFIG_SND_SOC_INTEL_BDW_RT5677_MACH is not set
# CONFIG_SND_SOC_INTEL_BROADWELL_MACH is not set
CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH=m
CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH=m
CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH=m
CONFIG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH=m
CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH=m
CONFIG_SND_SOC_INTEL_CHT_BSW_NAU8824_MACH=m
CONFIG_SND_SOC_INTEL_BYT_CHT_CX2072X_MACH=m
CONFIG_SND_SOC_INTEL_BYT_CHT_DA7213_MACH=m
CONFIG_SND_SOC_INTEL_BYT_CHT_ES8316_MACH=m
# CONFIG_SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH is not set
CONFIG_SND_SOC_INTEL_SKL_RT286_MACH=m
CONFIG_SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH=m
CONFIG_SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH=m
CONFIG_SND_SOC_INTEL_DA7219_MAX98357A_GENERIC=m
CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON=m
# CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH is not set
CONFIG_SND_SOC_INTEL_BXT_RT298_MACH=m
# CONFIG_SND_SOC_INTEL_SOF_WM8804_MACH is not set
CONFIG_SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH=m
CONFIG_SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH=m
CONFIG_SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH=m
CONFIG_SND_SOC_INTEL_KBL_DA7219_MAX98927_MACH=m
CONFIG_SND_SOC_INTEL_KBL_RT5660_MACH=m
# CONFIG_SND_SOC_INTEL_GLK_DA7219_MAX98357A_MACH is not set
# CONFIG_SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH is not set
# CONFIG_SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH is not set
# CONFIG_SND_SOC_INTEL_SOF_RT5682_MACH is not set
# CONFIG_SND_SOC_INTEL_SOF_PCM512x_MACH is not set
CONFIG_SND_SOC_INTEL_CML_LP_DA7219_MAX98357A_MACH=m
# CONFIG_SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH is not set
# CONFIG_SND_SOC_INTEL_SOF_DA7219_MAX98373_MACH is not set
# CONFIG_SND_SOC_INTEL_EHL_RT5660_MACH is not set
# CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH is not set
# CONFIG_SND_SOC_MTK_BTCVSD is not set
CONFIG_SND_SOC_SOF_TOPLEVEL=y
CONFIG_SND_SOC_SOF_PCI=m
CONFIG_SND_SOC_SOF_ACPI=m
# CONFIG_SND_SOC_SOF_DEBUG_PROBES is not set
CONFIG_SND_SOC_SOF=m
CONFIG_SND_SOC_SOF_PROBE_WORK_QUEUE=y
CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL=y
CONFIG_SND_SOC_SOF_INTEL_ACPI=m
CONFIG_SND_SOC_SOF_INTEL_PCI=m
CONFIG_SND_SOC_SOF_INTEL_HIFI_EP_IPC=m
CONFIG_SND_SOC_SOF_INTEL_ATOM_HIFI_EP=m
CONFIG_SND_SOC_SOF_INTEL_COMMON=m
CONFIG_SND_SOC_SOF_BROADWELL_SUPPORT=y
CONFIG_SND_SOC_SOF_BROADWELL=m
CONFIG_SND_SOC_SOF_MERRIFIELD_SUPPORT=y
CONFIG_SND_SOC_SOF_MERRIFIELD=m
CONFIG_SND_SOC_SOF_APOLLOLAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_APOLLOLAKE=m
CONFIG_SND_SOC_SOF_GEMINILAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_GEMINILAKE=m
CONFIG_SND_SOC_SOF_CANNONLAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_CANNONLAKE=m
CONFIG_SND_SOC_SOF_COFFEELAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_COFFEELAKE=m
CONFIG_SND_SOC_SOF_ICELAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_ICELAKE=m
CONFIG_SND_SOC_SOF_COMETLAKE=m
CONFIG_SND_SOC_SOF_COMETLAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_COMETLAKE_LP_SUPPORT=y
CONFIG_SND_SOC_SOF_TIGERLAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_TIGERLAKE=m
CONFIG_SND_SOC_SOF_ELKHARTLAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_ELKHARTLAKE=m
CONFIG_SND_SOC_SOF_JASPERLAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_JASPERLAKE=m
CONFIG_SND_SOC_SOF_HDA_COMMON=m
CONFIG_SND_SOC_SOF_HDA_LINK=y
CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC=y
# CONFIG_SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1 is not set
CONFIG_SND_SOC_SOF_HDA_LINK_BASELINE=m
CONFIG_SND_SOC_SOF_HDA=m
CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK=y
CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=m
CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE=m
CONFIG_SND_SOC_SOF_XTENSA=m

#
# STMicroelectronics STM32 SOC audio support
#
# end of STMicroelectronics STM32 SOC audio support


dmesg | grep audio
Code:

[    0.231789] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[  138.206076] audit: type=1400 audit(1627586113.169:835): avc:  denied  { read } for  pid=3535 comm="alsamixer" name="50-pulseaudio.conf" dev="nvme0n1p4" ino=397073 scontext=system_u:system_r:kernel_t tcontext=system_u:object_r:alsa_etc_t tclass=lnk_file permissive=1
[  138.215050] audit: type=1400 audit(1627586113.179:836): avc:  denied  { execute } for  pid=3536 comm="alsamixer" name="pulseaudio" dev="nvme0n1p4" ino=5807412 scontext=system_u:system_r:kernel_t tcontext=system_u:object_r:pulseaudio_exec_t tclass=file permissive=1
[  138.215053] audit: type=1400 audit(1627586113.179:837): avc:  denied  { read open } for  pid=3536 comm="alsamixer" path="/usr/bin/pulseaudio" dev="nvme0n1p4" ino=5807412 scontext=system_u:system_r:kernel_t tcontext=system_u:object_r:pulseaudio_exec_t tclass=file permissive=1
[  174.305037] audit: type=1400 audit(1627586149.269:851): avc:  denied  { unlink } for  pid=3539 comm="pulseaudio" name="native" dev="tmpfs" ino=7 scontext=system_u:system_r:kernel_t tcontext=system_u:object_r:user_runtime_t tclass=sock_file permissive=1


Last edited by nicolberg on Fri Aug 20, 2021 7:02 pm; edited 3 times in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Thu Jul 29, 2021 8:44 pm    Post subject: Reply with quote

Hi
Welcome to Gentoo!

Selinux is in permissive mode no?
Also
plz install
linux-firmware and sof-firmware
If problem still persists plz install
gentoo-kernel-bin

Quote:

modprobing any of the following drivers doesn't seem to work: "snd_hda_intel, snd_soc_skl, snd_sof_pci"

What happens?
_________________
:)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Thu Jul 29, 2021 9:14 pm    Post subject: Reply with quote

nicolberg,

Welcome to Gentoo. I don't think you are running the kernel that bas built from that config file.

Check the date/time in
Code:
uname -a
Thats the build date/time of the running kernel.
Have you made a newer one?

gentoo-kernel-bin is not a fix, its a workaround to allow you to delay fixing this yourself.

Make friends with wgetpaste so you don't need to share fragments.

When modprobe fails, yyou will get an error message and often more information at the end of dmesg.
Both are useful.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Sat Jul 31, 2021 3:35 am    Post subject: Reply with quote

alamahant wrote:

Quote:

modprobing any of the following drivers doesn't seem to work: "snd_hda_intel, snd_soc_skl, snd_sof_pci"

What happens?


Thank you for the welcome! Here's the output http://dpaste.com/9S9JNKR9X and my /etc/modprobe.d/alsa.conf can be found in http://dpaste.com/DUMU2W9DT
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Sat Jul 31, 2021 4:01 am    Post subject: Reply with quote

NeddySeagoon wrote:
nicolberg,

Check the date/time in
Code:
uname -a
Thats the build date/time of the running kernel.
Have you made a newer one?


Thank you for the welcome! (and the awesome tip about wgetpaste)

Revisiting https://wiki.gentoo.org/wiki/Kernel/Configuration reminded me that modules need to be compiled with
Code:
make modules_install


The output to
Code:
uname -a
can be found here: http://dpaste.com/F2AD3NKWK
(older output before compiling the modules) http://dpaste.com/949ZNNSUK


New CLI outputs

* modprobe : https://dpaste.com/4MR6ZC8VW
* aplay -l : https://dpaste.com/66EAM8A2G
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Sun Aug 01, 2021 8:55 pm    Post subject: Reply with quote

Sorry for the pastes not being available everybody

aplay -l still does not detect sound cards but modprobing no longer gives me errors (thank you NeddySeagoon!!!)

my /etc/modprobe.d/alsa.conf :
Code:

# Alsa kernel modules' configuration file.
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
## alias snd-card-1 snd-ens1371
## alias snd-card-0 snd-interwave
##  OSS/Free portion
alias char-major-14 soundcore
alias snd-slot-0 snd-card-0
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
options snd-hda-intel id=PCH index=0
options snd-hda-intel id=HDMI index=1
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sun Aug 01, 2021 9:32 pm    Post subject: Reply with quote

nicolberg,

Your pastes have gone. That's rare. They usually last several days.

What do you have in /proc/asound/devices?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Tue Aug 03, 2021 12:26 am    Post subject: Reply with quote

NeddySeagoon wrote:
What do you have in /proc/asound/devices?


Just
Code:
33:        :  timer
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Tue Aug 03, 2021 12:01 pm    Post subject: Reply with quote

nicolberg,

The kernel bits and pieces are not correct or you have got the kernel correct but are not using the newest kernel.
What does
Code:
lspci -nnk
say?

That will tell us what we need to identify the drivers for your PCI sound cards.

Look at the date/time in
Code:
uname -a
that is the build date/time of the running kernel.
Is it what you expected?

What does
Code:
dmesg | grep -i codec
output?
It will all fit into a post.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Tue Aug 03, 2021 6:58 pm    Post subject: Reply with quote

NeddySeagoon wrote:
nicolberg,
The kernel bits and pieces are not correct or you have got the kernel correct but are not using the newest kernel.



* lspci -nnk : http://0x0.st/-4jJ.txt

* uname -a : http://0x0.st/-4jt.txt
* cat /usr/src/linux/.config : http://0x0.st/-4j3.txt
* ls -l /usr/src/linux/config : http://0x0.st/-4jU.txt

* dmesg | grep -i codec : http://0x0.st/-4jx.txt

I figured it might be good to mention that I have alsa-utils emerged but not sof-firmware

there is a dmesg output that was not there before so

* dmesg | grep -i audio : http://0x0.st/-4jg.txt
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Tue Aug 03, 2021 7:29 pm    Post subject: Reply with quote

nicolberg,

Code:
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Comet Lake PCH-LP cAVS [8086:02c8]
   Subsystem: Hewlett-Packard Company Comet Lake PCH-LP cAVS [103c:863f]
   Kernel driver in use: sof-audio-pci
   Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci

Thats good as far as it goes. That's the bus end of your one sound card.
The bus end connectn to the output end which is not shown. That needs the right CODEC drivers in the kernel.

Your running kernel was built at
Quote:
Thu Jul 29 15:10:32 EDT 2021
and this topic was started at Thu Jul 29, 2021 8:00 pm (BST)
BST is EDT +05:00 so the topic was started at about the same time as your running kernel was made.
The point here is that if you have made a kernel since the topic started, its not being used.

All your sound bits appear to be present and all built as loadable modules. That's good. A mix of loadable modules and built in often fails as the bits don't come together in the right order. That matters.

There are no "Failed to bind CODEC errors" in dmesg, which I was half expecting. Lets poke at codecs a little more.
What does
Code:
grep -R -i codec /proc/asound/
tell?
On a system with the drivers loaded, it tells to codecs. I'm not sure if it will work for you.

I'm not sure if you need sof-firmware. dmesg will tell all about missing firmware.
Code:
dmesg | grep -i firmware

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Wed Aug 04, 2021 3:51 am    Post subject: Reply with quote

you were completely right: I was missing steps in my kernel upgrade script and these links were the most helpful for upgrading completely

* https://forums.gentoo.org/viewtopic-t-539024.html
* https://wiki.gentoo.org/wiki/Kernel/Upgrade

here's some results & some from a speekertest

* aplay -l : http://0x0.st/-42n.txt

speaker-test -t wav produced iterations of:

Time per period = 3.028638
0 - Front Left
1 - Front Right
Time per period = 3.031735
0 - Front Left
1 - Front Right

(had trouble using the correct flags to get wgetpaste to work with it)

but no sound coming out. I tried using alsamixer & it lets me enable the sound card sof-hda-dsp

even still and turning up the volumes on all outputs produces no sound with the speaker-test. I also tried speaker-test -t pink -P 2 and

Code:

$ speaker-test

speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 192 to 2097152
Period size range from 64 to 699051
Using max buffer size 2097152
Periods = 4
was set period_size = 524288
was set buffer_size = 2097152
 0 - Front Left
Time per period = 10.932250
 0 - Front Left
Time per period = 10.935302
 0 - Front Left
Time per period = 10.944252
^C
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Wed Aug 04, 2021 6:55 am    Post subject: Reply with quote

nicolberg,

What do you have in /proc/asound/devices now?

What does
Code:
grep -R -i codec /proc/asound/
tell?

Quote:
... turning up the volumes on all outputs ...

That doesn't work by design. Your sound card can work with the 44.1kHz sample rate of CD Digital audio, or the 48.0kHz sample rate used by digital audio. HDMI and the like, but not both at the same time.
When both are enabled, only digital works, which is not what you want.
All outputs with S/PDIF or IEC in their names must be muted or the analogue outputs will remain silent.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Wed Aug 04, 2021 3:31 pm    Post subject: Reply with quote

NeddySeagoon,

I found http://0x0.st/-4pn.txt in /proc/asound/devices

Code:
grep -R -i codec /proc/asound/
returns http://0x0.st/-4p7.txt

Your sound card can work with the 44.1kHz sample rate of CD Digital audio, or the 48.0kHz sample rate used by digital audio.
HDMI and the like, but not both at the same time.

When both are enabled, only digital works, which is not what you want.

NeddySeagoon wrote:

All outputs with S/PDIF or IEC in their names must be muted or the analogue outputs will remain silent.


Ah, understood.
I went ahead and (with no avail) ran a speaker-test using both the wav & pink noises after configuring only "Master" and "speaker" unmuted.
I used https://forums.gentoo.org/viewtopic-t-588887.html to guide me with making sure alsamixer saved the config & making a config for it.


with the activated sound card, my alsamixer options are:

Master Headphone Speaker Mic_Boost S/PDIF S/PDIF_1 S/PDIF_2 Auto-mute PGA1.0_1 PGA3.0_3 PGA7.0_7 PGA8.0_8 PGA9.0_9

(more than I've seen using any other linux distribution on this computer!)
(unsure how to export an alsa screen)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Wed Aug 04, 2021 4:14 pm    Post subject: Reply with quote

nicolberg,

Code:
$ grep -Ri codec /proc/asound
/proc/asound/card0/codec#0:Codec: Realtek ALC285
/proc/asound/card0/codec#2:Codec: Intel Kabylake HDMI

That's your CODECS and you only have the one soundcard,
Code:
$ cat /proc/asound/devices
  2: [ 0- 6]: digital audio capture
  3: [ 0- 7]: digital audio capture
  4: [ 0- 0]: digital audio playback
  5: [ 0- 0]: digital audio capture
  6: [ 0- 1]: digital audio playback
  7: [ 0- 1]: digital audio capture
  8: [ 0- 3]: digital audio playback
  9: [ 0- 4]: digital audio playback
 10: [ 0- 5]: digital audio playback
 11: [ 0- 2]: hardware dependent
 12: [ 0- 0]: hardware dependent
 13: [ 0]   : control
 33:        : timer

Alsa defauts to card 0 device 0, which is
Code:
 4: [ 0- 0]: digital audio playback
than should be your front speakers.

That's all looking good. You can post alsa-mixer inside code tags. Its ASCII text.
Code:
┌───────────────────────── AlsaMixer v1.2.5.1 ─────────────────────────┐
│ Card: HDA ATI HDMI                           F1:  Help               │
│ Chip: ATI R6xx HDMI                          F2:  System information │
│ View: F3:[Playback] F4: Capture  F5: All     F6:  Select sound card  │
│ Item: PCM [dB gain: 0.00, 0.00]              Esc: Exit               │
│                                                                      │
│          ┌──┐                                                        │
│          │▒▒│                                                        │
│          │▒▒│                                                        │
│          │▒▒│                                                        │
│          │▒▒│                                                        │
│          │▒▒│                                                        │
│          │▒▒│                                                        │
│          │▒▒│                                                        │
│          │▒▒│                                                        │
│          │▒▒│                                                        │
│          │▒▒│                                                        │
│          │▒▒│                                                        │
│          └──┘     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐           │
│                   │MM│     │MM│     │OO│     │MM│     │MM│           │
│                   └──┘     └──┘     └──┘     └──┘     └──┘           │
│        100<>100                                                      │
│       <  PCM   > S/PDIF  S/PDIF 1 S/PDIF 2 S/PDIF 3 S/PDIF 4         │
└──────────────────────────────────────────────────────────────────────┘



Now comes some trial an error. Different systems wire the same CODECS differently and a the snd-hda-intel module does not always detect it properly.
You may need to pass it a model= parameter at module load time.
There is a list of models in /usr/src/linux/Documentation/sound/hd-audio/models.rst Its a big list but we know
Code:
Codec: Realtek ALC285
so we are only interested in the ALC285 subset.

The process is
Code:
modprobe -r snd-hda-intel
modprobe snd-hda-intel model=laptop-amic

Then test ... working your way down the list of models that can apply to you.

You may not unload a module that is in use. At least, not usefully, so you may need to unload other modules to be able to unload snd-hda-intel and probbaly reload them after snd-hda-intel has been reloaded.

Oh, while I think of it, if you have a separate headphone control, that can be mixed up with front or master.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Fri Aug 13, 2021 12:34 am    Post subject: spoke too soon Reply with quote

After some time reconfiguring my kernel and uninstalling pulseaudio (trying to not use it) `aplay -l` and `alsamixer` stopped working.


first thing I did is ran a `comm -3` (and diff) to check if there were any differences between the prev/current .config files and no difference was found.
Same case with /etc/modprobe.d/alsa.conf (no changes)


the lspci -vv output changed a little bit but I imagine it's pretty insignificant

Code:

00:1f.3 Multimedia AUDIO CONTroller: Intel Corporation Comet Lake PCH-LP cAVS
   Subsystem: Hewlett-Packard Company Comet Lake PCH-LP cAVS
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 32, Cache Line Size: 64 bytes
   Interrupt: pin A routed to IRQ 177
   Region 0: Memory at 6043118000 (64-bit, non-prefetchable) [size=16K]
   Region 4: Memory at 6043000000 (64-bit, non-prefetchable) [size=1M]
   Capabilities: <access denied>
   Kernel driver in use: sof-audio-pci
   Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci


Here's lspci -nnk : http://0x0.st/-4jJ.txt



there doesn't seem to be any errors on the dmesg besides the firefox sound request

wgetpaste -C -s 0x0 -c 'modprobe snd_hda_intel snd_soc_skl snd_sof_pci ; dmesg | grep "\(audio\|codec\)"' ; http://0x0.st/-JYy.txt
wgetpaste -C -s 0x0 -c 'modprobe -R snd_hda_intel ; dmesg | grep "\(audio\|codec\)"' ; http://0x0.st/-JY6.txt
wgetpaste -C -s 0x0 -c 'modprobe snd-hda-intel model=laptop-amic ; dmesg | grep "\(audio\|codec\)"' ; http://0x0.st/-JY0.txt


Just to make sure I'm running the correct kernel (linux-5.10.52-gentoo)

wgetpaste -C -s 0x0 -c 'ls -l /usr/src' ; http://0x0.st/-Jg8.txt
wgetpaste -C -s 0x0 -c 'uname -a' ; http://0x0.st/-JgX.txt
wgetpaste -C -s 0x0 -c 'cat /usr/src/linux/.config' ; http://0x0.st/-J3U.txt


here's some error-producing commands


wgetpaste -C -s 0x0 -c 'speaker-test -t wav' ; http://0x0.st/-JgH.txt
wgetpaste -C -s 0x0 -c 'aplay -l' ; http://0x0.st/-J30.txt
wgetpaste -C -s 0x0 -c 'alsamixer' ; http://0x0.st/-J3G.txt


no output

* grep -Ri codec /proc/asound
* cat /proc/asound/devices
* doas modprobe -R snd-hda-intel
* doas modprobe snd-hda-intel model=laptop-amic


misc

wgetpaste -C -s 0x0 -c 'cat /proc/asound/devices' ; http://0x0.st/-J3l.txt


Last edited by nicolberg on Sat Aug 14, 2021 12:02 am; edited 1 time in total
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Fri Aug 13, 2021 6:39 am    Post subject: Re: spoke too soon Reply with quote

Please confirm you have sof-firmware installed, this card will not work without it.
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Sat Aug 14, 2021 12:05 am    Post subject: Re: spoke too soon Reply with quote

garrison wrote:
Please confirm you have sof-firmware installed, this card will not work without it.


Yes http://0x0.st/-JDR.txt
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Sat Aug 14, 2021 6:29 am    Post subject: Re: spoke too soon Reply with quote

Great, could you please redo alsa configuration and this time select everything as modules, i.e. CONFIG_SOUND=m and below.

Please also enable CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH and maybe also CONFIG_SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Mon Aug 16, 2021 6:59 pm    Post subject: Re: spoke too soon Reply with quote

garrison wrote:
Great, could you please redo alsa configuration and this time select everything as modules, i.e. CONFIG_SOUND=m and below.

Please also enable CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH and maybe also CONFIG_SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH


Assuming you meant to modulerize those, I did it and got the following kernel recompiled recompiled it with that on my config: http://0x0.st/-yNX.txt

here's the output to aplay -l : http://0x0.st/-yN8.txt
here's the output to alsamixer : http://0x0.st/-yNK.txt

could you go over more of what you mean by redoing the alsa config?
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Mon Aug 16, 2021 7:45 pm    Post subject: Re: spoke too soon Reply with quote

nicolberg wrote:

Assuming you meant to modulerize those, I did it and got the following kernel recompiled recompiled it with that on my config: http://0x0.st/-yNX.txt

Yes now it is all modular! Assuming you installed modules / updated initrd / booted new image, would you mind providing output of alsa-info.sh, collect it like this into /tmp/alsa-info.txt
Code:
alsa-info.sh --no-upload --stdout > /tmp/alsa-info.txt
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Mon Aug 16, 2021 11:27 pm    Post subject: Re: spoke too soon Reply with quote

garrison wrote:
nicolberg wrote:

Assuming you meant to modulerize those, I did it and got the following kernel recompiled recompiled it with that on my config: http://0x0.st/-yNX.txt

Yes now it is all modular! Assuming you installed modules / updated initrd / booted new image, would you mind providing output of alsa-info.sh


full output: http://0x0.st/-ybr.sh%20--no


I separated the stdout/stderr outputs just in case, I know it's a long output (thank you for your help)

just stdout: http://0x0.st/-yqF.txt
just stderr: http://0x0.st/-yqC.txt
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Mon Aug 16, 2021 11:59 pm    Post subject: Re: spoke too soon Reply with quote

nicolberg wrote:
full output: http://0x0.st/-ybr.sh%20--no

Errors about shared library are likely due to how you were removing pulseaudio. You will need to rebuild alsa-plugins without pulseaudio flag set, or move away /usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf which references that shared library in error.

Please list your installed package versions for:
Code:
alsa-lib
alsa-topology-conf
alsa-ucm-conf

If any is missing please install and check if 'aplay -l' output changes. You probably need the latest versions of these installed.

If still no fruit please provide output of 'dmesg | grep sof-audio-pci' hope there will be a descriptive error
Back to top
View user's profile Send private message
nicolberg
n00b
n00b


Joined: 29 Jul 2021
Posts: 36

PostPosted: Tue Aug 17, 2021 6:05 pm    Post subject: Re: spoke too soon Reply with quote

garrison wrote:
nicolberg wrote:
full output: http://0x0.st/-ybr.sh%20--no

Errors about shared library are likely due to how you were removing pulseaudio. You will need to rebuild alsa-plugins without pulseaudio flag set, or move away /usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf


Hmm, it seems my /usr/share/alsa/alsa.conf is a file. I do have that/those files in the /etc/alsa/conf.d/ directory.

Here they are listed followed by their contents: http://0x0.st/-ySM.txt

My instinct was to remove all pulsaudio related files but keep 60-upmix.conf & 60-vdownmix.conf but here's an update currently


The outputted error codes changed after adding the kernel modules you recommended but not completely gone. So I decided to add them all as modules. Hopefully that won't increase my kernel size too much since they're modules.
That made alsamixer and aplay work normally.

I was having trouble saving alsamixer and making sense of the different ways to update/save alsamixer but, since getting rid of those (2) pulseaudio files in /etc/alsa/conf.d/, speaker-test -t wav is connecting to only the left side but sound is coming out!


garrison wrote:

Please list your installed package versions for:
Code:
alsa-lib
alsa-topology-conf
alsa-ucm-conf


They're all 1.2.4 http://0x0.st/-ySq.txt



garrison wrote:

If still no fruit please provide output of 'dmesg | grep sof-audio-pci' hope there will be a descriptive error


Here's the current output to that anyways http://0x0.st/-ySb.txt
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Tue Aug 17, 2021 6:42 pm    Post subject: Re: spoke too soon Reply with quote

nicolberg wrote:
My instinct was to remove all pulsaudio related files but keep 60-upmix.conf & 60-vdownmix.conf but here's an update currently

If audio works you probably want to rebuild alsa-plugins without pulseaudio in USE flags, or just add pulseaudio back and rebuild alsa-plugins with pulseaudio in USE flags.

This particular card may still require updating alsa-lib, alsa-ucm-conf and alsa-topology to latest versions (which are still in ~arch) - you can try unmasking them.

nicolberg wrote:
speaker-test -t wav is connecting to only the left side but sound is coming out!

Please double-check your right channel is not muted in alsamixer, and try 2 channels test: 'speaker-test -c 2 -t wav'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum