OK, this is fixed now.
All the soundcards are now ordered at my will, and below is a detailed explanation of how I did it.
-------------------------------------------------------------
Following this thread
http://www.linuxquestions.org/questions/linux-hardware-18/default-sound-card-in-ubuntu-564006/in terminal, I typed:
# less /proc/asound/modules
and there were displayed all the soundcards, in my case
0 snd_usb_audio
1 snd_hda_intel
2 snd_hdsp
/proc/asound/modules (END)
Then, in terminal I typed:
# su root
(to get root access, enter password), then:
# leafpad /etc/modprobe.d/alsa-base.conf
Then, I deleted everything under
"# Prevent abnormal drivers from grabbing index 0"
and wrote:
options snd_hdsp index=0
options snd_hda_intel index=1
options snd_usb_audio index=2
Just in case, I also created a document called "sound" (without the quotes) and entered the same data as before
options snd_hdsp index=0
options snd_hda_intel index=1
options snd_usb_audio index=2
and saved it in the same place, ie:
/etc/modprobe.d/
I don't know whether the last step is needed, I did it just in case, as Gmaq mentioned it earlier in this post.
But, it works!
------------------------------------------------------
So now, when I boot AVLinux, Jack starts automatically (with the proper soundcard) and minimized in the tray icon. For that to work, I did the following:
In Jack > Misc, I have enabled the following:
Start Jack audio server on application startup
Enable system tray icon
Start minimized to tray
I run the Xfce Desktop, so in
Applications > Settings > Xfce 4 Settings manager > Session and Startup > Application Autostart
I clicked Add, and then
Name: Jack
Command: /usr/bin/qjackctl
--------------------------------------------
Hope this helps.
Viktor
www.meditera.co.uk