8000 iOS Crashes in Modifier Keys page in Settings App · Issue #378 · zmkfirmware/zmk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iOS Crashes in Modifier Keys page in Settings App #378

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

Open
Wofiel opened this issue Nov 12, 2020 · 12 comments
Open

iOS Crashes in Modifier Keys page in Settings App #378

Wofiel opened this issue Nov 12, 2020 · 12 comments
Labels
bug Something isn't working

Comments

@Wofiel
Copy link
Wofiel commented Nov 12, 2020

Steps to reproduce:

  1. Have a ZMK keyboard connected
  2. Navigate to Settings->General->Keyboard->Hardware Keyboard->Modifier Keys
  3. On tapping the ZMK keyboard at the top of the screen, iOS will become unresponsive immediately, or if not, very soon after, requiring a force restart. (Also has occurred when minimising and re-opening the app to the Modifer Keys screen, and when tapping the Modifier Keys page, but less consistent)

ioscrash

Environment

Model: iPad Pro (11-inch)
Model Number: (MTXU2B/A)
Software Version: iPadOS 14.1 (18A8395)

@innovaker innovaker added the bug Something isn't working label Nov 12, 2020
@edwinbadillo
Copy link

Any work around to update the modifier keys in the mean time?

@dxmh
Copy link
Collaborator
dxmh commented Aug 4, 2021

Just wanted to clarify this issue happens whether the keyboard is connected via bluetooth or via USB.

My environment:

  • Model: iPad Air (4th generation)
  • Model number: MYFT2B/A
  • Software version: iPadOS 14.6 (18F72)

Tested with ZMK version 2.4 and now 2.5.

@mintexists
Copy link
Contributor

Happening for me as well

  • iPhone 8
  • iOS 14.4.2
  • Jailbroken - Might be able to find some crash logs somewhere?

@dxmh
Copy link
Collaborator
dxmh commented Sep 21, 2021

This issue is still happening on the new iPadOS version 15.0 released yesterday (on the latest version of ZMK main).

  • Model: iPad Air (4th generation)
  • Model number: MYFT2B/A
  • Software version: iPadOS 15.0 (19A346)

@dxmh
Copy link
Collaborator
dxmh commented Sep 21, 2021

Can anyone confirm if this issue exists for other (non-Apple, non-ZMK) keyboards?

Does the iOS device crash when accessing "Modifier Keys" with only a QMK keyboard connected, for example?

@dxmh
Copy link
Collaborator
dxmh commented Sep 21, 2021

I found that trying to access this settings screen actually only crashes the iOS device for approximately 9 in 10 attempts! 😅 Every once in a while it’ll lock up for several minutes and then succeed instead of rebooting.

C8D08B9F-2699-44AF-96F6-1C5B8CC2BD78

I was eventually able to get that Globe key (#947) mapped to &kp CAPS. 🎉

@dxmh
Copy link
Collaborator
dxmh commented Oct 5, 2021

I believe this issue has now been fixed since #726 (comment) was merged to main.

After re-pairing the keyboard with the following Kconfig setting in <keyboard>.conf, I can now access the modifier keys page in the Settings app without issues.

CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y

(Either that, or this was fixed by the recent 15.0.1 iPadOS bugfix release).

@541bot
Copy link
541bot commented Oct 24, 2021

Hi dxmh, I have a BT60 board which uses ZMK and have the same issue. I would like to implement the fix because I'm on iPad OS 15.0.2 and the issue persists.
But I can't find a .conf file and I have 3 Kconfig settings: Kconfig, Kconfig.board and Kconfig.defconfig. Can you point me to the right file and explain where the code needs to go? Much appreciated!

@dxmh
Copy link
Collaborator
dxmh commented Oct 24, 2021

@Nerumi You can create a BT60 config file yourself at zmk-config/config/bt60.conf (i.e in this directory). Then just add the line from my comment above. The config should then take effect after re-pairing the keyboard.

Please do report back if it fixes this issue for you too. 🙂

@541bot
Copy link
541bot commented Oct 24, 2021

@dxmh Ah, now I get why I couldn't follow you - you're talking about a local build environment that I never set up. The guys behind the BT60 created a template repo that I just had to fork and they setup Github actions to automatically build the firmware in the cloud. See here: https://github.com/ReFil/zmk-config

I have the following folder structure in that fork: zmk-config/config/boards/arm/bt60. Now, in there I would create a bt60.conf file with nothing but CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y, run Github actions again to rebuild the firmware and then flash it onto the board. Does that sound correct? Sorry for asking but I'm far from a power user. 😅

@541bot
Copy link
541bot commented Oct 26, 2021

@dxmh Had the time to try it now and it works flawlessly. Thanks for your help!

dxmh added a commit to dxmh/zmk-config that referenced this issue Oct 27, 2021
This prevents iOS and iPadOS from crashing in certain scenarios.

zmkfirmware/zmk#378 (comment)
@ayroblu
Copy link
ayroblu commented Nov 20, 2021

Thanks for this, was super helpful! Was curious if this is the type of thing that can be default to on so that we don't need people to search for this issue when debugging?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants
0