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

USB-USB: Toggle Error #657

Closed
tmk opened this issue Nov 5, 2020 · 3 comments
Closed

USB-USB: Toggle Error #657

tmk opened this issue Nov 5, 2020 · 3 comments

Comments

@tmk
Copy link
Owner

tmk commented Nov 5, 2020

Confirmed the error happened in InTransfer() with HHKB professional 2.
Sometime the keyboard is stuck in the loop with Toggle error during startup.

https://github.com/tmk/USB_Host_Shield_2.0/blob/5c303ed62c29d8088d1b113870715b9d198d1cb4/Usb.cpp#L241

This is solved with Toggle Error fix.
tmk/USB_Host_Shield_2.0@4a35a03

tmk/USB_Host_Shield_2.0#2

@tmk
Copy link
Owner Author

tmk commented Nov 5, 2020

Debug print of Toggle error during startup.

tmk/USB_Host_Shield_2.0@47c99fe

usb_state: 20
usb_state: 40
usb_state: 50
usb_state: 51
Ci Ci Ci Ci Ci Ci Ci host.Task: 305
usb_state: 90
speed: full
T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T2 T

This is output when it goes well.

TMK:7f7b7ffd+/LUFA


USB configured.

Keyboard start.
usb_state: 20
usb_state: 40
usb_state: 50
usb_state: 51
Ci Ci Ci Ci Ci Ci Ci host.Task: 304
usb_state: 90
speed: full
Ci Ci Ci Ci Ci Ci Ci BM Init
Ci Addr:09
Ci NC:01
HID_PROTOCOL_KEYBOARD
Ci Ci bNumEP:02
Cnf:01
bIfaceNum:00
bNumIface:00

Interface:00
PROTOCOL SET HID_BOOT rcode:00
SET_IDLE rcode:00
Ci RPIPE rcode:00
BM configured
Ci Ci Ci host.Task: 2345
input 9: 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00

@tmk
Copy link
Owner Author

tmk commented Nov 5, 2020

Fixed.
tmk/USB_Host_Shield_2.0@352f79f

@tmk tmk closed this as completed Nov 5, 2020
@tmk
Copy link
Owner Author

tmk commented Dec 27, 2020

Confirmed the problem on Rosewill RK-9200BR was solved with e7aa9e5 on 2020-12-27.
(Test report was received via PM).

Problem:
https://geekhack.org/index.php?topic=69169.msg2897297#msg2897297
https://geekhack.org/index.php?topic=69169.msg2897581#msg2897581

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

No branches or pull requests

1 participant