Firmware to spin-down HDD?
After days of messing, i've finally got my WL-500gP doing pretty much what I want. However, the one remaining annoyance is that the USB hard drive won't spin down, and to remove it I need to login to the web interface just to say "eject"... which isn't particularly helpful.
So, i'm looking for a new firmware with that implemented. I'm currently using the standard Asus FW and happy enough with that - i need to keep the ability for it to operate as a router (share the WAN connection with several wifi devices), to share a printer, to share a hard drive, and for a wired network device to be on the network too. Other than that, i'll happily lose all the other features.
Are there any firmwares out there that can do that, and that are suitable for a linux-novice (i've played a teeny bit with Linux, and can get a friend to explain bits of it over the phone, but not experienced myself).
I have read around this and other forums about the problem, and it does seem to be possible, but I can't do anything with the standard firmware, and the most common Oleg one doesn't seem to include sharing the USB drive. Also, I only have a laptop so can't directly connect the drive to an IDE interface to change the HDPARAM settings.
Any suggestions very gratefully received! :)
David
Working: Ritmo CE-3515 with Seagate 320Gb IDE HDD
Hi All,
Xander, thanks for the great tutorial! Worked perfectly. My results:
Working
HDD: Seagate 320Gb IDE
Box: Ritmo CE-3515 (generic 3.5in IDE enclosure, @ $25 AUD)
cat /proc/scsi/usb-storage-0/0
Code:
Host scsi0: usb-storage
Vendor: Prolific Technology Inc.
Product: Mass Storage Device
Serial Number: 0
Protocol: Transparent SCSI
Transport: Bulk
GUID: 067b25070000000000000000
Attached: Yes
From cat /proc/bus/usb/devices : Vendor=067b ProdID=2507 Rev= 1.00
I was actually surprised that such a cheap/generic HDD box would support HDD idling!
Thanks,
Matt
spindown on USB enclosures with Cypress chip
Hi,
regarding to USB enclosures with Cypress chipset, there might be a chance with following command:
/usr/local/sbin/scsi-start 0 --pc=2 /dev/scsi/host0/bus0/target0/lun0/disc
if someone has the knowledge how to program USB access, there is a special feature in the Cypress chips to pass-through ATA commands. Details are in the AT2LP rev C datasheet might be only a few lines of code for a pro....
also the chip has a register for setting autom. spindown value on ATA-initialisation, but I never got it to work....
schufti
Spindown via cypres-usb chipset
I did some experimenting:
using my pc (ubuntu feisty fawn), I was not able to spin down the harddisk with the scsi-tools either (just as under kamikaze on a wl-500gP).
the lsusb output of the external HD is:
ID 04b4:6830 Cypress Semiconductor Corp. USB-2.0 IDE Adapter
Using the sg3-utils of ubuntu (http://sg.torque.net/sg/sg3_utils.html)
i did manage to make the disk spin down (but it didn't spin up until
after a reset of the drive)
I'm now trying to make a package out of it, but haven't finished yet.
Sarotech HardBox + Seagate Barracuda 7200.10
Working
Host scsi0: usb-storage
Vendor: Prolific Technology Inc.
Product: ATAPI-6 Bridge Controller
Protocol: Transparent SCSI
Transport: Bulk
Attached: Yes