[asterisk-users] hdmi an console dsp

Jerry Geis geisj at pagestation.com
Sat Jan 10 18:01:43 CST 2009


I am trying to connect audio through HDMI on a config.
aplay - l gives:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708B Analog [VT1708B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


So I change my alsa.conf file to:
; To set which ALSA device to use, change this parameter
input_device=hw:0,3
output_device=hw:0,3

When starting asterisk I get:
^[[1;30;40m  == ^[[0;37;40mParsing '/etc/asterisk/alsa.conf': Found
[Jan 10 18:56:53] ^[[31;40mERROR^[[0;37;40m[23546]: 
^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m366^[[0;37;40m 
^[[1;37;40malsa_card_init^[[0;37;40m: snd_pcm_open failed: No
[Jan 10 18:56:53] ^[[31;40mERROR^[[0;37;40m[23546]: 
^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m385^[[0;37;40m 
^[[1;37;40malsa_card_init^[[0;37;40m: set_channels failed: Inv
[Jan 10 18:56:53] ^[[1;31;40mWARNING^[[0;37;40m[23546]: 
^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m390^[[0;37;40m 
^[[1;37;40malsa_card_init^[[0;37;40m: Rate not correct, re
[Jan 10 18:56:53] ^[[31;40mERROR^[[0;37;40m[23546]: 
^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m484^[[0;37;40m 
^[[1;37;40msoundcard_init^[[0;37;40m: Problem opening alsa I/O
^[[1;30;40m  == ^[[0;37;40mNo sound card detected -- console channel 
will be unavailable
^[[1;30;40m  == ^[[0;37;40mTurn off ALSA support by adding 
'noload=chan_alsa.so' in /etc/asterisk/modules.conf


How do I tell it to use HDMI?

If I comment out the input_device and output_device in alsa.conf (the 
default), and I change the /etc/asound.conf to point to device 3.
I get this error:

^[[1;30;40m  == ^[[0;37;40mParsing '/etc/asterisk/alsa.conf': Found
[Jan 10 19:01:05] ^[[31;40mERROR^[[0;37;40m[23676]: 
^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m366^[[0;37;40m 
^[[1;37;40malsa_card_init^[[0;37;40m: snd_pcm_open failed: No
[Jan 10 19:01:05] ^[[31;40mERROR^[[0;37;40m[23676]: 
^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m484^[[0;37;40m 
^[[1;37;40msoundcard_init^[[0;37;40m: Problem opening alsa I/O
^[[1;30;40m  == ^[[0;37;40mNo sound card detected -- console channel 
will be unavailable

Any ideas?

Jerry




More information about the asterisk-users mailing list