Mechanically Inclined (3.5e Feat)
From D&D Wiki
Mechanically Inclined [General]
You can figure out how things work and how to fix them. If you don't have the correct item at hand to fix a machine or an item, you can use something similar to provide a temporary fix.
Benefit: You can fix a broken item with a successful Disable Device check. The DC is determined by the DM.