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] Anne Pro 2 Bluetooth Not Working #18547

Open
3 tasks
y-mx-b opened this issue Sep 30, 2022 · 13 comments
Open
3 tasks

[Bug] Anne Pro 2 Bluetooth Not Working #18547

y-mx-b opened this issue Sep 30, 2022 · 13 comments

Comments

@y-mx-b
Copy link

y-mx-b commented Sep 30, 2022

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.

@tzarc
Copy link
Member

tzarc commented Sep 30, 2022

Can confirm. No fix known as yet.

@Jpe230
Copy link
Contributor

Jpe230 commented Sep 30, 2022

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.

@y-mx-b
Copy link
Author

y-mx-b commented Oct 1, 2022

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

@Asion001
Copy link

Asion001 commented Oct 11, 2022

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.

@SgoSkz
Copy link
Contributor

SgoSkz commented Nov 3, 2022

#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

@tzarc
Copy link
Member

tzarc commented Nov 4, 2022

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

@sehrgut
Copy link

sehrgut commented Dec 12, 2022

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

@tzarc
Copy link
Member

tzarc commented Dec 12, 2022

Yes.

@dev-jelo
Copy link

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.

@thomazmoura
Copy link

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.

@tzarc
Copy link
Member

tzarc commented Aug 9, 2024

Had a stab at flashing a super old version of the BLE firmware, and this time QMK actually pairs and types correctly.

https://releases.obins.net/annepro2c18/firmware/1.14.1-alpha/ap2_c18_22_ble.bin worked for my C18 and current develop branch of QMK.

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

No branches or pull requests

8 participants