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

Bug: Bluetooth Widgets on M1 #86

Open
BourgonLaurent opened this issue Jul 3, 2021 · 4 comments
Open

Bug: Bluetooth Widgets on M1 #86

BourgonLaurent opened this issue Jul 3, 2021 · 4 comments
Labels
bug Something isn't working help wanted Extra help is needed, as I don't have experience in this field yet

Comments

@BourgonLaurent
Copy link

BourgonLaurent commented Jul 3, 2021

Describe the bug

According to multiple users on Discord, AirPods widgets don't work on M1. The name doesn't change/doesn't show status and the listening mode widget doesn't appear.

Reports in the Discord (owners of the messages could be contacted for testing):

Details

The buttons are acting as if nothing was connected. However, the try/on error inside the connecting script is made to act this way when there's an error, and the one in the listening mode widget hides the widget.

This issue has only been reported by M1 users and it seems like it isn't exclusive to AirPods Pro. According to a user on the Discord, the following widget works on their M1 Mac when the one included with AquaTouch didn't.

One thing that could be possible is that M1 has increased security, maybe the scripts needs to be code-signed? Or there's a permission to ask?

Please help us test!

I created a diagnostic script that could be used to find what is causing this issue. If the AirPods widget doesn't work for you, please run the diagnostic script and send back the result.

If there's an error with the script, run the command at the end of the dialog and send the <MAC-ADDRESS>.log that was created on your desktop (~/Desktop). Please note that the log file created could contain information that you don't want to share like timestamps at which you renamed the device, I suggest you to look at it before sending it. If you don't want to share it publicly, you can send it to me on Discord LTO#0188

I will reply to this issue with an example. Please use this format:

- Mac architecture (Intel/M1): 
- Result of the diagnostic script `APPro_LMC_diag.applescript`: 
```
PASTE THE RESULT HERE
```
- If there's an error in the result, run the PlistBuddy Command and attach the file `<MAC-ADDR>.log` that was created in your desktop directory (drag-n-drop the file here):

Download the diagnostic script here

(right-click/control+click => Download Linked File)

open it with Script Editor (or Script Debugger), run it ▶️ and send the results!

@BourgonLaurent
Copy link
Author

This is an example of a reply


  • Mac architecture (Intel/M1): Intel
  • Result of the diagnostic script APPro_LMC_diag.applescript:
Copy all this message (click here and then ⌘+A) and send it:

[-] Get the name of the device stored in BTT
	[x] Device name: AirPods Pro de Laurent
	[x] Retrieved the device AirPods Pro de Laurent with address e8-85-4b-d1-ba-75
	[x] ProductID: 8206

[-] Check if the Device has Listening Modes
	[?] ANC supported? true
	[?] Transparency supported? true

	[x] There's a listening mode (as integer): 3
	[x] Listening Mode is: Transparency


[-] Commands
PlistBuddy command: 

/usr/libexec/PlistBuddy -c "print :DeviceCache:e8-85-4b-d1-ba-75" /Library/Preferences/com.apple.Bluetooth.plist > ~/Desktop/e8-85-4b-d1-ba-75.log
  • If there's an error in the result, run the PlistBuddy Command and attach the file <MAC-ADDR>.log that was created in your desktop directory:
    e8-85-4b-d1-ba-75.log

@yuuiko yuuiko added bug Something isn't working help wanted Extra help is needed, as I don't have experience in this field yet labels Jul 19, 2021
@drent-z
Copy link

drent-z commented Sep 24, 2021

  • Mac architecture (Intel/M1): M1
  • Result of the diagnostic script APPro_LMC_diag.applescript:
Copy all this message (click here and then ⌘+A) and send it:

[-] Get the name of the device stored in BTT
	[x] Device name: Daniel’s AirPods Pro
	[x] Retrieved the device Daniel’s AirPods Pro with address 0c-3b-50-ac-fb-04
	[x] ProductID: 8206

[-] Check if the Device has Listening Modes
	[?] ANC supported? true
	[?] Transparency supported? true

	[x] There's a listening mode (as integer): 0


[-] Commands
PlistBuddy command: 

/usr/libexec/PlistBuddy -c "print :DeviceCache:0c-3b-50-ac-fb-04" /Library/Preferences/com.apple.Bluetooth.plist > ~/Desktop/0c-3b-50-ac-fb-04.log```
- If there's an error in the result, run the PlistBuddy Command and attach the file `<MAC-ADDR>.log` that was created in your desktop directory (drag-n-drop the file here):

@sevbest
Copy link

sevbest commented Nov 20, 2021

Architecture M1.
Sony WH-CH510 headphones. Button works but status always "Not Connected"

Copy all this message (click here and then ⌘+A) and send it:

[-] Get the name of the device stored in BTT
[x] Device name: WH-CH510
[x] Retrieved the device WH-CH510 with address 74-45-ce-8d-23-6c
[x] ProductID: ERROR

[-] Check if the Device has Listening Modes
[?] ANC supported? false
[?] Transparency supported? false

[-] Commands
PlistBuddy command:

/usr/libexec/PlistBuddy -c "print :DeviceCache:74-45-ce-8d-23-6c" /Library/Preferences/com.apple.Bluetooth.plist > ~/Desktop/74-45-ce-8d-23-6c.log

Running the above does not work as there is no entry for this device in the Plist under DeviceCache.

@owenyipngoyin
Copy link

Mac architecture (Intel/M1): M1
Result of the diagnostic script APPro_LMC_diag.applescript:

Copy all this message (click here and then ⌘+A) and send it:

[-] Get the name of the device stored in BTT
[x] Device name: Owen’s AirPods Pro
[x] Retrieved the device Owen’s AirPods Pro with address 00-8a-76-2d-4a-39
[x] ProductID: 8206

[-] Check if the Device has Listening Modes
[?] ANC supported? true
[?] Transparency supported? true

[x] There's a listening mode (as integer): 0

[-] Commands
PlistBuddy command:

/usr/libexec/PlistBuddy -c "print :DeviceCache:00-8a-76-2d-4a-39" /Library/Preferences/com.apple.Bluetooth.plist > ~/Desktop/00-8a-76-2d-4a-39.log

@yuuiko yuuiko added this to AQT NEXT Jun 22, 2024
@yuuiko yuuiko moved this to In Progress in AQT NEXT Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra help is needed, as I don't have experience in this field yet
Projects
Status: In Progress
Development

No branches or pull requests

5 participants