jakeday / linux-surface

Linux Kernel for Surface Devices
2.59k stars 242 forks source link

[Surface Book 2] Bluetooth does not work at all [SOLVED] #535

Open mildmenace opened 5 years ago

mildmenace commented 5 years ago

Running Kali Bluetooth reports that it is turned off always. There doesn't appear to be any way to turn it on. When I toggle it to go on, it still says off.

I'm using the latest Kernel, 5.1.15

33Fraise33 commented 5 years ago

Hello,

I'm also seeing this issue on latest kernel. No bluetooth connectivity possible: 'no adapters'

33Fraise33 commented 5 years ago

looking around in dmesg I see this:

[    4.526334] usb 1-5: new high-speed USB device number 5 using xhci_hcd
[    4.653716] usb 1-5: New USB device found, idVendor=1286, idProduct=204c, bcdDevice=32.01
[    4.653720] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.653723] usb 1-5: Product: Bluetooth and Wireless LAN Composite Device
[    4.653725] usb 1-5: Manufacturer: Marvell
[    4.653727] usb 1-5: SerialNumber: 0000000000000000
[    4.802637] Bluetooth: Core ver 2.22
[    4.802684] Bluetooth: HCI device and connection manager initialized
[    4.802692] Bluetooth: HCI socket layer initialized
[    4.802697] Bluetooth: L2CAP socket layer initialized
[    4.802706] Bluetooth: SCO socket layer initialized
[    4.824806] Bluetooth: hci0: unexpected event for opcode 0x0000
[    4.825232] Bluetooth: hci0: unexpected event for opcode 0x0000
[    4.901299] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.901304] Bluetooth: BNEP filters: protocol multicast
[    4.901312] Bluetooth: BNEP socket layer initialized

Trying the deprecated hciconfig:

$ sudo hciconfig hci0 up
Can't init device hci0: Connection timed out (110)

running this also shows it's not being blocked:

$ sudo rfkill list
1: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

I'm running arch-linux-surface with 5.1.15 on a Surface Laptop

mildmenace commented 5 years ago

hciconfig returns an interface for me

$ hciconfig hci0: Type: Primary Bus: USB BD Address: F0:6E:0B:D2:0C:73 ACL MTU: 1021:7 SCO MTU: 240:3 DOWN RX bytes:647 acl:0 sco:0 events:38 errors:0 TX bytes:395 acl:0 sco:0 commands:36 errors:0

My devices are also not blocked:

$ sudo rfkill list 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no 1: hci0: Bluetooth Soft blocked: no Hard blocked: no 2: phy1: Wireless LAN Soft blocked: no Hard blocked: no

What was the last Kernel version that worked for you?

33Fraise33 commented 5 years ago

I haven't tested bluetooth with any previous kernels so I am unsure if this is kernel version related or not

mildmenace commented 5 years ago

Which wifi drivers are you running?

I believe the wifi and bluetooth are on the same chip.

33Fraise33 commented 5 years ago

This is what I get for wifi driver:

$ lspci -vv -s 02:00.0
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88W8897 [AVASTAR] 802.11ac Wireless
    Subsystem: Device 0006:045e
    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
    Interrupt: pin A routed to IRQ 133
    Region 0: Memory at a1500000 (64-bit, prefetchable) [size=1M]
    Region 2: Memory at a1400000 (64-bit, prefetchable) [size=1M]
    Capabilities: <access denied>
    Kernel driver in use: mwifiex_pcie
    Kernel modules: mwifiex_pcie
mildmenace commented 5 years ago

I get the same, unfortunately

01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88W8897 [AVASTAR] 802.11ac Wireless Subsystem: Device 0007:045e Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 146 Region 0: Memory at d4500000 (64-bit, prefetchable) [size=1M] Region 2: Memory at d4400000 (64-bit, prefetchable) [size=1M] Capabilities: Kernel driver in use: mwifiex_pcie Kernel modules: mwifiex_pcie

MrDanTheMan commented 5 years ago

Not sure if this is related but I also had an issue with Bluetooth not working until I installed bluez packages and manually started the Bluetooth service.

Arch: sudo pacman -S bluez bluez-utils sudo systemctl start bluetooth.service

mildmenace commented 5 years ago

That worked!

Thank you!