Main > Main Forum

USB vs PS/2 vs COM vs LPT

<< < (33/43) > >>

AndyWarne:

--- Quote from: Driver-Man on September 26, 2010, 11:13:52 pm ---
It is clear in from both programs that regardless of USB keyboard packet size, there can only be retrieved a maximum of ONE KEY per 8ms, thus 4 simultaneous key presses, like in my example above, will still need to communicate four packets, with lag between each one that equals to Windows default USB polling rate, on this particular computer of mine. As I was saying all along.


--- End quote ---

I despair, I really do...

You can see from your USB trace that your keyboard is only sending one key increment on each subsequent packet. So its no surprise that the Passmark test is picking up each key 7ms after the previous one. You have already had the limitations of the keyboard matrix scan system explained to you, and I have also previously posted a USB trace which shows the result of a system which does not use a matrix (I-PAC).
I also stated before that the Passmark lag when using an I-PAC is zero. You dont appear to believe this, so, although I am not sure why, I took a screenshot:

Driver-Man:

--- Quote from: AndyWarne ---You can see from your USB trace that your keyboard is only sending one key increment on each subsequent packet. So its no surprise that the Passmark test is picking up each key 7ms after the previous one.

--- End quote ---

Your USB trace shows a packet is sent for each key, just the same as mine.




DIFFERENCE:
- Your USB packets contains all the keys, each 32 bytes long
- My USB packets contain some sequence, each 8 bytes long

- In your case there is 2ms lag in between each packet
- I can make 2ms lag by simply setting polling rate to 500Hz

You are not really achieving anything by sending the full information in the first 32 bytes, since you will still be sending as many of those packets as keys were pressed, just like my USB trace shows too. You are stuffing 5x32 = 160 bytes down the USB pipe just to signal 5 keys are down!?



--- Quote ---I also stated before that the Passmark lag when using an I-PAC is zero. You dont appear to believe this, so, although I am not sure why, I took a screenshot:

--- End quote ---

Your USB trace contradicts that. Operating System is different?  Have you been fiddling with your USB polling rate? -- I think you should try that again with the same operating system where you run that USB trace, they can not both be true, so I think you have some bug, perhaps buffer overflow with all those unnecessary bytes sent there, superfluously.

Marsupial:
netiquette...

An "Internet troll" or "Forum Troll" or "Message Board Troll" is a person who posts outrageous message to bait people to answer. Forum Troll delights in sowing discord on the forums.  A troll is someone who inspires flaming rhetoric, someone who is purposely provoking and pulling people into flaming discussion.  Flaming discussions usually end with name calling and a flame war.
 
A classic troll is trying to make us believe that he is a genuine skeptic with no hidden agenda.  He is divisive and argumentative with need-to-be-right attitude, "searching for the truth",  flaming discussion, and sometimes insulting people or provoking people to insult him.  Troll is usually an expert in reusing the same words of its opponents and in turning it against them.

They usually have an agenda. Very few trolls come to out of pure skepticism. A Troll is generally a person who is extremely skeptical of the main forum subject.
He is generally interested to make other forum members look stupid. A troll will sometimes use insults to provoke other people to insult him. Then, he will complain to moderators of being insulted and will request that his opponents get banned from further discussion.

He (and in 90% of cases it is he) tries to start arguments and upset people.

Sometimes, Internet troll is trying to spin conflicting information, is questioning in an insincere manner, flaming discussion, insulting people, turning people against each other, harassing forum members,  ignoring warnings from forum moderators.

Trolling is a form of harassment that can take over a discussion. Well meaning defenders can create chaos by responding to trolls. The best response is to ignore it, or to report a message to a forum moderator. Moderators usually delete troll messages or block trolls.  Negative emotions stirred up by trolls leak over into other discussions. Normally affable people can become bitter after reading an angry interchange between a troll and his victims, and this can poison previously friendly interactions between long-time users.

Finally, trolls create a paranoid environment, such that a casual criticism by a new arrival can elicit a ferocious and inappropriate backlash.

When trolls are ignored they step up their attacks, desperately seeking the attention they crave. Their messages become more and more foul, and they post ever more of them.

Alternatively, they may protest that their right to free speech is being curtailed. 

Perhaps the most difficult challenge for a webmaster is deciding whether to take steps against a troll that a few people find entertaining. Some trolls do have a creative spark and have chosen to squander it on being disruptive. There is a certain perverse pleasure in watching some of them. Ultimately, though, the webmaster has to decide if the troll actually cares about putting on a good show for the regular participants, or is simply playing to an audience of one -- himself.

Next time you are on a message board and you see a post by somebody whom you think is a troll, and you feel you must reply, simply write a follow-up message entitled "Troll Alert" and type only this:

The only way to deal with trolls is to limit your reaction and not to respond to trolling messages.  It is well known that most people don't read messages that nobody responds to, while 99% of forum visitors first read the longest and the largest threads with the most answers.
 

FYI: trolling is NOT encouraging the community, in the long run it is irritating to the community members, the moderators, and only helps in encouraging people to not read interesting threads anymore. Nothing good can come out of a troll.

If the moderators don't have a good discussion with the man that talks about himself in the 3rd person, I encourage people to stop posting on this and any other of his threads - don't feed the troll, don't encourage him. Note that all the good discussions of this thread were done while he wasn't trolling, between distant posts of him, and when he posts, we only rechew the same data over and over.

All that had to be said on the topic has been said and proven, yet the guy can't see the light. An empty bottleneck is not a problem (there is more then ennough time to process all keypress in emulation software between every emulated cycle), but an annoying troll is.

I suggest to everyone to use the ignore button on his username, too.

Derrick Renaud:

--- Quote from: Driver-Man on September 27, 2010, 04:41:37 am ---Do you not see the "bottleneck"?





--- End quote ---

Do you?  Obviously not.  As I've said before you need to READ & Understand what has been posted in this thread.  Which you still have not done.

Raw Input does not get it's input from the Keyboard & Mouse Client or the OS Keyboard and mouse services.  It gets it directly from the USB services.  In otherwords, it gets it RAW at the USB poll rate.

Just because you take a picture of a red sky at dusk, does not mean the sky is always red.  Look out the window and see it is blue (or black at night.)

You demanded a document before you would listen to any other proof given to you, which you have since been given.  Very nice of Andy to do so, I would have never bothered looking up proof for something I know has been true for 10 years.

Now that you have been given proof, please re-read this thread and understand the other proofs given.

You refused to ever consider how windows could somehow read input directly from individual keyboards.  You still seem to be stuck thinking it is at the legacy level.  When at the level it can not individually read keyboards.

But whatever, keep enjoying the red sky in your world.

I can no longer believe that Driver-Man is doing anything but trolling.

JustMichael:
I have heard stories of person(s) who aren't happy unless they are arguing.   :badmood:  I have also heard they don't care if they are right or wrong, they just want to argue.   :blah:  Has anyone else heard of such person(s)?   ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version