I'm running Slackware 14.0. In view of the discontinuation of alsaconf, I created /etc/modprobe.d/alsa.conf with these lines:
alias snd-card-0 snd_hda_intel
alias sound-slot-0 snd_hda_intel
options snd_hda_intel model=auto
# alsactl init
Found hardware: "HDA-Intel", "Realtek ALC887-VD", "HDA: ....."
Hardware is iniatilized using a generic method.
This made me possible to have audio output at the computer rear panal line output jacks.
The problem: I issue these three commands:
$ /usr/bin/amixer -c 0 sset Line,0 100%,100% mute capt
$ /usr/bin/amixer -c 0 sset PCM,0 100%,100% unmute nocap
$ arecord -r 8 -D plughw:0,0
Then I inject signal from my home pre-amplifier into the line input jacks. The result is ascii char 0x7f filling the screen. That is, arecord does not see the input signal. To verify, I do
$ arecord -f CD -D plughw:0,0 > some_file.wav
and play it (I repeat, aplay works fine), and can see I recorded nothing. It is possible that the ALSA configuration did not go so well after all. Now, the amixer settings above have always worked under slackware 12.0. What can possibly be the difference with 14.0?
EDIT: I consulted Sound-HOWTO and Alsa-sound in /usr/doc/Linux-HOWTOs but they are quite obsolete (dated year 2000).