Universal Control frequently disconnects between M2 Mac Mini and M1 MacBook Pro

I have an M2 Mac Mini connected to an Apple 27" Studio Display and next to it (24") there is an M1 MacBook Pro 13" connected to an LG HDR 4K display. Both of the Macs are running MacOS Sonoma 14.3.1 at the time of this posting.


I am using an Apple wireless pro Magic Keyboard and a gen 2 Apple Magic wireless trackpad with Universal Control to operate both computers. This is especially helpful because it's difficult to reach the keyboard/mouse on the MacBook Pro while it is connected to my external monitor.


Ever since setting this up almost a year ago I have frequent (sometimes 20+ times a day) disconnects of Universal Control between the two computers. Occasionally (maybe 5% of the time) this is also accompanied by the Apple trackpad completely no longer responding. When this happens the mouse/cursor will jump back to the Mac Mini (primary) and no longer push through to the MacBook. After anywhere from 10-90 seconds it will automatically become reconnected and begin working normally again... for some period of time anyway.


Other times I've made it through a full day of working with only one or two disconnects.


Things I've tried to resolve the problem:


  1. Reboot and reset NVRAM on both computers.
  2. Running the keyboard and mouse with wired USB connections to the Mac instead of using them wirelessly.
  3. Eliminate possible sources of interference by disconnecting nearby devices, powering them off, etc.
  4. Set "reconnect automatically" under Settings->Displays->Advanced
  5. Disabling Firewall on both computers.


I'm really out of ideas at this point.


What more can be done to troubleshoot this problem?

Posted on Feb 21, 2024 3:22 PM

Reply
Question marked as Best reply

Posted on May 13, 2024 12:13 PM

This is incredibly annoying and definitely the worst thing about upgrading from Ventura to Sonoma. (It worked perfectly fine under Sonoma!) I'm using it to share an Apple Magic Trackpad and Apple Magic Keyboard with Numeric Keypad between two MacBook Pros.


What more can be done to troubleshoot this problem?


I'm running this in a terminal window:


command log stream --info --style compact --predicate 'subsystem == "com.apple.universalcontrol" AND category == "SYNC"'


(log is a zsh built-in; command calls the actual log binary)


This doesn't help at all with preventing the problem, but it does illustrate how often it happens — in case anybody knows any Apple engineers, has an open Radar or Feedback (or whatever they're called these days) and is looking for "data".


This is the kind of stuff I see when it happens:


2024-05-13 14:02:49.301 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] Update Source Device: [31712345: [31712345: 1]] -> nil
2024-05-13 14:02:49.302 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] Increment Sync Clock: [31712345: 3672, 83D12345: 99, A1A12345: 4388] -> [31712345: 3673, 83D12345: 99, A1A12345: 4388]
2024-05-13 14:02:49.305 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] Connections: [A1A12345 (disconnecting)] -> []

2024-05-13 14:03:16.473 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] IDS A1A12345: Device Available
2024-05-13 14:03:16.473 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] Synced Devices: <private>
2024-05-13 14:03:16.473 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] IDS A1A12345: available=true, valid=false


When I get disconnected (which happens a lot), often times it eventually re-connects automatically. Other times I can just un-minimize System Preferences (left showing the Displays pane because I have to use it so often) and then minimize it again. Other times I have to click the "Advanced..." button and turn off and back on "Allow your pointer and keyboard to move between any nearby Mac or iPad".


I haven't been able to figure out what triggers the disconnect — I need to figure out more things to include in the --predicate option to try and find a correlation with other events. For example, I'm wondering if it could be related to IPv6, perhaps with router advertisements and/or network reconfiguration.


If anybody with connections at Apple sees this and wants to work on tracking this down, feel free to contact me.

Similar questions

15 replies
Question marked as Best reply

May 13, 2024 12:13 PM in response to jmpage2

This is incredibly annoying and definitely the worst thing about upgrading from Ventura to Sonoma. (It worked perfectly fine under Sonoma!) I'm using it to share an Apple Magic Trackpad and Apple Magic Keyboard with Numeric Keypad between two MacBook Pros.


What more can be done to troubleshoot this problem?


I'm running this in a terminal window:


command log stream --info --style compact --predicate 'subsystem == "com.apple.universalcontrol" AND category == "SYNC"'


(log is a zsh built-in; command calls the actual log binary)


This doesn't help at all with preventing the problem, but it does illustrate how often it happens — in case anybody knows any Apple engineers, has an open Radar or Feedback (or whatever they're called these days) and is looking for "data".


This is the kind of stuff I see when it happens:


2024-05-13 14:02:49.301 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] Update Source Device: [31712345: [31712345: 1]] -> nil
2024-05-13 14:02:49.302 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] Increment Sync Clock: [31712345: 3672, 83D12345: 99, A1A12345: 4388] -> [31712345: 3673, 83D12345: 99, A1A12345: 4388]
2024-05-13 14:02:49.305 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] Connections: [A1A12345 (disconnecting)] -> []

2024-05-13 14:03:16.473 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] IDS A1A12345: Device Available
2024-05-13 14:03:16.473 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] Synced Devices: <private>
2024-05-13 14:03:16.473 Df UniversalControl[905:1edb] [com.apple.universalcontrol:SYNC] IDS A1A12345: available=true, valid=false


When I get disconnected (which happens a lot), often times it eventually re-connects automatically. Other times I can just un-minimize System Preferences (left showing the Displays pane because I have to use it so often) and then minimize it again. Other times I have to click the "Advanced..." button and turn off and back on "Allow your pointer and keyboard to move between any nearby Mac or iPad".


I haven't been able to figure out what triggers the disconnect — I need to figure out more things to include in the --predicate option to try and find a correlation with other events. For example, I'm wondering if it could be related to IPv6, perhaps with router advertisements and/or network reconfiguration.


If anybody with connections at Apple sees this and wants to work on tracking this down, feel free to contact me.

Mar 6, 2024 12:22 PM in response to jmpage2

I have the exact same problem with almost the exact same setup ( I don't have the studio display). I have an M2 Mini as the main with an M2 MacBook Pro 13 as the side, and the Mini is connected to an LG HDR 4K display, both running Sonoma 14.3.1.


Universal Control was disconnecting 20+ times a day until I changed my whole WiFI setup from a TP-Link AC1750 to a Decco XE75; now, it disconnects maybe twice a day. The Magic mouse disconnects once or twice every two days, and the Magic keyboard works fine.


It worked perfectly on Ventura...


Mar 26, 2024 12:04 PM in response to jmpage2

I have exactly the same issue. I have a usb keyboard and a bluetooth mouse. The mouse is connected fine. The Wifi is solid. The UC connection is fine...until it isn't. Sometimes it comes back in a minute or so, but frequently it will not come back at all unless I reset.


This is a software issue. Apple, please fix this. This is a major annoyance.

Apr 19, 2024 8:31 AM in response to jmpage2

The feature seems to require WiFi to be turned on and in use depite the fact that my primary network is 2.5GB wired ethernet.


I seem to be able to resolve the issue by turning Wifi off, then back on again. Then turning "Allow your pointer and keyboard..." off in Displays->Advanced (hit "done") then turning it back on again (hit "done").


I don't know why it drops. My WiFi is solid, it doesn't drop. Both macs are just a few feet from the wireless router.


Anyway, I don't see why WiFi/Bluetooth is required.

Feb 23, 2024 10:21 AM in response to jmpage2

Another data point... I replaced the Apple Magic Trackpad with another one I have and it has the same behavior.


I kind of sort of suspect at this point that there is a problem with the BT radio in either the Mac Mini or the MacBook Pro but I have no way to further validate this or prove it.


Other than the monitors I am using I have eliminated all other sources of BT interference by moving devices away, powering things off, etc.


This problem is really annoying and Apple should provide some actual insight since this feature is quite important to those of us who rely on it.

Mar 6, 2024 1:22 PM in response to kekox

Yeah, changing my WiFi setup out is not an option as it's a very expensive (multiple thousands of dollars) enterprise grade mesh and I'm not going to toss it because Universal Control doesn't work.


All of my devices on the WiFi (over 80) are working fine.


Guess I'll just have to buy a completely separate keyboard and mouse for the other setup.


It's pretty lame that Apple provides no tools for debugging this.

May 14, 2024 9:07 AM in response to jmpage2

Not sure if this help. Had read it could be due to using a logitech mouse. Disconnected the mouse but still had the issue. Uninstalled Logitech+ on both Mac Mini and MacBook Pro. Reinstalled it only on the mini and seems the issues has been solved.


I know there was no mention of logitech mouse/keyboard but this might help if you have ever used a logitech mouse/keyboard and have logitech+ installed. Hope this helps anyone having the same issue.

Universal Control frequently disconnects between M2 Mac Mini and M1 MacBook Pro

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.