qmk_firmware icon indicating copy to clipboard operation
qmk_firmware copied to clipboard

[Bug] Anne Pro 2 Bluetooth Not Working

Open y-mx-b opened this issue 2 years ago • 13 comments

Describe the Bug

After flashing the QMK firmware, Bluetooth doesn't work at all. Using the Bluetooth keys to switch between connections doesn't work (though the LEDs will flash), and holding them down to get to pairing mode doesn't do anything either.

System Information

Keyboard: Anne Pro 2 Revision (if applicable): C18 Operating system: macOS qmk doctor output:

Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.1
Ψ QMK home: /Users/user/qmk_firmware
Ψ Detected macOS 12.6 (Apple Silicon).
Ψ Git branch: master
Ψ Repo version: 0.18.8
Ψ - Latest master: 2022-09-30 15:13:21 +0900 (10005e9f39) -- Rotary encoder setting is revised to solve a malfunction. (#18227)
Ψ - Latest upstream/master: 2022-09-30 15:13:21 +0900 (10005e9f39) -- Rotary encoder setting is revised to solve a malfunction. (#18227)
Ψ - Latest upstream/develop: None
Ψ - Common ancestor with upstream/master: 2022-09-30 15:13:21 +0900 (10005e9f39) -- Rotary encoder setting is revised to solve a malfunction. (#18227)
Ψ - Common ancestor with upstream/develop: None
Ψ CLI installed in virtualenv.
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 8.3.1
Ψ Found avr-gcc version 8.5.0
Ψ Found avrdude version 7.0
Ψ Found dfu-util version 0.11
Ψ Found dfu-programmer version 0.7.2
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2022-06-11 09:09:45 +0000 --  (f836d24b0)
Ψ - lib/chibios-contrib: 2022-07-27 10:46:15 +0200 --  (d03aa9cc)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 --  (e2239ee6)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 --  (549b97320)
Ψ - lib/pico-sdk: 2022-05-17 19:19:01 +0200 --  (07edde8)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 --  (c2e3b4e)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 --  (819dbc1)
Ψ QMK is ready to go

Any keyboard related software installed?

  • [ ] AutoHotKey (Windows)
  • [ ] Karabiner (macOS)
  • [ ] Other:

Additional Context

Everything works fine while the keyboard is wired with USB-C and the Anne Pro 2 Shine LED controller firmware works as well. It's just the Bluetooth functionality that isn't working.

y-mx-b avatar Sep 30 '22 08:09 y-mx-b

Can confirm. No fix known as yet.

tzarc avatar Sep 30 '22 11:09 tzarc

After the latest update from Obins it seems that the Bluetooth protocol was changed.

Pre-update everything worked fine, after updating the BT module and flashing QMK my Bluetooth stopped working.

Jpe230 avatar Sep 30 '22 16:09 Jpe230

Would it be possible to flash an older Bluetooth firmware on the device then?

y-mx-b avatar Oct 01 '22 00:10 y-mx-b

Would it be possible to flash an older Bluetooth firmware on the device then?

@y-mx-b Yes. You can choose in obins archive version. I try couple latest's, and only version before 'Update to Bluetooth 5.0' work. After flashing from obins, flash shine and qmk.

Asion001 avatar Oct 11 '22 18:10 Asion001

#17483 might be what you're looking for. Sometimes I need to press the BT key twice before it actually connects. If you haven't tried out the fix, I'd recommend trying it out. My BT FW is 2.05

SgoSkz avatar Nov 03 '22 01:11 SgoSkz

Tried flashing BLE firmwares 2.03, 2.04, and 2.05 onto my C18, none want to cooperate.

tzarc avatar Nov 04 '22 22:11 tzarc

Now that #17483 has been merged, does this bug still exist?

sehrgut avatar Dec 12 '22 04:12 sehrgut

Yes.

tzarc avatar Dec 12 '22 04:12 tzarc

Tried flashing BLE firmwares 2.03, 2.04, and 2.05 onto my C18, none want to cooperate.

I also have 2.05 BLE firmware on a C18. I just flashed QMK and shine onto my keyboard and I thought the bluetooth wasn't working either, but then I tried pressing the bluetooth key twice (as suggested by @SgoSkz) and it worked. I'm on linux though so not sure if that makes any difference.

dev-jelo avatar Mar 31 '23 06:03 dev-jelo

Just a heads-up, I was having issues trying to pair more than one device after flashing Obinskit latest version and then flashing qmk but it's apparently an issue with the obinskit version itself (I've tried to pair more than one device using only obinskit and couldn't make it either - only the first device paired after resetting bluetooth bindings worked). Then I flashed an older version of Obinskit (the latest of the 1.xx versions) and then QMK and shine again and it seems to working fine with this version.

Keep in mind that bluetooth connection is managed by the Obinskit firmare, even after flashing QMK - so the latest Obinskit version flashed will be version used for bluetooth. Also, keep in mind that even when using Obinskit directly it sometimes is troublesome to pair and you have to forget the device, reset the bindings and pair again - so it's probably a good idea to keep at least one key mapped to KC_AP2_BT_UNPAIR so you can reset the bindings for the current selected bluetooth slot.

thomazmoura avatar Dec 02 '23 18:12 thomazmoura