SpriteOvO / AirPodsDesktop

☄️ AirPods desktop user experience enhancement program, for Windows and Linux (WIP)
GNU General Public License v3.0
1.47k stars 87 forks source link

[Bug Report] Device not found for Airpods Pro 2nd Gen USB-C #93

Closed dfanica closed 11 months ago

dfanica commented 11 months ago

:bug: Describe the bug

The device is not found even though the Airpods are cleared paired and working via Bluetooth. I have attached a screenshot that clearly depicts the issue. These are the latest Airpods Pro 2nd Gen with usb-c.

:scroll: To Reproduce

Steps to reproduce the behavior:

  1. Connect Airpods via Bluetooth by holding the button on the case to put in pairing mode and select the device in the Bluetooth device list
  2. Make sure the AirPodsDesktop application is running
  3. Click on the AirPodsDesktop icon in the tray menu
  4. Click Bind to AirPods
  5. Popup with the No paired device found error will appear

:rocket: Expected behavior

At step 4, clicking on Bind to AirPods, the device is found and displayed appropriately.

:framed_picture: Screenshots

airpods pro 2nd gen not found

:gear: Environments:

:star2: Additional context

I have tried to run the application with admin rights with similar results.

AirPodsDesktop.log ``` [2023-10-04 12:08:16.824] [Main] [info] [Application.cpp:121] Launched. Version: '0.4.0' [2023-10-04 12:08:16.825] [Main] [info] [Application.cpp:123] Build git hash: 'ce7cfb67e8eadfdf4f2bff82a6b35459b5ecb53f' [2023-10-04 12:08:16.825] [Main] [info] [Application.cpp:128] Build configuration: Not Debug [2023-10-04 12:08:16.825] [Main] [info] [Application.cpp:131] Opts: { trace: true } [2023-10-04 12:08:16.825] [Main] [info] [Logger.cpp:93] Clean up old log file: 'AirPodsDesktop.1.log' doesn't exist, break the loop [2023-10-04 12:08:16.827] [Main] [warning] [Windows.h:181] Winrt initialize failed. Code: -0x7ffefefa, Message: Cannot change thread mode after it is set. [2023-10-04 12:08:16.827] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'abi_version', Value: '1' [2023-10-04 12:08:16.827] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'language_locale', Value: '' [2023-10-04 12:08:16.827] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'auto_run', Value: 'true' [2023-10-04 12:08:16.827] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'low_audio_latency', Value: 'true' [2023-10-04 12:08:16.827] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'automatic_ear_detection', Value: 'true' [2023-10-04 12:08:16.827] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'skipped_version', Value: '' [2023-10-04 12:08:16.827] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'rssi_min', Value: '-80' [2023-10-04 12:08:16.828] [Main] [warning] [Settings.cpp:140] The setting key 'reduce_loud_sounds' not found. Current value 'false'. [2023-10-04 12:08:16.828] [Main] [warning] [Settings.cpp:140] The setting key 'loud_volume_level' not found. Current value '40'. [2023-10-04 12:08:16.828] [Main] [info] [Settings.cpp:174] Load key succeeded. Key: 'device_address', Value: '** MAYBE NO VALUE **' [2023-10-04 12:08:16.828] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'tray_icon_battery', Value: '1' [2023-10-04 12:08:16.828] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'battery_on_taskbar', Value: '0' [2023-10-04 12:08:16.828] [Main] [info] [Application.cpp:237] currentLocale: en_IE [2023-10-04 12:08:16.828] [Main] [info] [Application.cpp:241] Locale from settings: '' [2023-10-04 12:08:16.828] [Main] [info] [Application.cpp:199] SetTranslator() locale: en_IE [2023-10-04 12:08:16.828] [Main] [warning] [Application.cpp:217] Try to set a untranslated language. locale name 'en_IE', ignore [2023-10-04 12:08:17.012] [Main] [info] [TaskbarStatus.cpp:133] Is Windows 11 or greater: 'false' [2023-10-04 12:08:18.005] [Main] [info] [MainWindow.cpp:273] MainWindow::Unavailable [2023-10-04 12:08:18.020] [Main] [info] [Update.cpp:392] Checking update... [2023-10-04 12:08:18.612] [Main] [info] [LowAudioLatency.cpp:68] LowAudioLatency: Init successful. _enabled: false [2023-10-04 12:08:18.612] [Main] [info] [Settings.cpp:282] ApplyWithoutLock [2023-10-04 12:08:18.612] [Main] [info] [Settings.cpp:44] OnApply_language_locale: [2023-10-04 12:08:18.612] [Main] [info] [Application.cpp:199] SetTranslator() locale: en_IE [2023-10-04 12:08:18.612] [Main] [warning] [Application.cpp:217] Try to set a untranslated language. locale name 'en_IE', ignore [2023-10-04 12:08:18.612] [Main] [info] [Settings.cpp:52] OnApply_auto_run: true [2023-10-04 12:08:18.612] [Main] [info] [Settings.cpp:73] OnApply_low_audio_latency: true [2023-10-04 12:08:18.612] [Main] [info] [LowAudioLatency.cpp:79] LowAudioLatency::Controller Control: true, _inited: true [2023-10-04 12:08:18.612] [Main] [info] [Settings.cpp:80] OnApply_automatic_ear_detection: true [2023-10-04 12:08:18.612] [Main] [info] [Settings.cpp:88] OnApply_rssi_min: -80 [2023-10-04 12:08:18.612] [Main] [info] [Settings.cpp:95] OnApply_device_address: ** MAYBE NO VALUE ** [2023-10-04 12:08:18.612] [Main] [info] [MainWindow.cpp:306] MainWindow::Unbind [2023-10-04 12:08:18.614] [Main] [info] [AirPods.cpp:182] StateManager: Disconnect. [2023-10-04 12:08:18.614] [Main] [info] [AirPods.cpp:424] Unbind device. [2023-10-04 12:08:18.614] [Main] [info] [Settings.cpp:109] OnApply_tray_icon_battery: 1 [2023-10-04 12:08:18.615] [Main] [info] [Settings.cpp:116] OnApply_battery_on_taskbar: 0 [2023-10-04 12:08:18.627] [Main] [info] [Bluetooth_win.cpp:303] Bluetooth AdvWatcher start succeeded. [2023-10-04 12:08:18.627] [Main] [info] [MainWindow.cpp:262] MainWindow::Available [2023-10-04 12:08:18.627] [Main] [info] [AirPods.cpp:559] Bluetooth AdvWatcher started. [2023-10-04 12:08:18.627] [Main] [info] [AirPods.cpp:387] Bluetooth AdvWatcher start succeeded. [2023-10-04 12:08:18.952] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 03 87 8f 11 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 3626488195, RSSI: -75 [2023-10-04 12:08:18.952] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:19.298] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 24 20 2b 98 8f 11 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 2437002720, RSSI: -58 [2023-10-04 12:08:19.298] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:19.689] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 24 20 2b 98 8f 11 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 2437002720, RSSI: -61 [2023-10-04 12:08:19.689] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:20.118] [Main] [trace] [MainWindow.cpp:694] MainWindow: Show [2023-10-04 12:08:20.118] [Main] [trace] [MainWindow.cpp:525] ControlAutoHideTimer: start == 'true', _isVisible == 'true' [2023-10-04 12:08:20.186] [Main] [trace] [MainWindow.cpp:621] OnAppStateChanged: 'Qt::ApplicationState::ApplicationActive' [2023-10-04 12:08:20.186] [Main] [trace] [MainWindow.cpp:525] ControlAutoHideTimer: start == 'false', _isVisible == 'true' [2023-10-04 12:08:20.250] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 24 20 2b 98 8f 11 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 2437002720, RSSI: -62 [2023-10-04 12:08:20.250] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:20.604] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 10 20 00 f6 8f 02 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1587536978, RSSI: -64 [2023-10-04 12:08:20.604] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:20.624] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 24 20 2b 98 8f 11 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 2437002720, RSSI: -63 [2023-10-04 12:08:20.624] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:20.977] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 10 20 00 f6 8f 02 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1587536978, RSSI: -64 [2023-10-04 12:08:20.977] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:21.463] [Main] [info] [MainWindow.cpp:654] User clicked 'Bind' [2023-10-04 12:08:21.463] [Main] [info] [MainWindow.cpp:476] BindDevice [2023-10-04 12:08:21.492] [Main] [info] [AirPods.cpp:577] Paired devices count: 1 [2023-10-04 12:08:21.495] [Main] [trace] [AirPods.cpp:591] Device VendorId: '76', ProductId: '8228', doErase: true [2023-10-04 12:08:21.495] [Main] [info] [AirPods.cpp:597] AirPods devices count: 0 (filtered) [2023-10-04 12:08:22.154] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 01 87 8f 11 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 3626488195, RSSI: -78 [2023-10-04 12:08:22.154] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:22.164] [Main] [warning] [Update.cpp:202] FetchReleaseByVersion: GitHub REST API response status code isn't 200. code: 0 text: '' [2023-10-04 12:08:22.164] [Main] [warning] [Update.cpp:235] IsCurrentPreRelease: FetchReleaseByVersion() failed. [2023-10-04 12:08:22.164] [Main] [info] [Update.cpp:276] Update: isCurrentPreRelease: 'false' [2023-10-04 12:08:22.166] [Main] [warning] [Update.cpp:184] FetchLatestRelease: GitHub REST API response status code isn't 200. code: 0 text: '' [2023-10-04 12:08:22.166] [Main] [warning] [Update.cpp:280] Update: FetchLatestRelease() returned nullopt. [2023-10-04 12:08:22.529] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 01 87 8f 11 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 3626488195, RSSI: -77 [2023-10-04 12:08:22.529] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:22.883] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 01 87 8f 11 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 3626488195, RSSI: -74 [2023-10-04 12:08:22.883] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:23.219] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 10 20 00 f6 8f 02 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1587536978, RSSI: -63 [2023-10-04 12:08:23.219] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:23.438] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 01 87 8f 11 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 3626488195, RSSI: -74 [2023-10-04 12:08:23.438] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:23.966] [Main] [trace] [MainWindow.cpp:674] MainWindow: Hide [2023-10-04 12:08:23.966] [Main] [trace] [MainWindow.cpp:525] ControlAutoHideTimer: start == 'false', _isVisible == 'false' [2023-10-04 12:08:24.171] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 24 20 2b 98 8f 11 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 2437002720, RSSI: -57 [2023-10-04 12:08:24.171] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:24.488] [Main] [trace] [MainWindow.cpp:621] OnAppStateChanged: 'Qt::ApplicationState::ApplicationInactive' [2023-10-04 12:08:24.488] [Main] [trace] [MainWindow.cpp:525] ControlAutoHideTimer: start == 'true', _isVisible == 'false' [2023-10-04 12:08:25.095] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 10 20 00 f6 8f 02 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1587536978, RSSI: -68 [2023-10-04 12:08:25.095] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-10-04 12:08:25.471] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 24 20 2b 98 8f 11 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 2437002720, RSSI: -54 [2023-10-04 12:08:25.471] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. ```
MrBeanCpp commented 11 months ago

Don't worry. I have added support for the latest AirPods a few days ago. #90 #91 Just wait for the owner @SpriteOvO to release a new version.

SpriteOvO commented 11 months ago

Sorry, I was on the vacation. The new version will be released in a few days.

SpriteOvO commented 11 months ago

v0.4.1 is released. AirPods Pro 2 (USB-C) is now supported.

dfanica commented 10 months ago

@SpriteOvO I just installed v0.4.1 today and I get the same error message. Do I need to do anything apart from having the buds connected to the machine via bluetooth?

Edit: I actually had the old version showing in the about section. Uninstalling and reinstalling found the device in the end. Thanks for you work on this! There's some flickering going on on the animation but I guess these issues will be sorted by you guys in time.