Re: [beagleboard] Play audio throuhg HDMI on BeagleBone Black

2016-03-22 Thread Jason Kridner
Only specific video modes of the HDMI framer device support audio. See the wiki 
page. 

> On Mar 22, 2016, at 10:44 AM, yolc...@gmail.com wrote:
> 
> After work with a multitouch screen for the BeagleBone Black, now I just want 
> to play audio/sounds through the HDMI connection as the multitouch screen has 
> a speaker. 
> 
> 
> 
> First of all, I just copied an audio sample, and try to reproduce it by 
> 'vlc', but next message is shown:
> 
>  "Audio output failed. The audio device "default" could not be used. No 
> such file or directory." 
> 
> 
> 
> Then, I have installed next tools:
> 
>  'alsa-base', 'alsa-utils', 'alsa-tools', 'alsamixergui'
> 
> 
> 
> But, when I tried to launch 'alsamixergui', the next message is shown:
> 
>  "alsamixer: function snd_ctl_open failed for default: No such file or 
> directory" 
> 
> 
> 
> And at "/etc/modprobe.d/alsa-base.conf", the content is:
> 
>  # autoloader aliases
> 
>install sound-slot-0 /sbin/modprobe snd-card-0
> 
>install sound-slot-1 /sbin/modprobe snd-card-1
> 
>install sound-slot-2 /sbin/modprobe snd-card-2
> 
>install sound-slot-3 /sbin/modprobe snd-card-3
> 
>install sound-slot-4 /sbin/modprobe snd-card-4
> 
>install sound-slot-5 /sbin/modprobe snd-card-5
> 
>install sound-slot-6 /sbin/modprobe snd-card-6
> 
>install sound-slot-7 /sbin/modprobe snd-card-7
> 
>  # Cause optional modules to be loaded above generic modules
> 
>install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe 
> --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; : ; }
> 
>install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { 
> /sbin/modprobe --quiet snd-seq-midi ; : ; }
> 
>install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { 
> /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
> 
>  # Keep snd-pcsp from beeing loaded as first soundcard
> 
>options snd-pcsp index=-2
> 
>  # Keep snd-usb-audio from beeing loaded as first soundcard
> 
>options snd-usb-audio index=-2
> 
>  # Prevent abnormal drivers from grabbing index 0
> 
>options bt87x index=-2
> 
>options cx88_alsa index=-2
> 
>options snd-atiixp-modem index=-2
> 
>options snd-intel8x0m index=-2
> 
>options snd-via82xx-modem index=-2
> 
> 
> 
> Moreover, I have try with next commands:
> 
>  'alsamixer -c 1 (2, 3... 7)' 
> 
> Having next output:
> 
>  "invalid card index: 1"
> 
> 
> 
> Is there any way to reproduce any sound (*.midi, *.wav, *.mp3...) through 
> hdmi easily?
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Play audio throuhg HDMI on BeagleBone Black

2016-03-22 Thread yolcopc


After work with a multitouch screen for the BeagleBone Black, now I just 
want to play audio/sounds through the HDMI connection as the multitouch 
screen has a speaker. 


First of all, I just copied an audio sample, and try to reproduce it by 
'vlc', but next message is shown:

 "*Audio output failed. The audio device "default" could not be used. 
No such file or directory*." 


Then, I have installed next tools:

 'alsa-base', 'alsa-utils', 'alsa-tools', 'alsamixergui'


But, when I tried to launch 'alsamixergui', the next message is shown:

 "*alsamixer: function snd_ctl_open failed for default: No such file or 
directory*" 


And at "/etc/modprobe.d/alsa-base.conf", the content is:

* # autoloader aliases*

*   install sound-slot-0 /sbin/modprobe snd-card-0*

*   install sound-slot-1 /sbin/modprobe snd-card-1*

*   install sound-slot-2 /sbin/modprobe snd-card-2*

*   install sound-slot-3 /sbin/modprobe snd-card-3*

*   install sound-slot-4 /sbin/modprobe snd-card-4*

*   install sound-slot-5 /sbin/modprobe snd-card-5*

*   install sound-slot-6 /sbin/modprobe snd-card-6*

*   install sound-slot-7 /sbin/modprobe snd-card-7*

* # Cause optional modules to be loaded above generic modules*

*   install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe 
--quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; : ; }*

*   install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && 
{ /sbin/modprobe --quiet snd-seq-midi ; : ; }*

*   install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && 
{ /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }*

* # Keep snd-pcsp from beeing loaded as first soundcard*

*   options snd-pcsp index=-2*

* # Keep snd-usb-audio from beeing loaded as first soundcard*

*   options snd-usb-audio index=-2*

* # Prevent abnormal drivers from grabbing index 0*

*   options bt87x index=-2*

*   options cx88_alsa index=-2*

*   options snd-atiixp-modem index=-2*

*   options snd-intel8x0m index=-2*

*   options snd-via82xx-modem index=-2*


Moreover, I have try with next commands:

 'alsamixer -c 1 (2, 3... 7)' 

Having next output:

 "*invalid card index: 1*"


*Is there any way to reproduce any sound (*.midi, *.wav, *.mp3...) through 
hdmi easily*?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.