Patent ID: 7804894

Claim:
A method for adjusting a signal, comprising: applying at least one of a loss compensation for frequency-dependent distortion and an offset compensation for DC-offset distortion to a data signal using an equalizer before or after the distortion occurs to generate an output signal; using a clock signal, sampling the output signal at a sampler to generate a plurality of data values and an error value, each data value comprising either a high value or a low value based on the sampling of the output signal, the error value indicating residue of the distortion based on the sampling of the output signal; selecting one or more filter patterns from a set of a plurality of filter patterns using a controller, each filter pattern comprising a plurality of data values; using the controller, monitoring the output signal for one or more patterns of data values corresponding to the one or more selected filter patterns; using the controller, detecting a pattern of data values in the output signal corresponding to one of the one or more selected filter patterns; and using the controller, adjusting the at least one of the loss compensation and the offset compensation applied to the data signal based on the error value.