anne-key icon indicating copy to clipboard operation
anne-key copied to clipboard

USB mode issues

Open dfunkt opened this issue 6 years ago • 11 comments

  1. USB mode only works if I reset the board while it's plugged in, otherwise Windows fails to configure it.
  2. Every key I press is duplicated (I type w, it spews out ww)

dfunkt avatar Mar 17 '18 09:03 dfunkt

Thanks for testing! It's still really new so a lot of initial issues are normal.

Do you still have bluetooth on? So far it doesn't switch between them, it just sends key presses to both.

ah- avatar Mar 17 '18 10:03 ah-

Your theory was correct, I had bluetooth on as well, turned it off and now it works just fine.

dfunkt avatar Mar 17 '18 11:03 dfunkt

There have been a few improvements already, so possibly the reset issue is gone now. I've also now got the USB Command Verifier running, so that'll help a lot with getting everything working reliably.

ah- avatar Mar 20 '18 23:03 ah-

Still not working, have to reset the board using the button after plugging it in.

dfunkt avatar Mar 21 '18 12:03 dfunkt

Did the wireshark capture that you asked, hope this helps. test.pcapng.gz

dfunkt avatar Mar 23 '18 09:03 dfunkt

Great thanks! Will have a look tonight or tomorrow.

What did you do during the capture? Plug it in, didn't work then reset?

ah- avatar Mar 23 '18 09:03 ah-

Yeah, pretty much.

dfunkt avatar Mar 23 '18 09:03 dfunkt

Hmm, I can't see any issues in that capture. It connects once and then proceeds to send hid reports, completely fine.

Is there maybe something missing in the beginning?

ah- avatar Mar 23 '18 18:03 ah-

Tried it again, using both wireshark and the USBPcap app. Without resetting the board it says no packets no matter what I do, and resetting it while it's plugged in produces pretty much the same output as I attached before. When I tried to record using the cli app, it showed up with the device descriptor thing failed and the window would close almost instantly, leaving me with an empty file.

dfunkt avatar Mar 23 '18 19:03 dfunkt

Using B31, my experiences with several releases. All tested using USB on Arch Linux.

2018-03-20-175-master-6d33409 - everything works through usb, no issues as far as I see 2018-03-22-178-master-86750fb - leds off, no reaction to any input. 2018-04-02-197-master-b4f4424: Merge pull request #51 from hdhoang/bit_field - les off, no reaction to input Commit b4f44243199698256239e1273cb4f7ba72cc5bb7 compiled on my machine - after a couple characters are typed keyboard stops responding (often with a key still held down), once bluetooth mode is entered keyboard stops responding, resetting then bluetooth pairing (on windows 10 using usb dongle) works, however number row stays green (and enter stays colored). then after a couple characters typed, keyboard stops responding.

SuperCuber avatar Apr 04 '18 12:04 SuperCuber

Same here. It works only if i reset keyboard when it is plugged in. After unplugging and plugging back it stops working. Also stops working when I restart pc. Same bug in official firmware 1.2, but 1.4 works fine for me. I'm using Fedora, connecting with usb.

ontes avatar Apr 27 '18 12:04 ontes