Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

New video! I dissected a keyboard that supports n-key rollover to figure out how it works. It was fun figuring out how to capture the USB signals from this keyboard since it only wanted to talk at 480Mbps, which is way too fast to capture. Fortunately I found a way to do it and it turned out to be pretty simple.

Hope you enjoy. As always let me know if you see any major issues. And thanks as always for your support!

-Ben

Files

Previews only

How does n-key rollover work?

Support these videos on Patreon: https://www.patreon.com/beneater or https://eater.net/support for other ways to support. ------------------ Social media: Website: https://www.eater.net Twitter: https://twitter.com/ben_eater Patreon: https://patreon.com/beneater Reddit: https://www.reddit.com/r/beneater Special thanks to these supporters for making this video possible: Aleksey Smolenchuk, Alexander Wendland, Andrew C. Young, Anson VanDoren, Anthanasius, anula, Armin Brauns, Ben, Ben Cochran, Ben Kamens, Ben Williams, Benny Olsson, Bill Cooksey, Binh Tran, Bouke Groenescheij, Bradley Pirtle, Bradley Stach, Brent Reusing, Brian T Hoover, Bryan Brickman, Burt Humburg, Carlos Ambrozak, Chris, Christian Carter, Christopher Blackmon, Dale Andrew Darling, Daniel Jeppsson, Daniel Tang, dans, Dave Burley, Dave Walter, David Brown, David Clark, David Cox, David Dawkins, David House, David Sastre Medina, David Turner, David Worsham, Dean Bevan, Dean Winger, Dilip Gowda, Dissy, dko, Dmitry Guyvoronsky, Dušan Dželebdžić, Dzevad Trumic, Eric Dynowski, Erik Broeders, Eugene Bulkin, Eveli László, George Miroshnykov, Harry McDow, hotwire33, Ingo Eble, Ivan Sorokin, James Capuder, james schaefer, Jared Dziedzic, Jason DeStefano, Jason Specland, JavaXP, Jaxon Ketterman, Jay Binks, Jayne Gabriele, Jeremy, Jeremy Cole, Jesse Miller, Jim Kelly, Jim Knowler, Jim Van Meggelen, Joe Beda, Joe OConnor, Joe Pregracke, Joel Miller, John Fenwick, John Hamberger jn., John Meade, Jon Dugan, Joseph Portaro, Joshua King, Jurģis Brigmanis, Kai Wells, Kefen, Kenneth Christensen, Kitick, Koreo, Lambda GPU Workstations, Larry, László Bácsi, Lucky Resistor, Lukasz Pacholik, Marcos Fujisawa, Marcus Classon, Mark Day, Marko Clemente, Martin Noble, Martin Roth, Mats Fredriksson, Matt Krueger, Matthäus Pawelczyk, Matthew Duphily, Maxim Hansen, melvin2001, Michael Tedder, Michael Timbrook, Michael Weitman, Miguel Ríos, mikebad, Miles Macchiaroli, Muqeet Mujahid, My Yiddishe Mama, Nicholas Counts, Nicholas Moresco, Not Yet Wise, Örn Arnarson, Paul Pluzhnikov, Paul Randal, Pete Dietl, Phil Dennis, Philip Hofstetter, Phillip Glau, PixelSergey, ProgrammerDor, Randal Masutani, Randy True, raoulvp, Renaldas Zioma, Ric King, Richard Ertel, Rick Hennigan, Rob Bruno, Robert Comyn, Robert Diaz, Robey Pointer, Roland Bobek, §çīŤøşHï ŇåĶąýŐbŕÔ, Scott Holmes, Sergey Kruk, Shelton, SonOfSofaman, Stefan Nesinger, Stefanus Du Toit, Stephen, Stephen Kovalcik, Stephen Riley, Stephen Smithstone, Steve Jones, Tayler Porter, TheWebMachine, Thomas Bruggink, Thomas Eriksen, Tim Walkowski, Tom, Tom Yedwab, Tommaso Palmieri, Tyler Latham, Vincent Bernat, Vladimir Solomatin, Walter Montalvo, Warren Miller, Wim Coekaerts, xisente, Yee Lam Wan

Comments

Anonymous

I think at 6:22 you meant to say/write 3C. If that's not the case I'm confused

Cooper Harasyn

Yep, I think this is definitely the case. He said verbally "putting current into 3..." so I think he just accidentally said and wrote 2C instead of 3C.

Cooper Harasyn

Really fascinating video! I love watching the dissection of the HID reports. Interesting to see that some keyboards will report a 104-bit bitmap to represent the whole keyboard matrix state. Thanks for this accessible explanation of what's going on with this keyboard!

Madellyn S

A lot of higher end keyboards, including I believe the Das Keyboard line allow remapping the keys at the hardware level and storing those maps on the microcontroller so I think that'll be why it reports having all those fancy keys - it can have them, even if it isn't labelled that way.

Joseph Holley

I noticed a bit of difference in volume between takes, but otherwise, quite solid as-is. I really appreciate when you leave in mistakes (like correcting your key note), keeps things relatable :D Great content!

Shelton

Yes, I noticed that, too. maybe an onscreen correction could help reduce confusion.

Shelton

Nice new video!

Tyler Arbogast

Great video. Tell Keysight to get you a scope fast enough to analyze the high speed USB. Any chance you could share the files you created (scope export and breakdown of the protocol)? Some of us would find that of interest.

Mike Swanson

Also, the reported maximum packet size is different, seen around 27:48. 6-key mode is 8 vs. n-key is 14.