[PlanetCCRMA] problem with ALSA and RME multiface

gryphius.ginsberg gryphius.ginsberg@free.fr
Fri Aug 13 07:31:02 2004


This is a multi-part message in MIME format.
--------------020107080802020300090807
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Fernando Pablo Lopez-Lezcano a écrit :

>On Thu, 2004-08-12 at 15:03, gryphius.ginsberg wrote:
>  
>
>>Mark Knecht a écrit :
>>    
>>
>>>gryphius.ginsberg wrote: 
>>>      
>>>
>>>>Mark Knecht a écrit : 
>>>>i did it with hdspmixer (all sound is open)... but i ear nothing
>>>>(i use output plugin ALSA 1.2.10 in xmms) 
>>>>        
>>>>
>>>1) So do you see xmms sending audio to an input of the HDSP? That
>>>should show up in the middle row to show the card is receiving
>>>audio.
>>>      
>>>
>>no, when i try to play something xmms refuse and the message is :
>>make sure that :
>>1 your sound card is correctly configured
>>2 you set the good output plugin
>>3 no other program stop the sound card
>>    
>>
>
>I'm not sure if xmms's alsa plugin can deal with multichannel soundcards
>properly. That was a problem in the past (a lot of the alsa software
>used to assume the world was "stereo" and would not properly query for
>the number of channels the soundcard required to be sent). 
>
>Try something different, perhaps just aplay a wav file just to check
>that sound is working. Or start jack and use, for example, hydrogen and
>one of its demo patterns. 
>
ok i tried

[root@localhost root]#cat /etc/modules.conf

# --- ALSA configuration
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-hdsp
alias snd-card-1 snd-intel8x0
alias snd-card-2 snd-usb-audio
#--- OSS compatibility alias
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
alias sound-slot-2 snd-card-2
alias sound-service-2-0 snd-mixer-oss
alias sound-service-2-3 snd-pcm-oss
alias sound-service-2-12 snd-pcm-oss
#--- Options
options snd major=116 cards_limit=3
options snd-hdsp index=0
options snd-intel8x0 index=1
options snd-usb-audio index=2
#--- Keep modules from being autocleaned
add options -k snd-card-0
add options -k snd-card-1
add options -k snd-card-2
#--- ALSA configuration END

alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias ieee1394-controller ohci1394
alias scsi_hostadapter sbp2


[root@localhost root]# jackd -d alsa
jackd 0.98.0
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
 
JACK compiled with System V SHM support
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
ALSA lib pcm_hw.c:1057:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: 
No such device
jackd: pcm.c:690: snd_pcm_nonblock: Assertion `pcm' failed.
Abandon

[root@localhost root]# hdsploader
hdsploader - firmware loader for RME Hammerfall DSP cards
Looking for HDSP + Multiface or Digiface cards :
Card 0 : RME Hammerfall DSP at 0x40800000, irq 11
Upload firmware for card hw:0
Firmware uploaded for card hw:0
Card 1 : SiS SI7012 at 0xa800, irq 11

why are the twice cards on the same irq ?

[root@localhost root]# xmms
 
** WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM
 
** WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM
 
Gtk-CRITICAL **: file gtkcombo.c: line 849 
(gtk_combo_set_popdown_strings): assertion `strings != NULL' failed.
Message: alsa_setup(): Cannot set mmap'ed mode: Argument invalide. 
falling back to direct write
 
** WARNING **: alsa_setup(): Cannot set direct write mode: Argument invalide
 
Gtk-CRITICAL **: file gtkcombo.c: line 849 
(gtk_combo_set_popdown_strings): assertion `strings != NULL' failed.
 
** WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM
after JACK_Close()

What's the problem with PCM ?

[root@localhost root]# aplay 
/home/gryphius/bordel/1090492216_everybodyclip.wav
Playing WAVE '/home/gryphius/bordel/1090492216_everybodyclip.wav' : 
Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

it's ok, i hear sound but it make a little saturation in the hdsp mixer 
why ?

>-- Fernando
>
>
>_______________________________________________
>PlanetCCRMA mailing list
>PlanetCCRMA@ccrma.stanford.edu
>http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>
>
>  
>


--------------020107080802020300090807
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
Fernando Pablo Lopez-Lezcano a &eacute;crit&nbsp;:<br>
<blockquote type="cite"
 cite="mid1092349738.28436.340.camel@cmn37.stanford.edu">
  <pre wrap="">On Thu, 2004-08-12 at 15:03, gryphius.ginsberg wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Mark Knecht a &eacute;crit :
    </pre>
    <blockquote type="cite">
      <pre wrap="">gryphius.ginsberg wrote: 
      </pre>
      <blockquote type="cite">
        <pre wrap="">Mark Knecht a &eacute;crit : 
i did it with hdspmixer (all sound is open)... but i ear nothing
(i use output plugin ALSA 1.2.10 in xmms) 
        </pre>
      </blockquote>
      <pre wrap="">1) So do you see xmms sending audio to an input of the HDSP? That
should show up in the middle row to show the card is receiving
audio.
      </pre>
    </blockquote>
    <pre wrap="">no, when i try to play something xmms refuse and the message is :
make sure that :
1 your sound card is correctly configured
2 you set the good output plugin
3 no other program stop the sound card
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I'm not sure if xmms's alsa plugin can deal with multichannel soundcards
properly. That was a problem in the past (a lot of the alsa software
used to assume the world was "stereo" and would not properly query for
the number of channels the soundcard required to be sent). 

Try something different, perhaps just aplay a wav file just to check
that sound is working. Or start jack and use, for example, hydrogen and
one of its demo patterns. </pre>
</blockquote>
ok i tried<br>
<br>
<span style="font-weight: bold;">[root@localhost root]#cat
/etc/modules.conf</span><br>
<br>
# --- ALSA configuration<br>
alias char-major-116 snd<br>
alias char-major-14 soundcore<br>
alias snd-card-0 snd-hdsp<br>
alias snd-card-1 snd-intel8x0<br>
alias snd-card-2 snd-usb-audio<br>
#--- OSS compatibility alias<br>
alias sound-slot-0 snd-card-0<br>
alias sound-service-0-0 snd-mixer-oss<br>
alias sound-service-0-1 snd-seq-oss<br>
alias sound-service-0-3 snd-pcm-oss<br>
alias sound-service-0-8 snd-seq-oss<br>
alias sound-service-0-12 snd-pcm-oss<br>
alias sound-slot-1 snd-card-1<br>
alias sound-service-1-0 snd-mixer-oss<br>
alias sound-service-1-3 snd-pcm-oss<br>
alias sound-service-1-12 snd-pcm-oss<br>
alias sound-slot-2 snd-card-2<br>
alias sound-service-2-0 snd-mixer-oss<br>
alias sound-service-2-3 snd-pcm-oss<br>
alias sound-service-2-12 snd-pcm-oss<br>
#--- Options <br>
options snd major=116 cards_limit=3<br>
options snd-hdsp index=0<br>
options snd-intel8x0 index=1<br>
options snd-usb-audio index=2<br>
#--- Keep modules from being autocleaned<br>
add options -k snd-card-0<br>
add options -k snd-card-1<br>
add options -k snd-card-2<br>
#--- ALSA configuration END<br>
<br>
alias usb-controller usb-ohci<br>
alias usb-controller1 ehci-hcd<br>
alias ieee1394-controller ohci1394<br>
alias scsi_hostadapter sbp2<br>
<br>
<br>
<span style="font-weight: bold;">[root@localhost root]# jackd -d alsa</span><br>
jackd 0.98.0<br>
Copyright 2001-2003 Paul Davis and others.<br>
jackd comes with ABSOLUTELY NO WARRANTY<br>
This is free software, and you are welcome to redistribute it<br>
under certain conditions; see the file COPYING for details<br>
&nbsp;<br>
JACK compiled with System V SHM support<br>
loading driver ..<br>
creating alsa driver ...
hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit<br>
ALSA lib pcm_hw.c:1057:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed:
No such device<br>
jackd: pcm.c:690: snd_pcm_nonblock: Assertion `pcm' failed.<br>
Abandon<br>
<br>
<span style="font-weight: bold;">[root@localhost root]# hdsploader</span><br>
hdsploader - firmware loader for RME Hammerfall DSP cards<br>
Looking for HDSP + Multiface or Digiface cards :<br>
Card 0 : RME Hammerfall DSP at 0x40800000, irq 11<br>
Upload firmware for card hw:0<br>
Firmware uploaded for card hw:0<br>
Card 1 : SiS SI7012 at 0xa800, irq 11<br>
<br>
why are the twice cards on the same irq ?<br>
<br>
<span style="font-weight: bold;">[root@localhost root]# xmms</span><br>
&nbsp;<br>
** WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM<br>
&nbsp;<br>
** WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM<br>
&nbsp;<br>
Gtk-CRITICAL **: file gtkcombo.c: line 849
(gtk_combo_set_popdown_strings): assertion `strings != NULL' failed.<br>
Message: alsa_setup(): Cannot set mmap'ed mode: Argument invalide.
falling back to direct write<br>
&nbsp;<br>
** WARNING **: alsa_setup(): Cannot set direct write mode: Argument
invalide<br>
&nbsp;<br>
Gtk-CRITICAL **: file gtkcombo.c: line 849
(gtk_combo_set_popdown_strings): assertion `strings != NULL' failed.<br>
&nbsp;<br>
** WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM<br>
after JACK_Close()<br>
<br>
What's the problem with PCM ?<br>
<br style="font-weight: bold;">
<span style="font-weight: bold;">[root@localhost root]# aplay
/home/gryphius/bordel/1090492216_everybodyclip.wav</span><br>
Playing WAVE '/home/gryphius/bordel/1090492216_everybodyclip.wav' :
Signed 16 bit Little Endian, Rate 44100 Hz, Stereo<br>
<br>
it's ok, i hear sound but it make a little saturation in the hdsp mixer
why ?<br>
<br>
<blockquote type="cite"
 cite="mid1092349738.28436.340.camel@cmn37.stanford.edu">
  <pre wrap="">-- Fernando


_______________________________________________
PlanetCCRMA mailing list
<a class="moz-txt-link-abbreviated"
 href="mailto:PlanetCCRMA@ccrma.stanford.edu">PlanetCCRMA@ccrma.stanford.edu</a>
<a class="moz-txt-link-freetext"
 href="http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma">http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma</a>


  </pre>
</blockquote>
<br>
</body>
</html>

--------------020107080802020300090807--