[pulseaudio-discuss] Help in setting up PA... SOLVED
Juan A Fuentes Bermudez
juanantofb at gmail.com
Tue Jun 3 15:14:47 PDT 2008
no me digas que hablas español?
saludos
----- Original Message -----
From: Richard Geddes
To: General PulseAudio Discussion
Sent: Tuesday, June 03, 2008 11:56 PM
Subject: Re: [pulseaudio-discuss] Help in setting up PA... SOLVED
de nada... fue un placer... tambien aprendi algo...
Saludos
R
Juan A Fuentes Bermudez wrote:
hi, very very thank you,
now i am using the last configuration that you say me, now are 3 cards actives, only the HDMI is not working via PA,
i will trying coment and uncoment one to one devices, i am think that HDMI device only have output not have input
very very thank my friend
you have a spanish jamon fron my :)
----- Original Message -----
From: Richard Geddes
To: General PulseAudio Discussion
Sent: Tuesday, June 03, 2008 10:24 PM
Subject: Re: [pulseaudio-discuss] Help in setting up PA... SOLVED
ok...
1) The/var/log/messages indicates that you are running the pa server as root (you say as well) and it also says the pa server is not intended to be run as root... so you might want to change to a regular user and use sudo for root related activities.
2) I think that the terjeta 3 requires some special parameters ... similar to tarjeta 2. I'm not familiar with ice1724 device driver, but you may want to try the same setup for tarjeta 3 as for tarjeta 2. This is just a guess... anyone with knowledge about how to setup an ice1724 source/sink in pa... please speak up now...
3) Of course, it looks like tarjeta 3 was identified by the module-detect/module-hal-detect. What we've done is disable this and tried to set the sources/sinks manually. module-detect/module-hal-detect seems to be an all or nothing proposition... if anyone knows of a way to auto-detect specific devices and manually set others in the same config file... please speak up now.
Well, you might want to try this (once again, a guess):
a) re-enable the auto-detect - we know this will detect tarjeta 0 and 3, and not tarjeta 1 and 2
b) add only the manual configuration for tarjeta 2, after that
So your default.pa file would contain:
### Automatically load driver modules depending on the hardware available
.ifexists module-hal-detect.so
load-module module-hal-detect
.else
### Alternatively use the static hardware detection module (for systems that
### lack HAL support)
load-module module-detect
.endif
# Load the devices:
#load-module module-alsa-sink sink_name=nvidia_out device=hw:0
#load-module module-alsa-source source_name=nvidia_in device=hw:0
#load-module module-alsa-sink sink_name=hdmi_out device=hw:1
#load-module module-alsa-source source_name=hdmi_in device=hw:1
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
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
#load-module module-alsa-sink sink_name=e192m_out device=hw:3
#load-module module-alsa-source source_name=e192m_in device=hw:3
# Select default device
#set-default-sink nvidia_out
#set-default-source nvidia_in
Let's see if module-hal-detect/module-detect allows manual loading of sources/sinks.
R
Juan A Fuentes Bermudez wrote:
hi, the problem is partial solved
i an coment and paste the module taht you say my
the pa server not start after reboot,
i am coment and uncoment one to one, to discart waht is the card tthat cause problem ,
# Load the devices:
load-module module-alsa-sink sink_name=nvidia_out device=hw:0
load-module module-alsa-source source_name=nvidia_in device=hw:0
#load-module module-alsa-sink sink_name=hdmi_out device=hw:1
#load-module module-alsa-source source_name=hdmi_in device=hw:1
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
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
#load-module module-alsa-sink sink_name=e192m_out device=hw:3
#load-module module-alsa-source source_name=e192m_in device=hw:3
in this mode, load pa server, and in the padevchooser apear the ewx2496 card :) very happy
when un coment the e192 card, again pa server not start same when uncoment hdmi card
i like active also e192 card, is posible?
i am to paste this info, this is the first mail i want to send to list :
hi, the server not start, always i am login as root
can you test the information?
# grep pulse /var/log/messages
Jun 2 14:39:39 64-1 pulseaudio[6430]: main.c: This program is not intended to be run as root (unless --system is specified).
Jun 2 14:39:39 64-1 pulseaudio[6430]: alsa-util.c: Device front:3 doesn't support sample format s16le, changed to s32le.
Jun 2 14:39:39 64-1 pulseaudio[6430]: alsa-util.c: Device front:3 doesn't support sample format s16le, changed to s32le.
Jun 2 14:39:39 64-1 pulseaudio[6430]: alsa-util.c: Cannot find fallback mixer control "Mic".
Jun 2 14:39:39 64-1 pulseaudio[6430]: alsa-util.c: Device hw:2 doesn't support 2 channels, changed to 10.
Jun 2 14:39:39 64-1 pulseaudio[6430]: alsa-util.c: Device hw:2 doesn't support sample format s16le, changed to s32le.
Jun 2 14:39:39 64-1 pulseaudio[6430]: alsa-util.c: Cannot find fallback mixer control "PCM".
Jun 2 14:39:39 64-1 pulseaudio[6430]: alsa-util.c: Device hw:2 doesn't support 2 channels, changed to 12.
Jun 2 14:39:39 64-1 pulseaudio[6430]: alsa-util.c: Device hw:2 doesn't support sample format s16le, changed to s32le.
Jun 2 14:39:39 64-1 pulseaudio[6430]: alsa-util.c: Cannot find fallback mixer control "Mic".
Jun 2 17:33:48 64-1 pulseaudio[6428]: main.c: This program is not intended to be run as root (unless --system is specified).
Jun 2 17:33:48 64-1 pulseaudio[6428]: alsa-util.c: Device front:3 doesn't support sample format s16le, changed to s32le.
Jun 2 17:33:48 64-1 pulseaudio[6428]: alsa-util.c: Device front:3 doesn't support sample format s16le, changed to s32le.
Jun 2 17:33:48 64-1 pulseaudio[6428]: alsa-util.c: Cannot find fallback mixer control "Mic".
Jun 2 17:33:48 64-1 pulseaudio[6428]: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 10.
Jun 2 17:33:48 64-1 pulseaudio[6428]: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
Jun 2 17:33:48 64-1 pulseaudio[6428]: alsa-util.c: Cannot find fallback mixer control "PCM".
Jun 2 17:33:48 64-1 pulseaudio[6428]: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 12.
Jun 2 17:33:48 64-1 pulseaudio[6428]: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
Jun 2 17:33:48 64-1 pulseaudio[6428]: alsa-util.c: Cannot find fallback mixer control "Mic".
Jun 2 17:53:14 64-1 pulseaudio[6428]: module-x11-publish.c: PulseAudio information vanished from X11!
Jun 3 00:37:48 64-1 pulseaudio[6479]: main.c: This program is not intended to be run as root (unless --system is specified).
Jun 3 00:37:48 64-1 pulseaudio[6479]: alsa-util.c: Device front:3 doesn't support sample format s16le, changed to s32le.
Jun 3 00:37:48 64-1 pulseaudio[6479]: alsa-util.c: Device front:3 doesn't support sample format s16le, changed to s32le.
Jun 3 00:37:48 64-1 pulseaudio[6479]: alsa-util.c: Cannot find fallback mixer control "Mic".
Jun 3 00:37:48 64-1 pulseaudio[6479]: alsa-util.c: Device hw:2 doesn't support 2 channels, changed to 10.
Jun 3 00:37:48 64-1 pulseaudio[6479]: alsa-util.c: Device hw:2 doesn't support sample format s16le, changed to s32le.
Jun 3 00:37:48 64-1 pulseaudio[6479]: alsa-util.c: Cannot find fallback mixer control "PCM".
Jun 3 00:37:48 64-1 pulseaudio[6479]: alsa-util.c: Device hw:2 doesn't support 2 channels, changed to 12.
Jun 3 00:37:48 64-1 pulseaudio[6479]: alsa-util.c: Device hw:2 doesn't support sample format s16le, changed to s32le.
Jun 3 00:37:48 64-1 pulseaudio[6479]: alsa-util.c: Cannot find fallback mixer control "Mic".
Jun 3 20:12:01 64-1 pulseaudio[6418]: main.c: This program is not intended to be run as root (unless --system is specified).
Jun 3 20:12:02 64-1 pulseaudio[6418]: alsa-util.c: Device front:3 doesn't support sample format s16le, changed to s32le.
Jun 3 20:12:02 64-1 pulseaudio[6418]: alsa-util.c: Device front:3 doesn't support sample format s16le, changed to s32le.
Jun 3 20:12:02 64-1 pulseaudio[6418]: alsa-util.c: Cannot find fallback mixer control "Mic".
Jun 3 20:12:02 64-1 pulseaudio[6418]: alsa-util.c: Device hw:2 doesn't support 2 channels, changed to 10.
Jun 3 20:12:02 64-1 pulseaudio[6418]: alsa-util.c: Device hw:2 doesn't support sample format s16le, changed to s32le.
Jun 3 20:12:02 64-1 pulseaudio[6418]: alsa-util.c: Cannot find fallback mixer control "PCM".
Jun 3 20:12:02 64-1 pulseaudio[6418]: alsa-util.c: Device hw:2 doesn't support 2 channels, changed to 12.
Jun 3 20:12:02 64-1 pulseaudio[6418]: alsa-util.c: Device hw:2 doesn't support sample format s16le, changed to s32le.
Jun 3 20:12:02 64-1 pulseaudio[6418]: alsa-util.c: Cannot find fallback mixer control "Mic".
Jun 3 20:25:33 64-1 pulseaudio[6445]: main.c: This program is not intended to be run as root (unless --sy
this is my curent default.pa
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
.nofail
### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-access /usr/share/sounds/generic.wav
.fail
### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink
### Automatically load driver modules depending on the hardware available
#.ifexists module-hal-detect.so
#load-module module-hal-detect
#.else
### Alternatively use the static hardware detection module (for systems that
### lack HAL support)
#load-module module-detect
#.endif
# Load the devices:
load-module module-alsa-sink sink_name=nvidia_out device=hw:0
load-module module-alsa-source source_name=nvidia_in device=hw:0
load-module module-alsa-sink sink_name=hdmi_out device=hw:1
load-module module-alsa-source source_name=hdmi_in device=hw:1
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
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
load-module module-alsa-sink sink_name=e192m_out device=hw:3
load-module module-alsa-source source_name=e192m_in device=hw:3
# Select default device
set-default-sink nvidia_out
set-default-source nvidia_in
## Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix
### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish
### Load the RTP reciever module (also configured via paprefs, see above)
#load-module module-rtp-recv
### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
#load-module module-rtp-send source=rtp.monitor
### Automatically restore the volume of playback streams
load-module module-volume-restore
### Automatically restore the default sink/source when changed by the user during runtime
load-module module-default-device-restore
### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams
### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle
### Load X11 bell module
#load-module module-x11-bell sample=x11-bell
### Register ourselves in the X11 session manager
# Deactivated by default, to avoid deadlock when PA is started as esd from gnome-session
# Instead we load this via /etc/xdg/autostart/ and "pactl load-module" now
# load-module module-x11-xsmp
### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif
### Publish connection data in the X11 root window
.ifexists module-x11-publish.so
.nofail
load-module module-x11-publish
.fail
.endif
### Make some devices default
#set-default-sink output
#set-default-source input
------------------------------------------------------------------------
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss at mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
--------------------------------------------------------------------------
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss at mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
----------------------------------------------------------------------------
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss at mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
------------------------------------------------------------------------------
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss at mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20080604/cb6699cc/attachment.htm>
More information about the pulseaudio-discuss
mailing list