LINUX.ORG.RU

Bluetooth-прог не видит встроенный адаптер bluetooth

 , ,


0

1

Описание проблемы:

В 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 заработал


Последнее исправление: Architector (всего исправлений: 4)

  • адаптер wifi/bluetooth?
  • rfkill что-то видит? возможно что-то заблокировано
  • и надо dmesg изучать: firmware? ACPI? какие-либо непонятные устройства/сообщения…
  • сочетания на клавиатуре wifi|bluetooth|airplane mode есть? реакция на них есть?

если модуль совмещённый, то проблемы с его работой обычное дело (несколько лет назад, так точно было).

anonymous
()
Ответ на: комментарий от anonymous
  • root@redox:/home/kein# rfkill 
    ID TYPE DEVICE    SOFT      HARD
    0 wlan phy0   blocked unblocked
    
  • Реакция есть - отключение/включение wifi
Architector
() автор топика
Ответ на: комментарий от anonymous
  • dmesg
    • [84764.622288] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
      [84764.622295] sr 0:0:0:0: [sr0] tag#0 Sense Key : Medium Error [current] 
      [84764.622298] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Unrecovered read error
      [84764.622302] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 0f ee 00 00 02 00
      [84764.622304] blk_update_request: critical medium error, dev sr0, sector 16312 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
      
    • [    3.915477] Error: Driver 'rtl8821ce' is already registered, aborting...
      [    3.952792] usb 1-10: Device not responding to setup address.
      [    3.963046] rtl8821ce 0000:01:00.0 wlo1: renamed from wlan0
      [    3.995619] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
      [    3.995646] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
      [    4.109002] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
      [    4.109027] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
      [    4.109042] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
      [    4.109280] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
      [    4.109370] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
      [    4.116211] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
      [    4.148665] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
      [    4.148670] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
      [    4.148675] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 2
      [    4.160683] usb 1-10: device not accepting address 7, error -71
      [    4.162290] usb usb1-port10: unable to enumerate USB device
      
    • [    0.069304] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
      [    0.124816] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS01._UPC], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.124823] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.124825] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.124828] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS01._PLD], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.124831] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.124833] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.124963] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS02._UPC], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.124966] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.124968] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.124970] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS02._PLD], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.124972] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.124974] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.124977] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS03._UPC], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.124980] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.124982] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.124984] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS03._PLD], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.124986] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.124988] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.124999] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS01._UPC], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125002] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125003] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125005] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS01._PLD], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125008] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125010] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125013] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS02._UPC], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125016] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125017] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125019] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS02._PLD], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125022] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125024] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125027] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS03._UPC], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125029] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125031] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125033] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS03._PLD], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125036] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125038] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125040] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS04._UPC], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125043] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125045] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125047] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS04._PLD], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125050] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125052] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125054] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS05._UPC], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125057] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125059] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125061] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS05._PLD], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125064] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125066] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125068] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS06._UPC], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125071] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125073] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125075] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS06._PLD], AE_ALREADY_EXISTS (20201113/dswload2-326)
      [    0.125077] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-220)
      [    0.125079] ACPI: Skipping parse of AML opcode: Method (0x0014)
      [    0.125493] ACPI: 11 ACPI AML tables successfully acquired and loaded
      
Architector
() автор топика
Ответ на: комментарий от Architector

логи лучше на пастебин* выкладывать, в тему ссылку.

[    4.160683] usb 1-10: device not accepting address 7, error -71
[    4.162290] usb usb1-port10: unable to enumerate USB device

bluetooth-адаптер?

anonymous
()
Ответ на: комментарий от Architector

надо выяснять, что за адаптер. похоже с поддержкой в linux у него не очень.

anonymous
()
Ответ на: комментарий от Architector

адаптер двойной wifi/bluetooth. и с bluetooth у него плохо. на гитхабе есть пара issue без ответов. но у тебя его совсем не видно. тут или винда его не отпускает, или драйвер совсем плох

anonymous
()

О, только узнал, что проститутки из Linux Mint тоже согнули колени пред systemd.

anonymous
()
Ответ на: комментарий от anonymous

Попробовал - хз

Нашёл такой прикол:

root@redox:/home/kein# dkms status
rtl8821ce, 5.5.2.1, 5.11.0-46-generic, x86_64: built
rtl8821ce, 5.5.2.1, 5.4.0-91-generic, x86_64: built
rtl8821ce, v5.5.2_34066.20200325, 5.11.0-46-generic, x86_64: installed (WARNING! Diff between built and installed module!)
Architector
() автор топика
Ответ на: комментарий от Architector

не знаю.

вычистить. собрать/установить/использовать актуальный (под версию ядра) модуль.

подождём других экспертов.

anonymous
()

Сиди в венде, вендузоед.

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.