Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[DONE] xbian-package-a2dp
Thank you for your donation

Pages (4): « Previous 1 2 3 4 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Done:  xbian-package-a2dp
26th Jun, 2014, 03:29 PM
Post: #31
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: xbian-package-a2dp
ok, don'i know so,

thes post install script should not be error proof (my bash skill is not really famous).
if you want to try more, you can check your conf file like explain there,
i use that source now :
http://jamesbond3142.no-ip.org/blog/?viewDetailed=00032

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
6th Jul, 2014, 09:01 PM
Post: #32
Stefanotis Offline
Registered
Posts: 4
Joined: Jul 2014
Reputation: 0
RE: xbian-package-a2dp
Thank you for your great work! This package has actually been the final reason for me to switch from Raspbmc to XBian. Thank you Smile

A really short question:

It seems that, by default, the package is routing the sound output through HDMI. In the system settings I have set analogue for music output and activated dual output. However, streamed music via bluetooth a2dp is always send through HDMI. Is there any way to change that configuration and have bluetooth-a2dp sound routed through analogue?

Thanks and Cheers!
Find all posts by this user
Quote this message in a reply
10th Jul, 2014, 07:38 PM
Post: #33
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: xbian-package-a2dp
Hi,

if your hdmi cable is connected, default is hdmi, if unplugged default is analog
to change, depending which version you use,
if you use the alsa one (the one on git), you should configure alsa to output to analog with this command,

amixer cset numid=3 1

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
11th Jul, 2014, 11:43 PM
Post: #34
Stefanotis Offline
Registered
Posts: 4
Joined: Jul 2014
Reputation: 0
RE: xbian-package-a2dp
(10th Jul, 2014 07:38 PM)belese Wrote:  amixer cset numid=3 1

That worked perfectly. Thanks!
Find all posts by this user
Quote this message in a reply
27th Jul, 2014, 11:11 AM
Post: #35
g0rill4z Offline
Registered
Posts: 6
Joined: Jul 2014
Reputation: 0
RE: xbian-package-a2dp
Hey belese,

first I would like to thank you for your great package.

I'm writing, because I also wanted to switch the output to analog, but all my changes didnt take effect. Also amixer cset numid=3 1 couldn't solve my issue. I've tried several things, but the output is still through HDMI.

I've installed your package over github.

Do you have any advice?

Thanks in advance
Find all posts by this user
Quote this message in a reply
29th Jul, 2014, 02:49 AM
Post: #36
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: xbian-package-a2dp
I don't know,
it uses the default alsa, so all advice for linux alsa should be the same there.

check on google alsa raspberry.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
30th Jul, 2014, 10:02 AM
Post: #37
g0rill4z Offline
Registered
Posts: 6
Joined: Jul 2014
Reputation: 0
RE: xbian-package-a2dp
I'd this before, but I couldn't find anything helpful.

I think it's the version with alsa, but maybe I'm wrong, because I first installed it with apt-get, uninstalled it and reinstalled it over github. How could I switch the output of the pulse adapter?
Find all posts by this user
Quote this message in a reply
30th Jul, 2014, 07:13 PM
Post: #38
Stefanotis Offline
Registered
Posts: 4
Joined: Jul 2014
Reputation: 0
RE: xbian-package-a2dp
I'd recommend testing whether ALSA is working correctly

Terminal
speaker-test -c 2

if your hear an output (noise) from your speakers connected to the rpi, alsa is working correctly and we'll have to figure out what's wrong with your installation. You can try that with speakers connected to HDMI and analogue output to see if ALSA is generally working. It will also show you, if ALSA is working, where it is routing the sound output.

Also, I found this helpful about the peculiarities of ALSA on rpi. It seems that it might also be related to your HDMI device.
Find all posts by this user
Quote this message in a reply
2nd Aug, 2014, 12:04 PM
Post: #39
g0rill4z Offline
Registered
Posts: 6
Joined: Jul 2014
Reputation: 0
RE: xbian-package-a2dp
Hey Stefanotis,

you just solved my issue. Smile The following command was the solution.

Terminal
sudo amixer -c 0 cset numid=3 1

Thank you very much!
Find all posts by this user
Quote this message in a reply
4th Aug, 2014, 04:55 PM
Post: #40
Stefanotis Offline
Registered
Posts: 4
Joined: Jul 2014
Reputation: 0
RE: xbian-package-a2dp
(2nd Aug, 2014 12:04 PM)g0rill4z Wrote:  Hey Stefanotis,

you just solved my issue. Smile The following command was the solution.

Terminal
sudo amixer -c 0 cset numid=3 1

Thank you very much!

Glad I could help Smile
Find all posts by this user
Quote this message in a reply
24th Dec, 2014, 10:00 AM
Post: #41
hardyt Offline
Registered
Posts: 1
Joined: Dec 2014
Reputation: 0
RE: xbian-package-a2dp
Update: I recreated /etc/bluetooth/audio.conf from https://launchpadlibrarian.net/174137125/audio.conf and xbian-package-a2dp installed with only the snd_bcm2835 error. I still can't pair.

Update2: Apparently Bluez5 doesn't support a2dp anymore: http://askubuntu.com/questions/440386/bluetoothd-bluez-5-wont-connect-with-any-devices (see the answer); a2dp support was moved to pulseaudio. Maybe the 1.0 version of xbian-package-a2dp where it relied on pulseaudio will work?

Hi, first, thanks for creating this!! Now the question: does this package still work on the latest xbian? I don't think it's working with the current Bluez5. I have paired my phone successfully with Bluez, but xbian-a2dp does not appear to be running correctly due to the post install script not liking the current Bluez5 or something in the latest xbian build.

I'm using a CuBox-i4. I've tried both the apt-get and git install methods. Both complain about snd_bcm2835 and audio.conf missing. From what I can gather Bluez5 doesn't use audio.conf. The install says success, xbian does not appear as a bluetooth sink. It just appears as a device I can connect to. This is the install script output, notice the FATAL and No such file or directory entries:

Terminal

The following NEW packages will be installed:
xbian-package-a2dp
0 upgraded, 1 newly installed, 0 to remove and 93 not upgraded.
Need to get 0 B/4,296 B of archives.
After this operation, 20.5 kB of additional disk space will be used.
Warning: Snapshot or volume with this name already exists, skipping root/@btrfs-auto-snap_apt-run-2014-12-23-1647
Transaction commit: none (default)
Delete subvolume '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-12-23-1643'
@btrfs-auto-snap_apt-run-2014-12-23-1647, 0 created snapshots, 1 destroyed snapshots, 1 warnings.
Selecting previously unselected package xbian-package-a2dp.
(Reading database ... 25914 files and directories currently installed.)
Preparing to unpack .../xbian-package-a2dp_1.0_armhf.deb ...
modprobe: FATAL: Module snd_bcm2835 not found.
Unpacking xbian-package-a2dp (1.0) ...
Setting up xbian-package-a2dp (1.0) ...
cp: cannot stat ‘/etc/bluetooth/audio.conf’: No such file or directory
sed: can't read /etc/bluetooth/audio.conf: No such file or directory
grep: /etc/bluetooth/audio.conf: No such file or directory
sed: can't read /etc/bluetooth/audio.conf: No such file or directory
Success: insert bluetooth enable
1
1

This is my a2dp log: sudo cat /var/log/upstart/bluetooth-a2dp.log
Terminal

initctl: Unknown instance:
Bluetooh device removed
bluetooth-pairing stop/stopping

Bluez5 appears to be working correctly except for that last bit:

Terminal

[CHG] Device 78:59:5E:37:65:06 Paired: yes
Pairing successful
[CHG] Device 78:59:5E:37:65:06 Connected: no
[bluetooth]# connect 78:59:5E:37:65:06
Attempting to connect to 78:59:5E:37:65:06
Failed to connect: org.bluez.Error.Failed
Find all posts by this user
Quote this message in a reply
28th Dec, 2014, 08:01 PM
Post: #42
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: xbian-package-a2dp
No it don't work with bluez 5.
i've tried a bit, but there's no real documentation, and i've seen no one manage to get it working with bluez 5.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
12th Jan, 2015, 06:45 AM
Post: #43
meiser Offline
Registered
Posts: 2
Joined: Jan 2015
Reputation: 0
RE: xbian-package-a2dp
Would it be possible to push the ALSA version to the staging repository? The stable repository still has the pulseaudio version.

Thanks in advance,
meiser
Find all posts by this user
Quote this message in a reply
12th Jan, 2015, 06:46 AM
Post: #44
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: xbian-package-a2dp
Can you give me a direct link to the package you're talking about.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
14th Jan, 2015, 08:05 AM
Post: #45
meiser Offline
Registered
Posts: 2
Joined: Jan 2015
Reputation: 0
RE: xbian-package-a2dp
(12th Jan, 2015 06:46 AM)CurlyMo Wrote:  Can you give me a direct link to the package you're talking about.

It's under https://github.com/belese/xbian-package-a2dp, the debian package has to be generated with the gen.package.sh script.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (4): « Previous 1 2 3 4 Next »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 12th May, 2025, 12:57 AM Powered By MyBB, © 2002-2025 MyBB Group.