Results 1 to 10 of 10

Thread: Use copy-button to spin down hdd?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    It's 100% possible. I've tinkered with the gpio configuration on the box and was able to read the state of the copy button as well as blink the power light.

    To blink the power LED:

    1. First get it's i/o state and value so it can be put back. I stored them in variables to put them back later:

    DIRECTION=`cat /proc/miscio/gpio_1_config | grep direction`
    VALUE=`cat /proc/miscio/gpio_1`

    2. Set the direction to "out"

    echo "direction=out" > /proc/miscio/gpio_1_config

    3. Set to 0/1 to turn on/off respectively

    echo "0" > /proc/miscio/gpio_1
    echo "1" > /proc/miscio/gpio_1

    4. Reset the gpio settings to the values from step 1

    echo ${VALUE} > /proc/miscio/gpio_1
    echo ${DIRECTION} > /proc/miscio/gpio_1_config

    To find the copy button, cycle through the various /proc/miscio/gpio_X (similar to step #1) while you press the button. You'll find it quickly.

    I had the copy, ez-setup, and power pins mapped out, but unfortunately I lost my notes... ;-(

    - K.C.
    Last edited by kfurge; 24-01-2007 at 02:36.

Similar Threads

  1. Who is pressing the camera button ?
    By max2950 in forum WL-500g Q&A
    Replies: 0
    Last Post: 19-11-2006, 07:59
  2. 250GB LaCie HDD
    By BugBoy in forum WL-500g Q&A
    Replies: 7
    Last Post: 31-03-2006, 21:19
  3. WL-HDD copy data TO a USB Card Reader?
    By cominss in forum WL-HDD Q&A
    Replies: 2
    Last Post: 29-04-2005, 18:07
  4. Flashing Oleg's Firmware in WL HDD
    By hugo in forum WL-HDD Custom Development
    Replies: 29
    Last Post: 21-10-2004, 14:55
  5. USB HDD connects as Webcam
    By Oldchatterman in forum WL-500g Q&A
    Replies: 12
    Last Post: 19-10-2004, 17:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •