Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to any Bluetooth devices #448

Closed
TQMatvey opened this issue Jun 20, 2023 · 7 comments
Closed

Unable to connect to any Bluetooth devices #448

TQMatvey opened this issue Jun 20, 2023 · 7 comments

Comments

@TQMatvey
Copy link

Have you read the docs?

Yes

macOS Version

macOS 13.5

Kext Version

592507a

Wireless Adapter Model and USB Product ID

Intel AX210

Description

i am unable to connect to any bluetooth device, lets take my xiaomi headphones as an example, they get discovered, trying to connect to them, it just shows a loading animation and then just asks shows a button to connect again

Info in System Report - Bluetooth

Bluetooth Controller:
  Address:	84:5C:F3:redacted
  State:	On
  Chipset:	THIRD_PARTY_DONGLE
  Discoverable:	Off
  Firmware Version:	v13446 c13446
  Supported services:	0x382039 < HFP AVRCP A2DP HID Braille AACP GATT SerialPort >
  Transport:	USB
  Vendor ID:	0x004C (Apple)
Not Connected:
  Matvey’s Ipad Air 3:
  Address:	4C:6B:E8:redacted

Relevant log output

[    1.140802]: IOUSBHostDevice@14500000: IOUSBHostDevice::setConfigurationGated: IntelBluetoothFirmware selected configuration 1

Kernel Panic Logs

No response

@TQMatvey
Copy link
Author

also i am unable to connect to or from my phone (Samsung)

@TQMatvey
Copy link
Author

sudo dmesg | grep Bluetooth

sudo dmesg | grep -i Bluetooth
[    0.831891]: **** [IOBluetoothFamily][start] -- completed successfully for HIDShim
[    1.171838]: IOUSBHostDevice@14500000: IOUSBHostDevice::setConfigurationGated: IntelBluetoothFirmware selected configuration 1
**** [BroadcomBluetooth20703USBTransport][init] -- entering ****
[    9.940774]: **** [BroadcomBluetooth20703USBTransport][init] -- exiting -- success ****
**** [BroadcomBluetoothHostControllerUSBTransport][init] -- entering ****
[    9.940785]: **** [BroadcomBluetoothHostControllerUSBTransport][init] -- exiting -- success ****
**** [CSRBluetoothHostControllerUSBTransport][init] -- entering ****
[    9.940795]: **** [CSRBluetoothHostControllerUSBTransport][init] -- exiting -- success ****
**** [IOBluetoothHostControllerPCIeTransport][init] -- entering ****
[    9.940813]: **** [IOBluetoothHostControllerPCIeTransport][init] -- exiting -- success ****
**** [IOBluetoothHostControllerTransport][init] -- entering ****
[    9.940820]: **** [IOBluetoothHostControllerTransport][init] -- exiting -- success ****
**** [IOBluetoothHostControllerUARTTransport][init] -- entering ****
[    9.940828]: **** [IOBluetoothHostControllerUARTTransport][init] -- exiting -- success ****
**** [IOBluetoothHostControllerUSBTransport][init] -- entering ****
[    9.940836]: **** [IOBluetoothHostControllerUSBTransport][init] -- exiting -- success ****
**** [IOBluetoothPacketLogger][init] -- entering ****
[    9.940843]: **** [IOBluetoothPacketLogger][init] -- exiting -- success ****
**** [IOBluetoothSerialManager][init] -- entering ****
[    9.940851]: **** [IOBluetoothSerialManager][init] -- exiting -- success ****
**** [BroadcomBluetooth20703USBTransport][start] -- entering ****
[    9.943216]: **** [BroadcomBluetooth20703USBTransport][start] -- exiting -- success ****
**** [BroadcomBluetoothHostControllerUSBTransport][start] -- entering ****
[    9.943226]: **** [BroadcomBluetoothHostControllerUSBTransport][start] -- exiting -- success ****
**** [CSRBluetoothHostControllerUSBTransport][start] -- entering ****
[    9.943235]: **** [CSRBluetoothHostControllerUSBTransport][start] -- exiting -- success ****
**** [IOBluetoothHostControllerPCIeTransport][start] -- entering ****
[    9.943290]: **** [IOBluetoothHostControllerPCIeTransport][start] -- exiting -- success ****
**** [IOBluetoothHostControllerTransport][start] -- entering ****
[    9.943296]: **** [IOBluetoothHostControllerTransport][start] -- exiting -- success ****
**** [IOBluetoothHostControllerUARTTransport][start] -- entering ****
[    9.943302]: **** [IOBluetoothHostControllerUARTTransport][start] -- exiting -- success ****
**** [IOBluetoothHostControllerUSBTransport][start] -- entering ****
[    9.943308]: **** [IOBluetoothHostControllerUSBTransport][start] -- exiting -- success ****
**** [IOBluetoothPacketLogger][start] -- entering ****
[    9.943313]: **** [IOBluetoothPacketLogger][start] -- exiting -- success ****
**** [IOBluetoothSerialManager][start] -- entering ****
[    9.943319]: **** [IOBluetoothSerialManager][start] -- exiting -- success ****
[   10.586926]: Sandbox: systemstatusd(307) deny(1) user-preference-read kCFPreferencesAnyApplicationAppleKeyStore:8084:162: unexpected session: 100000 uid: -1 requested by: bluetoothd (162)
[   10.594663]: newUserClient: Invalid userClient Type request: 0IO80211ScanManager::searchForPendingAndClearPid: pid 240 had pending scan request issued 0s ago. Deleting client.IO80211ScanManager::searchForPendingAndClearPid: pid 240 had pending scan request issued 0s ago. Deleting request.**** [IOBluetoothFamily][newUserClient] -- created userclient for HIDShim
[   10.625511]: **** [IOBluetoothFamily][AddHCIEventNotification] -- Added notification port for HIDShim
[   10.625576]: **** [IOBluetoothFamily][CreateHIDShimSharedMemoryRingBuffer] -- Created input shared memory for HIDShim
[   10.625615]: **** [IOBluetoothFamily][CreateHIDShimSharedMemoryRingBuffer] -- Created output shared memory for HIDShim
[   10.771900]: Sandbox apply: bluetoothd[162] <bytes>AppleKeyStore:8084:162: unexpected session: 100000 uid: -1 requested by: bluetoothd (162)
[   10.783061]: 1 duplicate report for Sandbox: systemstatusd(307) deny(1) user-preference-read kCFPreferencesAnyApplicationSandbox: bluetoothd(162) deny(1) mach-lookup com.apple.private.corewifi-xpcnewUserClient: Invalid userClient Type request: 0Sandbox apply: secinitd[333] <bytes>newUserClient: Invalid userClient Type request: 0Sandbox: bluetoothd(162) deny(1) file-read-data /Library/Preferences/com.apple.networkd.plist1 duplicate report for Sandbox: bluetoothd(162) deny(1) file-read-data /Library/Preferences/com.apple.networkd.plistSandbox: locationd(147) deny(1) mach-lookup com.apple.PowerManagement.controlSandbox: locationd(147) deny(1) file-issue-extension target:/private/var/db/locationd/Library/Preferences/com.apple.CFNetwork.plist extension-class:com.apple.cfprefsd.readPMRD: setAggressiveness(0) kPMMinutesToSleep = 0
[   10.831460]: Sandbox apply: com.apple.AmbientDisplayAgent[331] <bytes>Sandbox: locationd(147) deny(1) file-issue-extension target:/private/var/db/locationd/Library/Preferences/ByHost/com.apple.CFNetwork.7B5E22F0-A5DB-5E53-93AC-6995CDE05358.plist extension-class:com.apple.cfprefsd.readSandbox: searchpartyd(310) deny(1) mach-lookup com.apple.timed.xpcSandbox: locationd(147) deny(1) file-read-data /private/var/db/nsurlstoraged/dafsaData.binSandbox apply: distnoted[332] <bytes>Sandbox: locationd(147) deny(1) mach-lookup com.apple.metadata.mds1 duplicate report for Sandbox: locationd(147) deny(1) mach-lookup com.apple.metadata.mdsSandbox: bluetoothd(162) deny(1) file-read-data /Library/Preferences/SystemConfigurationmemorystatus_update(enter): pid 180, priority 40, dirty=0x0, Active(-1MB NF), Inactive(-1MB, NF)
[   12.407245]: Sandbox: bluetoothd(162) deny(1) mach-lookup com.apple.network.EAPOLController+ IOAudioDevice[<ptr>]::protectedCompletePowerStateChange() - current = 1 - pending = 2
[   12.484497]: Sandbox apply: revisiond[158] <bytes>1 duplicate report for Sandbox: bluetoothd(162) deny(1) mach-lookup com.apple.network.EAPOLControllerSandbox: mediaremoted(107) allow file-map-executable /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugInSandbox apply: softwareupdated[122] <bytes>Sandbox apply: distnoted[339] <bytes>IOReturn IOAccelDisplayPipe::display_change_handler(void *, IOFramebuffer *, IOIndex, void *) completed at <12495385259> taking <22173131> ns
[   15.902466]: Sandbox: accessoryupdaterd(111) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/.GlobalPreferences.plist extension-class:com.apple.cfprefsd.readSandbox: accessoryupdaterd(111) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/.GlobalPreferences_m.plist extension-class:com.apple.cfprefsd.readSandbox: softwareupdated(122) deny(1) nvram-get run-efi-updaterSandbox: softwareupdated(122) deny(1) nvram-get bluetoothExternalDongleFailedSandbox: softwareupdated(122) deny(1) nvram-get PSFU_STATUSSandbox: softwareupdated(122) deny(1) nvram-get efi-apple-recovery-dataSandbox: softwareupdated(122) deny(1) nvram-get efi-apple-recoverySandbox: softwareupdated(122) deny(1) nvram-get preferred-countSandbox: softwareupdated(122) deny(1) nvram-get SystemAudioVolumeDBSandbox: accessoryupdaterd(111) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/com.apple.uarp.database.plist extension-class:com.apple.cfprefsd.readnewUserClient: Invalid userClient Type request: 0Sandbox apply: backgroundtaskmanagementd[337] <bytes>Sandbox apply: symptomsd-diag[345] <bytes>IOSurfaceRootUserClient::set_gpu_policy_dict prop: <ptr>
[   18.042734]: connectx() - failed necp_set_socket_domain_attributesSandbox apply: UARPUpdaterServiceAFU[367] <bytes>Sandbox: accessoryupdaterd(111) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/com.apple.uarp.database.plist extension-class:com.apple.cfprefsd.read-writenewUserClient: Invalid userClient Type request: 0Sandbox apply: UARPUpdaterServiceLegacyAudio[368] <bytes>Sandbox apply: UARPUpdaterServiceUSBPD[371] <bytes>Sandbox apply: UARPUpdaterServiceDisplay[366] <bytes>Sandbox apply: UARPUpdaterServiceHID[369] <bytes>1 duplicate report for Sandbox: accessoryupdaterd(111) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/com.apple.uarp.database.plist extension-class:com.apple.cfprefsd.read-writeSandbox: systemstats(110) deny(1) mach-lookup com.apple.tccd.system1 duplicate report for Sandbox: systemstats(110) deny(1) mach-lookup com.apple.tccd.systemSandbox: UARPUpdaterServiceLegacyAudio(368) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/com.apple.UARPUpdaterServiceLegacyAudio.plist extension-class:com.apple.cfprefsd.readSandbox: UARPUpdaterServiceHID(369) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/com.apple.UARPUpdaterServiceHID.plist extension-class:com.apple.cfprefsd.readSandbox: UARPUpdaterServiceLegacyAudio(368) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/.GlobalPreferences.plist extension-class:com.apple.cfprefsd.readSandbox: UARPUpdaterServiceLegacyAudio(368) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/.GlobalPreferences_m.plist extension-class:com.apple.cfprefsd.readSandbox: systemstats(110) deny(1) mach-lookup com.apple.tccdSandbox: systemstats(110) deny(1) mach-lookup com.apple.tccd.systemSandbox: UARPUpdaterServiceHID(369) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/.GlobalPreferences.plist extension-class:com.apple.cfprefsd.readSandbox: UARPUpdaterServiceHID(369) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/.GlobalPreferences_m.plist extension-class:com.apple.cfprefsd.readSandbox: systemstats(110) deny(1) mach-lookup com.apple.tccdSandbox: systemstats(110) deny(1) mach-lookup com.apple.tccd.systemSandbox: systemstats(110) deny(1) mach-lookup com.apple.tccdSandbox: systemstats(110) deny(1) mach-lookup com.apple.tccd.systemSandbox: systemstats(110) deny(1) mach-lookup com.apple.tccdSandbox: systemstats(110) deny(1) mach-lookup com.apple.tccd.systemSandbox: systemstats(110) deny(1) mach-lookup com.apple.server.bluetooth.le.att.xpcSandbox: accessoryupdaterd(111) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/com.apple.uarp.database.plist extension-class:com.apple.cfprefsd.read-writeSandbox: UARPUpdaterServiceDisplay(366) deny(1) file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/com.apple.uarpupdaterservice.display.plist extension-class:com.apple.cfprefsd.readSandbox: UARPUpdaterServiceDisplay(366) deny(1) file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/.GlobalPreferences.plist extension-class:com.apple.cfprefsd.readSandbox: UARPUpdaterServiceDisplay(366) deny(1) file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/.GlobalPreferences_m.plist extension-class:com.apple.cfprefsd.readSandbox: accessoryupdaterd(111) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/com.apple.uarp.database.plist extension-class:com.apple.cfprefsd.read-write1 duplicate report for Sandbox: accessoryupdaterd(111) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/com.apple.uarp.database.plist extension-class:com.apple.cfprefsd.read-writeSandbox: UARPUpdaterServiceUSBPD(371) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/com.apple.UARPUpdaterServiceUSBPD.plist extension-class:com.apple.cfprefsd.readSandbox: UARPUpdaterServiceUSBPD(371) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/.GlobalPreferences.plist extension-class:com.apple.cfprefsd.readSandbox: UARPUpdaterServiceUSBPD(371) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/.GlobalPreferences_m.plist extension-class:com.apple.cfprefsd.readSandbox: accessoryupdaterd(111) allow file-issue-extension target:/private/var/db/accessoryupdater/Library/Preferences/com.apple.uarp.database.plist extension-class:com.apple.cfprefsd.read-writememorystatus_update(enter): pid 382, priority 210, dirty=0x0, Active(-1MB NF), Inactive(-1MB, NF)
**** [IOBluetoothFamily][CreateSerialDevice] -- entering ****
[   21.472279]: **** [IOBluetoothFamily][CreateSerialDevice] -- calling new IOBluetoothDevice ****
[   21.472327]: **** [IOBluetoothFamily][AddDevice] -- Device added successfully -- Updated device list: ****
[   21.472330]: **** [IOBluetoothFamily][AddDevice] -- Device added successfully -- Updated device list: ****
[   21.472333]: **** [IOBluetoothFamily][PrintDeviceList] -- Device Connection Handle 0x0001, Device Address 84:5C:F3:52:DA:45
[   21.472553]: Driver com.apple.IOUserBluetoothSerialDriver has crashed 0 time(s)
[   21.472580]: DK: IOUserBluetoothSerialDriver-0x10000059f waiting for server com.apple.IOUserBluetoothSerialDriver-10000059f
[   21.479718]: /System/Library/DriverExtensions/IOUserBluetoothSerialDriver.dext/IOUserBluetoothSerialDriver[406] ==> com.apple.dextmemorystatus_update(enter): pid 406, priority 150, dirty=0x0, Active(-1MB NF), Inactive(-1MB, NF)
[   21.481845]: Found class: IOUserBluetoothSerialClient
[   21.481855]: Found class: IOUserBluetoothSerialDriver
[   21.482469]: IOUserBluetoothSerialDriver::init start
[   21.482518]: IOUserBluetoothSerialDriver::init super init result 1
[   21.482527]: IOUserBluetoothSerialDriver::Start Started
[   21.482583]: IOUserBluetoothSerialDriver::SetProperties start
[   21.482624]: IOUserBluetoothSerialDriver::Start Status of RegisterService == 0
[   21.482641]: DK: IOUserBluetoothSerialDriver-0x10000059f::start(IOBluetoothDevice-0x10000059e) ok
[   21.483462]: IOUserBluetoothSerialDriver::NewUserClient Creating New User Client
[   21.483525]: IOUserBluetoothSerialClient::init initializing Serial Client
[   21.483565]: IOUserBluetoothSerialClient::init initialized Serial Client
[   21.483570]: IOUserBluetoothSerialDriver::NewUserClient Created New User Client with status 0
[   21.483572]: IOUserBluetoothSerialClient::Start Starting to create Serial Client
[   21.483575]: IOUserBluetoothSerialClient::Start done creating client with status 0
[   21.483717]: IOUserBluetoothSerialClient::ExternalMethod name <private>
[   21.483720]: IOUserBluetoothSerialClient::createTerminal got called to create new ports
[   21.483754]: /* 0000: */ 0x42, 0x6c, 0x75, 0x65, 0x74, 0x6f, 0x6f, 0x74, 0x68, 0x2d, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69,  /* |Bluetooth-Incomi| */
[   21.483767]: IOUserBluetoothSerialDriver::CreatePseudoSerialPort start
[   21.483993]: IOUserBluetoothSerialClient::createTerminal created new ports
[   21.483997]: IOUserBluetoothSerialClient::createTerminal end 0x0
[   21.484000]: IOUserBluetoothSerialClient::ExternalMethod selector 0 status 0
[   22.478027]: AppleKeyStore:8084:162: unexpected session: 100000 uid: -1 requested by: bluetoothd (162)
[   31.178455]: Sandbox apply: swcd[562] <bytes>Sandbox: passd(546) deny(1) mach-lookup com.apple.CoreLocation.agentSandbox: swcd(562) deny(1) system-fsctl (_IO "h" 47)11 duplicate reports for Sandbox: swcd(562) deny(1) system-fsctl (_IO "h" 47)Sandbox: secd(428) deny(1) system-fsctl (_IO "h" 47)Sandbox: swcd(562) deny(1) system-fsctl (_IO "h" 47)2 duplicate reports for Sandbox: swcd(562) deny(1) system-fsctl (_IO "h" 47)Sandbox: passd(546) deny(1) mach-lookup com.apple.server.bluetooth.le.att.xpcSandbox: passd(546) deny(1) file-read-data /Library/Preferences/com.apple.networkd.plistAppleSSE::hasBridgeSSE - SSE not present (neither KR nor SEPMgr)
[   69.456187]: connectx() - failed necp_set_socket_domain_attributesSandbox: bluetoothd(162) deny(1) file-read-metadata /Library/Application SupportSandbox: bluetoothd(162) deny(1) file-read-metadata /Library/Application Support/BTServerconnectx() - failed necp_set_socket_domain_attributesALUC:clientDied(PID: 878), lifsd_entitled 1 koio_entitled 0

@qhuyduong
Copy link

@TQMatvey can you try this patch?
#446

@TQMatvey
Copy link
Author

TQMatvey commented Jun 20, 2023 via email

@TQMatvey
Copy link
Author

reverting to v2.2.0 fixed the issue.... but why????

@TQMatvey
Copy link
Author

sadly "Mirror or extend display" still doesn't work for me :( i wanted universal control with my iPad

@zxystd
Copy link
Collaborator

zxystd commented Jun 23, 2023

Also can not do anything on this thing, the bluetooth driver is written by Apple.

@zxystd zxystd closed this as completed Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants