Hi, I have Debian Etch on an ASUS P5B system with an onboard sound-card (hda-intel) and a Terratec Phase 22 card in a PCI slot (ice1724). I have added the following lines to /etc/modprobe.d/sound : alias snd-card-0 snd-ice1724 options snd-ice1724 index=0 alias snd-card-1 snd-hda-intel options snd-hda-intel index=1 ..consequently the Phase 22 (ice1724) is the default card.
My problem is that 'default' is the only card I can use with ALSA. A command like 'aplay -D hw:0,0 test.wav' results in an error. I cannot direct sound from any program to a card of my choice. When I set up MPD to use hw:0,0 or hw:1,0 the program does not play any music at all. Here is the output of some commands: # asoundconf list Names of available sound cards: (no cards are listed) # aplay -D hw:0,0 test.wav Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 11025 Hz, Mono aplay: set_params:904: Sample format non available ('aplay test.wav' works fine) # aplay -l **** List of PLAYBACK Hardware Devices **** card 0: T22 [Terratec PHASE 22], device 0: ICE1724 [ICE1724] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: T22 [Terratec PHASE 22], device 1: IEC1724 IEC958 [IEC1724 IEC958] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 # cat /proc/asound/modules 0 snd_ice1724 1 snd_hda_intel I tried using aliases in .asoundrc pcm.TP22 { type hw card 0 device 0 } pcm.Intel { type hw card 1 device 0 } ..but using, for instance 'aplay -D TP22 test.wav' gives the same error as shown above. There must be something wrong with my setup - and the result is that I cannot use the non-default card without changing a configuration file and restarting ALSA. I hope one of you can help me out. Thanks in advance, -- Johan Plain text email and 'jayes' in the subject line will get you round my spam filters. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user