2nd sound card not working Debian/Alsa/Gstreamer/music players
Laurent Pouillet
laurent.pouillet.2013 at gmail.com
Sat Sep 14 06:47:23 PDT 2013
Hello,
I am requesting your help for a problem I have already spent too much
time with.
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.
Many things are already working :
- alsa recognizes both interfaces :
> more /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xd7000000 irq 45
1 [H46 ]: USB-Audio - Hercules DEEJAY TRIM 4&6
Hercules Hercules DEEJAY TRIM 4&6 at
usb-0000:00:1a.7-4.4, full speed
- alsaplayer can correctly play a sound on both interfaces :
> alsaplayer -d hw:0,0 audio.wav
> alsaplayer -d plughw:1,0 audio.wav
(note the 'plughw' that seems to be necessary to avoid some 'Unavailable
hw params' error)
- my .asoundrc looks like this
pcm:!default {
type plug
slave.pcm {
type hw
card 1
device 0
subdevice 0
}
}
- gstreamer-properties test button plays a sound on the card #1 when the
plugin is "ALSA"
But the problems are :
1. gstreamer-properties test button plays a sound on the card #0 when
the plugin is "Auto detection"
2. even when the plugin is "ALSA", rhythmbox and decibel-audio-player
(who both rely on gstreamer) are using the card #0
and that is unexpected
I would be grateful for your help !
Thanks
Here are the modules that are loaded :
snd_usb_audio 84836 1
snd_usbmidi_lib 23369 1 snd_usb_audio
snd_seq_midi 12848 0
snd_seq_midi_event 13316 1 snd_seq_midi
snd_rawmidi 23060 2 snd_seq_midi,snd_usbmidi_lib
snd_hda_codec_hdmi 30824 1
snd_hda_codec_idt 53792 1
snd_hda_intel 26259 2
snd_hda_codec 78031 3
snd_hda_intel,snd_hda_codec_idt,snd_hda_codec_hdmi
snd_hwdep 13186 2 snd_hda_codec,snd_usb_audio
snd_pcm 68083 4
snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi,snd_usb_audio
snd_page_alloc 13003 2 snd_pcm,snd_hda_intel
snd_seq 45126 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 13176 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 22917 2 snd_seq,snd_pcm
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
soundcore 13065 1 snd
usbcore 128741 7
ehci_hcd,uhci_hcd,usbhid,uvcvideo,snd_usbmidi_lib,snd_usb_audio
Here are the results of 'aplay -l' and 'aplay -L' :
**** Liste des Périphriques Matériels PLAYBACK ****
carte 0: Intel [HDA Intel], périphérique 0: STAC92xx Analog [STAC92xx
Analog]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 0: Intel [HDA Intel], périphérique 3: HDMI 0 [HDMI 0]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 1: H46 [Hercules DEEJAY TRIM 4&6], périphérique 0: USB Audio [USB
Audio]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=Intel
HDA Intel, STAC92xx Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
HDA Intel, HDMI 0
HDMI Audio Output
sysdefault:CARD=H46
Hercules DEEJAY TRIM 4&6, USB Audio
Default Audio Device
front:CARD=H46,DEV=0
Hercules DEEJAY TRIM 4&6, USB Audio
Front speakers
surround40:CARD=H46,DEV=0
Hercules DEEJAY TRIM 4&6, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=H46,DEV=0
Hercules DEEJAY TRIM 4&6, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=H46,DEV=0
Hercules DEEJAY TRIM 4&6, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=H46,DEV=0
Hercules DEEJAY TRIM 4&6, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=H46,DEV=0
Hercules DEEJAY TRIM 4&6, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=H46,DEV=0
Hercules DEEJAY TRIM 4&6, USB Audio
IEC958 (S/PDIF) Digital Audio Output
Here is a dump of the XML default key :
<gconfentryfile>
<entrylist base="/system/gstreamer/0.10/default">
<entry>
<key>audiosink</key>
<schema_key>/schemas/system/gstreamer/0.10/default/audiosink</schema_key>
<value>
<string>alsasink</string>
</value>
</entry>
<entry>
<key>audiosink_description</key>
<schema_key>/schemas/system/gstreamer/0.10/default/audiosink_description</schema_key>
<value>
<string>Default</string>
</value>
</entry>
<entry>
<key>audiosrc</key>
<schema_key>/schemas/system/gstreamer/0.10/default/audiosrc</schema_key>
<value>
<string>alsasrc</string>
</value>
</entry>
<entry>
<key>audiosrc_description</key>
<schema_key>/schemas/system/gstreamer/0.10/default/audiosrc_description</schema_key>
<value>
<string>Default</string>
</value>
</entry>
<entry>
<key>chataudiosink</key>
<schema_key>/schemas/system/gstreamer/0.10/default/chataudiosink</schema_key>
<value>
<string>autoaudiosink</string>
</value>
</entry>
<entry>
<key>chataudiosink_description</key>
<schema_key>/schemas/system/gstreamer/0.10/default/chataudiosink_description</schema_key>
<value>
<string>Default</string>
</value>
</entry>
<entry>
<key>musicaudiosink</key>
<schema_key>/schemas/system/gstreamer/0.10/default/musicaudiosink</schema_key>
<value>
<string>alsasink</string>
</value>
</entry>
<entry>
<key>musicaudiosink_description</key>
<schema_key>/schemas/system/gstreamer/0.10/default/musicaudiosink_description</schema_key>
<value>
<string>Default</string>
</value>
</entry>
<entry>
<key>videosink</key>
<schema_key>/schemas/system/gstreamer/0.10/default/videosink</schema_key>
<value>
<string>autovideosink</string>
</value>
</entry>
<entry>
<key>videosrc</key>
<schema_key>/schemas/system/gstreamer/0.10/default/videosrc</schema_key>
<value>
<string>v4l2src</string>
</value>
</entry>
<entry>
<key>visualization</key>
<schema_key>/schemas/system/gstreamer/0.10/default/visualization</schema_key>
<value>
<string>goom</string>
</value>
</entry>
</entrylist>
</gconfentryfile>
--
Laurent Pouillet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130914/920fc981/attachment.html>
More information about the gstreamer-devel
mailing list