keyboardio / KeyboardioHID

A HID library for Arduino
MIT License
34 stars 17 forks source link

Keyboard unusable on macOS #18

Closed TheBaronHimself closed 6 years ago

TheBaronHimself commented 6 years ago

Recent versions of the firmware render my Model01 unusable on macOS (10.13.1). It doesn't send any keys, and LED functions (such as https://github.com/keyboardio/Kaleidoscope-LED-ActiveModColor) react with a considerable delay. The keyboard appears to operate normally under Windows; I haven't tested in on Linux yet, but others don't seem to have any issues there, either.

The latest working commit is fa09374e412f09b7177f3f6e20312be47cdcc961.

obra commented 6 years ago

That sounds a lot like the host put the keyboard into low power / slew mode and we didn’t wake up.

On Nov 29, 2017, at 1:49 PM, Simon-Claudius notifications@github.com wrote:

Recent versions of the firmware render my Model01 unusable on macOS (10.13.1). It doesn't send any keys, and LED functions (such as https://github.com/keyboardio/Kaleidoscope-LED-ActiveModColor) react with a considerable delay. The keyboard appears to operate normally under Windows; I haven't tested in on Linux yet, but others don't seem to have any issues there, either.

The latest working commit is fa09374.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

obra commented 6 years ago

Are you running with the stock sketch?

TheBaronHimself commented 6 years ago

Yes, tried my own sketch and the stock sketch - same result for both (i.e. keyboard unusable; typing doesn't work).

I just realised a distinction I should point out, though: LED effects that are entirely keyboard-internal and not based on any host interaction seem to have worked fine - no delay there. LED-ActiveModColor I'm guessing includes some interaction with the computer it's connected to (haven't looked at the code too much myself), and because that interaction is not working properly, the LED effect isn't, either.

algernon commented 6 years ago

ActiveModColor relies on reports being set and sent. That likely doesn't happen (hence the keyboard not working either).

TheBaronHimself commented 6 years ago

Yeah, that's what I thought. Thanks for confirming.