An integrated selectable waveguide device is shown that compensates for
misalignment problems between an output optical port and an input optical
port. In one example, the output port is part of an active optical device
and the input port is part of a passive optical device, and both devices
are combined in a single module to form an integrated optical device. The
integrated selectable waveguide device has a plurality of selectable
waveguide paths that can be controllably used to route an optical signal
from the active device into the passive device, though the two devices are
misaligned (e.g., transversely offset) in the module. An optimum
selectable waveguide path correcting for the misalignment is chosen
through testing the output of the module for maximum signal intensity at
each of the plurality of selectable waveguide paths.