TeXitoi / keyseebee

KeySeeBee is a split ergo keyboard. It is only 2 PCB (so the name) with (almost) only SMD components on it. It's only a keyboard, no LED, no display, nothing more than keys and USB.
MIT License
319 stars 34 forks source link

USB enumeration #8

Closed keyboard-magpie closed 3 years ago

keyboard-magpie commented 3 years ago

Me again, so sorry.

Both halves of my 0.1 build now present bootloader, following the LDO fix.

However when flashed with keyberon from this repo neither enumerate/appear in lsusb. Running dmesg on linux shows enumeration error 71.

I tried flashing a known working qmk f072 bin, which does enumerate fine and presents a usb keyboard.

Any thoughts? Having looked through the commits to keyberon I couldn't see anything that changed clock speed tree etc that might affect this.

Many thanks

TeXitoi commented 3 years ago

https://github.com/TeXitoi/keyberon/pull/36

So 2 workarounds:

The first solution is the simplest.

keyboard-magpie commented 3 years ago

Swapped to rust 1.47 and all good!

gwenzek commented 3 years ago

I also had the same issue upgrading to https://github.com/TeXitoi/keyseebee/tree/keyberon-master (8654780 ) works well with rustc 1.49.0 (e1884a8e3 2020-12-29)

camrbuss commented 3 years ago

I too suffered from the generic_array panic on the master branch with rustc 1.48.0

Just checking out the keyberon-master branch as gwenzek said solved the panic by grabbing keyberon master branch. Can something get merged into the keyseebee master branch so that new comers (like me) don't build a panicking firmware?

TeXitoi commented 3 years ago

Yeah, i have to release keyberon v0.2

TeXitoi commented 3 years ago

Keyseebee firmware now use the master keyberon.