Maker Pro
Maker Pro

One mouse click, 2 PC's

K

Ken Ingram

Jan 1, 1970
0
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
 
J

Joerg

Jan 1, 1970
0
Ken said:
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?

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.
 
A

Artemus

Jan 1, 1970
0
Ken Ingram said:
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

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

D Yuniskis

Jan 1, 1970
0
Hi Ken,

Ken said:
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)?

What do you consider "exactly" to mean?

What do you consider that "sequence" to be?
 
A

Archimedes' Lever

Jan 1, 1970
0
Even if you succeed with the wiring the sequence start isn't going
to be that exact as the mouse is a polled device.
Art
Better to synch the clocks on both units and use an applet to *start*
the desired process at the same time point.
 
A

Archimedes' Lever

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

You need basic continuity testing aptitude.
 
A

Archimedes' Lever

Jan 1, 1970
0
Do not think that can be done at *exactly* the same time, as the
mouse is clocked by its computer and the clocks are NOT synchronized and
may be pseudo-randumb due to spread-spectrum design.


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.
 
A

Archimedes' Lever

Jan 1, 1970
0
AlwaysWrong. PS/2 mice use an interrupt. You big dummy.

Do interrupts not also get polled in cyclic fashion? Can you guarantee
that both machines will poll their respective interrupts at the same
moment?

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.
 
A

Archimedes' Lever

Jan 1, 1970
0
I like this approach!!
Maybe even synch it to GPS or something...?

I know better than to ask why the OP want's to mouse-click two
computers simultaneously!!
But I must admit, I am just a tiny bit curious..... :)


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

PeterD

Jan 1, 1970
0
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

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?
 
T

Tim Watts

Jan 1, 1970
0
Do interrupts not also get polled in cyclic fashion? Can you
guarantee
that both machines will poll their respective interrupts at the same
moment?

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.

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
hardware.

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.
 
J

JW

Jan 1, 1970
0
Do interrupts not also get polled in cyclic fashion?

Why don't you find a 8259 datasheet and get back to me. You might learn
something. But I doubt it.
Can you guarantee
that both machines will poll their respective interrupts at the same
moment? ^^^^

8259. Datasheet.
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.

Goal posts. Moving. Again.
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.

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
http://www.justfuckinggoogleit.com/
You might think it worked "at the same time" but it in fact cannot be.
There will always be some difference.

My statement was "PS/2 mice use an interrupt." WTF are you blabbering
about?
 
A

Archimedes' Lever

Jan 1, 1970
0
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
hardware.


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
world.
 
A

Archimedes' Lever

Jan 1, 1970
0
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.


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.
 
A

Archimedes' Lever

Jan 1, 1970
0
Why don't you find a 8259 datasheet and get back to me. You might learn
something. But I doubt it.

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.
 
A

Archimedes' Lever

Jan 1, 1970
0
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!


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.
 
A

Archimedes' Lever

Jan 1, 1970
0
In addition, you could not splice a USB device to two different computers.


I never said you could. My posts was about timing, you idiot.
 
A

Archimedes' Lever

Jan 1, 1970
0
My statement was "PS/2 mice use an interrupt." WTF are you blabbering
about?

When did the user say that it was a PS/2 mouse?
 
Top