Author Topic: Filco: NKRO over USB for REALZ!  (Read 21670 times)

0 Members and 1 Guest are viewing this topic.

Offline litster

  • Thread Starter
  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Filco: NKRO over USB for REALZ!
« on: Wed, 18 April 2012, 15:50:49 »
In most cases, 6KRO is enough for gaming.  But when you are an enthusiast of something, you do what you can, not just what you should.  

Filco has diodes for every switch, but it *only* does 6KRO over USB.  However, it can do NKRO over PS/2.  USB has its advantage because it is Plug-and-Play.  Whereas a PS/2 keyboard has to be connected before the computer it is connected to is booted up for the OS to recognize it.  Ah, the dilemma.  

You can have the best of both worlds.  USB’s Plug-and-Play convenience and the unnecessary ability to have more than 6 keys registered at once.  How, you ask?  With Soarer’s XT/AT/PS2/Terminal to USB Converter with NKRO.

Soarer’s converter has been around for a year.  Most of the time it is used to get old IBM keyboards to work on PCs with USB.  Its best kept secret, however, is that it works with any PS/2 keyboards.  And Soarer’s firmware makes it possible to get NKRO over USB.

So, if you build a Soarer converter, you too can have NKRO over USB with your Filco keyboards, or any keyboard that can do NKRO over PS/2 (e.g. IBM Model F, Cherry G80 POS keyboard, Leopold).  I just built one myself.  

All you need is a Teensy, a female 6-pin mini DIN connecter, a few wires, a soldering iron, and an hour or two.  Uploading Soarer’s firmware to a Teensy is very easy, and can be done on Windows, OS X, and Linux.

Go check out Soarer’s wiki here.
« Last Edit: Wed, 18 April 2012, 16:44:58 by litster »

Offline sherryton

  • * Vendor
  • Posts: 881
  • Location: Los Angeles
  • Kībōdo
    • Originative
Filco: NKRO over USB for REALZ!
« Reply #1 on: Wed, 18 April 2012, 16:23:48 »
All the links goes back to this thread.

Offline HairyTroll

  • Posts: 26
Filco: NKRO over USB for REALZ!
« Reply #2 on: Wed, 18 April 2012, 16:32:35 »
Quote from: sherryton;578245
All the links goes back to this thread.

I thought I was going crazy there for a few seconds.

Offline litster

  • Thread Starter
  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Filco: NKRO over USB for REALZ!
« Reply #3 on: Wed, 18 April 2012, 16:45:07 »
Sorry, links fixed.

Offline litster

  • Thread Starter
  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Filco: NKRO over USB for REALZ!
« Reply #4 on: Wed, 18 April 2012, 16:52:04 »
Some pictures from drteming on this converter.  Very neat.  I think the enclosure is from Radio Shack: http://geekhack.org/showwiki.php?title=Island:17458&viewfull=1&page=33&do=comments#post535332




Offline REVENGE

  • Posts: 568
Filco: NKRO over USB for REALZ!
« Reply #5 on: Wed, 18 April 2012, 17:22:06 »
Quote from: litster;578271
Some pictures from drteming on this converter.  Very neat.  I think the enclosure is from Radio Shack: http://geekhack.org/showwiki.php?title=Island:17458&viewfull=1&page=33&do=comments#post535332

Show Image


Show Image

That's a very neat build, much better than my breadboard build, but mine doesn't need soldering!
◕ ‿ ◕

Offline litster

  • Thread Starter
  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Filco: NKRO over USB for REALZ!
« Reply #6 on: Wed, 18 April 2012, 17:27:50 »
REVENGE, yours is very neat as well!  And you can take the Teensy off for something else very easily.

Post your pictures here, if you don't mind. :-)

Offline hasu

  • Posts: 3472
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Filco: NKRO over USB for REALZ!
« Reply #7 on: Wed, 18 April 2012, 20:28:57 »
Another fan of NKRO here! NKRO over USB is really fun :)

If you have a neat ADB you can enjoy NKRO with my ADB-USB converter. Though I don't any ADB keyboard with ghost-free matrix :)

I don't know where I can enjoy NKRO excepting Aqua key test. lol

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #8 on: Wed, 18 April 2012, 20:35:10 »
This is silly... the USB protocol is still not as good as the PS/2 due to the way hardware interrupts are handled..

You've gone 1 step forwards with this silly gadget, and 2 steps back..

Good science though...

Offline boredgunner

  • Posts: 91
    • GND-Tech
Filco: NKRO over USB for REALZ!
« Reply #9 on: Wed, 18 April 2012, 20:58:01 »
Cooler Master claims to have achieved NKRO in USB mode with the QuickFire Pro, and it seems to work using this site for testing.

http://www.microsoft.com/appliedsciences/content/projects/KeyboardGhostingDemo.aspx
Ducky Shine II TKL (Green LED, Cherry MX Red) | Leopold FC210TP (Cherry MX Blue)

Offline Soarer

  • * Elevated Elder
  • Posts: 1918
  • Location: UK
Filco: NKRO over USB for REALZ!
« Reply #10 on: Wed, 18 April 2012, 22:11:25 »
Quote from: tp4tissue;578442
This is silly... the USB protocol is still not as good as the PS/2 due to the way hardware interrupts are handled..

You've gone 1 step forwards with this silly gadget, and 2 steps back..

Good science though...
Care to back that claim up with some science of your own?

I think you're thinking of a typical USB keyboard, which is polled far slower than my converter, but I'd like to hear your reasoning.

Offline litster

  • Thread Starter
  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Filco: NKRO over USB for REALZ!
« Reply #11 on: Wed, 18 April 2012, 22:16:27 »
Soarer, you can ignore tp4.  He thread craps all the time.

Offline Gawkbasher

  • Posts: 220
Filco: NKRO over USB for REALZ!
« Reply #12 on: Wed, 18 April 2012, 22:16:51 »
He's probably just thread****ting again...
Topre Realforce 87U 45g / Logitech G9x / Razer Scarab
KBC Poker X (Blue)
/ KBC Poker X (Red)

Offline Soarer

  • * Elevated Elder
  • Posts: 1918
  • Location: UK
Filco: NKRO over USB for REALZ!
« Reply #13 on: Wed, 18 April 2012, 22:26:56 »
Yeah... his finest moments have hopefully been deleted.

But still, I thought I'd give him a chance to try and back it up - he can't, of course, but it would be interesting to find out what the misunderstanding arises from.

Offline litster

  • Thread Starter
  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Filco: NKRO over USB for REALZ!
« Reply #14 on: Wed, 18 April 2012, 23:48:05 »
My Soarer converter:


And my face is not big enough to press all the keys on my Filco at the same time. Dark grey keys are keys pressed at the time screen shot was taken.
« Last Edit: Thu, 19 April 2012, 07:56:20 by litster »

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Filco: NKRO over USB for REALZ!
« Reply #15 on: Thu, 19 April 2012, 02:19:16 »
Litster, that's a tidy mod! I was planning to make a bunch of these for all my PS2 keyboards (and put one in my PS2 unicomp case) but I haven't even ordered all the teensy's yet! :p

I'm imagining the picture of your face trying to hold all the keys down would be pretty entertaining, provided that it exists.

Also: that's a nice-looking panel mount PS2 jack: may I ask where I can find one (or 5)
---
I'm glad Soarer's Teensy is getting some publicity: perhaps it'll become more popular as time goes by.

Finally: is it possible to power two PS2 keyborads from one of these with some hardware/firmware tweaks? I like the convenience of my 2-port belkins, as my laptop only has three USB ports, and I use two keyboards on it.

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #16 on: Thu, 19 April 2012, 12:37:47 »
You can poll it over 9000 all day, it is not handled the same way as the hardware interrupts over ps/2 connection.

PS/2

keyboard tells the cpu, hey stop, look at this...

USB

Cpu goes, hey keyboard what's going on buddy,

---then it does this up to 1000hz


STILL,, very different ball game.

This is PS/2's main advantage

However, a second lesser but important advantage is that the Keyboard will never be fvcked over by other usb devices, because PS/2 does NOT share bandwidth with all other usb devices.

If you got a usb hard drive, a usb mouse, and a usb keyboard, they are all polled by the usb controller, so if everything was running, this could introduce significant latency and drops

Offline alaricljs

  • I be WOT'ing all day...
  • ** Moderator Emeritus
  • Posts: 3715
  • Location: NE US
Filco: NKRO over USB for REALZ!
« Reply #17 on: Thu, 19 April 2012, 12:39:32 »
Ok.  They're different.  Now prove that USB is not as fast or efficient as PS/2 when properly implemented.
Filco w/ Imsto thick PBT
Ducky 1087XM PCB+Plate, w/ Matias "Quiet Click" spring-swapped w/ XM Greens

Offline litster

  • Thread Starter
  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Filco: NKRO over USB for REALZ!
« Reply #18 on: Thu, 19 April 2012, 12:41:32 »
I don't think tp4tissue can.  He is still using serial mice, and connects his printers through parallel ports. Bi-direction parallel ports though.  He knows how to configure BIOS.

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #19 on: Thu, 19 April 2012, 12:49:09 »
Quote from: alaricljs;578974
Ok.  They're different.  Now prove that USB is not as fast or efficient as PS/2 when properly implemented.

mm.. well.. ok

fast, there is less latency simply because the cpu doesn't need to poll the device

USB route goes

CPU
USB Control
Device
USB Control
CPU

PS/2 route
DEVICE
CPU


Now for efficiency

CPU has to poll a USB device, this takes CPU time

PS/2,, this does not happen,, saving you cpu cycles for whatever else.



So, in conclusion, ps/2 is both faster and more efficient

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #20 on: Thu, 19 April 2012, 12:49:30 »
Quote from: litster;578980
I don't think tp4tissue can.  He is still using serial mice, and connects his printers through parallel ports. Bi-direction parallel ports though.  He knows how to configure BIOS.

I already did, read above.

And I know I'm only a minor authority on this forum but here's what "steelseries says"

They are usb and ps/2, so it's not a biased opinion

Steelseries:
We absolutely recommend using the PS/2 connector when possible. First,it will give you total freedom with no limit to the amount of simultaneous key presses. And, equally as important, using the PS/2 may just improve your overall gaming experience. The reason is that when you use a USB keyboard your computer is actually using CPU time polling your keyboard. The higher the polling rate the more CPU time is used to perform the polling. And because of the built-in debounce rate found on any quality keyboard, any polling rate above 200Hz is simply a waste of CPU time and really just a result of pointless marketing hype. Unlike USB keyboards a PS/2 keyboard isn’t polled at all. The keyboard simply sends a signal to the computer as key presses are made, which causes a hardware interrupt, forcing the CPU to register the signal.

Offline laffindude

  • Posts: 1521
  • ( ̽ ¬ ˳¬)
Filco: NKRO over USB for REALZ!
« Reply #21 on: Thu, 19 April 2012, 12:55:00 »
Doesn't interrupt driven peripherals gets less responsive when you load up the CPU?

Offline litster

  • Thread Starter
  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Filco: NKRO over USB for REALZ!
« Reply #22 on: Thu, 19 April 2012, 12:58:07 »
it is so much more inefficient because we don't have CPU cycles to spare.  NOT!

When was the last time your PC slowed to a crawl because it was busy polling a USB keyboard?

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #23 on: Thu, 19 April 2012, 12:59:00 »
Quote from: laffindude;578997
Doesn't interrupt driven peripherals gets less responsive when you load up the CPU?

Yes, however so would any USB device, because it only MIMICs the hardware interrupts done on the PS/2 connection.

So niether ps/2 nor usb would be at a disadvantage in the CPU "loaded" conditions

Offline alaricljs

  • I be WOT'ing all day...
  • ** Moderator Emeritus
  • Posts: 3715
  • Location: NE US
Filco: NKRO over USB for REALZ!
« Reply #24 on: Thu, 19 April 2012, 13:02:22 »
BTW - your system is probably using polling at some point in the chain to talk to the PS/2 controller on the mobo these days  :)  The PS/2 controller sits way off on a Super IO chip which uses LPC to talk to the south bridge which then uses the exact same bus as USB controllers do to talk to the north bridge and on down to the CPU.
Filco w/ Imsto thick PBT
Ducky 1087XM PCB+Plate, w/ Matias "Quiet Click" spring-swapped w/ XM Greens

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #25 on: Thu, 19 April 2012, 13:02:51 »
Quote from: litster;579002
it is so much more inefficient because we don't have CPU cycles to spare.  NOT!

When was the last time your PC slowed to a crawl because it was busy polling a USB keyboard?

Lister, I'm sorry you reinvented the wheel, and did it badly.. ..


I honestly don't know why we're arguing over this, because the ps/2 vs usb topic has been done many times over,

AND the only reason that we STILL have PS/2 for these higher end expensive keyboards IS due to it's superiority.


This is not to say that your product absolutely doesn't have any marketability. laptops or motherboards that are sadly without a ps/2 port is where your "alleged" awesome controller would do wonders.


So, stay in there bucko.

Offline laffindude

  • Posts: 1521
  • ( ̽ ¬ ˳¬)
Filco: NKRO over USB for REALZ!
« Reply #26 on: Thu, 19 April 2012, 13:04:00 »
BTW, does the Filco NKRO bug exist with with this converter? The one where you release bunch of keys at the same time and some would be stuck on.

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #27 on: Thu, 19 April 2012, 13:04:00 »
Quote from: alaricljs;579009
BTW - your system is probably using polling at some point in the chain to talk to the PS/2 controller on the mobo these days  :)  The PS/2 controller sits way off on a Super IO chip which uses LPC to talk to the southbridge which then uses the exact same bus as USB controllers do to talk to the north bridge and on down to the CPU.

Ah,, yes, this is possible,, I will look this up soon.

Offline alaricljs

  • I be WOT'ing all day...
  • ** Moderator Emeritus
  • Posts: 3715
  • Location: NE US
Filco: NKRO over USB for REALZ!
« Reply #28 on: Thu, 19 April 2012, 13:05:03 »
Quote from: tp4tissue;579010
AND the only reason that we STILL have PS/2 for these higher end expensive keyboards IS due to it's superiority.

Um no, it's called LEGACY, not superiority.  And we're having this discussion because you seem to think that demeaning someone or something without basis is a sound method of debate.
Filco w/ Imsto thick PBT
Ducky 1087XM PCB+Plate, w/ Matias "Quiet Click" spring-swapped w/ XM Greens

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #29 on: Thu, 19 April 2012, 13:05:31 »
Quote from: laffindude;579012
BTW, does the Filco NKRO bug exist with with this converter? The one where you release bunch of keys at the same time and some would be stuck on.

This has been determined to be a windows driver issue. because the same phenomena happens on numerous other keyboards.. mostly with the "shift" key.

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #30 on: Thu, 19 April 2012, 13:06:31 »
Quote from: alaricljs;579014
Um no, it's called LEGACY, not superiority.  And we're having this discussion because you seem to think that demeaning someone or something without basis is a sound method of debate.

Mmm.. Well... However,, I demeaned him With basis. Though I didn't put that in my original post of disparagement.

LOLOL

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #31 on: Thu, 19 April 2012, 13:07:16 »
Quote from: ripster;579016
There IS a Wiki on this!

But Carry On.

Fvck man,, I've been yelling that, but these blokes are dense.. very dense indeedy

Offline laffindude

  • Posts: 1521
  • ( ̽ ¬ ˳¬)
Filco: NKRO over USB for REALZ!
« Reply #32 on: Thu, 19 April 2012, 13:08:35 »
Quote from: tp4tissue;579015
This has been determined to be a windows driver issue. because the same phenomena happens on numerous other keyboards.. mostly with the "shift" key.


Does those Other keyboards tested use different controller/firmware?

Offline Gawkbasher

  • Posts: 220
Filco: NKRO over USB for REALZ!
« Reply #33 on: Thu, 19 April 2012, 13:14:44 »
Quote from: tp4tissue
blah blah blah USB sucks

What the **** ever man.  I'll take the convenience of not having to reboot to hotswap keyboards any day (not that I have fails anymore...).

But more importantly, I'll take the convenience of not having to deal with IRQs and hardware collisions or "interrupt storms".  (I know there's interrupts in software with USB but that's different.)  USB has also massively driven down the cost of hardware...   Latency and overhead are NEVER going to be issues with a keyboard or mouse.  Your argument is totally pointless.

Also, with i8042, you're limited to reading packets one byte at a time.  Let's say you have a PS/2 mouse (IRQ12)...When you use the mouse, first an interrupt to the slave PIC has to be enabled, then the cascade interrupt at master PIC (IRQ 2)...then you need to send an "end of interrupt" to both PICs at the end of the packets...  Then you have to realize that mouse packets are multi-byte, so it takes enabling the slave PIC & cascade, 3 interrupts to IRQ12 and the end of interrupts before you can start decoding the mouse data.

You have a similar problem with keyboards with extended keys that are sending two-byte and four-byte make codes (the ones that start with E0h).  Or if you have a foreign language keyboard in a double-byte character set...oi.  Then when you consider that on PS/2, keyboards send make codes and break codes (break codes are longer than make codes by one byte as well), that one-byte limit on i8042 starts to add up to lots of interrupts.


Polling is not an issue.  That said, I'd have to look at what the poll rate is but excessively high poll rates are sometimes really undesirable.  Some gaming mice have gone this route and it's been found to be undesirable.

As an aside though, on a properly laid out keyboard, anything more than 6KRO isn't really adding any value.  arguments about NKRO on USB vs PS/2 are pretty silly.
« Last Edit: Thu, 19 April 2012, 13:30:06 by Gawkbasher »
Topre Realforce 87U 45g / Logitech G9x / Razer Scarab
KBC Poker X (Blue)
/ KBC Poker X (Red)

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #34 on: Thu, 19 April 2012, 13:17:27 »
Quote from: laffindude;579024
Does those Other keyboards tested use different controller/firmware?

I would think so, LOL, they were USB

Offline litster

  • Thread Starter
  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Filco: NKRO over USB for REALZ!
« Reply #35 on: Thu, 19 April 2012, 13:18:38 »
Quote from: litster;579002
it is so much more inefficient because we don't have CPU cycles to spare.  NOT!

When was the last time your PC slowed to a crawl because it was busy polling a USB keyboard?


Quote from: tp4tissue;579010
Lister, I'm sorry you reinvented the wheel, and did it badly.. ..


I honestly don't know why we're arguing over this, because the ps/2 vs usb topic has been done many times over,

AND the only reason that we STILL have PS/2 for these higher end expensive keyboards IS due to it's superiority.


This is not to say that your product absolutely doesn't have any marketability. laptops or motherboards that are sadly without a ps/2 port is where your "alleged" awesome controller would do wonders.


So, stay in there bucko.


You didn't answer my question.  When was the last time your computer slowed to a crawl because it was busy pulling a USB keyboard that PS/2 would not have slowed you down?  You are just threadcrapping for the sake of threadcrapping.  

Don't come here to threadcrap.  You are not welcome here.  GTFO.

Offline alaricljs

  • I be WOT'ing all day...
  • ** Moderator Emeritus
  • Posts: 3715
  • Location: NE US
Filco: NKRO over USB for REALZ!
« Reply #36 on: Thu, 19 April 2012, 13:21:57 »
Quote from: tp4tissue;579029
I would think so, LOL, they were USB

Would you?  Because Costar makes a lot of different boards and uses the same controller and MOST of the same firmware in every single one of them.  They only modify the higher level stuff like whether they do an Fn layer w/ media keys and whatnot.
Filco w/ Imsto thick PBT
Ducky 1087XM PCB+Plate, w/ Matias "Quiet Click" spring-swapped w/ XM Greens

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #37 on: Thu, 19 April 2012, 13:28:29 »
Quote from: alaricljs;579040
Would you?  Because Costar makes a lot of different boards and uses the same controller and MOST of the same firmware in every single one of them.  They only modify the higher level stuff like whether they do an Fn layer w/ media keys and whatnot.

Ah.. hmm.. well personally I've encountered the issue on my cm storm, the razer bw, and the corsair k60 and k90..

No i don't know if they all use diff controllers.

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #38 on: Thu, 19 April 2012, 13:31:07 »
Quote from: litster;579032
You didn't answer my question.  When was the last time your computer slowed to a crawl because it was busy pulling a USB keyboard that PS/2 would not have slowed you down?  You are just threadcrapping for the sake of threadcrapping.  

Don't come here to threadcrap.  You are not welcome here.  GTFO.

Well if you gonna be a h8ter like that LOLOLOL...

No, my computer doesn't slow to a crawl, and the advantages and disadvantages ultimately DO NOT MATTER.

you're right,


but your claim had been that your usb controller is better than PS/2 vanilla

THIS is not true.

I merely pointed that out.

First step of relieving that tension and sense of defeat is accepting the facts. I say this for your sake

Offline Gawkbasher

  • Posts: 220
Filco: NKRO over USB for REALZ!
« Reply #39 on: Thu, 19 April 2012, 13:33:40 »
You didn't point anything out.  the USB controller offers certain benefits over PS/2.  You're bringing up an apples-to-oranges comparison to refute his statement.  Nothing he claimed about his controller is incorrect.  The only thing you can maybe take issue with is his design choice about the polling rate, which you can either agree with or not but has absolutely nothing to do with PS/2.

You also don't know how PS/2 works on modern hardware (i8042 chips -- what alaricjs said about the PS/2 controller is ****ing keyboard science).  You are arguing from ignorance.  More importantly, you are threadcrapping.  Again.\

Quote from: alaricjs
BTW - your system is probably using polling at some point in the chain  to talk to the PS/2 controller on the mobo these days  :)  The PS/2  controller sits way off on a Super IO chip which uses LPC to talk to the  south bridge which then uses the exact same bus as USB controllers do  to talk to the north bridge and on down to the CPU.
« Last Edit: Thu, 19 April 2012, 13:36:36 by Gawkbasher »
Topre Realforce 87U 45g / Logitech G9x / Razer Scarab
KBC Poker X (Blue)
/ KBC Poker X (Red)

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #40 on: Thu, 19 April 2012, 13:35:26 »
Quote from: Gawkbasher;579049
You didn't point anything out.  the USB controller offers certain benefits over PS/2.  You're bringing up an apples-to-oranges comparison to refute his statement.  Nothing he claimed about his controller is incorrect.  The only thing you can maybe take issue with is his design choice about the polling rate, which you can either agree with or not but has absolutely nothing to do with PS/2.

You also don't know how PS/2 works on modern hardware (i8042 chips).  You are arguing from ignorance.  More importantly, you are threadcrapping.  Again.

mm.. alrite, you got me on the i8042, I will be back after I read on that.

Offline litster

  • Thread Starter
  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Filco: NKRO over USB for REALZ!
« Reply #41 on: Thu, 19 April 2012, 13:39:08 »
The fact is that tp4tissue is ignorant, he threadcraps, he is a jerk, he doesn't know how to use punctuation properly, and he is not welcome.  He is a sad sack.  

Again, TP4, GTFO.

Offline Gawkbasher

  • Posts: 220
Filco: NKRO over USB for REALZ!
« Reply #42 on: Thu, 19 April 2012, 13:39:35 »
I guess my last post got deleted :(
Topre Realforce 87U 45g / Logitech G9x / Razer Scarab
KBC Poker X (Blue)
/ KBC Poker X (Red)

Offline alaricljs

  • I be WOT'ing all day...
  • ** Moderator Emeritus
  • Posts: 3715
  • Location: NE US
Filco: NKRO over USB for REALZ!
« Reply #43 on: Thu, 19 April 2012, 13:45:05 »
Quote from: laffindude;579012
BTW, does the Filco NKRO bug exist with with this converter? The one where you release bunch of keys at the same time and some would be stuck on.

Quote from: tp4tissue;579044
Ah.. hmm.. well personally I've encountered the issue on my cm storm, the razer bw, and the corsair k60 and k90..

CM Storm is a Costar based directly on the Filco 87key layout using the same Holtek controller.  

No direct evidence on the BW, but there was plenty of speculation that it's also Holtek.  The U9BL-S has a Cypress chip in it tho...

Corsair may use Holtek since it is one of the most used controllers.  Shame people aren't ripping apart Corsairs to take pictures.


And with that I bow out...
Filco w/ Imsto thick PBT
Ducky 1087XM PCB+Plate, w/ Matias "Quiet Click" spring-swapped w/ XM Greens

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #44 on: Thu, 19 April 2012, 13:47:14 »
Quote from: Gawkbasher;579056
I guess my last post got deleted :(

It's cuz ur a jerk and don't actually know anything about the i8042 urself,.. At least I am capable of admitting what I do and do not have an expertise in. LOLOL

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #45 on: Thu, 19 April 2012, 13:48:19 »
Quote from: alaricljs;579063
CM Storm is a Costar based directly on the Filco 87key layout using the same Holtek controller.  

No direct evidence on the BW, but there was plenty of speculation that it's also Holtek.  The U9BL-S has a Cypress chip in it tho...

Corsair may use Holtek since it is one of the most used controllers.  Shame people aren't ripping apart Corsairs to take pictures.


And with that I bow out...

For serious?? All I heard was mer mer mer mer mer, maybe maybe, mer mer mer.. tail between ur legs, scurry away.

Offline laffindude

  • Posts: 1521
  • ( ̽ ¬ ˳¬)
Filco: NKRO over USB for REALZ!
« Reply #46 on: Thu, 19 April 2012, 14:15:54 »
Quote from: tp4tissue;579044
Ah.. hmm.. well personally I've encountered the issue on my cm storm, the razer bw, and the corsair k60 and k90..

No i don't know if they all use diff controllers.


How do you encounter it on the Blackwidow when it is 2kro?

Offline Gawkbasher

  • Posts: 220
Filco: NKRO over USB for REALZ!
« Reply #47 on: Thu, 19 April 2012, 14:24:55 »
Quote from: laffindude;579106
How do you encounter it on the Blackwidow when it is 2kro?

vBulletin needs like buttons.
Topre Realforce 87U 45g / Logitech G9x / Razer Scarab
KBC Poker X (Blue)
/ KBC Poker X (Red)

Offline Soarer

  • * Elevated Elder
  • Posts: 1918
  • Location: UK
Filco: NKRO over USB for REALZ!
« Reply #48 on: Thu, 19 April 2012, 14:43:28 »
Quote from: tp4tissue;578973
You can poll it over 9000 all day, it is not handled the same way as the hardware interrupts over ps/2 connection.

PS/2

keyboard tells the cpu, hey stop, look at this...

USB

Cpu goes, hey keyboard what's going on buddy,

---then it does this up to 1000hz


STILL,, very different ball game.

This is PS/2's main advantage
Heh, that's not how USB works. The polling isn't done by the CPU, it's done by the USB chips. Only IF there has been a packet received does it bother the CPU.... and that's an interrupt, baby! And packets are only sent when there is some change in key state.

So, polling keyboards at 1000Hz doesn't load up the CPU any more than at 100Hz.

Mice are different - they will load the CPU up more if you poll them more, because they can usually find something to report (they just report smaller movement increments each time).

Quote from: tp4tissue;578973
However, a second lesser but important advantage is that the Keyboard will never be fvcked over by other usb devices, because PS/2 does NOT share bandwidth with all other usb devices.

If you got a usb hard drive, a usb mouse, and a usb keyboard, they are all polled by the usb controller, so if everything was running, this could introduce significant latency and drops
USB devices reserve bandwidth on the bus, so it's only if you've overloaded the bus that that can happen. And that's pretty unusual these days, with most motherboards having multiple USB hubs.

Quote from: tp4tissue;578990
I already did, read above.

And I know I'm only a minor authority on this forum but here's what "steelseries says"

They are usb and ps/2, so it's not a biased opinion

Steelseries:
We absolutely recommend using the PS/2 connector when possible. First,it will give you total freedom with no limit to the amount of simultaneous key presses. And, equally as important, using the PS/2 may just improve your overall gaming experience. The reason is that when you use a USB keyboard your computer is actually using CPU time polling your keyboard. The higher the polling rate the more CPU time is used to perform the polling. And because of the built-in debounce rate found on any quality keyboard, any polling rate above 200Hz is simply a waste of CPU time and really just a result of pointless marketing hype. Unlike USB keyboards a PS/2 keyboard isn’t polled at all. The keyboard simply sends a signal to the computer as key presses are made, which causes a hardware interrupt, forcing the CPU to register the signal.
Bear in mind - that sort of stuff is written by a marketdroid, not a techie. Even the techies working on a keyboard are unlikely to know much about USB, and even less about OS drivers, since they tend to just buy in pre-programmed chips from Holtek or whoever.

Quote from: tp4tissue;579015
This has been determined to be a windows driver issue. because the same phenomena happens on numerous other keyboards.. mostly with the "shift" key.
a) The Windows driver issue does not affect my converter - NKRO avoids the problem.
b) It's fixed in Windows 7 anyway.

Quote from: ripster;579021
I am Helvetica.
No... I am Helvetica!
« Last Edit: Thu, 19 April 2012, 14:46:11 by Soarer »

Offline Gawkbasher

  • Posts: 220
Filco: NKRO over USB for REALZ!
« Reply #49 on: Thu, 19 April 2012, 14:46:18 »
I am the Walrus.
Topre Realforce 87U 45g / Logitech G9x / Razer Scarab
KBC Poker X (Blue)
/ KBC Poker X (Red)

Offline laffindude

  • Posts: 1521
  • ( ̽ ¬ ˳¬)
Filco: NKRO over USB for REALZ!
« Reply #50 on: Thu, 19 April 2012, 14:48:41 »
Bride of Helvetica?
[ Attachment Invalid Or Does Not Exist ] 48614[/ATTACH]

Offline laffindude

  • Posts: 1521
  • ( ̽ ¬ ˳¬)
Filco: NKRO over USB for REALZ!
« Reply #51 on: Thu, 19 April 2012, 15:09:23 »
Quote from: Soarer;579124

a) The Windows driver issue does not affect my converter - NKRO avoids the problem.
b) It's fixed in Windows 7 anyway.


http://geekhack.org/showthread.php?18674-Filco-Stuck-Modifiers-and-Keys <== this issue is related to that issue fixed here?

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #52 on: Thu, 19 April 2012, 15:16:58 »
Quote from: Soarer;579124
Heh, that's not how USB works. The polling isn't done by the CPU, it's done by the USB chips. Only IF there has been a packet received does it bother the CPU.... and that's an interrupt, baby! And packets are only sent when there is some change in key state.

So, polling keyboards at 1000Hz doesn't load up the CPU any more than at 100Hz.

Mice are different - they will load the CPU up more if you poll them more, because they can usually find something to report (they just report smaller movement increments each time).


USB devices reserve bandwidth on the bus, so it's only if you've overloaded the bus that that can happen. And that's pretty unusual these days, with most motherboards having multiple USB hubs.


Bear in mind - that sort of stuff is written by a marketdroid, not a techie. Even the techies working on a keyboard are unlikely to know much about USB, and even less about OS drivers, since they tend to just buy in pre-programmed chips from Holtek or whoever.


a) The Windows driver issue does not affect my converter - NKRO avoids the problem.
b) It's fixed in Windows 7 anyway.


No... I am Helvetica!


It is totally not fixed in Windows 7. is this a recent patch?

Offline Soarer

  • * Elevated Elder
  • Posts: 1918
  • Location: UK
Filco: NKRO over USB for REALZ!
« Reply #53 on: Thu, 19 April 2012, 15:52:01 »
Quote from: laffindude;579150
http://geekhack.org/showthread.php?18674-Filco-Stuck-Modifiers-and-Keys <== this issue is related to that issue fixed here?

Quote from: tp4tissue;579160
It is totally not fixed in Windows 7. is this a recent patch?

Oh wait, this is a different issue then. Thought you were talking about the 6-keys-plus-modifiers bug in Windows' USB drivers.

Any PS/2 keyboard has a queue of output events - maybe only 16 bytes or so. It can only send one byte a millisecond, roughly. Since each key release results in at least two bytes, it doesn't take much to fill the queue. And it's much easier to simultaneously release many keys at once, than press them at once (unless you use something flat to help you).

Some keyboards might have bigger queues than others, but the fundamental problem remains.

There's nothing any converter can do to fix it.

Offline laffindude

  • Posts: 1521
  • ( ̽ ¬ ˳¬)
Filco: NKRO over USB for REALZ!
« Reply #54 on: Thu, 19 April 2012, 16:39:30 »
Gotcha. I don't know what issue TP4 is talking about though, since his BW triggers whatever it is.

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #55 on: Thu, 19 April 2012, 17:20:06 »
Quote from: laffindude;579203
Gotcha. I don't know what issue TP4 is talking about though, since his BW triggers whatever it is.

I hate the black widow with a passion. Damn that keyboard suck so hard,,, thank god for amazon return policy.. K60 and k90 were downers too.

Offline litster

  • Thread Starter
  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Filco: NKRO over USB for REALZ!
« Reply #56 on: Thu, 19 April 2012, 17:30:00 »
Quote from: laffindude;579106
How do you encounter it on the Blackwidow when it is 2kro?


Quote from: laffindude;579203
Gotcha. I don't know what issue TP4 is talking about though, since his BW triggers whatever it is.


Quote from: tp4tissue;579220
I hate the black widow with a passion. Damn that keyboard suck so hard,,, thank god for amazon return policy.. K60 and k90 were downers too.


Your black widow hatred still doesn't explain how you experienced the problem with black widow, a 2KRO keyboard.

Offline Soarer

  • * Elevated Elder
  • Posts: 1918
  • Location: UK
Filco: NKRO over USB for REALZ!
« Reply #57 on: Thu, 19 April 2012, 17:31:22 »
Quote from: tp4tissue;579220
I hate the black widow with a passion. Damn that keyboard suck so hard,,, thank god for amazon return policy.. K60 and k90 were downers too.

Nearly all keyboards are... 'barely sufficient', LOL. Of course, most of them are fine for typing, but beyond that there really aren't many (any?) brilliant ones.

Replacement controllers is the way to go for the ultimate board currently - Full-speed USB, 1000Hz polling, fast scanning, etc. is what you really want. You'd never touch PS/2 again, I assure you.
« Last Edit: Thu, 19 April 2012, 17:33:34 by Soarer »

Offline laffindude

  • Posts: 1521
  • ( ̽ ¬ ˳¬)
Filco: NKRO over USB for REALZ!
« Reply #58 on: Thu, 19 April 2012, 17:40:40 »
Hate it as much as you want, but which bug did you actually trigger?

Edit: I really should get into the habit of replying immediately after opening a new tab. Ninjaed by 10 minutes is just embarrassing.
« Last Edit: Thu, 19 April 2012, 17:46:56 by laffindude »

Offline Soarer

  • * Elevated Elder
  • Posts: 1918
  • Location: UK
Filco: NKRO over USB for REALZ!
« Reply #59 on: Thu, 19 April 2012, 17:50:47 »
And, tp4tissue, how about some comment on the myth-busting parts of my post?

Offline laffindude

  • Posts: 1521
  • ( ̽ ¬ ˳¬)
Filco: NKRO over USB for REALZ!
« Reply #60 on: Thu, 19 April 2012, 18:30:31 »
I wish Teensy would get a firmware/software combo that is as easy to reprogram as Aikon or the Chameleon.

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Filco: NKRO over USB for REALZ!
« Reply #61 on: Thu, 19 April 2012, 22:06:44 »
Quote from: Soarer;579236
And, tp4tissue, how about some comment on the myth-busting parts of my post?

I'm having trouble finding specific literature on the i8042 chip,, but you did not do any mythbusting, you've merely added more fluff without any substantiation or sources.

It's like calling into question what the plus sign means, and what does 2 really mean, when asked 2+2,, you can do this indefinitly,

Offline Soarer

  • * Elevated Elder
  • Posts: 1918
  • Location: UK
Filco: NKRO over USB for REALZ!
« Reply #62 on: Thu, 19 April 2012, 22:27:25 »
Quote from: tp4tissue;579373
I'm having trouble finding specific literature on the i8042 chip,, but you did not do any mythbusting, you've merely added more fluff without any substantiation or sources.

It's like calling into question what the plus sign means, and what does 2 really mean, when asked 2+2,, you can do this indefinitly,
Oh, you're funny. 2+2. Hahahaha.

Myth #1: The CPU polls the keyboard. PS/2 is better because it uses an interrupt.

False. It's the USB chip that polls the keyboard. Read about USB drivers.

Myth #2: Keyboards will get swamped by other devices on USB. PS/2 is better because it has no contention.

False. USB devices reserve bandwidth, and are guaranteed to get it, unless you've put too many devices onto the same controller. Just don't do that! Read the USB specs.

Where is your substantiation and your sources? Please don't quote any more marketing material... that really is 'fluff'.

Offline Soarer

  • * Elevated Elder
  • Posts: 1918
  • Location: UK
Filco: NKRO over USB for REALZ!
« Reply #63 on: Thu, 19 April 2012, 22:39:17 »
Quote from: tp4tissue;579373
I'm having trouble finding specific literature on the i8042 chip

Try 8242BB: "Intel 8242BB Technical Reference Manual Version 1.0 August 15,1994". Since...

Quote from: 8042 datasheet
The Intel 8242BB is programmed with IBM's keyboard
controller firmware. The 8242BB provides an
off the shelf keyboard and auxiliary device controller
for AT, PS/2, EISA, and PCI architectures.

Offline limmy

  • Posts: 352
Filco: NKRO over USB for REALZ!
« Reply #64 on: Thu, 19 April 2012, 23:38:19 »
I saw custom PS/2 boards that has super fast repeat rate. Can a USB board do that? By repeat rate I mean number of key signals per second when a key is pressed down.

Here is a youtube video of 356CL (OTD project custom keyboard) testing different repeat rates.
[video=youtube;I7puVuMktzk]http://www.youtube.com/watch?v=I7puVuMktzk[/video]

I set repeat rate to the maximum on my windows keyboard settings, but I want faster rate.

Offline breakaway

  • Posts: 4
Filco: NKRO over USB for REALZ!
« Reply #65 on: Fri, 20 April 2012, 00:25:28 »
You can get a faster rate with a autohotkey script or go linux whichever suits you.

Offline bhtooefr

  • Posts: 1624
  • Location: Newark, OH, USA
  • this switch can tick sound of music
    • bhtooefr.org
Filco: NKRO over USB for REALZ!
« Reply #66 on: Mon, 23 April 2012, 05:05:49 »
USB is a far more elegant approach, here.

Rather than spam the computer with keystrokes, it just sends one make code, one break code. If the OS wants fast repeat, it can do fast repeat. If the OS wants slow repeat, it can do slow repeat. If the OS wants no repeat at all, the OS can do no repeat at all.