The audio output port on my laptop just broke and I can no longer use it for my headphones. Does anyone know of a way I can route the sound output through the input instead?
You can try HDA-analyzer
The HDA analyzer tool provides a graphical interface to access the raw HD-audio control, based on pyGTK2 binding. The program gives you an easy-to-use GUI stuff for showing the widget information and adjusting the amp values, as well as the proc-compatible output.
This tool can parse also proc files (/proc/asound/card#/codec*) and output from alsa-info.sh script and monitor mode
Open this command on terminal: