<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Now as I understand it, when linux starts, <br>
<br>
1) there is a program called hald (hardware abstraction layer daemon)
that identifies the hardware attached to your computer.  In the output
of aplay, each card is given an identifier...  "tarjeta {0 -3}"<br>
<br>
2) other programs like pa use the info hald provides to make decisions
about how to use the hardware.<br>
<br>
In the case of tarjeta 2  - <font><font color="#000000" face="Arial"
 size="2">EWX2496  using the </font></font>ice1712 driver (this same
chip is in my tarjeta), apparently pulseaudio or hald did not identify
it correctly, and when trying to connect to this tarjeta, pa realizes
this and says no.<br>
<br>
The default global pa config file (/etc/pulse/default.pa) in ubuntu has
these statements: <br>
<br>
.ifexists module-hal-detect.so<br>
load-module module-hal-detect<br>
.else<br>
load-module module-detect<br>
.endif<br>
<br>
which is a means of auto-detecting the tarjetas on your system.  Let's
change this:<br>
<br>
1) make a copy of your original global config file<br>
    cd /etc/pulse/<br>
    sudo cp default.pa default.pa.original<br>
<br>
2) comment out the lines that deal with auto detecting the tarjetas
(the lines above)<br>
<br>
3) Add these lines in it's place:     sudo [vi,gedit,...] default.pa<br>
------------<br>
# Load the devices:<br>
load-module module-alsa-sink sink_name=nvidia_out device=hw:0<br>
load-module module-alsa-source source_name=nvidia_in device=hw:0<br>
<br>
load-module module-alsa-sink sink_name=hdmi_out device=hw:1<br>
load-module module-alsa-source source_name=hdmi_in device=hw:1<br>
<br>
load-module module-alsa-sink sink_name=ewx2496_out device=hw:2
channels=10
channel_map=left,right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7<br>
load-module module-alsa-source source_name=ewx2496_in device=hw:2
channels=12
channel_map=left,right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9<br>
<br>
load-module module-alsa-sink sink_name=e192m_out device=hw:3<br>
load-module module-alsa-source source_name=e192m_in device=hw:3<br>
<br>
# Select default device<br>
set-default-sink nvidia_out <br>
set-default-source nvidia_in<br>
------------------------<br>
<br>
Note: We are telling pa to use devices identified by your system
labeled hw:{0,1,2,3}... nothing special, except for the ewx2496 that
uses the ice1712 device driver.  This is the same chip my tarjeta uses,
and in that case I had to add extra information about the chip... the
part that says "channel_map=..."  I'm not sure if the other tarjetas
need special mappings or instructions, but give this a try.<br>
<br>
4) Restart pa ... in ubuntu, I would try "sudo /etc/init.d/pulseaudio
{start,stop,...} and it would not give feedback if the server status
had changed.  So I would use the pa manager (paman) to start/stop the
pa server.  Frequently, I would not know if the server was still
running and would use "ps aux | grep pulse" to check status.<br>
<br>
Let's see what happens<br>
<br>
<br>
Juan A Fuentes Bermudez wrote:
<blockquote cite="mid:A1E581EE33F747CE9A0BF206735CB56E@pc2" type="cite">
  <title></title>
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
  <meta content="MSHTML 6.00.2900.5512" name="GENERATOR">
  <style></style>
  <div>1) Tell me which cards are identified by the alsamixer and which
cards are identified by pa(pulseaudio).</div>
  <div> </div>
  <div><font color="#000000" face="Arial" size="2">asoundconf list<br>
Names of available sound cards:<br>
NVidia (identified by PA)<br>
HDMI<br>
EWX2496<br>
E192M (identified by PA)</font></div>
  <div> </div>
  <font color="#000000" face="Arial" size="2">
  <div><br>
aplay -l<br>
**** Lista de PLAYBACK Dispositivos Hardware ****<br>
tarjeta 0: NVidia [HDA NVidia], dispositivo 0: AD198x Analog [AD198x
Analog]<br>
  Subdispositivos: 1/1<br>
  Subdispositivo #0: subdevice #0<br>
tarjeta 0: NVidia [HDA NVidia], dispositivo 1: AD198x Digital [AD198x
Digital]<br>
  Subdispositivos: 1/1<br>
  Subdispositivo #0: subdevice #0<br>
tarjeta 1: HDMI [HDA ATI HDMI], dispositivo 3: ATI HDMI [ATI HDMI]<br>
  Subdispositivos: 1/1<br>
  Subdispositivo #0: subdevice #0<br>
tarjeta 2: EWX2496 [TerraTec EWX24/96], dispositivo 0: ICE1712 multi
[ICE1712 multi]<br>
  Subdispositivos: 1/1<br>
  Subdispositivo #0: subdevice #0<br>
tarjeta 3: E192M [ESI Waveterminal 192M], dispositivo 0: ICE1724
[ICE1724]<br>
  Subdispositivos: 1/1<br>
  Subdispositivo #0: subdevice #0<br>
tarjeta 3: E192M [ESI Waveterminal 192M], dispositivo 1: ICE1724
Secondary [ICE1724 Secondary]<br>
  Subdispositivos: 1/1<br>
  Subdispositivo #0: subdevice #0<br>
tarjeta 3: E192M [ESI Waveterminal 192M], dispositivo 2: ICE1724
Surrounds [ICE1724 Surround PCM]<br>
  Subdispositivos: 3/3<br>
  Subdispositivo #0: subdevice #0<br>
  Subdispositivo #1: subdevice #1<br>
  Subdispositivo #2: subdevice #2</div>
  </font>
  <div> </div>
  <div> </div>
  <div>2) Can you make sound with your speakers with pa and the cards
that it does identify?<br>
  <font color="#000000" face="Arial" size="2">yes i need to route the
sound thru the no identified sound cards via PA</font></div>
  <div> </div>
  <div><font face="Arial" size="2">when i por example, play a mp3, i
can route via alsa the sound thru devices that no identified in PA, i
am sure that card is runing correctly</font><br>
  </div>
  <div> </div>
  <div><font color="#000000" face="Arial" size="2">sorry and very thank
  </font></div>
  <div> </div>
  <div> </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
pulseaudio-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pulseaudio-discuss@mail.0pointer.de">pulseaudio-discuss@mail.0pointer.de</a>
<a class="moz-txt-link-freetext" href="https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss">https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss</a>
  </pre>
</blockquote>
</body>
</html>