LINUX.ORG.RU

rfkill bluethooth

 , ,


0

1

Здравствуйте, ради интереса взял и отключил через rfkill block bluethooth свой встроенный bluetooth адаптер. В итоге не могу его включить обратно, спасает перезагрузка. Подскажите как исправить?

root@notebook:~# rfkill list
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

root@notebook:~# hciconfig hci0 up
Can't init device hci0: Connection timed out (110)

root@notebook:~# bluetoothctl power on
Changing power on succeeded
root@notebook:~# bluetoothctl scan on
Failed to start discovery: org.bluez.Error.NotReady

root@notebook:~# lsusb
Bus 001 Device 002: ID 8087:0a2b Intel Corp. Bluetooth wireless interface

root@notebook:~# uname -a
Linux L380 5.10.0-5-amd64 #1 SMP Debian 5.10.26-1 (2021-03-27) x86_64 GNU/Linux

root@notebook:~# hciconfig -a
hci0:	Type: Primary  Bus: USB
	BD Address: 98:3B:8F:31:6E:4B  ACL MTU: 1021:4  SCO MTU: 96:6
	DOWN 
	RX bytes:894646 acl:57550 sco:0 events:4409 errors:0
	TX bytes:598963 acl:20 sco:0 commands:2487 errors:7
	Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF 
	Link mode: SLAVE ACCEPT

[ 5347.090712] usb 1-7: reset full-speed USB device number 2 using xhci_hcd
[ 5362.715017] usb 1-7: device descriptor read/64, error -110
[ 5378.327556] usb 1-7: device descriptor read/64, error -110
[ 5378.567548] usb 1-7: reset full-speed USB device number 2 using xhci_hcd
[ 5393.940192] usb 1-7: device descriptor read/64, error -110
[ 5409.564659] usb 1-7: device descriptor read/64, error -110
[ 5409.804791] usb 1-7: reset full-speed USB device number 2 using xhci_hcd
[ 5415.060842] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 5420.437029] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 5420.648990] usb 1-7: device not accepting address 2, error -62
[ 5420.780988] usb 1-7: reset full-speed USB device number 2 using xhci_hcd
[ 5420.803998] Bluetooth: hci0: unexpected event for opcode 0x0500
[ 5423.345244] Bluetooth: hci0: urb 00000000c2b7d8ca failed to resubmit (113)
[ 5442.217720] Bluetooth: hci0: urb 00000000eab107f2 failed to resubmit (113)
[ 5507.775710] Bluetooth: hci0: urb 0000000038abf278 failed to resubmit (113)
[ 5627.574037] Bluetooth: hci0: urb 000000003296175d failed to resubmit (113)
[ 5668.050840] Bluetooth: hci0: urb 00000000da7d420a failed to resubmit (113)
[ 5748.843963] Bluetooth: hci0: urb 00000000ecae9611 failed to resubmit (113)
[ 5999.641632] Bluetooth: hci0: urb 000000003b982f90 failed to resubmit (113)
[ 6087.165497] Bluetooth: hci0: urb 00000000147193db failed to resubmit (113)
[ 6222.893504] Bluetooth: hci0: urb 00000000cdc97bdd failed to resubmit (113)

Ответ на: комментарий от fallout4all

Если перезагружать модуль, то работает, bluetooth включается, но это костыль, думал может баг какой и есть фикс\решение.

[  596.659222] usbcore: deregistering interface driver btusb
[  602.093038] usbcore: registered new interface driver btusb
[  602.093858] Bluetooth: hci0: Firmware revision 0.1 build 50 week 12 2019
[  603.855277] hid-generic 0005:17EF:6038.0004: unknown main item tag 0x0
[  603.855548] input: ThinkPad Bluetooth Laser Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6038.0004/input/input25
[  603.856089] hid-generic 0005:17EF:6038.0004: input,hidraw0: BLUETOOTH HID v2.00 Mouse [ThinkPad Bluetooth Laser Mouse] on 98:3b:8f:31:6e:4b
Cactus64k ()
Последнее исправление: Cactus64k (всего исправлений: 1)