hi jazzbiker, my problem i can solve manually. but does not work out-of-the-box as is documented in info files of this web-site.
first i followed the advice to load both:
tc@box:~$ tce-load -i alsa-config
alsa-config is already installed!
tc@box:~$ tce-load -i alsa
alsa is already installed!
now my problem was that my intel sound card is the second one (card 1) not the first one (card 0)
tc@box:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC3227 Analog [ALC3227 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
tc@box:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: ALC3227 Analog [ALC3227 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
stopping and re-starting alsa server was not helpfully:
tc@box:~$ sudo /usr/local/etc/init.d/alsasound status
Alsa is not running.
tc@box:~$ sudo /usr/local/etc/init.d/alsasound stop
alsactl: save_state:1595: No soundcards found...
tc@box:~$ sudo /usr/local/etc/init.d/alsasound start
rmmod: can't unload module 'snd_seq': Resource temporarily unavailable
rmmod: can't unload module 'snd_timer': Resource temporarily unavailable
rmmod: can't unload module 'snd_seq_device': Resource temporarily unavailable
rmmod: can't unload module 'snd': Resource temporarily unavailable
^C
this is because only few modules were unloaded, not all of them.
so now only manually loading them back will work (if you know what to load, after checking with lsmod):
tc@box:~$ modprobe soundcore
tc@box:~$ sudo modprobe snd_hda_intel
tc@box:~$ sudo /usr/local/etc/init.d/alsasound status
Alsa is running.
now it works
tc@box:~$ arecord -d 2 123test.wav
Recording WAVE '123test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
tc@box:~$ aplay 123test.wav
Playing WAVE '123test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
so my second problem was that i did NOT successfully make alsa to see Intel HDA before AMD HDMI
tc@box:~$ cat /etc/modprobe.conf
# /etc/modprobe.conf: Modprobe config file.
#
options snd-hda-intel index=1,0
options radeon aspm=1 vce=1 uvd=1 dynclks=Enable
tc@box:~$
maybe syntax options snd-hda-intel index=1,0 is not correct, i need to 'google it' again.
But, we started from here, not solved at the beginning:
tc@box:~$ arecord -c2 -d2 -f dat test.wav
ALSA lib conf.c:3731:(snd_config_hook_load) cannot stat file/directory /usr/local/etc/alsa/cards/aliases.conf
because the folder /usr/local/etc/alsa/cards/ does not exist loading only alsa.tcz, it is created by instaling alsa-conf.tcz