Author Topic: Making an On-The-Ball Plus  (Read 4515 times)

0 Members and 1 Guest are viewing this topic.

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« on: Fri, 01 January 2010, 20:09:46 »
I've been thinking for a while...is it possible to rig up an M13 to the tracking ball mechanism of an M5-2 or an M5-1, creating a sort of keyboard like an On-the-ball Plus?

If anyone's got an On-the-ball Plus, would they be able to show some pictures of the insides? That may shed some light on this.
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline ch_123

  • * Exalted Elder
  • Posts: 5860
Making an On-The-Ball Plus
« Reply #1 on: Fri, 01 January 2010, 20:29:16 »
Short answer - not really.

In a board with a Unicomp pointing stick like the Endurapro, you have two controller boards - one for the keyboard (a standard 42H1292-style one) and one for the pointing stick, which is bolted onto the back plate. The PS/2 Y-cable is connected to the controller board of the pointing stick, not that of the keyboard. The keyboard's controller is connected to the pointing stick's controller, which acts as a pass through to the Y-cable. What this means is that the pointing stick can piggy-back onto a pre-existing design without having to modify that design to deal with it.

I've never seen the innards of an On The Ball Plus, but I'm going to bet it works like this - you you have a conventional M5-2 controller (which handles both keyboard and the trackball). You have a conventional pointing stick controller. The keyboard controller is hooked up to the pointing stick controller like normal. I'm not 100% if the On The Ball uses the same controller as the M5-2, but I can't see why they wouldn't, because unlike their pointing stick compared with the trackpoint, they haven't completely changed the underlying mechanism of the M5-2 trackball, in fact, it's probably the exact same.

Now, I'm not sure whether the pointing stick controller is designed so that you can hook up a keyboard controller that also handles a mouse without any extra effort, but if not, you can easily get around this by connecting the mouse output of the trackball to the PS/2 passthrough (Pointing Stick/Trackpoint keyboards generally have an external PS/2 passthrough port to let you use a mouse in conjunction with the integrated pointer) And that should take care of the issue.

The problem with the M13 is that the Trackpoint's controller logic is built into the keyboard's controller board. If you wanted to combine both an M13 and an M5, you'd end up with two keyboard controllers, and you'd have to figure out how to make them work together properly, which would be messy even if it was doable.

Apologies if my post is a bit rambly, it's late over here and I have insomnia.
« Last Edit: Fri, 01 January 2010, 20:37:43 by ch_123 »

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #2 on: Sat, 02 January 2010, 19:02:48 »
That was what I was thinking. If you've got an extra PS/2 plug lying around, try mapping the wires of the M5-2 tracking ball where it plugs into the mainboard. I think it has 4 wires, the same amount as on the PS/2 plug. So all it should take is mapping each wire to the correct position on the plug to make the standalone trackball.

IF YOU HAVE AN M13, PLEASE TELL US IF THERE'S A PS/2 PORT ON THE BACK FOR ANOTHER POINTING DEVICE. This information will be very useful.
« Last Edit: Sat, 02 January 2010, 19:06:56 by microsoft windows »
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #3 on: Sat, 02 January 2010, 19:28:46 »
If it's got another PS/2 port, it should be relatively easy to make the M5-2 trackball into just a PS/2 trackball and plug it in. However, in order for it to perform reliably, it would probably need a USB converter because some PS/2 ports don't have enough power to power the trackball.

What we've got to find out next, however, is what happens to the mouse on the main controller. Does it just pass through or does it go through ROM chips and things?
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline ch_123

  • * Exalted Elder
  • Posts: 5860
Making an On-The-Ball Plus
« Reply #4 on: Sat, 02 January 2010, 19:47:25 »
Quote from: kishy;147330
Oh come on, I suggested this in my M5-2 thread.

Yes, it's very, very doable. How exactly is best to do it remains to be seen. When I get my M13 I'll document how to do it, but I wouldn't be leaving it in that state.

Edit: and though I'm not sure of this, it looks like the M5-2 trackball is itself capable of being plugged into a PS/2 port and used that way (DON'T try that until it's confirmed), and that the M5-2 does in fact HAVE a mouse pass-through (in the literal sense, a passive connection to the SDL socket), though it is being used by the trackball itself

Oh, if the trackball is completely self-contained in terms of controller logic, then that makes things completely different. You should just be able to hook up the trackball to the PS/2 pass-through that the M13 has.

Only concern is that the pass-through seems to be a bit choosy about what it works with. It won't work with my L40 Trackpoint for example (on neither my M4-1 or my M13 that is)

Quote
If it's got another PS/2 port, it should be relatively easy to make the M5-2 trackball into just a PS/2 trackball and plug it in. However, in order for it to perform reliably, it would probably need a USB converter because some PS/2 ports don't have enough power to power the trackball.

USB provides less power than PS/2. Besides, the thing is designed to support an additional mouse. Is the trackball module on the M5-2 particularly power intensive?

On the flipside that could be what was causing my L40 problems.
« Last Edit: Sat, 02 January 2010, 19:49:48 by ch_123 »

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #5 on: Sat, 02 January 2010, 20:26:21 »
Your L40 problems are caused by lack of power from the PS/2 ports. I did some reading and found out that USB ports supply more power than PS/2's, thus eliminating those issues for the most part. I have had similar experiences with my Trackpoint L40. Sometimes, it causes a keyboard error because the PS/2's can't output enough power. The tracking ball on my M5-2 acts the same.

I figured that since the tracking ball on the M5-2 requires plenty of juice, that, a trackpoint, and a keyboard that draws up to 100 times the amperage some modern keyboards do might just be too much for some PS/2 ports. I think the best thing to do is convert the mice and keyboard to a few USB's so they can work reliably.

I think I'll do what Kishy did and first try a $1 converter off ebay. If that doesn't work I'll get one from Clickykeyboards. They've been in the business for 10 years so I'm sure they can help me out.
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #6 on: Sun, 03 January 2010, 09:49:07 »
Thanks for taking apart the keyboard so fast! I was going to do that today after church.

Now we know that the M5-2 tracking ball has 4 wires coming from it and we know what some of them do, minimizing the guesswork in mapping them to a PS/2 plug. I made a diagram of the plug based on some I found on-line.


I also took a photo of the plug with my scanner for reference.
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline ch_123

  • * Exalted Elder
  • Posts: 5860
Making an On-The-Ball Plus
« Reply #7 on: Sun, 03 January 2010, 10:04:22 »
Quote from: microsoft windows;147429
Your L40 problems are caused by lack of power from the PS/2 ports. I did some reading and found out that USB ports supply more power than PS/2's, thus eliminating those issues for the most part. I have had similar experiences with my Trackpoint L40. Sometimes, it causes a keyboard error because the PS/2's can't output enough power. The tracking ball on my M5-2 acts the same.


Depends really. The amount of power that USB devices consume is variable. I doubt that a USB-PS/2 adapter is going to be spec'd to provide the full whack of power that a USB port can provide.

Of course, you could try splicing a USB cable and wiring it up manually as a power cord for the keyboard.

Quote
I think I'll do what Kishy did and first try a $1 converter off ebay. If that doesn't work I'll get one from Clickykeyboards. They've been in the business for 10 years so I'm sure they can help me out.


Brandon's accessories tend to be quite overpriced. You're better off getting a Belkin adapter off eBay. I have yet to hear anyone having problems with them.

Btw, why are data and clock marked as NC?
« Last Edit: Sun, 03 January 2010, 10:07:30 by ch_123 »

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #8 on: Sun, 03 January 2010, 11:03:42 »
Quote from: ch_123;147500

Btw, why are data and clock marked as NC?


They say Data and Clock in parentheses. That's what the diagrams I found on the Internet called them. I'm not too familiar with the mechanics of PS/2 devices yet, but I'm working on it!
« Last Edit: Sun, 03 January 2010, 11:05:58 by microsoft windows »
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #9 on: Sun, 03 January 2010, 13:26:47 »
That is very strange...why would there be a short?
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline ch_123

  • * Exalted Elder
  • Posts: 5860
Making an On-The-Ball Plus
« Reply #10 on: Sun, 03 January 2010, 13:31:56 »
Quote from: microsoft windows;147515
They say Data and Clock in parentheses. That's what the diagrams I found on the Internet called them. I'm not too familiar with the mechanics of PS/2 devices yet, but I'm working on it!


Well, NC usually means "Not Connected" on circuit diagrams.

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #11 on: Sun, 03 January 2010, 13:42:54 »
Quote from: ch_123;147563
Well, NC usually means "Not Connected" on circuit diagrams.


I see my mistake there. Thanks for telling me! (I'm not that experienced with electronics)

By the way, does anyone here know what each color on the ps/2 and USB cables means in terms of the pins?
« Last Edit: Sun, 03 January 2010, 13:54:18 by microsoft windows »
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #12 on: Sun, 03 January 2010, 14:19:09 »
Right now I took apart a PS/2 plug. Does anyone here know what the green, red, orange, yellow, brown, and black wires do? I want to be able to use this cable to rig up my trackball to USB for a start.
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline ch_123

  • * Exalted Elder
  • Posts: 5860
Making an On-The-Ball Plus
« Reply #13 on: Sun, 03 January 2010, 15:25:18 »
I don't think there's any standard for the colour of those wires. You might want to get a multimeter and trace the pin on the plug to the pin on the connector on the other end of the cable.

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #14 on: Sun, 03 January 2010, 15:32:47 »
I decided to instead cut open my space Model M5-2 Y-cable on the mouse end. I found four wires: brown, black, white, and red. Anyone on this forum know IBM's standard for those?
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline ricercar

  • * Elevated Elder
  • Posts: 1697
  • Location: Silicon Valley
  • mostly abides
Making an On-The-Ball Plus
« Reply #15 on: Sun, 03 January 2010, 15:40:56 »
There's a color standard for USB cables by Kensington, Elitegroup, Crystalfonts, Logitech, Cherry with a lot of informal evidence and no contrary evidence for the following color code:
  • Black = GND
  • White = DATA-
  • Red = +5V
  • Green = DATA+
I trolled Geekhack and all I got was an eponymous SPOS.

Offline ch_123

  • * Exalted Elder
  • Posts: 5860
Making an On-The-Ball Plus
« Reply #16 on: Sun, 03 January 2010, 15:42:38 »
Well, red and black are pretty much a de facto standard for 5V and GND respectively. I'd be very surprised if a company like IBM went against that trend.

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #17 on: Sun, 03 January 2010, 16:08:12 »
I hacked up the mouse plug on my Y-cable and found that it seems to match Ricercar's chart above, but when I put it all together and hooked it up to the computer, the mouse didn't work. It just said it was an "unknown device".
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline ricercar

  • * Elevated Elder
  • Posts: 1697
  • Location: Silicon Valley
  • mostly abides
Making an On-The-Ball Plus
« Reply #18 on: Sun, 03 January 2010, 16:53:30 »
USB 2.0 official specification includes colors:



USB 3.0 official specification includes colors:



So with 3.0 we have low speed, high speed, full speed, and super speed USB. Isn't that intuitive.

By the way, I'm a USB professional. My USB is in your iPod.
« Last Edit: Sun, 03 January 2010, 17:00:08 by ricercar »
I trolled Geekhack and all I got was an eponymous SPOS.

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #19 on: Sun, 03 January 2010, 17:20:03 »
Well I'm lucky with colors then. I tried another chunk of USB cable I had lying around in my computer lab and I'm seeing how that works. If it doesn't work, I'll buy a passive adapter next. And if that doesn't work, I'll get a fancy adapter. Or, maybe I'll do some more fiddling around with it (which is probably what I'll do).
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #20 on: Sun, 03 January 2010, 17:23:22 »
Well, it popped up again as an unknown device. I'll probably do some work on it another day.
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline timw4mail

  • Posts: 1329
    • https://timshomepage.net
Making an On-The-Ball Plus
« Reply #21 on: Sun, 03 January 2010, 18:52:49 »
USB is already starting to become unweildy with backwards-compatibility. I can't imaging USB4 will make things any simpler.
Buckling Springs IBM Model F AT, New Model F 77, Unicomp New Model M
Clicky iOne Scorpius M10, OCN-branded Ducky DK-9008-C, Blackmore Nocturna, Redragon Kumara K552-1, Qtronix Scorpius Keypad, Chicony KB-5181(Monterey)
Tactile Apple AEKII (Cream damped ALPS), Filco FKBN91M/JB (Japanese Tenkeyless), Cherry G84-5200, Cherry G84-4100LPAUS, Datalux Spacesaver(Cherry ML), Redragon Devarajas K556 RGB, Newmen GM711, Poker II (Cherry MX Clear), Logitech G910 Orion Spark, Logitech K840
Linear Lenovo Y (Gateron Red), Aluminum kiosk keyboard (Cherry MX Black)

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #22 on: Mon, 04 January 2010, 14:27:47 »
That could explain it!

Those four wires on the trackball look promising. If you have the time and some USB cable, would you be able to make it into a USB trackball? If that can work then we can have three plugs (2 PS/2, 1 for keyboard, 1 for trackpoint, and 1 usb for tracking ball) on the On-the-ball Plus, and still have a PS/2 pass-through for a mouse.
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #23 on: Tue, 05 January 2010, 13:53:15 »
It takes a lot of work to build a USB converter (Passive adapters are a different story). The best bet is to buy one.

Grafting the M5-2 trackball into the M13 case was the same idea I had in mind as well. Since the M13 has buttons in the front, it's best to let the holes for them be the original ones so they look smoother. It doesn't matter how rough the hole for the trackball is since it'll be all covered up.

The problem with consolidating both PS/2's into one USB is current. I don't know if one USB port can handle all the current an M5-2 trackball and a Model M draw together. I'm concerned about using the PS/2 pass-through on the keyboard for the same reason. They weren't included with M5-x keyboards probably because of all the power the trackball drew compared with the trackpoint, which was originally intended for battery-powered laptops. I think that for reliability's sake, having two PS/2s and 1 USB is our best bet.
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS

Offline ch_123

  • * Exalted Elder
  • Posts: 5860
Making an On-The-Ball Plus
« Reply #24 on: Tue, 05 January 2010, 16:24:03 »
Quote from: microsoft windows;148191
They weren't included with M5-x keyboards probably because of all the power the trackball drew compared with the trackpoint, which was originally intended for battery-powered laptops.


I think it's more likely that they wanted to use the same case as the 1391401 and didn't want to modify it. With the M13, they had to modify it anyway, so they made a new case design.

Trackpoints actually chew up a lot of power, and consequently tend to be quite unreliable with USB adapters.

Offline microsoft windows

  • Blue Troll of Death
  • * Exalted Elder
  • Thread Starter
  • Posts: 3621
  • President of geekhack.org
    • Get Internet Explorer 6
Making an On-The-Ball Plus
« Reply #25 on: Tue, 05 January 2010, 20:40:53 »
That's in interesting concept. I wonder if there's an easy way to measure the draw of the trackballs versus the trackpoints.
CLICK HERE!     OFFICIAL PRESIDENT OF GEEKHACK.ORG    MAKE AMERICA GREAT AGAIN MERRY CHRISTMAS