CheshireKatt
Posts: 3
Joined: Sat Apr 15, 2017 2:43 pm

Looking for pin-out for Pi Drive 1TB

Sat Apr 15, 2017 2:58 pm

I've purchased a 1tb Pi Drive from WDLabs (specifically, this one: http://wdlabs.wd.com/products/wd-pidriv ... t-edition/), but have had some issues finding pin-out information about it. I've contacted WD support, and they directed me to ask here (which I will admit confuses me a bit, since they're the ones that manufactured it as far as I know), so here I am to see if anyone can provide me this information.

Here's a few images of the drive itself:

The drive info label:
Drive_Top.jpg
Drive info label
Drive_Top.jpg (60.94 KiB) Viewed 1102 times
The pins I'm interested in (circled in red):
Drive_Pins.jpg
Circled drive pins
Drive_Pins.jpg (60.64 KiB) Viewed 1102 times
I'm interested in the function of the pins in those two circled groups (the 12 to the left of the power/usb connector, and the pair to the right).

If anyone can provide me with any information on this I'd appreciate it. In case it's relevant, my goals are to disable the built-in drive activity light, connect an external drive activity light, and ideally find a way to keep the drive from sleeping when the Pi is powered off but the drive is not.

Thanks!

MaxK1
Posts: 1043
Joined: Sun Aug 26, 2012 11:34 pm

Re: Looking for pin-out for Pi Drive 1TB

Sun Apr 16, 2017 6:41 am

I don't know the pinout, but a couple of suggestions:
Remove the LED and solder in some longer wires. Re-attach the LED to the ends.
Try the hdparm command - "hdparm -S 0 /dev/sda" to disable spindown. Not all drives will accept to this command, but it's worth a try...

Is there anything on the underside of the board indicating what those jumpers are?
You are in a maze of twisty little passages, all alike.
When General Failure and Major Disaster get together, Private Parts usually suffers.

MaxK1
Posts: 1043
Joined: Sun Aug 26, 2012 11:34 pm

Re: Looking for pin-out for Pi Drive 1TB

Sun Apr 16, 2017 7:32 am

If you don't want to void the warranty, use a light pipe to get the light from where it is to where you want...
You are in a maze of twisty little passages, all alike.
When General Failure and Major Disaster get together, Private Parts usually suffers.

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Looking for pin-out for Pi Drive 1TB

Sun Apr 16, 2017 7:50 am

Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

CheshireKatt
Posts: 3
Joined: Sat Apr 15, 2017 2:43 pm

Re: Looking for pin-out for Pi Drive 1TB

Sun Apr 16, 2017 5:22 pm

Thanks for all the information! Based on the link provided, it looks like the 12-pin is just a proprietary connector and not really a jumper block. Oh well. :)

I'm not *sure* I can pipe it where I want (was hoping to jumper it to an existing behind-button LED), but maybe I can remove that LED and pipe it straight to that location instead. Worst case I just won't worry about it and will just hide the light.

I've read about, but never used, hdparm. Assuming the drive does accept that command, are there any gotchas I need to know about it? Do I need to take any specific steps to prepare it for disconnecting the power, or just the normal things one would do when unplugging a drive? I assume the command purely turns off idle/disconnect spin-down and doesn't affect its behavior otherwise? (Again, assuming this particular drive supports it.)

Thanks again!

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Looking for pin-out for Pi Drive 1TB

Sun Apr 16, 2017 6:01 pm

https://linux.die.net/man/8/hdparm

Code: Select all

sudo apt-get update
sudo apt-get install hdparm
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

MaxK1
Posts: 1043
Joined: Sun Aug 26, 2012 11:34 pm

Re: Looking for pin-out for Pi Drive 1TB

Sun Apr 16, 2017 6:32 pm

No special considerations - just beware of commands that are flagged as dangerous. They can be! The set spindown timer is not one of the dangerous ones.
You are in a maze of twisty little passages, all alike.
When General Failure and Major Disaster get together, Private Parts usually suffers.

CheshireKatt
Posts: 3
Joined: Sat Apr 15, 2017 2:43 pm

Re: Looking for pin-out for Pi Drive 1TB

Sun Apr 16, 2017 11:30 pm

Perfect. Thanks to everyone that's replied to this thread, it's been really useful. :)

Return to “General discussion”