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

Discoverability issue in ventura #72

Open
Rishi-Sudhakar opened this issue Feb 16, 2023 · 5 comments
Open

Discoverability issue in ventura #72

Rishi-Sudhakar opened this issue Feb 16, 2023 · 5 comments

Comments

@Rishi-Sudhakar
Copy link

I tried to set bluetooth discoverability on, but it returns failing. Is there a problem on my side?
Can you help. I am using Macbook pro M1 with Ventura 13.2.1
Screenshot 2023-02-17 at 1 07 55 AM

@toy toy mentioned this issue Mar 4, 2023
@M00N-MAN
Copy link

M00N-MAN commented Jul 9, 2023

Hello All,

So I confirm that the Discoverability Control Feature isn't working

I have same situation on MacBook Pro 14-inch, 2021 M1 Max, Ventura 13.3.1 (a) except below commands doesn't return any output on attempt to turn discoverability OFF. However after any subsequence of these commands macbook still discoverable on iphone/android/etc... :|

sudo BLUEUTIL_ALLOW_ROOT=1 blueutil -d 0
sudo BLUEUTIL_ALLOW_ROOT=1 blueutil --discoverable 0
sudo BLUEUTIL_ALLOW_ROOT=1 blueutil --discoverable 1
Failed to switch bluetooth discoverable on in 10 seconds
sudo BLUEUTIL_ALLOW_ROOT=1 blueutil --discoverable 0
sudo BLUEUTIL_ALLOW_ROOT=1 blueutil -d 1 

so for sure

sudo BLUEUTIL_ALLOW_ROOT=1 blueutil -d 0 && echo OK || echo FAIL 
OK

sudo BLUEUTIL_ALLOW_ROOT=1 blueutil -d 1 && echo OK || echo FAIL
Failed to switch bluetooth discoverable on in 10 seconds
FAIL

@toy
Copy link
Owner

toy commented Jul 9, 2023

Is there a reason to use sudo? BLUEUTIL_ALLOW_ROOT was added specifically to make it not possible to accidentally run blueutil as root, as it is not needed and causes problems, see #41 (comment) (specifically #41 (comment) on how to cleanup).

@ttzuesf
Copy link

ttzuesf commented Dec 24, 2023

I also has the similar issue,

Failed to switch bluetooth discoverable on in 10 seconds

@Rishi-Sudhakar
Copy link
Author

Can confirm, the issue is still in MacOS 15 Sequoia (Developer Beta 1)

@Rishi-Sudhakar
Copy link
Author

Is there a reason to use sudo? BLUEUTIL_ALLOW_ROOT was added specifically to make it not possible to accidentally run blueutil as root, as it is not needed and causes problems, see #41 (comment) (specifically #41 (comment) on how to cleanup).

My guess is that, this issue is limited to Apple silicon macs. Not sure if intel users could reproduce this issue. Also apple has removed the ability to freely reset bluetooth(removing plist doesn’t really reset the bluetooth module completely), so too many issues since MacOS 13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants