Comment 44 for bug 582199

Revision history for this message
Forrest Yu (forrest) wrote :

@David:
I tried 4 cases: with and without fw patch, with and without running hda-verb. Recording works in all these cases.
In "Sound Preferences > Input", I can see two items in the "Connector" drop-down list: "Microphone 1" and "Microphone 2". There's no "line in" option. After testing, I found "Microphone 1" and "Microphone 2" correspond the back and front mic hole respectively. There seems no "line in" hole in my OPTIPLEX 380 box.

@jaezcurra:
There is no "configure" file in the hda-verb pack, just "make" will work. Since you are not familiar with the compiling job, let me give a revision of David's instructions:
1) Make sure the package "build-essentials" is installed
2) In your terminal:
    $ wget -c ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/misc/hda-verb/hda-verb-0.3.tar.gz
    $ tar vxzf hda-verb-0.3.tar.gz
    $ cd hda-verb-0.3/
    $ ls # have a glance at the files in the pack, note that there is a "Makefile"
    ChangeLog COPYING hda_hwdep.h hda-verb.c Makefile README
    $ make # this command will use "Makefile"
    gcc -Wall -O2 -g -c -o hda-verb.o hda-verb.c
    gcc -o hda-verb hda-verb.o
    $ ls # you can find an executable file "hda-verb" appears: that's what we want
    ChangeLog COPYING hda_hwdep.h hda-verb hda-verb.c hda-verb.o Makefile README
3) run your "hda-verb":
    $ ./hda-verb /dev/snd/hwC0D0 0x1a 0x701 0
    $ ./hda-verb /dev/snd/hwC0D0 0x1b 0x701 0
    if you're lucky, your system can play sound now
4) add two lines in /etc/rc.local, so that they'll be automatically applied when booting:
    /path/to/hda-verb /dev/snd/hwC0D0 0x1a 0x701 0
    /path/to/hda-verb /dev/snd/hwC0D0 0x1b 0x701 0
    Remember to replace "/path/to/hda-verb" with the actual full path of your "hda-verb".