Atomic I/O letters column #100

Originally published 2009, in Atomic: Maximum Power Computing
Reprinted here February 3, 2010
Last modified 16-Jan-2015.
 

You'll need a microscope, and a very small compass...

Recently, I got distracted while setting up gear at a LAN party, and plugged the 4-pin power connector from my Philips IDE enclosure into my X-Craft one. The light came on rather dim, and a high-pitched noise came from the hard drive. I immediately shut it off, and noticed the smell of burning electronics coming from the enclosure.

Furthermore, I then found that I forgot to bring the real adapter for that enclosure. Someone else offered to plug the drive into their PC to test it, and smoke rose from the circuit board of the drive when it was attached.

The enclosure, however, does work with another drive in it, which is a little unexpected. I looked at the power supply I used, and the one that came with the drive, and basically, they have the 12 and 5V pins reversed with regards to each other. Why can't manufacturers just agree?

I presume at this point, the drive is dead. Of course, as things go, there was some un-backed-up data on there that I'd like back. I believe that the drive/platters/heads are all still fine, it's just the controller board on the bottom of the drive that is fried since all the 5V electronics received a rather unwanted 12. I take it that I'd need to search for a drive that is the exact same model, revision and capacity (it's a Samsung HD753LJ RevA 750GB) in order to do this? Or can I be less exact? Do you have experience or any tips with this sort of thing?

Geordie

Answer:
I think more computer failures should involve smoke. If you've got to have some hardware crap out on you, it at least ought to do it in style.

There are several ways in which this precise symptom-set could arise. If I were guessing, I'd say the original connecting of the wrong power supply caused some regulator or chip to fail into a power-pin short-circuit, then the PC's beefier power supply cheerfully gave that component 25 amps or whatever to complete its destruction.

It's likely that most or all of the data on the drive's platters is A-OK, and slightly less likely that the drive remains mechanically functional. It wouldn't surprise me if the motor or heads have been barbecued. I also wouldn't be surprised if a new controller board revived it, though.

Controller-board swaps are, however, a painful process. It's usually quite easy to actually swap the boards (remember to take anti-static precautions; ESD-discharging wrist straps cost almost nothing). It's getting the right board that's the tricky bit.

As you say, you'll need to find not just the right model of drive, but also the same "stepping" and/or firmware revision, which you can probably figure out by looking at the old drive. (A later firmware may also work; an earlier one probably won't.) You shouldn't expect a board-swapped drive to be reliable; bad-block mapping and other low-level voodoo may be messed up, so you should just read the data you need off it and then consign it to the grave.

On the plus side, if you get a board-donor drive and the board doesn't work, you should be able to swap it back onto the donor and thus still have a new, blank drive. But the whole process is unlikely to be worth the effort unless the un-backed-up data on the old drive is very important.

 

You just can't toilet-train 'em

I would like you and your great big brain to explain something that has had me bewildered for many many years. Mouse-poo on the mouse pad.

Whatever the surface, it always appears after some time - smooth round blobs of excrement on the mouse pad, and on the "feet" of my optical mouse. Where do mouses poo from?

I am forever scraping this poo off my mouse pad in a vain attempt to maintain a level of hygiene in the workplace.

Liam

Mouse-wheel crud
You can really taste the sebum!

Answer:
The stuff that accumulates on mouse feet, and also in mouse-wheel grooves and the seams of mouse casings, is your very own creation. If you doubt me, take it for DNA profiling.

If you sit in a chair and are careful to avoid moving at all, you may shed as few as 100,000 flakes of dead skin per minute. Usually, humans shed millions per minute. If you're using some tool, like a mouse, shed skin from your hand will combine with sweat and the oily "sebum" that keeps your skin flexible to make a concoction dubbed "hand salsa" by FPS gamers. And if you leave hand salsa to dry out it becomes a gooey mass, which accumulates in various places.

Count yourself lucky that the stuff at least doesn't stop mice from working any more. The rollers of opto-mechanical mice always used to cake up with delicious little doughnuts of fibre-reinforced hand salsa.

If you want to avoid blobs of crud building up ion your mouse-mat, get one with a more pronounced texture. That'll keep the accumulating crud in the valleys between the texture-bumps.

Until, of course, you fill the valleys up!

 

Pins 1 through 5: IBM MDA output

I've recently got a second PC from a advertising agency that has just gone under. On this PC it has a strange display port, which I thought was a DVI but when I looked closer it's not:

DMS-59 connector

Do you know what it is? I would like to buy an adapter for it.

James

Answer:
It's a DMS-59 connector.

And yes, you ought to be able to plug standard monitors into it with an adapter cable. There should be two DVI outputs on that one connector, and possibly also two analogue "VGA" outputs, but I'm not certain. Most DMS-59 adapters (which shouldn't cost more than about $AU20) are Y-shaped, with two DVI or two VGA connectors, but the analogue video obviously won't work if the card doesn't actually connect those pins to anything.

 

Or just Dremel the heads off

I was trying to find out how to take apart a seemingly impenetrable hard disk drive to remove the magnets and came upon your (very long) discourse on magnets, the universe and everything. Though almost none of it was comprehensible to me (my fault, not yours) I found myself reading to the end because your style was interesting.

Jackie

Hex bit set
The only screws that do not fear a big set of hex bits are ones that cower in narrow holes.

Answer:
Presuming you still want to get into the drive, as I mention at some point in that lengthy piece, you'll probably need a set of "Torx" or "star" screwdrivers; many hard drives (and some other things, like mobile phones) are held together with star screws. You can use hex "Allen keys" in a pinch to remove these screws, but proper Torx drivers work better.

Because hard drives don't have any screws at the bottom of narrow casing holes, you can use cheap quarter-inch hex bits instead of one-piece drivers. But the screws may be too small for any hex bits you can easily buy.

The big hundred-piece bit set in the picture above is a $AU19.95 Jaycar product, catalogue number TD2038. There are lots of other options, too. (I know nothing about those particular Amazon sellers - they were just the first Amazon hits.)

Note that some drives are held together by things other than screws. In the magnets piece, I mention one that was basically just sticky-taped together, with aluminium tape around the seam.

It's definitely worth the effort to get in there, though. Even if you don't care about the lovely precision fasteners and bearings and brushless motor, there are still the pretty platters, the amazingly precise head assembly, and of course the magnets.

 

Try a few hundred write-protected C64 tapes!

As a computer tech, I carry the obligatory folder-full-o-CD-Rs for when some computer needs the application of a specialized utility to set it right - or just when I don't feel like downloading all of it over again. The trouble is that every so often I come across a computer whose CD drive is broken, flaky, or just never existed. However, they all have USB ports, so I've got a USB stick loaded up for them. My question is twofold:

A: how much should I worry about nasty virus-like things jumping onto my thumb drive when I plug it in? and

B: Are there any thumb drives you're aware of with a write-protection feature to prevent that absolutely?

Ben

Answer:
The bulky solution to this problem is an external CD/DVD drive. You can even get USB CD/DVD drives that don't need an external power brick. It's still not very elegant, though.

I don't think it's very likely that your USB drive will be infected with anything, but it's certainly possible. If your own computers don't have auto-run stuff turned on then you needn't worry about anything spreading to your systems, but Joe Average's computer has AutoRun turned on for every possible drive, and there certainly is malware that takes advantage of that. I don't think this is a common malware feature, though.

There are flash drives with write-protect as standard, but I think many of them do it with some cockamamie software utility. I haven't really looked into this since a 16Mb drive cost sixty bucks, though, so there's probably some good option out there with a proper hardware switch.

Personally, though, I'd do this a different way. Just get an SD card and a slimline reader for it. Cheap, small, and it's got a standardised write-protect system.

I haven't done an exhaustive survey, but I think every SD reader has the little leaf-switch arrangement up the side of the slot that senses the tiny sliding write-protect tab on the cards. I've got a few different microSD-to-full-SD adapters here, too, and they've all got the tab, which makes them properly unwritable in two different readers I've tried. MicroSD cards themselves don't have the tab, though; you have to adapt them up to full-SD size.

As with floppy disks in days of yore, the SD write protect system works by mechanical engagement of a physical switch. So it's probably quite easy to open up an SD-card reader and modify it with a bit of tape or glue to regard all cards as write-protected. Or as write-enabled, for that matter.

UPDATE: After this page went up, a couple of readers pointed out to me that the SD-card write-protect tab is not a perfect write-prevention device, because it only works with the consent of the controller and the driver software. It's perfectly possible to make software that can write to a write-protected card.

(Some software does odd things with the write-protect setting. The CHDK replacement digital-camera firmware, with which you can make a variety of point-and-shoot digicams do all sorts of odd things, uses the write-protect bit to signal the camera to boot from the SD card, and is then perfectly happy to write pictures to it even though the write-protect tab is still on.)

One reader also pointed out that it's possible to buy cheap off-brand MP3 players, like this modernised version of the ones I reviewed years ago, that have a hardware write-protect switch on them. It's the same "HOLD" switch that locks the control buttons so you don't press them accidentally.

Another couple of readers recommend the PQI U339 thumb drive, which has a non-bypassable hardware write-protect switch on the end of it. One of them mentioned "it's a unique thrill to plug one into a virus-infested PC and watch all the 'Access denied - please enable write protect on this drive and try again' messages pop up"!

(Australian readers can, as of February 2010, pick up a 4Gb U339 from m'verygoodfriends at Aus PC Market for $AU39.60 delivered - click here to order! That price would be something of a rip-off if this were a generic USB stick, but the write-protect switch is a valuable feature.)

 

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)