Skip to content

Can't get service to work (on El Capitan 10.11.3) #10

@mafredri

Description

@mafredri

I can't compare to any previous versions of OS X, but I've tried everything I can think of and I can't seem to get BTHSControl to respond to bluetooth evens from my headphones (e.g. Play/Pause still starts iTunes). I've also tried rebooting between service installations to no avail.

Here's a sample of what my syslog output looks like:

30/01/16 19:49:56,000 kernel[0]: IOBluetoothDevice::setProperties() -- calling mHCIController->CallCreateDeviceReporter() -- this = 0x3c00 
30/01/16 19:49:56,000 kernel[0]: IOBluetoothHostController::CallCreateDeviceReporter -- calling enqueueAction() -- device = 0x3c00 
30/01/16 19:49:56,000 kernel[0]: IOBluetoothHostController::CreateDeviceReporterAction -- device = = 0x3c00 
30/01/16 19:49:56,000 kernel[0]: IOBluetoothHostController::CreateDeviceReporterAction -- calling CreateDeviceReporter() device = = 0x3c00 
30/01/16 19:49:56,000 kernel[0]: IOBluetoothHostController::CreateDeviceReporter -- device = = 0x3c00 
30/01/16 19:49:56,099 blued[87]: Device Connected with address: XX-XX-XX-XX-XX-XX and classOfDevice 0x240404 and connectionHandle 0x000c
30/01/16 19:49:56,000 kernel[0]: BT: returning false because owner <ptr> does not match new owner <ptr>
30/01/16 19:49:56,384 AVRCPAgent[2279]: Setting the delegate returned 0
30/01/16 19:49:56,388 blued[87]: Trigger core audio to connect to bluetoothaudiod
30/01/16 19:49:56,000 kernel[0]: Setting BTCoex Config: enable_2G:1, profile_2g:0, enable_5G:1, profile_5G:0

Trying to run AVRCPAgent manually in /Library/Services/AVRCPAgent (no other output):

./AVRCPAgent
Failed to initialize sandbox
2016-01-30 19:50:24.097 AVRCPAgent[2305:142740] BTHSControlPlugin installed
2016-01-30 19:50:24.098 AVRCPAgent[2305:142740] Setting Delegate: <BluetoothAVRCPAgent: 0x7fc982408c90>
2016-01-30 19:50:24.102 AVRCPAgent[2305:142740] Setting the delegate returned 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions