To change the jack from input to output for any computer or laptop I followed this question:

How do I change which audio jacks are used for input and output?

But the Python script does not work. This is the message I get:

$ sudo python run.py
Using temporary directory: /dev/shm/hda-analyzer
You may remove this directory when finished or if you like to
download the most recent copy of hda-analyzer tool.
Downloading file hda_analyzer.py
Downloading file hda_guilib.py
Downloading file hda_codec.py
Downloading file hda_proc.py
Downloading file hda_graph.py
Downloading file hda_mixer.py
Downloaded all files, executing hda_analyzer.py
Traceback (most recent call last):
  File "/dev/shm/hda-analyzer/hda_analyzer.py", line 36, in <module>
    from hda_codec import HDACodec, HDA_card_list, HDA_Exporter_pyscript, \
  File "/run/shm/hda-analyzer/hda_codec.py", line 330
IndentationError: expected an indented block
  • This is clearly a bug in the script from the ALSA project and should be reported there. As such this question is off topic here (seeFAQ). – Takkat May 1 '13 at 12:29

Fixed all the basic problems and manged to open the GUI.

sudo wget -O /run/shm/hda-analyzer/hda_codec.py http://ideone.com/plain/I0Tje0

And then do

sudo python run.py

  • Oops. I ll try and give the diff output – thefourtheye May 1 '13 at 12:39
  • Uploaded it to ideone :) – thefourtheye May 1 '13 at 12:50
  • Hope this is an unbreakable link then ;) – Takkat May 1 '13 at 12:51
  • Yup. Ideone is an awesome website. Please try that, if you haven’t yet. – thefourtheye May 1 '13 at 12:53
  • how do i save it – Scott Hunt May 1 '13 at 13:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.