[BUG] btintel_pcie: hci0 is UP but missing from the mgmt index list
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c, linux
- Ambito
- operating-systems
Direzione di ricerca
Start by tracing btintel_pcie_setup(), hci_register_dev(), msft_register(), and read_index_list() in the kernel Bluetooth code; the issue names the relevant call paths but not source file paths or a failing test. Reproduce with the listed Intel PCI controller and inspect when the management index is added after firmware setup. Done means READ_INDEX_LIST includes hci0 and BlueZ creates /org/bluez/hci0.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Pre-flight checklist
- I have searched existing issues and this is not a duplicate.
- I have read the Contributing Guidelines.
- I have verified the issue is reproducible with the latest available CachyOS kernel.
- I have tried to reproduce the issue on Arch Linux's
linuxkernel.
Upstream / vanilla kernel check
I have not tested with a vanilla/upstream kernel
Kernel variant
linux-cachyos (EEVDF, Clang)
System information (cachyos-bugreport.sh)
Not run. That script uploads a full system dump. Manual details are below.
Manual system information (if cachyos-bugreport.sh is unavailable)
- Kernel: 7.3.6-3-cachyos (
linux-cachyos7.3.6-3) - CPU: Intel Core Ultra 5 338H
- Architecture: x86_64
- BlueZ: 5.88
- mgmt interface: version 1, revision 23
- No SCX scheduler involved
Bug description
btintel_pcie brings hci0 up and loads firmware, but the controller never appears in the Bluetooth management index list. BlueZ therefore has no adapter.
The same report was sent to linux-bluetooth. The running tree matches current mainline on the two relevant points: msft_register() runs only from hci_register_dev(), and mgmt_index_added() runs from hci_power_on() / hci_set_powered_sync(), not from hci_dev_open_sync().
Steps to reproduce
- Boot with
btintel_pciebound to PCI 00:14.7 (8086:e476rev 01, subsystem8086:0111). - Start bluetoothd. rfkill is not blocking the adapter.
busctl tree org.bluezshows only/org/bluez.HCIDEVUPon hci0 succeeds and the firmware load below is printed.MGMT_OP_READ_INDEX_LIST(opcode0x0003) still returns status 0 andnum_controllers0.- Restart bluetoothd. Still no
/org/bluez/hci0.
Expected behavior
After setup succeeds and the controller has a bdaddr, READ_INDEX_LIST includes hci0 and BlueZ creates /org/bluez/hci0.
Actual behavior
HCIGETDEVLIST shows one device: id 0, flags 0x5 (HCI_UP|HCI_RUNNING). HCIGETDEVINFO returns name hci0, type 5 (HCI_PCI), and a non-zero bdaddr. /sys/class/bluetooth/hci0 has no address attribute. The management index list is empty, so bluetoothd never creates an adapter.
Logs / stack traces
Bluetooth: hci0: Found device firmware: intel/ibt-00a0-01a1-pci.sfi
Bluetooth: hci0: Firmware Version: 19-36.26
Bluetooth: hci0: Firmware loaded in 477945 usecs
Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-00a0-01a1-pci.ddc
Bluetooth: hci0: Applying Intel DDC parameters completed
Bluetooth: hci0: Firmware timestamp 2026.36 buildtype 1 build 102163
Bluetooth: hci0: Firmware SHA1: 0xfbf3efe9
Bluetooth: hci0: Fseq status: Success (0x00)
Bluetooth: hci0: Fseq executed: 00.87.00.03
Bluetooth: hci0: Fseq BT Top: 00.87.00.04
Bluetooth: hci0: MSFT extension not registered
bluetoothd:
Bluetooth management interface 1.23 initialized
No "Opcode failed" or "Failed to read MSFT supported features" follows. This is not the ibt-0190-0291 -ENOENT failure. Here ibt-00a0-01a1-pci.sfi loads and Fseq reports success.
On this build, btintel_set_msft_opcode() only stores 0xFC1E, and that call is in btintel_pcie_setup(). hci_register_dev() runs earlier, from probe, and that is the only caller of msft_register(). The opcode is still NOP when msft_register() runs, so msft_do_open() hits "MSFT extension not registered" and returns.
mgmt_index_added() is not called from hci_dev_open_sync(). It is called from hci_power_on() and hci_set_powered_sync(). read_index_list() skips HCI_SETUP, HCI_CONFIG, HCI_USER_CHANNEL, HCI_UNCONFIGURED, and HCI_QUIRK_RAW_DEVICE. The legacy HCI_RAW bit is clear. Nothing holds an HCI user channel. HCIDEVUP can finish setup and set HCI_UP without the controller being added to the index list.
Additional system information
Not tested on a vanilla kernel or on Arch linux. Not compared with a newer linux-cachyos package than 7.3.6-3.
- Lingua principale
- Shell
- Stelle
- 4.9k
- Fork
- 190
- Merge medio
- 1g 3h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CachyOS/linux-cachyos
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
CachyOS/linux-cachyos#1196 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
CachyOS/linux-cachyos#1091 · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
CachyOS/linux-cachyos#961 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
CachyOS/linux-cachyos#1195 ·
-
[FEATURE] linux-cachyos-eac: enable CONFIG_AMD_PRIVATE_COLOR for gamescope-session color managementForse già presa @ventureoo l’ha presa oggi. Apertaenhancement
CachyOS/linux-cachyos#1194 · 3 assegnatari ·
Tutte le issue di CachyOS/linux-cachyos
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
nextlevelbuilder/dewee-desktop-app#277 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
rstudio/r-system-requirements#273 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 2 giorni
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100