Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bluetooth doesn't work!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Thu Aug 17, 2023 5:34 pm    Post subject: Bluetooth doesn't work! Reply with quote

Hello folks ...


My bluetooth doesn't work at all. I didn't have a problem with that before, but I got a bluetooth keyboard/mouse and I wanted to use them without a dongle.

The iwlwifi/iwlmvm drivers are working perfectly, however I have this message during bootup:
Code:
hci0: Failed to load Intel firmware file intel/ibt-11-5.sfi


The file is there, the only thing I might think would cause a problem is that the /lib directory is actually a link to /usr/lib ...

I tried a couple of workarounds including compiling the kernel with the blobs builtin, but nothing seems to work.

Appreciate your suggestions!
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2268

PostPosted: Thu Aug 17, 2023 7:16 pm    Post subject: Re: Bluetooth doesn't work! Reply with quote

Demo wrote:

The file is there, the only thing I might think would cause a problem is that the /lib directory is actually a link to /usr/lib ...


That's how it should be.

When asking a question you should provide relevant information, we're not psychics here :)

What is the actual wireless module?
What kernel version are you running?
What's its config?

Best Regards,
Georgi
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Thu Aug 17, 2023 8:22 pm    Post subject: Reply with quote

Hello Georgi!
Thanks for the reply ...

The .config file is 216 kb, which part of it, or symbols do you need information about?

This is a part of the journal for Bluetooth initialization:
Code:
Bluetooth: Core ver 2.22
NET: Registered PF_BLUETOOTH protocol family
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.22
NET: Registered PF_BLUETOOTH protocol family
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized


The kernel is 6.5.0-rc6.I understand that's not the stable release, however Bluetooth stopped working for me since debian 10.9. It used kernel 4.19 I recall ...

So Linux Bluetooth stopped working for me a long time ago.

The module is intel 8260 working with firmware iwlwifi-8000C-36.ucode.
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 977
Location: The Village, Portmeirion

PostPosted: Thu Aug 17, 2023 9:21 pm    Post subject: Re: Bluetooth doesn't work! Reply with quote

Demo wrote:
Hello folks ...


My bluetooth doesn't work at all. I didn't have a problem with that before, but I got a bluetooth keyboard/mouse and I wanted to use them without a dongle.

The iwlwifi/iwlmvm drivers are working perfectly, however I have this message during bootup:
Code:
hci0: Failed to load Intel firmware file intel/ibt-11-5.sfi


The file is there, the only thing I might think would cause a problem is that the /lib directory is actually a link to /usr/lib ...

I tried a couple of workarounds including compiling the kernel with the blobs builtin, but nothing seems to work.

Appreciate your suggestions!


It's most likely an issue from having the Bluetooth driver built into the kernel so it tries to load firmware before the root filesystem is mounted. If the driver is built in and not as a module then the firmware needs to be built into the kernel also. I would rebuild the kernel with Bluetooth configured as a module.

cfg80211 is a good example. If it is built as a module it will wait until root is mounted before trying to load the firmware:
Code:
BTRFS info: devid 3 device path /dev/root changed to /dev/nvme0n1p2 scanned by (udev-worker) (317)
sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver
sp5100-tco sp5100-tco: Using 0xfeb00000 for watchdog MMIO address
sp5100-tco sp5100-tco: initialized. heartbeat=60 sec (nowayout=0)
cfg80211: Loading compiled-in X.509 certificates for regulatory database
Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Loading firmware: regulatory.db
snd_hda_intel 0000:01:00.1: enabling device (0100 -> 0102)
snd_hda_intel 0000:01:00.1: Disabling MSI
snd_hda_intel 0000:0d:00.1: enabling device (0100 -> 0102)
snd_hda_intel 0000:0d:00.6: enabling device (0100 -> 0102)
Loading firmware: regulatory.db.p7s


If cfg80211 is not built as a module then regulatory.db and regulatory.db.p7s would need to be built into the kernel with CONFIG_EXTRA_FIRMWARE="regulatory.db regulatory.db.p7s"
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Thu Aug 17, 2023 9:38 pm    Post subject: Reply with quote

Thanks for the reply!

The kernel image with binary blobs built in, doesn't have the driver build in. But it's also not the only kernel image that I have. All of them are with wifi and bluetooth compiled as modules. Neither of them has bluetooth working. All are either on debian, or gentoo.

Here's the module details for the kernel I mentioned earlier:
Code:
sudo modinfo btintel
name:           btintel
firmware:       intel/ibt-12-16.ddc
firmware:       intel/ibt-12-16.sfi
firmware:       intel/ibt-11-5.ddc
firmware:       intel/ibt-11-5.sfi
license:        GPL
file:           drivers/bluetooth/btintel
version:        0.1
description:    Bluetooth support for Intel devices ver 0.1
author:         Marcel Holtmann <marcel@holtmann.org>


On a side note, I'm curious about the chips on my board and was trying to explore what could be controlled with a linux system on it, hence why I enabled a lot of pwm and voltage regulator chips, some of them are built in, and others are modular. I2c is compiled and built in too. Could that have anything to do with it?

Again, this is not the 1st, or the only kernel not getting bluetooth to work.
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 977
Location: The Village, Portmeirion

PostPosted: Thu Aug 17, 2023 9:49 pm    Post subject: Reply with quote

Demo wrote:
Thanks for the reply!

The kernel image with binary blobs built in, doesn't have the driver build in.

I have never tried that. Sounds a bit off.
Good luck with that.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4920
Location: Bavaria

PostPosted: Thu Aug 17, 2023 10:01 pm    Post subject: Reply with quote

Demo,

may I suggest to do all this:

1. Boot your machine with newest UbuntuLiveCD (not debian)
2. Check if your bluetooth works

If No: You have probably a problem with it (BIOS setting ? Damaged ?)

If yes:
3. Do a "lsmod" and give us the complete list
4. Do a "lspci -k" and give us the output
5. Do a "dmesg | grep firmware" and notice every firmware blob (some will be only for your wifi)
6. Sorry, forget (5) - give us the complete "dmesg" :lol:

We need also some additional informations from your Gentoo system:

a) output from "emerge --info"
b) your actual kernel .config

(please use wgetpaste for big files)
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Tue Aug 22, 2023 9:57 am    Post subject: Reply with quote

Hello folks, and thank you all for the replies!
I apologize for my late reply, I don't mean any disrespect, it's just I get swamped into something every couple of days ...

Here'e lsmod from ubuntu latest daily live build
Code:
Module                  Size  Used by
ntfs3                 339968  1
rfcomm                 98304  16
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
cmac                   16384  3
algif_hash             20480  1
algif_skcipher         16384  1
af_alg                 32768  6 algif_hash,algif_skcipher
bnep                   32768  2
binfmt_misc            24576  1
zfs                  6578176  6
spl                   176128  1 zfs
snd_hda_codec_hdmi     94208  1
snd_ctl_led            24576  0
snd_soc_avs           176128  0
snd_soc_hda_codec      24576  1 snd_soc_avs
snd_hda_ext_core       36864  2 snd_soc_avs,snd_soc_hda_codec
snd_hda_codec_realtek   192512  1
snd_soc_core          421888  2 snd_soc_avs,snd_soc_hda_codec
snd_hda_codec_generic   122880  1 snd_hda_codec_realtek
snd_compress           32768  2 snd_soc_avs,snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      20480  1 snd_soc_core
intel_rapl_msr         20480  0
intel_rapl_common      40960  1 intel_rapl_msr
snd_hda_intel          61440  1
intel_tcc_cooling      16384  0
snd_intel_dspcfg       36864  2 snd_soc_avs,snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
iwlmvm                729088  0
x86_pkg_temp_thermal    20480  0
snd_hda_codec         204800  6 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_codec_realtek
intel_powerclamp       24576  0
uvcvideo              139264  0
coretemp               24576  0
snd_hda_core          139264  8 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek
videobuf2_vmalloc      20480  1 uvcvideo
uvc                    16384  1 uvcvideo
mei_pxp                20480  0
videobuf2_memops       20480  1 videobuf2_vmalloc
snd_hwdep              20480  1 snd_hda_codec
mei_hdcp               28672  0
videobuf2_v4l2         36864  1 uvcvideo
mac80211             1634304  1 iwlmvm
snd_pcm               192512  8 snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
kvm_intel             528384  0
btusb                  69632  0
videodev              344064  2 videobuf2_v4l2,uvcvideo
libarc4                16384  1 mac80211
btrtl                  28672  1 btusb
snd_seq_midi           20480  0
btbcm                  28672  1 btusb
snd_seq_midi_event     16384  1 snd_seq_midi
btintel                53248  1 btusb
videobuf2_common       86016  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
snd_rawmidi            53248  1 snd_seq_midi
dell_wmi               28672  0
btmtk                  16384  1 btusb
iwlwifi               569344  1 iwlmvm
kvm                  1351680  1 kvm_intel
mc                     86016  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
bluetooth            1048576  44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
snd_seq                94208  9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
dell_smbios            28672  1 dell_wmi
irqbypass              16384  1 kvm
ledtrig_audio          16384  3 snd_ctl_led,snd_hda_codec_generic,dell_wmi
dcdbas                 24576  1 dell_smbios
ecdh_generic           16384  2 bluetooth
input_leds             16384  0
rapl                   20480  0
snd_timer              49152  3 snd_seq,snd_hrtimer,snd_pcm
mei_me                 57344  2
joydev                 32768  0
sparse_keymap          16384  1 dell_wmi
wmi_bmof               16384  0
dell_wmi_descriptor    20480  2 dell_wmi,dell_smbios
ecc                    45056  1 ecdh_generic
intel_cstate           24576  0
cfg80211             1257472  3 iwlmvm,iwlwifi,mac80211
snd                   135168  18 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
ee1004                 20480  0
soundcore              16384  2 snd_ctl_led,snd
serio_raw              20480  0
mei                   167936  5 mei_hdcp,mei_pxp,mei_me
intel_pch_thermal      20480  0
acpi_pad              184320  0
mac_hid                16384  0
msr                    16384  0
parport_pc             53248  0
ppdev                  24576  0
lp                     28672  0
parport                73728  3 parport_pc,lp,ppdev
efi_pstore             16384  0
dmi_sysfs              24576  0
ip_tables              36864  0
x_tables               65536  1 ip_tables
autofs4                57344  2
overlay               188416  1
isofs                  61440  1
jfs                   270336  0
xfs                  2199552  3
libcrc32c              16384  1 xfs
reiserfs              360448  0
dm_mirror              24576  0
dm_region_hash         24576  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
hid_generic            16384  0
usbhid                 77824  0
uas                    32768  0
hid                   176128  2 usbhid,hid_generic
usb_storage            86016  4 uas
i915                 3923968  4
drm_buddy              20480  1 i915
i2c_algo_bit           20480  1 i915
ttm                   106496  1 i915
drm_display_helper    217088  1 i915
cec                    94208  2 drm_display_helper,i915
rc_core                77824  1 cec
drm_kms_helper        258048  2 drm_display_helper,i915
syscopyarea            16384  1 drm_kms_helper
crct10dif_pclmul       16384  1
sysfillrect            20480  1 drm_kms_helper
crc32_pclmul           16384  0
polyval_clmulni        16384  0
sysimgblt              16384  1 drm_kms_helper
polyval_generic        16384  1 polyval_clmulni
ghash_clmulni_intel    16384  0
sha512_ssse3           53248  0
aesni_intel           397312  4
crypto_simd            20480  1 aesni_intel
drm                   712704  8 drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
psmouse               212992  0
e1000e                352256  0
ahci                   49152  2
i2c_i801               40960  0
i2c_smbus              20480  1 i2c_i801
xhci_pci               24576  0
libahci                57344  1 ahci
xhci_pci_renesas       20480  1 xhci_pci
video                  69632  2 dell_wmi,i915
wmi                    40960  5 video,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor


description: ntfs3 read/write filesystem
name: ntfs3

description: Bluetooth RFCOMM ver 1.11
name: rfcomm

description: ALSA sequencer MIDI-through client
name: snd_seq_dummy

description: ALSA hrtimer backend
name: snd_hrtimer

description: CMAC keyed hash algorithm
name: cmac

name: algif_hash

name: algif_skcipher

name: af_alg

description: Bluetooth BNEP ver 1.3
name: bnep

name: binfmt_misc

description: ZFS
name: zfs

description: Solaris Porting Layer
name: spl

description: HDMI HD-audio codec
name: snd_hda_codec_hdmi

description: ALSA control interface to LED trigger code.
name: snd_ctl_led

description: Intel cAVS sound driver
name: snd_soc_avs

description: Realtek HD-audio codec
name: snd_hda_codec_realtek

description: HD-Audio codec driver
name: snd_soc_hda_codec

description: HDA extended core
name: snd_hda_ext_core

description: Generic HD-audio codec parser
name: snd_hda_codec_generic

description: ALSA SoC Core description: Dynamic Audio Power Management core for ALSA SoC
name: snd_soc_core

description: ALSA Compressed offload framework
name: snd_compress

name: ac97_bus

name: snd_pcm_dmaengine

description: Intel HDA driver
name: snd_hda_intel

description: Driver for Intel RAPL (Running Average Power Limit) control via MSR interface
name: intel_rapl_msr

description: Intel Runtime Average Power Limit (RAPL) common code
name: intel_rapl_common

description: Intel DSP config driver
name: snd_intel_dspcfg

description: Intel Soundwire ACPI helpers
name: snd_intel_sdw_acpi

description: TCC offset cooling device Driver
name: intel_tcc_cooling

description: HDA codec core
name: snd_hda_codec

description: X86 PKG TEMP Thermal Driver
name: x86_pkg_temp_thermal

description: Package Level C-state Idle Injection for Intel CPUs
name: intel_powerclamp

description: Intel Core temperature monitor
name: coretemp

description: HD-audio bus
name: snd_hda_core

description: Hardware dependent layer
name: snd_hwdep

name: kvm_intel

description: The new Intel(R) wireless AGN driver for Linux
name: iwlmvm

description: Midlevel PCM code for ALSA.
name: snd_pcm

description: MEI PXP
name: mei_pxp

description: MEI HDCP
name: mei_hdcp

description: USB Video Class driver
name: uvcvideo

description: Advanced Linux Sound Architecture sequencer MIDI synth.
name: snd_seq_midi

description: vmalloc memory handling routines for videobuf2
name: videobuf2_vmalloc

description: MIDI byte <-> sequencer event coder
name: snd_seq_midi_event

name: uvc

description: Dell laptop WMI hotkeys driver
name: dell_wmi

description: Midlevel RawMidi code for ALSA.
name: snd_rawmidi

description: IEEE 802.11 subsystem
name: mac80211

description: common memory handling routines for videobuf2
name: videobuf2_memops

name: kvm

description: Driver helper framework for Video for Linux 2
name: videobuf2_v4l2

description: Video4Linux2 core driver
name: videodev

description: Generic Bluetooth USB driver ver 0.8
name: btusb

description: Advanced Linux Sound Architecture sequencer.
name: snd_seq

description: Common functions for kernel modules using Dell SMBIOS
name: dell_smbios

description: Bluetooth support for Realtek devices ver 0.1
name: btrtl

name: libarc4

description: IRQ bypass manager utility module
name: irqbypass

description: Bluetooth support for Broadcom devices ver 0.1
name: btbcm

description: Bluetooth support for Intel devices ver 0.1
name: btintel

name: rapl

description: Bluetooth support for MediaTek devices ver 0.1
name: btmtk

description: Media buffer core framework
name: videobuf2_common

description: LED trigger for audio mute control
name: ledtrig_audio

description: Dell Systems Management Base Driver (version 5.6.0-3.4)
name: dcdbas

description: ALSA sequencer device management
name: snd_seq_device

name: intel_cstate

description: WMI embedded Binary MOF driver
name: wmi_bmof

description: Dell WMI descriptor driver
name: dell_wmi_descriptor

description: Generic support for sparse keymaps
name: sparse_keymap

description: Device node registration for media drivers
name: mc

description: Intel(R) Wireless WiFi driver for Linux
name: iwlwifi

description: ALSA timer interface
name: snd_timer

description: Bluetooth Core ver 2.22
name: bluetooth

description: Raw serio driver
name: serio_raw

description: Advanced Linux Sound Architecture driver for soundcards.
name: snd

description: ECDH generic algorithm
name: ecdh_generic

description: wireless configuration support
name: cfg80211

description: Driver for EE1004-compliant DDR4 SPD EEPROMs
name: ee1004

description: Joystick device interfaces
name: joydev

name: ecc

description: Core sound module
name: soundcore

description: Input -> LEDs Bridge
name: input_leds

description: Intel(R) Management Engine Interface
name: mei_me

description: Intel(R) Management Engine Interface
name: mei

description: Intel PCH Thermal driver
name: intel_pch_thermal

description: ACPI Processor Aggregator Driver
name: acpi_pad

name: mac_hid

description: x86 generic MSR driver
name: msr

description: PC-style parallel port driver
name: parport_pc

name: ppdev

name: lp

name: parport

description: EFI variable backend for pstore
name: efi_pstore

description: DMI sysfs support
name: dmi_sysfs

description: IPv4 packet filter
name: ip_tables

description: {ip,ip6,arp,eb}_tables backend module
name: x_tables

name: autofs4

description: Overlay filesystem
name: overlay

name: isofs

description: The Journaled Filesystem (JFS)
name: jfs

description: SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
name: xfs

description: CRC32c (Castagnoli) calculations
name: libcrc32c

description: ReiserFS journaled filesystem
name: reiserfs

description: device-mapper mirror target
name: dm_mirror

description: device-mapper region hash
name: dm_region_hash

description: device-mapper dirty region log
name: dm_log

description: HID generic driver
name: hid_generic

description: USB HID core driver
name: usbhid

name: hid

name: uas

description: USB Mass Storage driver for Linux
name: usb_storage

description: Intel Graphics
name: i915

description: DRM Buddy Allocator
name: drm_buddy

description: I2C-Bus bit-banging algorithm
name: i2c_algo_bit

description: TTM memory manager subsystem (for DRM device)
name: ttm

description: DRM display adapter helper
name: drm_display_helper

description: Device node registration for cec drivers
name: cec

name: rc_core

description: DRM KMS helper
name: drm_kms_helper

description: T10 DIF CRC calculation accelerated with PCLMULQDQ.
name: crct10dif_pclmul

name: crc32_pclmul

description: POLYVAL hash function accelerated by PCLMULQDQ-NI
name: polyval_clmulni

description: Generic copyarea (sys-to-sys)
name: syscopyarea

description: POLYVAL hash function
name: polyval_generic

description: Generic fill rectangle (sys-to-sys)
name: sysfillrect

description: GHASH hash function, accelerated by PCLMULQDQ-NI
name: ghash_clmulni_intel

description: 1-bit/8-bit to 1-32 bit color expansion (sys-to-sys)
name: sysimgblt

description: SHA512 Secure Hash Algorithm, Supplemental SSE3 accelerated
name: sha512_ssse3

description: Rijndael (AES) Cipher Algorithm, Intel AES-NI instructions optimized
name: aesni_intel

name: crypto_simd

description: Software async crypto daemon
name: cryptd

description: DRM bridge infrastructure description: DRM shared core routines description: DRM panel infrastructure
name: drm

description: PS/2 mouse driver
name: psmouse

description: Intel(R) PRO/1000 Network Driver
name: e1000e

description: I801 SMBus driver
name: i2c_i801

description: AHCI SATA low-level driver
name: ahci

description: xHCI PCI Host Controller Driver
name: xhci_pci

description: SMBus protocol extensions support
name: i2c_smbus

description: Common AHCI SATA low-level routines
name: libahci

name: xhci_pci_renesas

description: ACPI Video Driver
name: video

description: ACPI-WMI Mapping Driver
name: wmi

Bluetooth is working very good on this live image. I also included a description of every module in case needed.

To compare, I installed the gentoo-kernel with the default .config
Code:
Module                  Size  Used by
isofs                  53248  1
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq                94208  7 snd_seq_dummy
snd_seq_device         12288  1 snd_seq
bnep                   32768  2
snd_hda_codec_hdmi     77824  1
snd_ctl_led            20480  0
snd_hda_codec_realtek   147456  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
snd_soc_avs           184320  0
snd_soc_hda_codec      24576  1 snd_soc_avs
snd_hda_ext_core       32768  2 snd_soc_avs,snd_soc_hda_codec
intel_rapl_msr         16384  0
intel_rapl_common      28672  1 intel_rapl_msr
snd_soc_core          364544  2 snd_soc_avs,snd_soc_hda_codec
intel_tcc_cooling      12288  0
x86_pkg_temp_thermal    16384  0
iwlmvm                622592  0
intel_powerclamp       16384  0
snd_compress           24576  2 snd_soc_avs,snd_soc_core
ac97_bus               12288  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_intel          49152  1
kvm_intel             417792  0
mac80211             1314816  1 iwlmvm
iTCO_wdt               12288  0
snd_intel_dspcfg       32768  2 snd_soc_avs,snd_hda_intel
intel_pmc_bxt          12288  1 iTCO_wdt
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
iTCO_vendor_support    12288  1 iTCO_wdt
mei_hdcp               20480  0
mei_pxp                16384  0
libarc4                12288  1 mac80211
mei_wdt                12288  0
uvcvideo              143360  0
ee1004                 16384  0
snd_hda_codec         180224  6 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_codec_realtek
kvm                  1118208  1 kvm_intel
i915                 3444736  57
uvc                    12288  1 uvcvideo
irqbypass              12288  1 kvm
snd_hda_core          118784  8 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek
videobuf2_vmalloc      16384  1 uvcvideo
snd_hwdep              16384  1 snd_hda_codec
btusb                  73728  0
btrtl                  24576  1 btusb
i2c_algo_bit           16384  1 i915
rapl                   16384  0
snd_pcm               151552  8 snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
videobuf2_memops       16384  1 videobuf2_vmalloc
dell_wmi               24576  0
ttm                    90112  1 i915
btbcm                  20480  1 btusb
videobuf2_v4l2         36864  1 uvcvideo
iwlwifi               425984  1 iwlmvm
drm_display_helper    180224  1 i915
videobuf2_common       69632  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
vfat                   20480  1
btintel                49152  1 btusb
intel_cstate           16384  0
snd_timer              45056  3 snd_seq,snd_hrtimer,snd_pcm
dell_smbios            28672  1 dell_wmi
cec                    73728  2 drm_display_helper,i915
dcdbas                 16384  1 dell_smbios
ledtrig_audio          12288  3 snd_ctl_led,snd_hda_codec_generic,dell_wmi
snd                   126976  17 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
btmtk                  12288  1 btusb
fat                    90112  1 vfat
intel_uncore          196608  0
dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
sparse_keymap          12288  1 dell_wmi
soundcore              12288  2 snd_ctl_led,snd
wmi_bmof               12288  0
pcspkr                 12288  0
i2c_i801               32768  0
videodev              315392  2 videobuf2_v4l2,uvcvideo
cfg80211             1069056  3 iwlmvm,iwlwifi,mac80211
i2c_smbus              16384  1 i2c_i801
mei_me                 49152  3
drm_kms_helper        212992  2 drm_display_helper,i915
mc                     73728  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
mei                   159744  7 mei_wdt,mei_hdcp,mei_pxp,mei_me
bluetooth             868352  15 btrtl,btmtk,btintel,btbcm,bnep,btusb
drm_buddy              16384  1 i915
rfkill                 32768  9 iwlmvm,bluetooth,cfg80211
intel_pch_thermal      16384  0
acpi_pad              180224  0
joydev                 24576  0
wireguard             106496  0
curve25519_x86_64      32768  1 wireguard
libcurve25519_generic    49152  2 curve25519_x86_64,wireguard
ip6_udp_tunnel         12288  1 wireguard
udp_tunnel             24576  1 wireguard
coretemp               16384  0
fuse                  180224  5
loop                   32768  0
xfs                  2179072  2
crct10dif_pclmul       12288  1
crc32_pclmul           12288  0
crc32c_intel           16384  0
polyval_clmulni        12288  0
polyval_generic        12288  1 polyval_clmulni
ghash_clmulni_intel    12288  0
sha512_ssse3           45056  0
e1000e                315392  0
serio_raw              16384  0
video                  69632  2 dell_wmi,i915
wmi                    36864  5 video,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
uas                    28672  0
usb_storage            77824  2 uas

name: isofs

description: ALSA sequencer MIDI-through client
name: snd_seq_dummy

description: ALSA hrtimer backend
name: snd_hrtimer

description: Advanced Linux Sound Architecture sequencer.
name: snd_seq

description: ALSA sequencer device management
name: snd_seq_device

description: Bluetooth BNEP ver 1.3
name: bnep

description: HDMI HD-audio codec
name: snd_hda_codec_hdmi

description: Intel cAVS sound driver
name: snd_soc_avs

description: HD-Audio codec driver
name: snd_soc_hda_codec

description: ALSA control interface to LED trigger code.
name: snd_ctl_led

description: HDA extended core
name: snd_hda_ext_core

description: Driver for Intel RAPL (Running Average Power Limit) control via MSR interface
name: intel_rapl_msr

description: ALSA SoC Core description: Dynamic Audio Power Management core for ALSA SoC
name: snd_soc_core

description: Intel Runtime Average Power Limit (RAPL) common code
name: intel_rapl_common

description: ALSA Compressed offload framework
name: snd_compress

description: TCC offset cooling device Driver
name: intel_tcc_cooling

description: Realtek HD-audio codec
name: snd_hda_codec_realtek

name: ac97_bus

description: X86 PKG TEMP Thermal Driver
name: x86_pkg_temp_thermal

description: Generic HD-audio codec parser
name: snd_hda_codec_generic

description: Package Level C-state Idle Injection for Intel CPUs
name: intel_powerclamp

name: snd_pcm_dmaengine

description: Intel HDA driver
name: snd_hda_intel

description: The new Intel(R) wireless AGN driver for Linux
name: iwlmvm

name: kvm_intel

description: Intel DSP config driver
name: snd_intel_dspcfg

description: Intel TCO WatchDog Timer Driver
name: iTCO_wdt

description: IEEE 802.11 subsystem
name: mac80211

description: Intel Soundwire ACPI helpers
name: snd_intel_sdw_acpi

description: Intel Broxton PMC driver
name: intel_pmc_bxt

description: USB Video Class driver
name: uvcvideo

name: libarc4

description: MEI HDCP
name: mei_hdcp

description: MEI PXP
name: mei_pxp

name: kvm

description: Intel TCO Vendor Specific WatchDog Timer Driver Support
name: iTCO_vendor_support

description: Device driver for Intel MEI iAMT watchdog
name: mei_wdt

name: uvc

description: Driver for EE1004-compliant DDR4 SPD EEPROMs
name: ee1004

description: HDA codec core
name: snd_hda_codec

description: Generic Bluetooth USB driver ver 0.8
name: btusb

description: vmalloc memory handling routines for videobuf2
name: videobuf2_vmalloc

description: IRQ bypass manager utility module
name: irqbypass

description: Bluetooth support for Realtek devices ver 0.1
name: btrtl

description: HD-audio bus
name: snd_hda_core

description: Intel Graphics
name: i915

description: common memory handling routines for videobuf2
name: videobuf2_memops

description: Bluetooth support for Broadcom devices ver 0.1
name: btbcm

name: rapl

description: Driver helper framework for Video for Linux 2
name: videobuf2_v4l2

description: Hardware dependent layer
name: snd_hwdep

description: Bluetooth support for Intel devices ver 0.1
name: btintel

description: Intel(R) Wireless WiFi driver for Linux
name: iwlwifi

description: Dell laptop WMI hotkeys driver
name: dell_wmi

description: Media buffer core framework
name: videobuf2_common

description: Bluetooth support for MediaTek devices ver 0.1
name: btmtk

name: intel_cstate

description: I2C-Bus bit-banging algorithm
name: i2c_algo_bit

description: Midlevel PCM code for ALSA.
name: snd_pcm

description: Common functions for kernel modules using Dell SMBIOS
name: dell_smbios

description: ALSA timer interface
name: snd_timer

description: TTM memory manager subsystem (for DRM device)
name: ttm

description: Dell Systems Management Base Driver (version 5.6.0-3.4)
name: dcdbas

name: intel_uncore

description: Intel(R) Management Engine Interface
name: mei_me

description: DRM display adapter helper
name: drm_display_helper

description: Video4Linux2 core driver
name: videodev

description: I801 SMBus driver
name: i2c_i801

description: LED trigger for audio mute control
name: ledtrig_audio

description: Advanced Linux Sound Architecture driver for soundcards.
name: snd

description: Generic support for sparse keymaps
name: sparse_keymap

description: PC Speaker beeper driver
name: pcspkr

description: Dell WMI descriptor driver
name: dell_wmi_descriptor

description: WMI embedded Binary MOF driver
name: wmi_bmof

description: wireless configuration support
name: cfg80211

description: Bluetooth Core ver 2.22
name: bluetooth

description: Core sound module
name: soundcore

description: SMBus protocol extensions support
name: i2c_smbus

description: Device node registration for cec drivers
name: cec

description: Intel PCH Thermal driver
name: intel_pch_thermal

description: Device node registration for media drivers
name: mc

description: RF switch support
name: rfkill

description: Intel(R) Management Engine Interface
name: mei

description: DRM KMS helper
name: drm_kms_helper

description: VFAT filesystem support
name: vfat

description: DRM Buddy Allocator
name: drm_buddy

name: fat

description: ACPI Processor Aggregator Driver
name: acpi_pad

description: Joystick device interfaces
name: joydev

description: WireGuard secure network tunnel
name: wireguard

name: curve25519_x86_64

description: Curve25519 scalar multiplication
name: libcurve25519_generic

name: ip6_udp_tunnel

name: udp_tunnel

description: Intel Core temperature monitor
name: coretemp

name: loop

description: Filesystem in Userspace
name: fuse

description: SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
name: xfs

name: uas

description: USB Mass Storage driver for Linux
name: usb_storage

description: T10 DIF CRC calculation accelerated with PCLMULQDQ.
name: crct10dif_pclmul

name: crc32_pclmul

description: CRC32c (Castagnoli) optimization using Intel Hardware.
name: crc32c_intel

description: POLYVAL hash function accelerated by PCLMULQDQ-NI
name: polyval_clmulni

description: POLYVAL hash function
name: polyval_generic

description: GHASH hash function, accelerated by PCLMULQDQ-NI
name: ghash_clmulni_intel

description: SHA512 Secure Hash Algorithm, Supplemental SSE3 accelerated
name: sha512_ssse3

description: Raw serio driver
name: serio_raw

description: Intel(R) PRO/1000 Network Driver
name: e1000e

description: ACPI Video Driver
name: video

description: ACPI-WMI Mapping Driver
name: wmi

Bluetooth still fails to work on gentoo regardless of the kernel or it's config.

This is the "lspci" output
Code:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
   Subsystem: Dell Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers
   Kernel driver in use: skl_uncore
   Kernel modules: ie31200_edac
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
   Subsystem: Dell 6th-10th Gen Core Processor PCIe Controller (x16)
   Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
   Subsystem: Dell HD Graphics 530
   Kernel driver in use: i915
   Kernel modules: i915
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
   Subsystem: Dell 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller
   Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
   Subsystem: Dell 100 Series/C230 Series Chipset Family Thermal Subsystem
   Kernel driver in use: intel_pch_thermal
   Kernel modules: intel_pch_thermal
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
   Subsystem: Dell 100 Series/C230 Series Chipset Family MEI Controller
   Kernel driver in use: mei_me
   Kernel modules: mei_me
00:16.3 Serial controller: Intel Corporation 100 Series/C230 Series Chipset Family KT Redirection (rev 31)
   Subsystem: Dell 100 Series/C230 Series Chipset Family KT Redirection
   Kernel driver in use: serial
00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID mode] (rev 31)
   Subsystem: Dell SATA Controller [RAID mode]
   Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #8 (rev f1)
   Subsystem: Dell 100 Series/C230 Series Chipset Family PCI Express Root Port
   Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Q170 Chipset LPC/eSPI Controller (rev 31)
   Subsystem: Dell Q170 Chipset LPC/eSPI Controller
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
   Subsystem: Dell 100 Series/C230 Series Chipset Family Power Management Controller
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
   Subsystem: Dell 100 Series/C230 Series Chipset Family HD Audio Controller
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel, snd_soc_avs
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
   Subsystem: Dell 100 Series/C230 Series Chipset Family SMBus
   Kernel driver in use: i801_smbus
   Kernel modules: i2c_i801
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)
   Subsystem: Dell Ethernet Connection (2) I219-LM
   Kernel driver in use: e1000e
   Kernel modules: e1000e
02:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
   Subsystem: Intel Corporation Wireless 8260
   Kernel driver in use: iwlwifi
   Kernel modules: iwlwifi


And this is the output from "emerge --info"
Code:
Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.37-r4, 6.4.10-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.4.10-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-glibc2.37
KiB Mem:    32599348 total,  25574344 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 14 Aug 2023 14:00:01 +0000
Head commit of repository gentoo: acd0cffdf342b4f4340e7934b927b22ed67430ea
Timestamp of repository dlang: Sun, 30 Jul 2023 18:48:18 +0000
Head commit of repository dlang: a1e0ad62375bf610ca1c69cb61faeb726f771edb

Timestamp of repository guru: Sun, 13 Aug 2023 15:46:34 +0000
Head commit of repository guru: 03fed4059542008e96e9a68fdddbd4e8d0700e47

sh bash 5.2_p15-r6
ld GNU ld (Gentoo 2.40 p6) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.4::gentoo, 3.12.0_beta4_p1::gentoo
dev-lang/rust-bin:         1.71.1::gentoo
dev-util/cmake:            3.27.1::gentoo
dev-util/meson:            1.2.0::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          253.3::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r7::gentoo, 2.41-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.2::gentoo
sys-devel/gcc:             11.3.1_p20230427::gentoo, 12.2.1_p20230304::gentoo, 13.2.0::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.4::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r4::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

compiz_reloaded
    location: /var/db/repos/compiz_reloaded
    masters: gentoo
    volatile: False

custom
    location: /var/db/repos/custom
    masters: gentoo
    volatile: False

dlang
    location: /var/db/repos/dlang
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dlang.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

wayland-desktop
    location: /var/lib/layman/wayland-desktop
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -fuse-ld=gold -march=x86-64-v3 -mtune=skylake"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O3 -pipe -fuse-ld=gold -march=x86-64-v3 -mtune=skylake"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O3 -pipe -fuse-ld=gold -march=x86-64-v3 -mtune=skylake"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict strict-keepdir test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-O3 -pipe -fuse-ld=gold -march=x86-64-v3 -mtune=skylake"
GENTOO_MIRRORS="https://gitweb.gentoo.org/repo/gentoo.git/tree"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="NOFILTER X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups custom-cflags cxx dbus debug dga dri dri3 dts dvd dvdr eds encode evo exif ffmpeg flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gold gpm gstreamer gtk gui hwaccel iconv icu introspection ipv6 jpeg keyring lcms libnotify libtirpc lm-sensors lto mad man mng mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf pgo pipewire png policykit ppds pulseaudio qsv qt5 readline sdl seccomp sound spell ssl startup-notification svg svg2 symlink sysprof systemd test test-rust threads tidy tiff tracker truetype udev udisks uefi unicode upnp upnp-av upower usb v4l vaapi vainfo valgrind vc vdo video-thumbnails vorbis vpx vulkan wayland webkit wifi wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

This is the journal from the kernel I configured; https://www.mirrored.to/files/8EIC6AO5/journal_aug18._links

This is the journal from the ubuntu live image; https://www.mirrored.to/files/2BC5JIYE/journal_ubuntu._links

This is the .config file I used; https://www.mirrored.to/files/EENWB8SQ/config-6.5.0-rc6.old_links

Now there weren't any problems with the wifi at all whether the binaries were loaded as modules or compiled into the kernel.

skellr, wifi and bluetooth behave the same either way!

My personal conclusion from the comparison between the ubuntu and gentoo modules is that there's some cryptographic library module that's not compiled with the kernel that affects reading the "regulatory.db" but I still didn't compile a kernel withe ubuntu modules.

At the moment the error I get for bluetooth is
Code:
Aug 22 12:36:38 OptiPlex-7040 kernel: Bluetooth: hci0: FW download error recovery failed (-19)
Aug 22 12:36:38 OptiPlex-7040 kernel: Bluetooth: hci0: sending frame failed (-19)
Aug 22 12:36:38 OptiPlex-7040 kernel: Bluetooth: hci0: Reading supported features failed (-19)
Aug 22 12:36:45 OptiPlex-7040 kernel: Bluetooth: hci0: sending frame failed (-19)
It's consistent with whichever kernel I use on gentoo.

I repeat my apologies for the late reply!
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2268

PostPosted: Tue Aug 22, 2023 10:02 am    Post subject: Reply with quote

Those mirrored.to links are not OK. Why are you going out of your way to make things more complicated than they need to be rather than using wgetpaste or similar?

Judging by the rest, the same modules regarding bluetooth are loaded in both distributions. Did you include CONFIG_BT_HCIUART_INTEL in your kernel? If you did, then your problem is with the firmware.

Best Regards,
Georgi


Last edited by logrusx on Tue Aug 22, 2023 10:11 am; edited 1 time in total
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Tue Aug 22, 2023 10:05 am    Post subject: Reply with quote

logrusx, because the files are big. The gentoo journal is 3.5 MB in size.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2268

PostPosted: Tue Aug 22, 2023 10:14 am    Post subject: Reply with quote

Kernel config is not big and the journal is not necessary. What might be useful is the output of dmesg, which should not be big too.

Best Regards,
Georgi
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4920
Location: Bavaria

PostPosted: Tue Aug 22, 2023 10:45 am    Post subject: Reply with quote

logrusx wrote:
Judging by the rest, the same modules regarding bluetooth are loaded in both distributions.

No =>
Code:
bluetooth            1048576  44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
<=>
bluetooth             868352  15 btrtl,btmtk,btintel,btbcm,bnep,btusb


Demo,

the links dont work for me (cannot open it), so I can only say you are missing "rfcomm". Please check if you kernel has access to /lib/firmware.

Maybe (re-)emerge "linux-firmware", "bluez-firmware" and "broadcom-bt-firmware" (only to be safe; because I cant see your dmesg output).

I also dont know if you have a designware controller (check https://wiki.gentoo.org/wiki/Bluetooth#Notebook_has_a_Synopsys_DesignWare_Controller )

Maybe try another pastebin service.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2268

PostPosted: Tue Aug 22, 2023 11:56 am    Post subject: Reply with quote

pietinger wrote:
logrusx wrote:
Judging by the rest, the same modules regarding bluetooth are loaded in both distributions.

No =>
Code:
bluetooth            1048576  44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
<=>
bluetooth             868352  15 btrtl,btmtk,btintel,btbcm,bnep,btusb


Demo,

the links dont work for me (cannot open it), so I can only say you are missing "rfcomm". Please check if you kernel has access to /lib/firmware.

Maybe (re-)emerge "linux-firmware", "bluez-firmware" and "broadcom-bt-firmware" (only to be safe; because I cant see your dmesg output).

I also dont know if you have a designware controller (check https://wiki.gentoo.org/wiki/Bluetooth#Notebook_has_a_Synopsys_DesignWare_Controller )

Maybe try another pastebin service.


Aaaah, rfcomm, nicely spotted!

I don't think there's a need for bluez-firmware and broadcom-bt-firmware. It's an intel 8260, it has its own bt.

@Demo, just to be sure you can try with gentoo-kernel-bin. If it works, then the problem must be only the missing rfcomm (BT_RFCOMM) and not the firmware itself.

Also see if redistributable use flag is enabled on linux-firmware. It was the problem for another Intel wifi adapter.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Tue Aug 22, 2023 6:30 pm    Post subject: Reply with quote

This is the journal from the kernel I configured; https://download.gg/en/file-15578277_933393bc5c239a72

This is the journal from the ubuntu live image; https://download.gg/en/file-15578282_b35ce94eaa7da4c8

This is the .config file I used; https://download.gg/en/file-15578285_0720fb0242a09729

I'm sorry but wgetpaste doesn't seem to work with these files.

The rfcomm module is already built in, it's symbol is BT_RFCOMM, and I set it up to Y.

I checked on all the modules that I listed on the ubuntu live image, I couldn't find some either by the module name, or keyword, but I found some and enabled them but still no result.

I grabbed the ubuntu config file and I'll give it a try compiling the kernel with it, then get back with the result.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4920
Location: Bavaria

PostPosted: Tue Aug 22, 2023 7:29 pm    Post subject: Reply with quote

Demo,

you have two problems (or maybe more):

1.)
Code:
Aug 19 01:29:43 OptiPlex-7040 kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2


2.)
Code:
a)
CONFIG_LPC_ICH=y

CONFIG_MFD_INTEL_LPSS=y
CONFIG_MFD_INTEL_LPSS_ACPI=y
CONFIG_MFD_INTEL_LPSS_PCI=y

b)
# CONFIG_X86_INTEL_LPSS is not set
c)
CONFIG_EXTRA_FIRMWARE="ibt-11-5.ddc  ibt-11-5.sfi"
d)
# CONFIG_PINCTRL_SUNRISEPOINT is not set


=>

a) I dont know if you need this. You have an i7-6700: This is not a notebook processor. But if you need it it wont work without (b)
b) This is necessary to get (a)
c) Add here: regulatory.db
d) You have a Skylake CPU with sunrispoint ! (all other PINCTRL modules you dont need)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Aug 22, 2023 7:50 pm    Post subject: Reply with quote

pietinger,

Isn't
Code:
CONFIG_EXTRA_FIRMWARE="ibt-11-5.ddc  ibt-11-5.sfi"
broken?

Here its in /lib/firmware/intel, so with the default firmware dir of /lib/firmware, those entries are missing the intel/ prefix.
Is going to matter as regulatory.db is in /lib/firmware.

-- edit --

The from modinfo, the driver can use
Code:
rw-r--r-- 1 root root      18 Aug  5 11:45 ibt-11-5.ddc
-rw-r--r-- 1 root root  586916 Aug  5 11:45 ibt-11-5.sfi
-rw-r--r-- 1 root root      14 Aug  5 11:45 ibt-12-16.ddc
-rw-r--r-- 1 root root  584092 Aug  5 11:45 ibt-12-16.sfi
the ibt-11* or ibt-12* versions.

Latest firmware is usually preferred. Do pick a matching set though
_________________
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
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Tue Aug 22, 2023 8:02 pm    Post subject: Reply with quote

Quote:
a) I dont know if you need this. You have an i7-6700: This is not a notebook processor. But if you need it it wont work without (b)


Yes, every now and then I realize there's a symbol that shouldn't be into my configuration. The thing is cause my machine is the dell micro form factor, it's built like a laptop internally, which includes some laptop chips too. So I notice in the tons of symbols one or that shouldn't be there, I disable them, then something goes wrong, or something that was corrected doesn't happen anymore. So I'm working my way around this.

Quote:
c) Add here: regulatory.db


At the moment these are the binary blobs compiled directly into the kernel; i915/skl_dmc_ver1_27.bin i915/skl_huc_2.0.0.bin i915/skl_guc_70.1.1.bin ibt-11-5.ddc ibt-11-5.sfi iwlwifi-8000C-36.ucode regulatory.db

Everything is already built in, and both wifi and graphics are excellent, I don't know what's wrong with bluetooth!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Aug 22, 2023 8:08 pm    Post subject: Reply with quote

Demo,

Code:
ibt-11-5.ddc ibt-11-5.sfi
Those path names are both missing the intel/ prefix.
The files are not in /lib/firmware, they are in /lib/firmware/intel

Try
Code:
ls  /lib/firmware/intel

_________________
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
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Tue Aug 22, 2023 8:09 pm    Post subject: Reply with quote

Quote:

Here its in /lib/firmware/intel, so with the default firmware dir of /lib/firmware, those entries are missing the intel/ prefix.
Is going to matter as regulatory.db is in /lib/firmware.

It's in both, I'm not sure why! I even double checked with diff to make sure neither is a symlink to the other, and they aren't.

Quote:
the ibt-11* or ibt-12* versions

On a generic setup, or using a live image, version 11 was always selected, so I preferred using it.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4920
Location: Bavaria

PostPosted: Tue Aug 22, 2023 8:15 pm    Post subject: Reply with quote

Demo wrote:
Everything is already built in, and both wifi and graphics are excellent, I don't know what's wrong with bluetooth!

Just a shoot in the dark: Try to enable # CONFIG_SERIAL_8250_DW is not set

If this does not help I would need a 6.1 gentoo-kernel (because we have some patches you miss in the vanilla-kernel; one of it is the printing of used firmware)
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Tue Aug 22, 2023 8:16 pm    Post subject: Reply with quote

I wish that besides the extensive kernel documentation, and the kconfig framework, there was some sort of methodology to tweak the code to the machine. But it seems to me it's like a skill or an art, which it shouldn't be!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Aug 22, 2023 8:16 pm    Post subject: Reply with quote

Demo,

Code:
$ ls /lib/firmware/ibt*
ls: cannot access '/lib/firmware/ibt*': No such file or directory


I'm looking at sys-kernel/linux-firmware-20230804 which is the current stable.
_________________
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
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Tue Aug 22, 2023 8:18 pm    Post subject: Reply with quote

Quote:
Just a shoot in the dark: Try to enable # CONFIG_SERIAL_8250_DW is not set

If this does not help I would need a 6.1 gentoo-kernel (because we have some patches you miss in the vanilla-kernel; one of it is the printing of used firmware)


Sure ...
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Tue Aug 22, 2023 8:33 pm    Post subject: Reply with quote

Code:
sudo ls /lib/firmware/ibt-11*
/lib/firmware/ibt-11-5.ddc  /lib/firmware/ibt-11-5.sfi


Code:
sudo ls /lib/firmware/intel/ibt-11*
/lib/firmware/intel/ibt-11-5.ddc  /lib/firmware/intel/ibt-11-5.sfi


Code:
diff -s /lib/firmware/ibt-11-5.ddc /lib/firmware/intel/ibt-11-5.ddc
Files /lib/firmware/ibt-11-5.ddc and /lib/firmware/intel/ibt-11-5.ddc are identical


Yes, you're correct, it's not their standard location, but they are in both directories on my system for some reason, I guess I copied or downloaded them separately before for some reason!
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2268

PostPosted: Wed Aug 23, 2023 5:49 am    Post subject: Reply with quote

This incorporating firmware into the kernel thing is shooting in the dark.

First, make sure you have net-wireless/wireless-regdb emerged, because someone spotted one of those firmwares was missing and while I researched the below suggestion, I notices it wasn't part of linux-firmware but from wireless-regdb.

Here's what I suggest if that doesn't solve the problem:

Code:
equery belongs /lib/firmware


Unmerge all the packages listed;

Then
Code:
emerge -f <list of the above packages>
just to be sure the distfiles are available;

Clean up /lib/firmware;

Emerge the packages unmerged.

If attempting the above, make sure you can finish it in one pass without reboot.

The start over

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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