4th Apr, 2014, 07:30 PM
4th Apr, 2014, 07:49 PM
i know :-)
7th Apr, 2014, 05:28 AM
Hi, I`m new here and just wanted to join this discussion!
Great work so far! I tried to do the same on my own a few months ago, but i didn't come as far as you..
Unfortunately i had a lot of trouble with my bluetooth dongle, which is: "Integrated System Solution Corp. KY-BT100 Bluetooth Adapter". I was able to scan for other devices but unable to connect to any. It finally turned out that the standard debian bluetooth driver btusb doesn't work with that device. Installing blueman and rebooting made my dongle finally work, for people who have the same problem.
Pairing and playing works now, but i have terrible audio output, just very silent and noisy with a few parts of the music. Any idea what this could be? I have the xbian-package-a2dp1.1 version from github of today.
Edit: XBian version: 1.0beta2, RPi Model B Rev2
Greetings,
Daniel
Great work so far! I tried to do the same on my own a few months ago, but i didn't come as far as you..
Unfortunately i had a lot of trouble with my bluetooth dongle, which is: "Integrated System Solution Corp. KY-BT100 Bluetooth Adapter". I was able to scan for other devices but unable to connect to any. It finally turned out that the standard debian bluetooth driver btusb doesn't work with that device. Installing blueman and rebooting made my dongle finally work, for people who have the same problem.
Pairing and playing works now, but i have terrible audio output, just very silent and noisy with a few parts of the music. Any idea what this could be? I have the xbian-package-a2dp1.1 version from github of today.
Edit: XBian version: 1.0beta2, RPi Model B Rev2
Greetings,
Daniel
7th Apr, 2014, 04:28 PM
Hi,
did you use ios?
i've done some test with my samsmung s3 mini, and ubuntu, it was ok.
i've listen for few hours, and had just some time a little 'hickup', but maybe one per hour.
i tried yesterday, but just a few time as it's not mine, on ios, and i've same thing than you.
but i can't debug, as it was a mac from a friends.
you can watch the log on /var/log/upstart/bluetooth-a2dp.log and see if something relevant is there.
After it's not my code at all, i just read it fast and integrate it on a deb, so not sure i can find problem.
Belese
did you use ios?
i've done some test with my samsmung s3 mini, and ubuntu, it was ok.
i've listen for few hours, and had just some time a little 'hickup', but maybe one per hour.
i tried yesterday, but just a few time as it's not mine, on ios, and i've same thing than you.
but i can't debug, as it was a mac from a friends.
you can watch the log on /var/log/upstart/bluetooth-a2dp.log and see if something relevant is there.
After it's not my code at all, i just read it fast and integrate it on a deb, so not sure i can find problem.
Belese
7th Apr, 2014, 04:59 PM
No I have a Samsung Galaxy S4.
I will do some testing with a few other phones and take a look in the logs when i get home!
Could also be that it's because of my bt-dongle and the blueman installation. May I ask which bluetooth dongle you used?
Daniel
I will do some testing with a few other phones and take a look in the logs when i get home!
Could also be that it's because of my bt-dongle and the blueman installation. May I ask which bluetooth dongle you used?
Daniel
7th Apr, 2014, 05:31 PM
i'm at work,
but it's the cheaper dongle i've found on local market,
will check when i'm at home.
but it's the cheaper dongle i've found on local market,
will check when i'm at home.
22nd Jun, 2014, 08:32 PM
Hi,
I'd like to try this package, but the download link to the deb package seems broken. Can anybody show me a working link?
thanks
I'd like to try this package, but the download link to the deb package seems broken. Can anybody show me a working link?
thanks
23rd Jun, 2014, 07:07 AM
sudo apt-get install xbian-package-a2dp should work, or via xbian-config->package->sound->a2sp.
23rd Jun, 2014, 07:52 AM
Thanks! I'm able to find my raspberry pi from my phone, but I cannot connect to it. This is what the log file looks like:
cat /var/log/upstart/bluetooth-a2dp.log
Any ideas?
PS:
Update 1:
I modified the script in /etc/init/ and replaced the word "Master" with "PCI". It still doesn't work, but the log message changed. This is what it says:
Update 2: this is the last one, I promise. I noticed that the "source sink" variable was empty.
As you can see, nothing related to bluez.
cat /var/log/upstart/bluetooth-a2dp.log
Code:
bluetooth-a2dp stop/pre-start, process 4770
source sink :
output sink : alsa_output.platform-bcm2835_AUD0.0.analog-stereo
numid=3,iface=MIXER,name='PCM Playback Route'
; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
: values=1
amixer: Unable to find simple control 'Master',0
Bluetooh device removed
Any ideas?
PS:
Code:
xbian@xbian /etc/init.d $ amixer
Simple mixer control 'PCM',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback -1725 [80%] [-17.25dB] [on]
xbian@xbian /etc/init.d $ amixer controls
numid=3,iface=MIXER,name='PCM Playback Route'
numid=2,iface=MIXER,name='PCM Playback Switch'
numid=1,iface=MIXER,name='PCM Playback Volume'
Update 1:
I modified the script in /etc/init/ and replaced the word "Master" with "PCI". It still doesn't work, but the log message changed. This is what it says:
Code:
sudo cat /var/log/upstart/bluetooth-a2dp.log
bluetooth-a2dp stop/pre-start, process 4981
source sink :
output sink : alsa_output.platform-bcm2835_AUD0.0.analog-stereo
numid=3,iface=MIXER,name='PCM Playback Route'
; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
: values=1
Simple mixer control 'PCM',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback 400 [100%] [4.00dB] [on]
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Failure: Module initialization failed
Bluetooh device removed
bluetooth-pairing start/running, process 5046
Update 2: this is the last one, I promise. I noticed that the "source sink" variable was empty.
Code:
xbian@xbian ~ $ sudo -u xbian pactl list short sources
0 alsa_output.platform-bcm2835_AUD0.0.analog-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz RUNNING
1 alsa_output.default.monitor module-alsa-sink.c s16le 2ch 44100Hz RUNNING
23rd Jun, 2014, 08:10 PM
ok, so propably it's the old version in stable repo,
because now, it didn't use pulse audio but alsa directly.
aybe it is in staging repo, but i'm at work, will check this night.
if you want to try before, you can check on staging or devel repo.
because now, it didn't use pulse audio but alsa directly.
aybe it is in staging repo, but i'm at work, will check this night.
if you want to try before, you can check on staging or devel repo.
25th Jun, 2014, 04:42 AM
(23rd Jun, 2014 08:10 PM)belese Wrote: [ -> ]ok, so propably it's the old version in stable repo,
because now, it didn't use pulse audio but alsa directly.
aybe it is in staging repo, but i'm at work, will check this night.
if you want to try before, you can check on staging or devel repo.
I checked the staging and devel repositories and I couldn't find the package there. It seems that the one on Stable is the most up to date.
26th Jun, 2014, 01:58 AM
strange, it seem i've install from it, but maybe not.
you can install from git hub so,
you need to install fakeroot and git before, than
and if missing dependencies, and apt-get install -f should fixed them.
but the pulse audio version should work too on raspberry pi.
i've not many time now to test again the pulse audio version
is the module for sound card loaded?
you can install from git hub so,
you need to install fakeroot and git before, than
Code:
git clone https://github.com/xbianonpi/xbian-package-a2dp.git
cd xbian-package-a2dp
./gen.package.sh
sudo dpkg -i xbian-package-a2dp.deb
and if missing dependencies, and apt-get install -f should fixed them.
but the pulse audio version should work too on raspberry pi.
i've not many time now to test again the pulse audio version
is the module for sound card loaded?
26th Jun, 2014, 05:59 AM
Mmm, I've done what you said and installed the last version. It only seemed to make things worse. Now the bluetooth service (and bluetooth-pairing) doesn't autostart when I reboot. And even if I start them manually, I am unable to pair my phone (synchonization failed).
Even running this command I can't find my phone (it could, before)
about the modules:
I think i'll try later with a clean install of xbian, because the current one has been upgraded too many times and this may be the reason why it's not working properly.
Even running this command I can't find my phone (it could, before)
Code:
xbian@xbian ~ $ bt-device -l
bt-device: bluez service is not found
Did you forget to run bluetoothd?
about the modules:
Code:
xbian@xbian ~ $ sudo lsmod
Module Size Used by
hidp 12692 2
rfcomm 40428 0
bnep 10772 0
r8188eu 663096 0
btusb 14116 0
bluetooth 253884 11 bnep,hidp,btusb,rfcomm
rfkill 10124 2 bluetooth
frandom 3296 1
snd_bcm2835 11580 1
snd_pcm 51164 1 snd_bcm2835
snd_page_alloc 2704 1 snd_pcm
snd_seq 36264 0
snd_seq_device 3652 1 snd_seq
snd_timer 13400 2 snd_pcm,snd_seq
snd 36808 7 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
soundcore 3576 1 snd
joydev 7328 0
uinput 5244 1
vchiq 183244 3 snd_bcm2835
I think i'll try later with a clean install of xbian, because the current one has been upgraded too many times and this may be the reason why it's not working properly.
26th Jun, 2014, 06:53 AM
and bluetoothd run?
sudo /etc/init.d/bluetoothd start
sudo /etc/init.d/bluetoothd start
26th Jun, 2014, 07:11 AM
(26th Jun, 2014 06:53 AM)belese Wrote: [ -> ]and bluetoothd run?
sudo /etc/init.d/bluetoothd start
Yes, I also tried that.