Atomic I/O letters column #41

Originally published in Atomic: Maximum Power Computing
Reprinted here January 2005.
Last modified 16-Jan-2015.

 

15 + 6 + 6 = ...15?

I've recently bought a KVM switch to hook my PCs together. While connecting them to the switch I noticed that the port for the special KVM cables that go to the PCs (the cables split into video, keyboard and mouse connections) has the same number of pins (15) as the monitor connectors do.

How can this be? If the keyboard and mouse connectors have six pins each and the monitor connectors 15, then shouldn't the KVM cable connector that connects to the switch need 27 pins?

Mark

Answer:
Yes, if all of the pins on the plugs were (a) in use and (b) different. But they aren't.

Even if you take the most-pins-connected version of the HD15 "VGA" pinout (we still call it VGA, even though we're not quite running 640 by 480, 16 colours any more...), with a couple of pins devoted to monitor ID, the connector still has one unused pin. That's pin nine, which is the "key" pin that isn't even present on many VGA plugs. There are also no fewer than seven pins that're all grounds. Many cheap video extension leads and KVMs don't pass through the monitor ID pins, either, but let's assume that this one does.

The seven grounds are all tied together, and connected to the plug housings (if the housings are metal) and to the cable braid; there may also be one ground wire inside the cable. So there's quite a lot of copper devoted to the ground pins in an average VGA lead, but it's all connected together and so only counts as one conductor. Delete the unused pin and shrink the grounds to one pin, and you've got seven pins free on a 15 pin connector.

PS/2 mouse and keyboard connectors (and the old, large AT keyboard connector too, which is only mechanically different from PS/2) only need four pins - data, ground, +5V and clock. The PS/2 connector has two unused pins; the AT keyboard connector has one unused pin. For these connectors, ground, +5V and clock can be shared, so to implement two connectors you only need five conductors. And if you want to be a real penny-pincher, the PS/2 ground can be shared with the video ground.

Hence, with a minimal layout, you can squeeze full-spec "VGA" and a pair of PS/2 sockets into only 12 pins!

Find a whole bunch of pinouts, including the abovementioned, here.

 

Cone of silence

I was wondering if you could explain in plain English, or as near to it as possible, how noise cancelling headphones work. I've had a look at quite a few manufacturers' Web sites and did a quick Google search, but I can't find an easy-to-understand explanation.

They all mention that the headphones measure the incoming external noise then produce an "out of phase" sound to cancel it. What does that mean? How do the headphones perform this function? It seems like there ought to be lots of fancy electronics hidden inside them, but I don't see where they'd be packed in.

Michael

Answer:
The theory for noise cancelling headphones is actually pretty simple. The practice is a bit messier.

In theory, microphones mounted on the headphones (often on the backs of the ear-cups) listen to ambient noise. That signal goes to a processing module that reverses the waveform of the noise, adds that reversed waveform to the input signal (your music), and sends the result to the headphones. The processing module runs from battery power, and can be part of the headphones, for full-size units. For small headphones, it has to be a separate object.

PXC 250

Small noise-cancelling headphones need a separate electronics module.

PXC 250 circuit board

Here's one I peeled earlier.

The reversed waveform causes the headphone drivers to vibrate out of phase with the noise - when a noise-sound wavefront comes in, the drivers move outwards, and vice versa. Think of it like waves in a bathtub; you can make waves with one hand, and cancel them by moving the other hand against them.

Result, in theory: No sound but your music!

Result, in practice: Somewhat quieter bass and midrange noise.

This is because noise cancelling is harder and harder to do as the frequency of the noise gets higher. Most noise cancelling systems only affect noise below about 1000Hz. The headphones have to physically block everything above that, which means they need to be full-sized "circumaural" units that seal well around the ears. Noise cancelling "canalphones" that're poked right into the ear canals can also get a good seal, but they're so small that they can have problems isolating the noise-sampling microphones from the drivers.

 

Sibling assistance

I've happily used Windows XP Pro without any problems, but now one of my siblings has unchecked the "always ask before opening files of this type" box for Zip files in Internet Explorer. How do I get IE to go back to just asking me where to save Zip files when I click on them?

Adon

Answer:
From any Explorer folder window, go to Tools > Folder Options > File Types. Click the Advanced button, scroll down to the entry for Zip files, and check the "Confirm open after download" box.

 

USB power!

I've got a 40GB iRiver H120 MP3 player. I want to know whether a USB 2.0 port can provide enough power to charge it. The iRiver AC charger is rated at 5 volts, 2 amps. I recently bought a USB 2 PCI card and it came with a cable. One end fits nicely in the USB 2 port, and the other fits very nicely in the iRiver. Any idea whether the port can output enough and if the cable would work?

Calvin

Answer:
iRiver say you can't do this.

They, of course, have not hacked up a USB-to-barrel-plug adapter to connect USB power to the DC input socket on the player. Their argument is dumb, too; they say that USB can't run the device, but that doesn't mean it can't charge it. The player should be able to charge from any five volt source with enough current to run its lithium ion battery management hardware, for which USB should be perfectly adequate.

USB power is 5V, 0.5A, per powered port (with occasional eccentric exceptions). Somebody might have made a PC USB controller with a higher current limit, but I haven't heard of such a thing.

It'd probably take longer to charge that way, but it still ought to work. Unless, of course, the charging hardware is not smart enough to handle a slower charge. Which it probably isn't.

In any case, there's no way that just plugging the thing into your USB adapter with that neat-o cable will work. The iRiver player is not made to accept charge current through its data connector.

 

Triple-header

Is it possible to run three mobos off one PSU? As in, cut the cable outside the PSU, run the wires into one of those plastic cable joiners (the ones with the screws that you get from hardware stores), and then run three sets of cables from the other end? If all three motherboards power up at once, that's not a problem. I assume most motherboards don't draw more than 100-150 watts, so a 400 watt PSU should work. Is it possible?

Dan

Answer:
Yes, this is technically possible. But, obviously, you mustn't ask for more power than the PSU can deliver. The most likely source of problems here, assuming you're not running giant banks of high powered fans or eight hard drives off each board, is the CPU power supply.

This used to practically always mean the 3.3 volt rail, but nowadays a lot of motherboards use the 5V rail to power the CPU, and Pentium 4 systems run the CPU from twelve volts through a DC-to-DC converter. Similar shenanigans go on for powering other components; don't assume your video card's running from 3.3V, even if it doesn't have its own power connector.

There's not much difference between 3.3V and 5V ratings; modern PSUs have an aggregate rating for those two rails. If a PSU doesn't mention this rating on its spec sticker, it's probably not a good PSU.

If you really want to push the limits, then you might be able to get close to "perfectly" loading up a medium-rated PSU by powering a couple of Socket A boards and one P4 board from it, or something, but this is not really a good idea. It'd be much better to get a brand name PSU with the highest rating you can find to minimise the chance of flakiness or failure, especially if you're going to create a voltage drop by adding the three-way Y-adapter you're considering.

You only need to worry about the above if you're considering running recent CPUs. If you only want three low power boards, you're much less likely to have problems. Weedy little C3 and Eden systems count here, of course, but so does rather faster cheap-on-eBay hardware like 1GHz P-IIIs or even, if you're careful, slow Athlon XPs, as long as you don't want them all to have fifty watt video cards. You could even run some Macintosh motherboards, with a little rewiring.

I'm figuring you're building a cluster-in-a-box sort of setup, here, so you're probably more about MIPS per dollar than frames per second. Surprisingly enough, you actually probably could make your Y-adapter out of hardware store screw-terminal strips and have it work just fine, provided you keep all of the separate conductors for each rail separate. If you tried to "economise" by tying, say, all of the 5V wires together, you could end up passing an awful lot of current through one little two-cent screw terminal.

 

Other letters columns

I/O #1
I/O #2
I/O #3
I/O #4
I/O #5
I/O #6
I/O #7
I/O #8
I/O #9
I/O #10
I/O #11
I/O #12
I/O #13
I/O #14
I/O #15
I/O #16
I/O #17
I/O #18
I/O #19
I/O #20
I/O #21
I/O #22
I/O #23
I/O #24
I/O #25
I/O #26
I/O #27
I/O #28
I/O #29
I/O #30
I/O #31
I/O #32
I/O #33
I/O #34
I/O #35
I/O #36
I/O #37
I/O #38
I/O #39
I/O #40
I/O #41
I/O #42
I/O #43
I/O #44
I/O #45
I/O #46
I/O #47
I/O #48
I/O #49
I/O #50
I/O #51
I/O #52
I/O #53
I/O #54
I/O #55
I/O #56
I/O #57
I/O #58
I/O #59
I/O #60
I/O #61
I/O #62
I/O #63
I/O #64
I/O #65
I/O #66
I/O #67
I/O #68
I/O #69
I/O #70
I/O #71
I/O #72
I/O #73
I/O #74
I/O #75
I/O #76
I/O #77
I/O #78
I/O #79
I/O #80
I/O #81
I/O #82
I/O #83
I/O #84
I/O #85
I/O #86
I/O #87
I/O #88
I/O #89
I/O #90
I/O #91
I/O #92
I/O #93
I/O #94
I/O #95
I/O #96
I/O #97
I/O #98
I/O #99
I/O #100
I/O #101
I/O #102
I/O #103
I/O #104
I/O #105
I/O #106
I/O #107
I/O #108
I/O #109
I/O #109
I/O #110
I/O #111
I/O #112
I/O #113
I/O #114
I/O #115
I/O #116
I/O #117
I/O #118
I/O #119
I/O #120
I/O #121
I/O #122
I/O #123
I/O #124
I/O #125
I/O #126
I/O #127
I/O #128
I/O #129
I/O #130
I/O #131
I/O #132
I/O #133
I/O #134
I/O #135
I/O #136
I/O #137
I/O #138
I/O #139
I/O #140
I/O #141
I/O #142
I/O #143
I/O #144
I/O #145
I/O #146
I/O #147
I/O #148
I/O #149
I/O #150
I/O #151
I/O #152
I/O #153
I/O #154
I/O #155
I/O #156
I/O #157
I/O #158
I/O #159
I/O #160
I/O #161
I/O #162
I/O #163
I/O #164
Dan's Data letters #1
Dan's Data letters #2
Dan's Data letters #3
Dan's Data letters #4
Dan's Data letters #5
Dan's Data letters #6
Dan's Data letters #7
Dan's Data letters #8
Dan's Data letters #9
Dan's Data letters #10
Dan's Data letters #11
Dan's Data letters #12
Dan's Data letters #13
Dan's Data letters #14
Dan's Data letters #15
Dan's Data letters #16
Dan's Data letters #17
Dan's Data letters #18
Dan's Data letters #19
Dan's Data letters #20
Dan's Data letters #21
Dan's Data letters #22
Dan's Data letters #23
Dan's Data letters #24
Dan's Data letters #25
Dan's Data letters #26
Dan's Data letters #27
Dan's Data letters #28
Dan's Data letters #29
Dan's Data letters #30
Dan's Data letters #31
Dan's Data letters #32
Dan's Data letters #33
Dan's Data letters #34
Dan's Data letters #35
Dan's Data letters #36
Dan's Data letters #37
Dan's Data letters #38
Dan's Data letters #39
Dan's Data letters #40
Dan's Data letters #41
Dan's Data letters #42
Dan's Data letters #43
Dan's Data letters #44
Dan's Data letters #45
Dan's Data letters #46
Dan's Data letters #47
Dan's Data letters #48
Dan's Data letters #49
Dan's Data letters #50
Dan's Data letters #51
Dan's Data letters #52
Dan's Data letters #53
Dan's Data letters #54
Dan's Data letters #55
Dan's Data letters #56
Dan's Data letters #57
Dan's Data letters #58
Dan's Data letters #59
Dan's Data letters #60
Dan's Data letters #61
Dan's Data letters #62
Dan's Data letters #63
Dan's Data letters #64
Dan's Data letters #65
Dan's Data letters #66
Dan's Data letters #67
Dan's Data letters #68
Dan's Data letters #69
Dan's Data letters #70
Dan's Data letters #71
Dan's Data letters #72
Dan's Data letters #73
Dan's Data letters #74
Dan's Data letters #75
Dan's Data letters #76
Dan's Data letters #77
Dan's Data letters #78
Dan's Data letters #79
Dan's Data letters #80
Dan's Data letters #81
Dan's Data letters #82
Dan's Data letters #83
Dan's Data letters #84
Dan's Data letters #85
Dan's Data letters #86
Dan's Data letters #87
Dan's Data letters #88
Dan's Data letters #89
Dan's Data letters #90
Dan's Data letters #91
Dan's Data letters #92
Dan's Data letters #93
Dan's Data letters #94
Dan's Data letters #95
Dan's Data letters #96
Dan's Data letters #97
Dan's Data letters #98
Dan's Data letters #99
Dan's Data letters #100
Dan's Data letters #101
Dan's Data letters #102
Dan's Data letters #103
Dan's Data letters #104
Dan's Data letters #105
Dan's Data letters #106
Dan's Data letters #107
Dan's Data letters #108
Dan's Data letters #109
Dan's Data letters #110
Dan's Data letters #111
Dan's Data letters #112
Dan's Data letters #113
Dan's Data letters #114
Dan's Data letters #115
Dan's Data letters #116
Dan's Data letters #117
Dan's Data letters #118
Dan's Data letters #119
Dan's Data letters #120
Dan's Data letters #121
Dan's Data letters #122
Dan's Data letters #123
Dan's Data letters #124
Dan's Data letters #125
Dan's Data letters #126
Dan's Data letters #127
Dan's Data letters #128
Dan's Data letters #129
Dan's Data letters #130
Dan's Data letters #131
Dan's Data letters #132
Dan's Data letters #133
Dan's Data letters #134
Dan's Data letters #135
Dan's Data letters #136
Dan's Data letters #137
Dan's Data letters #138
Dan's Data letters #139
Dan's Data letters #140
Dan's Data letters #141
Dan's Data letters #142
Dan's Data letters #143
Dan's Data letters #144
Dan's Data letters #145
Dan's Data letters #146
Dan's Data letters #147
Dan's Data letters #148
Dan's Data letters #149
Dan's Data letters #150
Dan's Data letters #151
Dan's Data letters #152
Dan's Data letters #153
Dan's Data letters #154
Dan's Data letters #155
Dan's Data letters #156
Dan's Data letters #157
Dan's Data letters #158
Dan's Data letters #159
Dan's Data letters #160
Dan's Data letters #161
Dan's Data letters #162
Dan's Data letters #163
Dan's Data letters #164
Dan's Data letters #165
Dan's Data letters #166
Dan's Data letters #167
Dan's Data letters #168
Dan's Data letters #169
Dan's Data letters #170
Dan's Data letters #171
Dan's Data letters #172
Dan's Data letters #173
Dan's Data letters #174
Dan's Data letters #175
Dan's Data letters #176
Dan's Data letters #177
Dan's Data letters #178
Dan's Data letters #179
Dan's Data letters #180
Dan's Data letters #181
Dan's Data letters #182
Dan's Data letters #183
Dan's Data letters #184
Dan's Data letters #185
Dan's Data letters #186
Dan's Data letters #187
Dan's Data letters #188
Dan's Data letters #189
Dan's Data letters #190
Dan's Data letters #191
Dan's Data letters #192
Dan's Data letters #193
Dan's Data letters #194
Dan's Data letters #195
Dan's Data letters #196
Dan's Data letters #197
Dan's Data letters #198
Dan's Data letters #199
Dan's Data letters #200
Dan's Data letters #201
Dan's Data letters #202
Dan's Data letters #203
Dan's Data letters #204
Dan's Data letters #205
Dan's Data letters #206
Dan's Data letters #207
Dan's Data letters #208
Dan's Data letters #209
Dan's Data letters #210



Give Dan some money!
(and no-one gets hurt)