[Freeswitch-users] mod_portaudio cannot find input or output device
Brett Wilson
brett at launch3.net
Fri Aug 17 16:18:31 MSD 2012
Hey guys maybe you can help with this. Been trying to get portaudio working,
but cannot. I have built from the latest git source. Even downloaded and
build portaudio, which sees the device fine. Also, sound output works
through aplay on the command line. So why can't mod_portaudio find the
devices?
# lsmod | grep snd
snd_intel8x0 33455 0
snd_ac97_codec 106082 1 snd_intel8x0
ac97_bus 12642 1 snd_ac97_codec
snd_pcm 80845 2 snd_intel8x0,snd_ac97_codec
snd_seq_midi 13132 0
snd_rawmidi 25424 1 snd_seq_midi
snd_seq_midi_event 14475 1 snd_seq_midi
snd_seq 51567 2 snd_seq_midi,snd_seq_midi_event
snd_timer 28931 2 snd_pcm,snd_seq
snd_seq_device 14172 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 62064 7
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_de
vice
soundcore 14635 1 snd
snd_page_alloc 14108 2 snd_intel8x0,snd_pcm
# lspci
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM
Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corporation
82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
00:1d.0 USB controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2
EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC
Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev
01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:0c.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet
Controller (rev 02)
# cat /etc/group
audio:x:29:freeswitch,www-data
www-data:x:33:freeswitch
freeswitch at internal> load mod_portaudio
+OK Reloading XML
-ERR [module load file routine returned an error]
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1767 Cannot find an input
device
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1777 Cannot find an output
device
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1422 Loading streams ...
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream
'usb1' parameter indev = #2
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1458 Invalid indev
specified for stream 'usb1'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream
'usb1' parameter outdev = #2
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1467 Invalid outdev
specified for stream 'usb1'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream
'usb1' parameter sample-rate = 48000
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream
'usb1' parameter codec-ms = 10
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream
'usb1' parameter channels = 2
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1498 You need at least one
device for stream 'usb1'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream
'default' parameter indev = #0
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1458 Invalid indev
specified for stream 'default'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream
'default' parameter outdev = #1
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1467 Invalid outdev
specified for stream 'default'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream
'default' parameter sample-rate = 48000
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream
'default' parameter codec-ms = 10
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1454 Parsing stream
'default' parameter channels = 1
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1498 You need at least one
device for stream 'default'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1569 Loading endpoints
...
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint
'default' parameter instream = default:0
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1603 Invalid instream
specified for endpoint 'default'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint
'default' parameter outstream = default:0
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1611 Invalid outstream
specified for endpoint 'default'
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one
stream for endpoint 'default'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint
'usb1out-left' parameter outstream = usb1:0
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1611 Invalid outstream
specified for endpoint 'usb1out-left'
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one
stream for endpoint 'usb1out-left'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint
'usb1out-right' parameter outstream = usb1:1
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1611 Invalid outstream
specified for endpoint 'usb1out-right'
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one
stream for endpoint 'usb1out-right'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint
'usb1in-left' parameter instream = usb1:0
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1603 Invalid instream
specified for endpoint 'usb1in-left'
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one
stream for endpoint 'usb1in-left'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint
'usb1in-right' parameter instream = usb1:1
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1603 Invalid instream
specified for endpoint 'usb1in-right'
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one
stream for endpoint 'usb1in-right'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint
'usb1-left' parameter instream = usb1:0
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1603 Invalid instream
specified for endpoint 'usb1-left'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint
'usb1-left' parameter outstream = usb1:0
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1611 Invalid outstream
specified for endpoint 'usb1-left'
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one
stream for endpoint 'usb1-left'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint
'usb1-right' parameter instream = usb1:1
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1603 Invalid instream
specified for endpoint 'usb1-right'
2012-08-17 08:15:23.591770 [DEBUG] mod_portaudio.c:1598 Parsing endpoint
'usb1-right' parameter outstream = usb1:1
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1611 Invalid outstream
specified for endpoint 'usb1-right'
2012-08-17 08:15:23.591770 [ERR] mod_portaudio.c:1620 You need at least one
stream for endpoint 'usb1-right'
2012-08-17 08:15:23.591770 [CRIT] switch_loadable_module.c:1310 Error
Loading module /usr/local/freeswitch/mod/mod_portaudio.so
**Module load routine returned an error**
*******************************************
Brett Wilson
IT Department
Launch 3 Ventures, LLC
134 Myer Street
Hackensack, NJ 07601
Phone: <tel:877.878.9134> 877.878.9134
Fax: <tel:646.536.3866> 646.536.3866
Email: <mailto:Brett.Wilson at launch3.net> Brett.Wilson at launch3.net
AOL IM: <mailto:Brett.Wilson at launch3.net> Brett.Wilson at launch3.net
<http://www.launch3.net/> www.Launch3.net
<http://www.launch3telecom.com/> www.Launch3telecom.com
*******************************************
<http://launch3telecom.blogspot.com/> Description: Description:
Description: Description: Blogger-logo
<http://www.facebook.com/pages/Launch-3-Telecom/165610820178720>
Description: Description: Description: Description: FaceBook-Logo
<https://twitter.com/launch3telecom> Description: Description: Description:
Description: Twitter-Logo <https://plus.google.com/102713212642017290959>
Description: Description: Description: Description: GPlus-Logo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120817/79da9827/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2872 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120817/79da9827/attachment-0004.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2952 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120817/79da9827/attachment-0005.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2958 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120817/79da9827/attachment-0006.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3063 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120817/79da9827/attachment-0007.png
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list