Patent ID: 7881000

Claim:
A method of automatically setting up a pre-amplifier when the pre-amplifier is installed in a hard disk drive, the method comprising: checking a serial interfacing mode of the pre-amplifier by writing and reading data to and from the pre-amplifier, respectively; checking a chip ID of the pre-amplifier; selecting a vendor code corresponding to the pre-amplifier, from among a plurality of vendor codes stored in a ROM, using the chip ID of the pre-amplifier; downloading default values of the pre-amplifier stored in the ROM to a register of a hard-disk controller; and downloading adaptive codes of the pre-amplifier stored in a disk to the register, wherein the checking of the serial interfacing mode of the pre-amplifier comprises: writing a specific value in the register through the pre-amplifier using a hard disk controller, and by using the default values and adaptive codes downloaded to the register; reading the specific value stored in the register from the register through the pre-amplifier using the hard disk controller; comparing the read value with the specific value; and repeating the writing of the specific value, the reading of the specific value and the comparing of the read value with the specific value until the read value is equal to the specific value.