<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
I am requesting your help for a problem I have already spent too
much time with.<br>
Since I performed a reinstallation of a Debian (latest stable
Wheezy) on my laptop, I am now unable to make use of my second
external sound interface, as I used before.<br>
<br>
Many things are already working :<br>
- alsa recognizes both interfaces :<br>
<big><tt><small>> more /proc/asound/cards<br>
0 [Intel ]: HDA-Intel - HDA Intel<br>
HDA Intel at 0xd7000000 irq 45<br>
1 [H46 ]: USB-Audio - Hercules DEEJAY TRIM 4&6<br>
Hercules Hercules DEEJAY TRIM 4&6 at
usb-0000:00:1a.7-4.4, full speed</small></tt></big><br>
<br>
- alsaplayer can correctly play a sound on both interfaces :<br>
<tt>> alsaplayer -d hw:0,0 audio.wav<br>
> alsaplayer -d plughw:1,0 audio.wav</tt><br>
(note the 'plughw' that seems to be necessary to avoid some
'Unavailable hw params' error)<br>
<br>
- my .asoundrc looks like this<br>
<tt>pcm:!default {<br>
type plug<br>
slave.pcm {<br>
type hw<br>
card 1<br>
device 0<br>
subdevice 0<br>
}<br>
}</tt><br>
<br>
- gstreamer-properties test button plays a sound on the card #1 when
the plugin is "ALSA"<br>
<br>
<br>
But the problems are :<br>
<br>
1. gstreamer-properties test button plays a sound on the card #0
when the plugin is "Auto detection"<br>
<br>
2. even when the plugin is "ALSA", rhythmbox and
decibel-audio-player (who both rely on gstreamer) are using the card
#0 <br>
and that is unexpected<br>
<br>
<br>
I would be grateful for your help !<br>
Thanks<br>
<br>
<br>
Here are the modules that are loaded :<br>
<tt>snd_usb_audio 84836 1 <br>
snd_usbmidi_lib 23369 1 snd_usb_audio<br>
snd_seq_midi 12848 0 <br>
snd_seq_midi_event 13316 1 snd_seq_midi<br>
snd_rawmidi 23060 2 snd_seq_midi,snd_usbmidi_lib<br>
snd_hda_codec_hdmi 30824 1 <br>
snd_hda_codec_idt 53792 1 <br>
snd_hda_intel 26259 2 <br>
snd_hda_codec 78031 3
snd_hda_intel,snd_hda_codec_idt,snd_hda_codec_hdmi<br>
snd_hwdep 13186 2 snd_hda_codec,snd_usb_audio<br>
snd_pcm 68083 4
snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi,snd_usb_audio<br>
snd_page_alloc 13003 2 snd_pcm,snd_hda_intel<br>
snd_seq 45126 2 snd_seq_midi_event,snd_seq_midi<br>
snd_seq_device 13176 3 snd_seq,snd_rawmidi,snd_seq_midi<br>
snd_timer 22917 2 snd_seq,snd_pcm<br>
snd 52889 18
snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_rawmidi,snd_usbmidi_lib,snd_usb_audio<br>
soundcore 13065 1 snd<br>
usbcore 128741 7
ehci_hcd,uhci_hcd,usbhid,uvcvideo,snd_usbmidi_lib,snd_usb_audio</tt><br>
<br>
Here are the results of 'aplay -l' and 'aplay -L' :<br>
<tt>**** Liste des Périphriques Matériels PLAYBACK ****<br>
carte 0: Intel [HDA Intel], périphérique 0: STAC92xx Analog
[STAC92xx Analog]<br>
Sous-périphériques: 1/1<br>
Sous-périphérique #0: subdevice #0<br>
carte 0: Intel [HDA Intel], périphérique 3: HDMI 0 [HDMI 0]<br>
Sous-périphériques: 1/1<br>
Sous-périphérique #0: subdevice #0<br>
carte 1: H46 [Hercules DEEJAY TRIM 4&6], périphérique 0: USB
Audio [USB Audio]<br>
Sous-périphériques: 1/1<br>
Sous-périphérique #0: subdevice #0</tt><br>
<br>
<br>
<br>
<tt>null<br>
Discard all samples (playback) or generate zero samples
(capture)<br>
pulse<br>
PulseAudio Sound Server<br>
sysdefault:CARD=Intel<br>
HDA Intel, STAC92xx Analog<br>
Default Audio Device<br>
front:CARD=Intel,DEV=0<br>
HDA Intel, STAC92xx Analog<br>
Front speakers<br>
surround40:CARD=Intel,DEV=0<br>
HDA Intel, STAC92xx Analog<br>
4.0 Surround output to Front and Rear speakers<br>
surround41:CARD=Intel,DEV=0<br>
HDA Intel, STAC92xx Analog<br>
4.1 Surround output to Front, Rear and Subwoofer speakers<br>
surround50:CARD=Intel,DEV=0<br>
HDA Intel, STAC92xx Analog<br>
5.0 Surround output to Front, Center and Rear speakers<br>
surround51:CARD=Intel,DEV=0<br>
HDA Intel, STAC92xx Analog<br>
5.1 Surround output to Front, Center, Rear and Subwoofer
speakers<br>
surround71:CARD=Intel,DEV=0<br>
HDA Intel, STAC92xx Analog<br>
7.1 Surround output to Front, Center, Side, Rear and Woofer
speakers<br>
hdmi:CARD=Intel,DEV=0<br>
HDA Intel, HDMI 0<br>
HDMI Audio Output<br>
sysdefault:CARD=H46<br>
Hercules DEEJAY TRIM 4&6, USB Audio<br>
Default Audio Device<br>
front:CARD=H46,DEV=0<br>
Hercules DEEJAY TRIM 4&6, USB Audio<br>
Front speakers<br>
surround40:CARD=H46,DEV=0<br>
Hercules DEEJAY TRIM 4&6, USB Audio<br>
4.0 Surround output to Front and Rear speakers<br>
surround41:CARD=H46,DEV=0<br>
Hercules DEEJAY TRIM 4&6, USB Audio<br>
4.1 Surround output to Front, Rear and Subwoofer speakers<br>
surround50:CARD=H46,DEV=0<br>
Hercules DEEJAY TRIM 4&6, USB Audio<br>
5.0 Surround output to Front, Center and Rear speakers<br>
surround51:CARD=H46,DEV=0<br>
Hercules DEEJAY TRIM 4&6, USB Audio<br>
5.1 Surround output to Front, Center, Rear and Subwoofer
speakers<br>
surround71:CARD=H46,DEV=0<br>
Hercules DEEJAY TRIM 4&6, USB Audio<br>
7.1 Surround output to Front, Center, Side, Rear and Woofer
speakers<br>
iec958:CARD=H46,DEV=0<br>
Hercules DEEJAY TRIM 4&6, USB Audio<br>
IEC958 (S/PDIF) Digital Audio Output</tt><br>
<br>
<br>
Here is a dump of the XML default key :<br>
<tt><gconfentryfile><br>
<entrylist base="/system/gstreamer/0.10/default"><br>
<entry><br>
<key>audiosink</key><br>
<schema_key>/schemas/system/gstreamer/0.10/default/audiosink</schema_key><br>
<value><br>
<string>alsasink</string><br>
</value><br>
</entry><br>
<entry><br>
<key>audiosink_description</key><br>
<schema_key>/schemas/system/gstreamer/0.10/default/audiosink_description</schema_key><br>
<value><br>
<string>Default</string><br>
</value><br>
</entry><br>
<entry><br>
<key>audiosrc</key><br>
<schema_key>/schemas/system/gstreamer/0.10/default/audiosrc</schema_key><br>
<value><br>
<string>alsasrc</string><br>
</value><br>
</entry><br>
<entry><br>
<key>audiosrc_description</key><br>
<schema_key>/schemas/system/gstreamer/0.10/default/audiosrc_description</schema_key><br>
<value><br>
<string>Default</string><br>
</value><br>
</entry><br>
<entry><br>
<key>chataudiosink</key><br>
<schema_key>/schemas/system/gstreamer/0.10/default/chataudiosink</schema_key><br>
<value><br>
<string>autoaudiosink</string><br>
</value><br>
</entry><br>
<entry><br>
<key>chataudiosink_description</key><br>
<schema_key>/schemas/system/gstreamer/0.10/default/chataudiosink_description</schema_key><br>
<value><br>
<string>Default</string><br>
</value><br>
</entry><br>
<entry><br>
<key>musicaudiosink</key><br>
<schema_key>/schemas/system/gstreamer/0.10/default/musicaudiosink</schema_key><br>
<value><br>
<string>alsasink</string><br>
</value><br>
</entry><br>
<entry><br>
<key>musicaudiosink_description</key><br>
<schema_key>/schemas/system/gstreamer/0.10/default/musicaudiosink_description</schema_key><br>
<value><br>
<string>Default</string><br>
</value><br>
</entry><br>
<entry><br>
<key>videosink</key><br>
<schema_key>/schemas/system/gstreamer/0.10/default/videosink</schema_key><br>
<value><br>
<string>autovideosink</string><br>
</value><br>
</entry><br>
<entry><br>
<key>videosrc</key><br>
<schema_key>/schemas/system/gstreamer/0.10/default/videosrc</schema_key><br>
<value><br>
<string>v4l2src</string><br>
</value><br>
</entry><br>
<entry><br>
<key>visualization</key><br>
<schema_key>/schemas/system/gstreamer/0.10/default/visualization</schema_key><br>
<value><br>
<string>goom</string><br>
</value><br>
</entry><br>
</entrylist><br>
</gconfentryfile></tt><br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Laurent Pouillet
</pre>
</body>
</html>