Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SBoet
New Contributor I
1,102 Views

Problem installing mplayer with pulse audio to play music via bluetooth

Hi,

I'm currently trying to install mplayer with pulse audio in order to play some music via bluetooth headphones that I have already successfully connected with the edison.

I was initially following the correct answer /message/308907# 308907 here and installed mplayer, but couldn't play audio because it doesn't know the pulse audio output.

I then tried the correct answer /thread/75748 here but I cannot install some of the libraries that are mentioned there.

Going through /message/310610# 310610 the correct answer, 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 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-intende...

3 Replies
Sergio_A_Intel
Employee
102 Views

Hi,

What libraries were you not able to install?

If you are having problems with libavahi why don't you try to install the packages individually?

Try with opkg install libavahi-client3

To download packages individually run wget http://repo.opkg.net/edison/repo/core2-32/%3cpackage_name%3e.ipk http://repo.opkg.net/edison/repo/core2-32/.ipk. This will allow you to download packages from http://repo.opkg.net/edison/repo/core2-32/ Index of /edison/repo/core2-32 .

Some of the errors seem to be related to missing dependencies. Install all dependencies needed and let us know your results.

Sergio

SBoet
New Contributor I
102 Views

So I have been looking into this a bit more, looks like the problem is an incorrect (?) dependency in the package jack-dev on the package jack.

(I am using the AlexT_Intel repo)

Installing jack-dev without dependencies seems to completely solve this (see also /message/301089# 301089 this thread):

opkg install libjack

opkg install --nodeps jack-dev

opkg install pulseaudio-dev

worked for me, I now have pulse installed and am currently recompiling mplayer, I will see if my bluetooth headphones work then...

I'm not sure if avahi is even needed for my usecase, I just ignored and installed without it...

Thanks for your help!

Cooper

Edit: everything works now, marking as correct.

AT9
Honored Contributor II
102 Views

Yes, that's exactly the case, jack package for whatever reason is generated with broken dependencies (even though on the recipe level everything looks ok). There were no reports for anyone having problems with this too much (at least not those that @-mentioned me, anyway ), so I've never bothered to investigate this further.

Thanks for sharing the workaround.

Reply