Talk:Advanced Linux Sound Architecture
Adding udev rules for usb sound cards?
I used this udev rule to allow for hotplugging of my usb card and defaulting to the system card if the usb card is not present. http://kitenet.net/~joey/blog/entry/random_tip_redirecting_alsa_to_usb_sound_card/ Someone might want to add this to the wiki. I don't have time now but if I get it I will. Lmn123 01:26, 24 January 2012 (EST)
Modified HDMI Does Not work.
I added the line that included just restarting alsa. It seemed weird that the only method offered was to restart the entire system. If this causes any harm please correct me. I have tried this myself and it seems to work just fine.--Shoe 04:54, 16 August 2011 (EDT)
EDIROL UA-1A and Intel HDA: What worked for me
I will put this here as I have not yet understood the magic of ~/.asoundrc and because I am not sure if it were a good addition to the article.
After trying countless of configurations, I found one that allows me to 1) set the default sound card, 2) play multiple sounds simultaneously for both devices, 3) still use alsamixer (many configs gave me "cannot open mixer: Invalid argument").
options snd-hda-intel index=0 options snd-usb-audio index=1
defaults.pcm.!card 0 # set to 1 for snd-usb-audio defaults.ctl.!card 0 # set to 1 for snd-usb-audio defaults.pcm.!device 0 defaults.ctl.!device 0
-- Markus00000 10:26, 24 November 2011 (EST)
user in audio group
the wiki page says:
Users with a local login (at a virtual terminal or a display manager) have permission to play audio and change mixer levels. To allow this for a remote login, the user has to be added to the audio group.
But once my sound had disappeared (I believe after trying to install gnome / I use fluxbox). The sound was actually working, but only when logged as root. The way I solved the problem was by adding my user to the group audio. Besides the sound, the alsamixer run by the user had also much less controls that before the pane, but the controls came back after I put the user in the audio group.
Therefore, I believe this page should encourage people to add the user to the audio group to avoid such problems. Would it be this correct? Would it be OK?