Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set Automatic Acoustic Management level on hard drives' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set Automatic Acoustic Management level on hard drives
Authored by: alexwegel on Oct 23, '04 11:56:50PM

Hi
Sorry for the delay..

Basically, if the drive supports the AAM feature set, and you manage to send the command to the drive, then it should work.

You should read my correction for applying the command to a slave-drive (which boil down to having to use "10ef" instead of "ef" in the command line, in addition to the changed drive address).

To get the correct address for the second drive, you could try to find the address of the first drive (the one that worked, using the "hd" alias), and either typing a modified version of it (the same path, but with "disk@1" instead of "disk@0" at the end).
There might also be an alias defined for that second drive (see below), which you could use to save most of the typing (i found one called "ultra1" here).

For the other two drives, i'm not sure - how are they connected?

To find some or all of the information needed, while being in OpenFirmware, you can use the following commands:

devalias

Shows all defined shortcuts and the paths they point to
("hd" should be among them)

dev /
show-devs
device-end

- First "change directory" to the root of the device tree
- Then dump all devices from there, recursively (use ctrl-S and ctrl-Q to
pause and continue listing)
- As the last thing, get out of the device tree, to have the normal OFW
environment available again.

Maybe this helps finding the path to drives 3 and 4.

For the drive 2, there's a chance that the line i also posted in my correction just works:


0 0 0 here 428000 , 10ef , 4000 1 apply ata-command ultra1 .

As an example how the command might look given a full path instead of an alias:

0 0 0 here 428000 , ef , 4000 1
apply ata-command /pci@f2000000/pci-bridge@D/mac-io@7/ata-4@1f000/disk@0 .

(If you enter the command on two lines, make sure you keep "apply ata-command" and the device alias/path all on the same line).

HTH
Alex



[ Reply to This | # ]