* [Buildroot] Setting up audio/video playback backends on raspberry pi
@ 2015-01-15 21:44 Lou Crittenden
2015-01-16 8:41 ` Jeremy Rosen
0 siblings, 1 reply; 5+ messages in thread
From: Lou Crittenden @ 2015-01-15 21:44 UTC (permalink / raw)
To: buildroot
Hello all, I am in the process of setting up a minimalist buildroot based
touchscreen multimedia player and was wondering how to get the audio and
video backends working properly. I can play a file with mplayer (no
arguments) from the console and there is no sound. I also have alsautils
and pulseaudio installed, as well as the gstreamer framework, but still no
go. I would like to get some info on how to configure it, please. For the
display, I have one of those waveshare32b displays I got working thanks to
Peter Seiderer's help (thanks Peter!). I'm now on the audio and video
playback backend configuration stages.
Included in the attachment is my buildroot configuration.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150115/0b4c7c9d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 80244 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150115/0b4c7c9d/attachment-0001.obj>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Setting up audio/video playback backends on raspberry pi
2015-01-15 21:44 [Buildroot] Setting up audio/video playback backends on raspberry pi Lou Crittenden
@ 2015-01-16 8:41 ` Jeremy Rosen
2015-01-18 2:02 ` Lou Crittenden
0 siblings, 1 reply; 5+ messages in thread
From: Jeremy Rosen @ 2015-01-16 8:41 UTC (permalink / raw)
To: buildroot
I think you need to manually load the kernel module to get the rpi to play sounds
IIRC it's call bcm2835_snd (I don't have my rpi with me right now, so Ican't check)
Cordialement
J?r?my Rosen
+33 (0)1 42 68 28 04
fight key loggers : write some perl using vim
Open Wide Ingenierie
23, rue Daviel
75013 Paris - France
www.openwide.fr
----- Mail original -----
> Hello all, I am in the process of setting up a minimalist buildroot
> based touchscreen multimedia player and was wondering how to get the
> audio and video backends working properly. I can play a file with
> mplayer (no arguments) from the console and there is no sound. I
> also have alsautils and pulseaudio installed, as well as the
> gstreamer framework, but still no go. I would like to get some info
> on how to configure it, please. For the display, I have one of those
> waveshare32b displays I got working thanks to Peter Seiderer's help
> (thanks Peter!). I'm now on the audio and video playback backend
> configuration stages.
> Included in the attachment is my buildroot configuration.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150116/49e2e899/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Setting up audio/video playback backends on raspberry pi
2015-01-16 8:41 ` Jeremy Rosen
@ 2015-01-18 2:02 ` Lou Crittenden
2015-01-18 3:18 ` Lou Crittenden
0 siblings, 1 reply; 5+ messages in thread
From: Lou Crittenden @ 2015-01-18 2:02 UTC (permalink / raw)
To: buildroot
You're right, it is the snd-bcm2835.ko kernel module. After doing some
digging I was able to find it at
/lib/modules/3.12.28/kernel/sound/arm/snd-bcm2835.ko
I had to load it with
insmod /lib/modules/3.12.28/kernel/sound/arm/snd-bcm2835.ko
(I had to do insmod initially with my display to test it).
I am now listening to my music as I type with buildroot on my pi.
Do you know how to get this module to load up on boot so I don't have to
load it by hand every time?
Thanks in advance.
On Fri, Jan 16, 2015 at 2:41 AM, Jeremy Rosen <jeremy.rosen@openwide.fr>
wrote:
> I think you need to manually load the kernel module to get the rpi to play
> sounds
>
> IIRC it's call bcm2835_snd (I don't have my rpi with me right now, so
> Ican't check)
>
> Cordialement
>
> J?r?my Rosen
> +33 (0)1 42 68 28 04
>
> fight key loggers : write some perl using vim
>
>
> Open Wide Ingenierie
>
> 23, rue Daviel
> 75013 Paris - France
> www.openwide.fr
>
>
>
>
>
> ------------------------------
>
> Hello all, I am in the process of setting up a minimalist buildroot based
> touchscreen multimedia player and was wondering how to get the audio and
> video backends working properly. I can play a file with mplayer (no
> arguments) from the console and there is no sound. I also have alsautils
> and pulseaudio installed, as well as the gstreamer framework, but still no
> go. I would like to get some info on how to configure it, please. For the
> display, I have one of those waveshare32b displays I got working thanks to
> Peter Seiderer's help (thanks Peter!). I'm now on the audio and video
> playback backend configuration stages.
>
> Included in the attachment is my buildroot configuration.
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150117/2c2da59b/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Setting up audio/video playback backends on raspberry pi
2015-01-18 2:02 ` Lou Crittenden
@ 2015-01-18 3:18 ` Lou Crittenden
2015-01-18 3:51 ` Lou Crittenden
0 siblings, 1 reply; 5+ messages in thread
From: Lou Crittenden @ 2015-01-18 3:18 UTC (permalink / raw)
To: buildroot
> Do you know how to get this module to load up on boot so I don't have to
load it by hand every time?
Never mind on this question. I answered my own question by making an
/etc/init.d script that loads the driver at boot titled S50snd-bcm2835 with
the following contents:
#!/bin/sh
#
# Start audio driver
case "$1" in
start)
echo -n "Starting audio driver snd-bcm2835: "
echo "OK"
;;
stop)
echo -n "Stopping snd-bcm2835: "
rmmod snd-bcm2835
echo "OK"
;;
restart|reload)
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?
I had to take the text from the fbtft (display) init.d and change the
references to the display to the snd-bcm2835 driver.
Tried it, and it worked.
Thank you Jeremy for giving me a clue on where to start by letting me know
what driver to load.
On Sat, Jan 17, 2015 at 8:02 PM, Lou Crittenden <loucrittenden63@gmail.com>
wrote:
> You're right, it is the snd-bcm2835.ko kernel module. After doing some
> digging I was able to find it at
> /lib/modules/3.12.28/kernel/sound/arm/snd-bcm2835.ko
>
> I had to load it with
>
> insmod /lib/modules/3.12.28/kernel/sound/arm/snd-bcm2835.ko
>
> (I had to do insmod initially with my display to test it).
>
> I am now listening to my music as I type with buildroot on my pi.
>
> Do you know how to get this module to load up on boot so I don't have to
> load it by hand every time?
>
> Thanks in advance.
>
> On Fri, Jan 16, 2015 at 2:41 AM, Jeremy Rosen <jeremy.rosen@openwide.fr>
> wrote:
>
>> I think you need to manually load the kernel module to get the rpi to
>> play sounds
>>
>> IIRC it's call bcm2835_snd (I don't have my rpi with me right now, so
>> Ican't check)
>>
>> Cordialement
>>
>> J?r?my Rosen
>> +33 (0)1 42 68 28 04
>>
>> fight key loggers : write some perl using vim
>>
>>
>> Open Wide Ingenierie
>>
>> 23, rue Daviel
>> 75013 Paris - France
>> www.openwide.fr
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Hello all, I am in the process of setting up a minimalist buildroot based
>> touchscreen multimedia player and was wondering how to get the audio and
>> video backends working properly. I can play a file with mplayer (no
>> arguments) from the console and there is no sound. I also have alsautils
>> and pulseaudio installed, as well as the gstreamer framework, but still no
>> go. I would like to get some info on how to configure it, please. For the
>> display, I have one of those waveshare32b displays I got working thanks to
>> Peter Seiderer's help (thanks Peter!). I'm now on the audio and video
>> playback backend configuration stages.
>>
>> Included in the attachment is my buildroot configuration.
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150117/4e01d621/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Setting up audio/video playback backends on raspberry pi
2015-01-18 3:18 ` Lou Crittenden
@ 2015-01-18 3:51 ` Lou Crittenden
0 siblings, 0 replies; 5+ messages in thread
From: Lou Crittenden @ 2015-01-18 3:51 UTC (permalink / raw)
To: buildroot
I messed up on the posting of the script here. I forgot the modprobe
snd-bcm2385 part. For anyone wanting to use it, here it is:
#!/bin/sh
#
# Start bcm2385 audio driver
#
case "$1" in
start)
echo -n "Starting bcm2385 audio driver: "
modprobe snd-bcm2385
echo "OK"
;;
stop)
echo -n "Stopping bcm2385 audio driver: "
rmmod snd-bcm2385
echo "OK"
;;
restart|reload)
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?
On Sat, Jan 17, 2015 at 9:18 PM, Lou Crittenden <loucrittenden63@gmail.com>
wrote:
> > Do you know how to get this module to load up on boot so I don't have to
> load it by hand every time?
>
> Never mind on this question. I answered my own question by making an
> /etc/init.d script that loads the driver at boot titled S50snd-bcm2835 with
> the following contents:
>
> #!/bin/sh
> #
> # Start audio driver
>
> case "$1" in
> start)
> echo -n "Starting audio driver snd-bcm2835: "
> echo "OK"
> ;;
> stop)
> echo -n "Stopping snd-bcm2835: "
> rmmod snd-bcm2835
> echo "OK"
> ;;
> restart|reload)
> ;;
> *)
> echo "Usage: $0 {start|stop|restart}"
> exit 1
> esac
>
> exit $?
>
> I had to take the text from the fbtft (display) init.d and change the
> references to the display to the snd-bcm2835 driver.
>
> Tried it, and it worked.
>
> Thank you Jeremy for giving me a clue on where to start by letting me know
> what driver to load.
>
>
>
>
>
> On Sat, Jan 17, 2015 at 8:02 PM, Lou Crittenden <loucrittenden63@gmail.com
> > wrote:
>
>> You're right, it is the snd-bcm2835.ko kernel module. After doing some
>> digging I was able to find it at
>> /lib/modules/3.12.28/kernel/sound/arm/snd-bcm2835.ko
>>
>> I had to load it with
>>
>> insmod /lib/modules/3.12.28/kernel/sound/arm/snd-bcm2835.ko
>>
>> (I had to do insmod initially with my display to test it).
>>
>> I am now listening to my music as I type with buildroot on my pi.
>>
>> Do you know how to get this module to load up on boot so I don't have to
>> load it by hand every time?
>>
>> Thanks in advance.
>>
>> On Fri, Jan 16, 2015 at 2:41 AM, Jeremy Rosen <jeremy.rosen@openwide.fr>
>> wrote:
>>
>>> I think you need to manually load the kernel module to get the rpi to
>>> play sounds
>>>
>>> IIRC it's call bcm2835_snd (I don't have my rpi with me right now, so
>>> Ican't check)
>>>
>>> Cordialement
>>>
>>> J?r?my Rosen
>>> +33 (0)1 42 68 28 04
>>>
>>> fight key loggers : write some perl using vim
>>>
>>>
>>> Open Wide Ingenierie
>>>
>>> 23, rue Daviel
>>> 75013 Paris - France
>>> www.openwide.fr
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------
>>>
>>> Hello all, I am in the process of setting up a minimalist buildroot
>>> based touchscreen multimedia player and was wondering how to get the audio
>>> and video backends working properly. I can play a file with mplayer (no
>>> arguments) from the console and there is no sound. I also have alsautils
>>> and pulseaudio installed, as well as the gstreamer framework, but still no
>>> go. I would like to get some info on how to configure it, please. For the
>>> display, I have one of those waveshare32b displays I got working thanks to
>>> Peter Seiderer's help (thanks Peter!). I'm now on the audio and video
>>> playback backend configuration stages.
>>>
>>> Included in the attachment is my buildroot configuration.
>>>
>>> _______________________________________________
>>> buildroot mailing list
>>> buildroot at busybox.net
>>> http://lists.busybox.net/mailman/listinfo/buildroot
>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150117/74d9995d/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-01-18 3:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-15 21:44 [Buildroot] Setting up audio/video playback backends on raspberry pi Lou Crittenden
2015-01-16 8:41 ` Jeremy Rosen
2015-01-18 2:02 ` Lou Crittenden
2015-01-18 3:18 ` Lou Crittenden
2015-01-18 3:51 ` Lou Crittenden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox