Описание проблемы:
В Linux Mint открываю стандартное приложение Bluetooth (blueberry) и там написано, что «Адаптеры Bluetooth не обнаружены»
Установил blueman
- то же самое
Когда стояла винда и, когда только на этот ноут установил Mint - bluetooth был
Система Linux Mint 20.3 (Una)
Ядро: 5.11.0-46-generic #51~20.04.1-Ubuntu SMP Fri Jan 7 06:51:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Замечание: изначально wifi не работал со стандартным драйвером для этого адаптера, поэтому пришлось ставить другой отсюда GitHub
Сервис bluetooth - inactive(dead), рестарт не помогает
root@redox:/home/kein# systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
Feb 16 09:23:10 redox systemd[1]: Condition check resulted in Bluetooth service being skipped.
Feb 16 09:23:35 redox systemd[1]: Condition check resulted in Bluetooth service being skipped.
Feb 16 09:57:15 redox systemd[1]: Condition check resulted in Bluetooth service being skipped.
Feb 16 13:53:06 redox systemd[1]: Condition check resulted in Bluetooth service being skipped.
Feb 17 09:02:56 redox systemd[1]: Condition check resulted in Bluetooth service being skipped.
Сам адаптер: на нём написано, что поддерживает bluetooth
root@redox:/home/kein# lspci -vvv
0000:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
DeviceName: Realtek Wireless LAN + BT
Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter
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: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 151
Region 0: I/O ports at 3000 [size=256]
Region 2: Memory at 84000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee00558 Data: 0000
Capabilities: [70] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 10.000W
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <2us, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+, NROPrPrP-, LTR+
10BitTagComp-, 10BitTagReq-, OBFF Via message/WAKE#, ExtFmt-, EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS-, TPHComp-, ExtTPHComp-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
AtomicOpsCtl: ReqEn-
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Capabilities: [148 v1] Device Serial Number 00-e0-4c-ff-fe-c8-21-01
Capabilities: [158 v1] Latency Tolerance Reporting
Max snoop latency: 3145728ns
Max no snoop latency: 3145728ns
Capabilities: [160 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=30us PortTPowerOnTime=60us
L1SubCtl1: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+
T_CommonMode=0us LTR1.2_Threshold=98304ns
L1SubCtl2: T_PwrOn=60us
Capabilities: [170 v1] Precision Time Measurement
PTMCap: Requester:- Responder:+ Root:-
PTMClockGranularity: Unimplemented
PTMControl: Enabled:+ RootSelected:-
PTMEffectiveGranularity: Unknown
Capabilities: [17c v1] Vendor Specific Information: ID=0003 Rev=1 Len=054 <?>
Kernel driver in use: rtl8821ce
Kernel modules: rtw88_8821ce, 8821ce, rtl8821ce
inxi -F
root@redox:/home/kein# inxi -F
System: Host: redox Kernel: 5.11.0-46-generic x86_64 bits: 64 Desktop: Cinnamon 5.2.7
Distro: Linux Mint 20.3 Una
Machine: Type: Laptop System: HP product: HP Laptop 15s-fq2xxx v: N/A serial: 5CD117CYJ3
Mobo: HP model: 87FE v: 57.16 serial: PKWHH028JF4EOO UEFI: AMI v: F.09 date: 02/19/2021
Battery: ID-1: BAT0 charge: 39.6 Wh condition: 39.6/41.0 Wh (97%)
CPU: Topology: Dual Core model: 11th Gen Intel Core i3-1115G4 bits: 64 type: MT MCP
L2 cache: 6144 KiB
Speed: 1200 MHz min/max: 400/4100 MHz Core speeds (MHz): 1: 1200 2: 1201 3: 1201
4: 1201
Graphics: Device-1: Intel driver: i915 v: kernel
Display: server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT2)
v: 4.6 Mesa 22.1.0-devel (git-ffdac8b 2022-02-15 focal-oibaf-ppa)
Audio: Device-1: Intel driver: sof-audio-pci
Sound Server: ALSA v: k5.11.0-46-generic
Network: Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter driver: rtl8821ce
IF: wlo1 state: dormant mac: ec:2e:98:08:89:25
Device-2: Huawei E33372 LTE/UMTS/GSM HiLink Modem/Networkcard type: USB
driver: cdc_ether,usb-storage
IF: enx0c5b8f279a64 state: up speed: N/A duplex: N/A mac: 0c:5b:8f:27:9a:64
Drives: Local Storage: total: 238.47 GiB used: 111.26 GiB (46.7%)
ID-1: /dev/nvme0n1 vendor: SK Hynix model: BC511 HFM256GDJTNI-82A0A size: 238.47 GiB
RAID: Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
Partition: ID-1: / size: 233.24 GiB used: 111.26 GiB (47.7%) fs: ext4 dev: /dev/nvme0n1p2
Sensors: System Temperatures: cpu: 50.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 248 Uptime: 1d 5m Memory: 7.42 GiB used: 2.66 GiB (35.8%) Shell: bash
inxi: 3.0.38
Решено
- Снёс все драйвера, что были поставлены вручную (через dkms)
- Поставил драйвер от tomaspinho c гитхаба
echo "blacklist rtw88_8821ce" | sudo tee /etc/modprobe.d/rtw88_8821ce.conf
- Далее достал бубен
- Загрузился в лайв-сессию с флешки
- В терминале лайв-сессии
reboot
- Попросило убрать флешку - убрал
- Выключил комп
- Включил комп
- Вуаля - BT заработал