blueutil icon indicating copy to clipboard operation
blueutil copied to clipboard

It doesn’t work on M2 Pro macOS 15.3.1 (24D70).

Open txunda opened this issue 7 months ago • 7 comments

It’s driving me crazy that it doesn’t work on M2 Pro macOS 15.3.1 (24D70).

jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --version 2.12.0 jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --connected address: d7-70-50-02-35-b2, connected (master, 0 dBm), not favourite, paired, name: "HUAWEI Mouse CD23", recent access date: 2025-05-21 08:47:29 +0000 address: d7-a2-2b-93-14-4a, connected (master, 0 dBm), not favourite, paired, name: "HUAWEI Ultrathin Keyboard", recent access date: 2025-05-21 08:47:29 +0000 jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --info d7-70-50-02-35-b2 address: d7-70-50-02-35-b2, not connected, not favourite, not paired, name: "", recent access date: 2025-05-21 08:47:40 +0000 jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --is-connected d7-70-50-02-35-b2 0 jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --connect d7-70-50-02-35-b2
^C jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --disconnect d7-70-50-02-35-b2 jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --disconnect d7-70-50-02-35-b2 jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --disconnect d7-70-50-02-35-b2 --info d7-70-50-02-35-b2 address: d7-70-50-02-35-b2, connected (master, 0 dBm), not favourite, paired, name: "HUAWEI Mouse CD23", recent access date: 2025-05-21 08:49:45 +0000 jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --disconnect 'HUAWEI Mouse CD23' jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --wait-disconnect d7-70-50-02-35-b2
jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --disconnect d7-70-50-02-35-b2
jasper@Jasper-MacBook-Pro-M2 ~ % blueutil --disconnect D7:70:50:02:35:B2

txunda avatar May 21 '25 08:05 txunda

d7-70-50-02-35-b2 is reported connected by blueutil --connected, but not connected by blueutil --info d7-70-50-02-35-b2 and blueutil --info d7-70-50-02-35-b2 right after. Does it stay connected all that time?

toy avatar Jun 08 '25 14:06 toy

On M1 Mac with Sequoia 15.4.1 (same app version) Bluetooth cannot be disabled. Related issue: sending a file over Bluetooth from Android to Mac appears to succeed - but nothing happens on the Mac, and the file is not received.

Setting blueutil --power 0 will change the switch setting in the Mac GUI / preference panel but the connected Bluetooth mouse still works. Even sudo launchctl stop com.apple.bluetoothd will not disable the Bluetooth radio: it falsely appears disabled in the preference panel and menu bar, but continues to operate.

Image

Image

xa4hf8 avatar Jun 20 '25 02:06 xa4hf8

@xa4hf8 Does disabling bluetooth through menu or system preferences work?

toy avatar Jun 21 '25 11:06 toy

No - Bluetooth cannot be disabled by any method on my device in Mac OS Sequoia 15.4.1. Even after a reboot the Bluetooth mouse works when System Preferences & Menu Bar gadget shows that Bluetooth is disabled. Moving the System Preferences toggle switch to the disabled position only disables file transfer from Android, but does not disable the Bluetooth radio in the current version of Mac OS.

I have encountered similar problems with iOS (where a System Preferences toggle switch does not work and the switch does not correctly reflect the current status of the service). Also, it turns out the files received from Android were being saved in a folder owned by the administrator account when the video display was controlled by the user account.

xa4hf8 avatar Jun 22 '25 03:06 xa4hf8

@xa4hf8 If you can't turn off bluetooth through System Preferences, then the problem is on OS level. And just to eliminate confusion - are you certain that the mouse is bluetooth one and not other wireless using a dongle device?

toy avatar Jun 22 '25 12:06 toy

Ahhh, you are correct - the Bluetooth mouse was replaced with an identical version from the same manufacturer that uses a dongle! But Bluetooth file transfer is still not working and I have seen reports around the web about regressive Bluetooth bugs in 15.3 / 15.4

xa4hf8 avatar Jun 22 '25 23:06 xa4hf8

@xa4hf8 You mean file transfer doesn't work when enabling bluetooth using blueutil, but works when using System Preferences?

toy avatar Jun 23 '25 19:06 toy