Connect with us

One mouse click, 2 PC's

Discussion in 'Electronic Design' started by Ken Ingram, Jun 14, 2010.

Scroll to continue with content
  1. Ken Ingram

    Ken Ingram Guest

    Is there any practical way that would enable me to use a single mouse
    click in order to start a sequence at exactly the same time on two
    separate PC's (identical units)?

    I suppose this means hacking into the mouse lead itself, but how to
    find the relevant wires?

    Ken Ingram
  2. Joerg

    Joerg Guest

    Search under the topic "KVM switch". Normally they are meant to switch a
    device such as a mouse between different PCs but maybe there are some
    that allow parallel operation.
  3. Artemus

    Artemus Guest

    Even if you succeed with the wiring the sequence start isn't going
    to be that exact as the mouse is a polled device.
  4. D Yuniskis

    D Yuniskis Guest

    Hi Ken,

    What do you consider "exactly" to mean?

    What do you consider that "sequence" to be?
  5. Better to synch the clocks on both units and use an applet to *start*
    the desired process at the same time point.
  6. Mice are polled devices.
  7. JW

    JW Guest

    AlwaysWrong. PS/2 mice use an interrupt. You big dummy.
  8. You need basic continuity testing aptitude.

  9. Correct.

    He cannot guarantee or count on getting any resultant action be timed
    exactly together. There will be a number for maximum delay between the
    two events. It will be a worst case add-up of the two periods which the
    mouse port or USB-to-mouse port get polled at.
  10. Do interrupts not also get polled in cyclic fashion? Can you guarantee
    that both machines will poll their respective interrupts at the same

    When was the last time you saw a new PC or laptop that had a PS/2 mouse
    port? They do, but more often, they are made without them at all.

    There are USB mice that plug into USB ports, and no PS/2 port is
    anywhere to be found. Those to are polled, and any such polling would be
    asynchronous with a separate device not triggered by the same clock.

    You might think it worked "at the same time" but it in fact cannot be.
    There will always be some difference.

  11. He is probably attempting to do some kind of lame "benchmark" between
    the two. That too is sad.
  12. PeterD

    PeterD Guest

    Define "exactly the same time" more clearly. The answer is yes, there
    are ways...

    Also does it have to be a mouse click, or can it be some other type of
    signal? What are you controlling?
  13. Tim Watts

    Tim Watts Guest

    All of this is utterly irrelevant when compared to the OS scheduling
    quantum (typically between 10mS to 1mS), assuming the OP is running the
    test systems on regular machines and not some fancy realtime bit of

    Anyway, back to the original point - I would have said time based would
    be easier - have the button "clicked" at a fixed time and time lock the
    machines using NTP.

    Or have a trivial network listener do the "clicking" and use a script on
    one to send the network signal to start to both machines from a script.
  14. JW

    JW Guest

    Why don't you find a 8259 datasheet and get back to me. You might learn
    something. But I doubt it.
    8259. Datasheet.
    Goal posts. Moving. Again.
    I am not here to do your research for you, but I suspect a USB device like
    a mouse is not polled. I could be wrong, but that is your homework
    assignment for today. Chop chop!

    In addition, you could not splice a USB device to two different computers.
    (By splice I mean hard-wire) You would need some sort of port sharing hub.
    Whether this exists or not feel free to
    My statement was "PS/2 mice use an interrupt." WTF are you blabbering

  15. For the most part, if he had told us what the circumstance was, any one
    of us could have delivered a more appropriate response. In one view, one
    person and two mice could be 'clicked' 'simultaneously', FAIAP. In
    another, if he really needs more simultaneous synchronization than he
    himself could bring with two mice, then reliance on raw synchronization
    that falls inside your timing region may not be enough either. So, yeah,
    more would be needed.

    Generally the lay person would not see that as a difference, and if his
    application requires time stamps or other real time function, he would
    need something more appropriate, like two systems integrated into a
    chassis, being triggered by a third device installed into each of those
    two systems. Even then there can be latencies between pieces of gear,
    which have to be 'calibrated' against in the individual components.

    This pretty interesting considering that the systems I currently plan
    use a 10Mhz source and two GPS fed 10Mhz "switches" that then feed all
    the remaining gear in the receiver system, keeping them all synch'd up.
    The rest is just standard network switch gear. Fire up the analyzer
    though and see that we know how to make the 'eye' look real nice.

    Fun piecing together millions of dollars worth of equipment and
    watching that and five hundred or so wires and cables come together to
    allow a high bandwidth channel to the world, to be placed anywhere in the

  16. Only if your net cards are set to NEVER time out and sleep. Many do,
    and windows uses it, set default to sleep after a certain period. There
    are latencies, just none that should concern someone that asked how to
    "see" button clicks from the cable end.
  17. Why don't you find out how it is a tertiary function now, UNDER the PCI
    bus, and get back to me when you know what the **** is going on in a
    modern system.

  18. You are the one that is unsure, you dumb, senile bastard.

    I see that your decades of utter stupidity has treated your brain
    badly. Chop, chop, chopped it up and all with all that alcohol. Too bad
    for you.

    I know about the USB serial bus too, idiot.

    I would say that you are the one that is behind the times.

  19. I never said you could. My posts was about timing, you idiot.
  20. When did the user say that it was a PS/2 mouse?
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day