11 Replies Latest reply on Nov 30, 2015 7:28 PM by ChrisRu

    Build 2.1, bluez5 and audio. How to play audio?

    wojak666

      I needed to update to 2.1, but after that I found it problematic to play audio to bluetooth speaker/headset. I spent two days trying to solve it without success.

      I am not able to compile mplayer because of tons of strange errors, paplay and aplay wont work neither.

       

      How to configure bluez5 with pulseaudio in current build?

        • 1. Re: Build 2.1, bluez5 and audio. How to play audio?
          CMata_Intel

          Hi wojak666

           

          What is the outcome of running:

          root@edison:~# aplay --version
          root@edison:~# paplay --version
          
          

           

          Also, you can install Mplayer by following these steps: Re: no mplayer in edison-image, I installed AlexT repo(http://repo.opkg.net/edison/repo/), still no mplayer.

          root@edison:~# wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz 
          root@edison:~# tar xvf yasm-1.3.0.tar.gz
          root@edison:~#  cd yasm-1.3.0
          root@edison:~#  sed -i 's#) ytasm.*#)#' Makefile.in &&
          > ./configure --prefix=/usr &&
          > make
          root@edison:~#  make install
          root@edison:~# cd ../
          root@edison:~#  wget ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.1.tar.xz 
          root@edison:~#  tar xvf MPlayer-1.1.1.tar.xz
          root@edison:~#  cd MPlayer-1.1.1
          root@edison:~#  ./configure
          root@edison:~#  make
          root@edison:~#  make install
          
          

           

          Try with this and let me know if you are able to use mplayer after this.

          Take a look at this other thread, you may find useful information in there too: Has anyone passed data from Edison to a phone via Bluetooth?

           

          Regards;

          CMata

          • 2. Re: Build 2.1, bluez5 and audio. How to play audio?
            wojak666

            Hello, thank you

             

            here it is very detailed:

             

             

            root@edison:~# aplay --version
            aplay: version 1.0.27.2 by Jaroslav Kysela <perex@perex.cz>
            root@edison:~# paplay --version
            pacat 5.0
            Compiled with libpulse 5.0.0
            Linked with libpulse 5.0.0
            

             

            mplayer now errors are now limited to only one error which I am unable to solve:

             

            root@edison:~/MPlayer-1.1.1# make install
            make -C ffmpeg libpostproc/libpostproc.a
            make[1]: Entering directory '/home/root/MPlayer-1.1.1/ffmpeg'
            make[1]: 'libpostproc/libpostproc.a' is up to date.
            make[1]: Leaving directory '/home/root/MPlayer-1.1.1/ffmpeg'
            make -C ffmpeg libavfilter/libavfilter.a
            make[1]: Entering directory '/home/root/MPlayer-1.1.1/ffmpeg'
            make[1]: 'libavfilter/libavfilter.a' is up to date.
            make[1]: Leaving directory '/home/root/MPlayer-1.1.1/ffmpeg'
            make -C ffmpeg libavformat/libavformat.a
            make[1]: Entering directory '/home/root/MPlayer-1.1.1/ffmpeg'
            make[1]: 'libavformat/libavformat.a' is up to date.
            make[1]: Leaving directory '/home/root/MPlayer-1.1.1/ffmpeg'
            install -d /usr/local/bin /usr/local/etc/mplayer /usr/local/lib
            make: install: Command not found
            Makefile:910: recipe for target 'install-dirs' failed
            make: *** [install-dirs] Error 127
            

             

             

            no problem with bluetooth:

            
            
            [bluetooth]# scan on
            Discovery started
            [CHG] Controller 98:4F:EE:02:FB:86 Discovering: yes
            [bluetooth]# connect 58:51:00:00:01:BD
            Attempting to connect to 58:51:00:00:01:BD
            [NEW] Device 00:02:72:D6:7C:08 STACJA
            [CHG] Device 58:51:00:00:01:BD RSSI: -49
            [CHG] Device 58:51:00:00:01:BD Connected: yes
            Connection successful
            
            
            
            
            
            
            root@edison:~# pactl list sinks
            Sink #0
                    State: SUSPENDED
                    Name: alsa_output.platform-merr_dpcm_dummy.0.analog-stereo
                    Description: dummy-audio Analog Stereo
                    Driver: module-alsa-card.c
                    Sample Specification: s16le 2ch 48000Hz
                    Channel Map: front-left,front-right
                    Owner Module: 1
                    Mute: no
                    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                            balance 0.00
                    Base Volume: 65536 / 100% / 0.00 dB
                    Monitor Source: alsa_output.platform-merr_dpcm_dummy.0.analog-stereo.monitor
                    Latency: 0 usec, configured 0 usec
                    Flags: HARDWARE DECIBEL_VOLUME LATENCY
                    Properties:
                            alsa.resolution_bits = "16"
                            device.api = "alsa"
                            device.class = "sound"
                            alsa.class = "generic"
                            alsa.subclass = "generic-mix"
                            alsa.name = ""
                            alsa.id = "1"
                            alsa.subdevice = "0"
                            alsa.subdevice_name = "subdevice #0"
                            alsa.device = "0"
                            alsa.card = "1"
                            alsa.card_name = "dummy-audio"
                            alsa.long_card_name = "dummy-audio"
                            device.bus_path = "platform-merr_dpcm_dummy.0"
                            sysfs.path = "/devices/platform/merr_dpcm_dummy.0/sound/card1"
                            device.string = "hw:1"
                            device.buffering.buffer_size = "96000"
                            device.buffering.fragment_size = "48000"
                            device.access_mode = "mmap+timer"
                            device.profile.name = "analog-stereo"
                            device.profile.description = "Analog Stereo"
                            device.description = "dummy-audio Analog Stereo"
                            module-udev-detect.discovered = "1"
                            device.icon_name = "audio-card"
                    Ports:
                            analog-output: Analog Output (priority: 9900)
                    Active Port: analog-output
                    Formats:
                            pcm
            
            
            Sink #1
                    State: SUSPENDED
                    Name: alsa_output.0.analog-stereo
                    Description: Loopback Analog Stereo
                    Driver: module-alsa-card.c
                    Sample Specification: s16le 2ch 44100Hz
                    Channel Map: front-left,front-right
                    Owner Module: 2
                    Mute: no
                    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                            balance 0.00
                    Base Volume: 65536 / 100% / 0.00 dB
                    Monitor Source: alsa_output.0.analog-stereo.monitor
                    Latency: 0 usec, configured 0 usec
                    Flags: HARDWARE DECIBEL_VOLUME LATENCY
                    Properties:
                            alsa.resolution_bits = "16"
                            device.api = "alsa"
                            device.class = "sound"
                            alsa.class = "generic"
                            alsa.subclass = "generic-mix"
                            alsa.name = "Loopback PCM"
                            alsa.id = "Loopback PCM"
                            alsa.subdevice = "0"
                            alsa.subdevice_name = "subdevice #0"
                            alsa.device = "0"
                            alsa.card = "0"
                            alsa.card_name = "Loopback"
                            alsa.long_card_name = "Loopback 1"
                            device.bus_path = "/devices/virtual/sound/card0"
                            sysfs.path = "/devices/virtual/sound/card0"
                            device.string = "hw:0"
                            device.buffering.buffer_size = "352800"
                            device.buffering.fragment_size = "352800"
                            device.access_mode = "mmap+timer"
                            device.profile.name = "analog-stereo"
                            device.profile.description = "Analog Stereo"
                            device.description = "Loopback Analog Stereo"
                            alsa.mixer_name = "Loopback Mixer"
                            module-udev-detect.discovered = "1"
                            device.icon_name = "audio-card"
                    Ports:
                            analog-output: Analog Output (priority: 9900)
                    Active Port: analog-output
                    Formats:
                            pcm
            
            
            Sink #2
                    State: SUSPENDED
                    Name: bluez_sink.58_51_00_00_01_BD
                    Description: MA407
                    Driver: module-bluez5-device.c
                    Sample Specification: s16le 2ch 44100Hz
                    Channel Map: front-left,front-right
                    Owner Module: 13
                    Mute: no
                    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                            balance 0.00
                    Base Volume: 65536 / 100% / 0.00 dB
                    Monitor Source: bluez_sink.58_51_00_00_01_BD.monitor
                    Latency: 0 usec, configured 0 usec
                    Flags: HARDWARE DECIBEL_VOLUME LATENCY
                    Properties:
                            bluetooth.protocol = "a2dp_sink"
                            device.description = "MA407"
                            device.string = "58:51:00:00:01:BD"
                            device.api = "bluez"
                            device.class = "sound"
                            device.bus = "bluetooth"
                            device.form_factor = "headset"
                            bluez.path = "/org/bluez/hci0/dev_58_51_00_00_01_BD"
                            bluez.class = "0x240404"
                            bluez.alias = "MA407"
                            device.icon_name = "audio-headset-bluetooth"
                            device.intended_roles = "phone"
                    Ports:
                            headset-output: Headset (priority: 0)
                    Active Port: headset-output
                    Formats:
                            pcm
            
            
            root@edison:~# pactl list cards
            Card #0
                    Name: alsa_card.platform-merr_dpcm_dummy.0
                    Driver: module-alsa-card.c
                    Owner Module: 1
                    Properties:
                            alsa.card = "1"
                            alsa.card_name = "dummy-audio"
                            alsa.long_card_name = "dummy-audio"
                            device.bus_path = "platform-merr_dpcm_dummy.0"
                            sysfs.path = "/devices/platform/merr_dpcm_dummy.0/sound/card1"
                            device.string = "1"
                            device.description = "dummy-audio"
                            module-udev-detect.discovered = "1"
                            device.icon_name = "audio-card"
                    Profiles:
                            input:analog-mono: Analog Mono Input (sinks: 0, sources: 1, priority: 1, available: yes)
                            input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes)
                            output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
                            output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (sinks: 1, sources: 1, priority: 6001, available: yes)
                            output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes)
                            off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                    Active Profile: output:analog-stereo+input:analog-stereo
                    Ports:
                            analog-input: Analog Input (priority: 10000, latency offset: 0 usec)
                                    Part of profile(s): input:analog-mono, input:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo
                            analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
                                    Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo
            
            
            Card #1
                    Name: alsa_card.0
                    Driver: module-alsa-card.c
                    Owner Module: 2
                    Properties:
                            alsa.card = "0"
                            alsa.card_name = "Loopback"
                            alsa.long_card_name = "Loopback 1"
                            device.bus_path = "/devices/virtual/sound/card0"
                            sysfs.path = "/devices/virtual/sound/card0"
                            device.string = "0"
                            device.description = "Loopback"
                            module-udev-detect.discovered = "1"
                            device.icon_name = "audio-card"
                    Profiles:
                            input:analog-mono: Analog Mono Input (sinks: 0, sources: 1, priority: 1, available: yes)
                            input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes)
                            input:analog-4-channel-input: Analog 4-channel Input Input (sinks: 0, sources: 1, priority: 1, available: yes)
                            output:analog-mono: Analog Mono Output (sinks: 1, sources: 0, priority: 100, available: yes)
                            output:analog-mono+input:analog-mono: Analog Mono Duplex (sinks: 1, sources: 1, priority: 101, available: yes)
                            output:analog-mono+input:analog-stereo: Analog Mono Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 160, available: yes)
                            output:analog-mono+input:analog-4-channel-input: Analog Mono Output + Analog 4-channel Input Input (sinks: 1, sources: 1, priority: 101, available: yes)
                            output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
                            output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (sinks: 1, sources: 1, priority: 6001, available: yes)
                            output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes)
                            output:analog-stereo+input:analog-4-channel-input: Analog Stereo Output + Analog 4-channel Input Input (sinks: 1, sources: 1, priority: 6001, available: yes)
                            off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                    Active Profile: output:analog-stereo+input:analog-stereo
                    Ports:
                            analog-input: Analog Input (priority: 10000, latency offset: 0 usec)
                                    Part of profile(s): input:analog-mono, input:analog-stereo, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo
                            analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
                                    Part of profile(s): output:analog-mono, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-mono+input:analog-4-channel-input, output:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:analog-4-channel-input
            
            
            Card #2
                    Name: bluez_card.58_51_00_00_01_BD
                    Driver: module-bluez5-device.c
                    Owner Module: 13
                    Properties:
                            device.description = "MA407"
                            device.string = "58:51:00:00:01:BD"
                            device.api = "bluez"
                            device.class = "sound"
                            device.bus = "bluetooth"
                            device.form_factor = "headset"
                            bluez.path = "/org/bluez/hci0/dev_58_51_00_00_01_BD"
                            bluez.class = "0x240404"
                            bluez.alias = "MA407"
                            device.icon_name = "audio-headset-bluetooth"
                            device.intended_roles = "phone"
                    Profiles:
                            a2dp: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 10, available: yes)
                            off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                    Active Profile: a2dp
                    Ports:
                            headset-output: Headset (priority: 0, latency offset: 0 usec)
                                    Part of profile(s): a2dp
                            headset-input: Headset (priority: 0, latency offset: 0 usec, not available)
            
            
            
            
            root@edison:~# pactl set-default-sink bluez_sink.58_51_00
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            _00_01_BD
            

             

            trying to play anything:

            
            
            root@edison:~/MPlayer-1.1.1# ./mplayer -ao alsa:device=hw=1.0 ../heater_off.wav
            MPlayer 1.1-4.8.2 (C) 2000-2012 MPlayer Team
            
            
            Playing ../heater_off.wav.
            libavformat version 54.6.100 (internal)
            Audio only file format detected.
            Load subtitles in ../
            ==========================================================================
            Opening audio decoder: [pcm] Uncompressed PCM audio decoder
            AUDIO: 44100 Hz, 1 ch, s32le, 1411.2 kbit/100.00% (ratio: 176400->176400)
            Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
            ==========================================================================
            No such audio driver 'alsa'
            Could not open/initialize audio device -> no sound.
            Audio: no sound
            Video: no video
            
            
            
            
            Exiting... (End of file)
            
            
            root@edison:~/MPlayer-1.1.1# ./mplayer ../heater_off.wav
            MPlayer 1.1-4.8.2 (C) 2000-2012 MPlayer Team
            
            
            Playing ../heater_off.wav.
            libavformat version 54.6.100 (internal)
            Audio only file format detected.
            Load subtitles in ../
            ==========================================================================
            Opening audio decoder: [pcm] Uncompressed PCM audio decoder
            AUDIO: 44100 Hz, 1 ch, s32le, 1411.2 kbit/100.00% (ratio: 176400->176400)
            Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
            ==========================================================================
            [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
            DVB card number must be between 1 and 4
            AO: [null] 44100Hz 1ch s32le (4 bytes per sample)
            Video: no video
            Starting playback...
            A:   2.6 (02.6) of 2.0 (02.0)  0.2%
            
            
            
            
            Exiting... (End of file)
            
            
            root@edison:~# paplay heater_off.wav
            sndfile: Bad parameter passed to function sf_command.
            Failed to determine sample specification from file.
            
            
            root@edison:~# paplay -d bluez_sink.58_51_00_00_01_BD heater_off.wav
            sndfile: Bad parameter passed to function sf_command.
            Failed to determine sample specification from file.
            
            
            
            
            root@edison:~# aplay -lL
            null
                Discard all samples (playback) or generate zero samples (capture)
            btheadset
                BT Headset
            default:CARD=Loopback
                Loopback, Loopback PCM
                Default Audio Device
            sysdefault:CARD=Loopback
                Loopback, Loopback PCM
                Default Audio Device
            default:CARD=dummyaudio
                dummy-audio,
                Default Audio Device
            sysdefault:CARD=dummyaudio
                dummy-audio,
                Default Audio Device
            **** List of PLAYBACK Hardware Devices ****
            card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
              Subdevices: 8/8
              Subdevice #0: subdevice #0
              Subdevice #1: subdevice #1
              Subdevice #2: subdevice #2
              Subdevice #3: subdevice #3
              Subdevice #4: subdevice #4
              Subdevice #5: subdevice #5
              Subdevice #6: subdevice #6
              Subdevice #7: subdevice #7
            card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
              Subdevices: 8/8
              Subdevice #0: subdevice #0
              Subdevice #1: subdevice #1
              Subdevice #2: subdevice #2
              Subdevice #3: subdevice #3
              Subdevice #4: subdevice #4
              Subdevice #5: subdevice #5
              Subdevice #6: subdevice #6
              Subdevice #7: subdevice #7
            card 1: dummyaudio [dummy-audio], device 0: 14 []
              Subdevices: 1/1
              Subdevice #0: subdevice #0
            card 1: dummyaudio [dummy-audio], device 1: ((null)) []
              Subdevices: 1/1
              Subdevice #0: subdevice #0
            card 1: dummyaudio [dummy-audio], device 2: ((null)) []
              Subdevices: 1/1
              Subdevice #0: subdevice #0
            
            
            
            
            root@edison:~# aplay -D btheadset heater_off.wav
            ALSA lib /data/jenkins_worker/workspace/edison-weekly/out/linux64/build/tmp/work/core2-32-poky-linux/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_bluetooth.so
            aplay: main:722: audio open error: No such device or address
            
            
            root@edison:~# aplay heater_off.wav
            Playing WAVE 'heater_off.wav' : Signed 32 bit Little Endian, Rate 44100 Hz, Mono
            #no sound at all
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            

             

             

            thank you again

            • 3. Re: Build 2.1, bluez5 and audio. How to play audio?
              wojak666

              I finally managed to make it working:

               

              Install some dependencies and reinstall pulseaudio and pulseaudio-dev

               

              opkg install libavahi-client-dev
              opkg install systemd-dev
              pkg install mpg123
              oopkg install pulseaudio --force-reinstall --force-overwrite
              opkg install pulseaudio-dev --force-reinstall --force-overwrite
              

               

              Check if package exists:

               

              root@edison:~# pkg-config --libs --cflags libpulse
              -D_REENTRANT -lpulse
              

               

              recompile mplayer:

              root@edison:~/MPlayer-1.1.1# ./configure |grep pulse
              Checking for pulse ... yes 
              make && make install
              

               

              config mplayer to work nicely with pulseaudio

               

              echo "ao=pulse" > ~/.mplayer/config
              

               

              Test sound:

              root@edison:~/MPlayer-1.1.1# ./mplayer ../heater_off.wav
              MPlayer 1.1-4.8.2 (C) 2000-2012 MPlayer Team
              
              
              Playing ../heater_off.wav.
              libavformat version 54.6.100 (internal)
              Audio only file format detected.
              Load subtitles in ../
              ==========================================================================
              Opening audio decoder: [pcm] Uncompressed PCM audio decoder
              AUDIO: 44100 Hz, 1 ch, s32le, 1411.2 kbit/100.00% (ratio: 176400->176400)
              Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
              ==========================================================================
              AO: [pulse] 44100Hz 1ch s32le (4 bytes per sample)
              Video: no video
              Starting playback...
              A:   2.5 (02.5) of 2.0 (02.0)  0.2%
              
              
              
              
              Exiting... (End of file)
              

               

               

              And it works!

              • 4. Re: Build 2.1, bluez5 and audio. How to play audio?
                maestr0

                libavahi-client-dev is not in the default repos and  pulseaudio-dev is throwing an error:


                Collected errors:

                * satisfy_dependencies_for: Cannot satisfy the following dependencies for pulseaudio-dev:

                * jack (= 0.121.0-r0) *

                * opkg_install_cmd: Cannot install package pulseaudio-dev.

                 

                 

                opkg install jack

                Unknown package 'jack'.

                Collected errors:

                * opkg_install_cmd: Cannot install package jack.

                 

                 

                This is what I have in /etc/opkg/base-feeds.conf

                 

                src all    http://iotdk.intel.com/repos/1.1/iotdk/all

                src x86 http://iotdk.intel.com/repos/1.1/iotdk/x86

                src i586    http://iotdk.intel.com/repos/1.1/iotdk/i586

                 

                 

                src/gz all2    http://repo.opkg.net/edison/repo/all

                src/gz edison    http://repo.opkg.net/edison/repo/edison

                src/gz core2-32  http://repo.opkg.net/edison/repo/core2-32

                 

                 

                Where did you get those packages from?

                I'm on yocto 2.1

                 

                configure_edison --version

                159

                • 5. Re: Build 2.1, bluez5 and audio. How to play audio?
                  Rahulison

                  Hi,

                   

                  I have the same problem as yours i.e.


                  root@rahul:/usr/Sounds/MPlayer-1.1.1# make install

                  install -d /usr/local/bin /usr/local/etc/mplayer /usr/local/lib

                  make: install: Command not found

                  Makefile:910: recipe for target 'install-dirs' failed

                  make: *** [install-dirs] Error 127


                  so I tried to install the libavahi packages but I get the same error:

                   

                  root@rahul:/usr/Sounds/MPlayer-1.1.1# opkg install libavahi-client-dev

                  Unknown package 'libavahi-client-dev'.

                  Collected errors:

                  * opkg_install_cmd: Cannot install package libavahi-client-dev.


                  I'm using edison-image-ww25.5-15


                  and


                  configure_edison --version

                  159

                   

                  Thanks

                  • 6. Re: Build 2.1, bluez5 and audio. How to play audio?
                    Cooper132

                    Hi,

                     

                    sorry to bring up this old post, but I currently have the same issue when trying to install mplayer with pulse audio.

                    Have any of you found a solution?

                     

                    Going through the correct answer above, here are the errors i get:

                    root@edison:~# opkg install libavahi-client-dev

                    Unknown package 'libavahi-client-dev'.

                    Collected errors:

                    * opkg_install_cmd: Cannot install package libavahi-client-dev.

                    root@edison:~# opkg install pulseaudio-dev --force-reinstall --force-overwrite

                    Downloading http://repo.opkg.net/edison/repo/core2-32/pulseaudio-dev_6.0-r0_core2-32.ipk.

                    Multiple packages (pulseaudio-dev and pulseaudio-dev) providing same name marked HOLD or PREFER. Using latest.

                    Installing pulseaudio-dev (6.0-r0) on root.

                    pulseaudio-dev: unsatisfied recommendation for libavahi-client-dev

                    alsa-lib-dev: unsatisfied recommendation for alsa-conf-base-dev

                    alsa-lib-dev: unsatisfied recommendation for libasound-dev

                    alsa-lib-dev: unsatisfied recommendation for alsa-conf-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-protocol-simple-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-stream-restore-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-null-sink-dev

                    libx11-dev: unsatisfied recommendation for libx11-xcb-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-shape-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-dpms-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-render-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-shm-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-dri3-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-damage-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-glx-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-composite-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-res-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-xvmc-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-xkb-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-sync-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-xevie-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-dri2-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-randr-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-record-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-xprint-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-xv-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-xtest-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-screensaver-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-present-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-xf86dri-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-xinerama-dev

                    libxcb-dev: unsatisfied recommendation for libxcb-xfixes-dev

                    pulseaudio-dev: unsatisfied recommendation for udev-dev

                    pulseaudio-dev: unsatisfied recommendation for libsystemd-dev

                    libsndfile-dev: unsatisfied recommendation for libasound-dev

                    libsndfile-dev: unsatisfied recommendation for sqlite3-dev

                    pulseaudio-dev: unsatisfied recommendation for shadow-sysroot-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-oss-util-dev

                    consolekit-dev: unsatisfied recommendation for dbus-lib-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-native-protocol-unix-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-avahi-wrap-dev

                    pulseaudio-dev: unsatisfied recommendation for libpulse-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-always-sink-dev

                    pulseaudio-dev: unsatisfied recommendation for libudev-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-protocol-cli-dev

                    pulseaudio-dev: unsatisfied recommendation for libx11-xcb-dev

                    pulseaudio-dev: unsatisfied recommendation for libasound-dev

                    pulseaudio-dev: unsatisfied recommendation for libpulse-simple-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-loopback-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-augment-properties-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-protocol-http-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-udev-detect-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-suspend-on-idle-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-bluez5-discover-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-rescue-streams-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-position-event-sounds-dev

                    e2fsprogs-dev: unsatisfied recommendation for libcomerr-dev

                    e2fsprogs-dev: unsatisfied recommendation for e2fsprogs-badblocks-dev

                    e2fsprogs-dev: unsatisfied recommendation for libe2p-dev

                    e2fsprogs-dev: unsatisfied recommendation for update-alternatives-opkg-dev

                    e2fsprogs-dev: unsatisfied recommendation for libext2fs-dev

                    e2fsprogs-dev: unsatisfied recommendation for libss-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-cli-protocol-unix-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-role-cork-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-detect-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-filter-heuristics-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-cli-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-bluetooth-policy-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-bluez5-device-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-alsa-source-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-default-device-restore-dev

                    jack-dev: unsatisfied recommendation for libjack-dev

                    jack-dev: unsatisfied recommendation for libasound-dev

                    flac-dev: unsatisfied recommendation for libflac-dev

                    flac-dev: unsatisfied recommendation for libflac++-dev

                    lirc-dev: unsatisfied recommendation for libjack-dev

                    libportaudio-dev: unsatisfied recommendation for libasound-dev

                    libportaudio-dev: unsatisfied recommendation for libjack-dev

                    lirc-dev: unsatisfied recommendation for libsystemd-dev

                    lirc-dev: unsatisfied recommendation for libasound-dev

                    pulseaudio-dev: unsatisfied recommendation for libavahi-common-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-alsa-card-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-filter-apply-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-card-restore-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-rtp-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-intended-roles-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-alsa-util-dev

                    pulseaudio-dev: unsatisfied recommendation for libpulsecore-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-alsa-sink-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-protocol-native-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-protocol-esound-dev

                    pulseaudio-dev: unsatisfied recommendation for libpulsecommon-dev

                    gconf-dev: unsatisfied recommendation for dbus-lib-dev

                    gconf-dev: unsatisfied recommendation for gobject-introspection-stub-dev

                    gconf-dev: unsatisfied recommendation for dbus-x11-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-switch-on-port-available-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-console-kit-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-bluez5-util-dev

                    pulseaudio-dev: unsatisfied recommendation for dbus-lib-dev

                    pulseaudio-dev: unsatisfied recommendation for libpulse-mainloop-glib-dev

                    pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-device-restore-dev

                    Collected errors:

                    * satisfy_dependencies_for: Cannot satisfy the following dependencies for pulseaudio-dev:

                    *    jack (= 0.121.0-r0) *

                    * opkg_install_cmd: Cannot install package pulseaudio-dev.

                    root@edison:~# pkg-config --libs --cflags libpulse

                    Package libpulse was not found in the pkg-config search path.

                    Perhaps you should add the directory containing `libpulse.pc'

                    to the PKG_CONFIG_PATH environment variable

                    No package 'libpulse' found

                    root@edison:~/MPlayer-1.1.1# ./configure | grep pulse

                    Checking for pulse ... no

                     

                    Also using the latest edison yocto image.

                     

                    Regards,

                    Cooper

                    • 7. Re: Build 2.1, bluez5 and audio. How to play audio?
                      Cooper132

                      Oh and also, Rahulison, your make install error for mplayer is easily solved by installing coreutils (opkg install coreutils). This does not however solve the underlying problem... You can install mplayer just fine, but it likely won't be able to use pulseaudio if you are having the same problem I'm having.

                      • 8. Re: Build 2.1, bluez5 and audio. How to play audio?
                        CMata_Intel

                        Hi Cooper,

                         

                        What is the output of cat /etc/opkg/base-feeds.conf?

                        Which repository are you using?

                        If you are using the AlexT’s repo the package libavahi-client-dev doesn’t exist

                        Are you running opkg update before installing the other packages?

                        Are you having network issues?

                         

                        Which are all the packages you want to install?

                        Which image do you have on your board?

                         

                        Regards,

                        Charlie

                        • 9. Re: Build 2.1, bluez5 and audio. How to play audio?
                          Cooper132

                          Hi,

                           

                          I had already made a new thread for this problem and may now have found a solution:

                          https://communities.intel.com/thread/93267

                           

                          But thank you for your help Charlie!

                           

                          Cheers,

                          Cooper

                          • 10. Re: Build 2.1, bluez5 and audio. How to play audio?
                            ChrisRu

                            Cooper132 wrote:

                             

                            Oh and also, Rahulison, your make install error for mplayer is easily solved by installing coreutils (opkg install coreutils). This does not however solve the underlying problem... You can install mplayer just fine, but it likely won't be able to use pulseaudio if you are having the same problem I'm having.

                             

                            Thanks so much for this.  You knocked out this problem with the "install" utility and you also helped me to get mplayer built with PulseAudio enabled.  I had gotten stuck this morning on that "jack" dependency.  Phew.  Now I just have to wait the hour or so that this thing takes to rebuild mplayer.