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
4th Apr, 2014, 07:30 PM
Post: #16
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: xbian-package-a2dp
@belese

that was intention. ...

mk

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
4th Apr, 2014, 07:49 PM
Post: #17
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: xbian-package-a2dp
i know :-)

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
7th Apr, 2014, 05:28 AM
Post: #18
ElDani Offline
Registered
Posts: 2
Joined: Apr 2014
Reputation: 0
RE: xbian-package-a2dp
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
Find all posts by this user
Quote this message in a reply
7th Apr, 2014, 04:28 PM
Post: #19
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: xbian-package-a2dp
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

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
7th Apr, 2014, 04:59 PM
Post: #20
ElDani Offline
Registered
Posts: 2
Joined: Apr 2014
Reputation: 0
RE: xbian-package-a2dp
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
Find all posts by this user
Quote this message in a reply
7th Apr, 2014, 05:31 PM
Post: #21
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: xbian-package-a2dp
i'm at work,
but it's the cheaper dongle i've found on local market,
will check when i'm at home.

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
22nd Jun, 2014, 08:32 PM
Post: #22
woonx Offline
Registered
Posts: 10
Joined: Feb 2013
Reputation: 0
RE: xbian-package-a2dp
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
Find all posts by this user
Quote this message in a reply
23rd Jun, 2014, 07:07 AM
Post: #23
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: xbian-package-a2dp
sudo apt-get install xbian-package-a2dp should work, or via xbian-config->package->sound->a2sp.

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
23rd Jun, 2014, 07:52 AM
Post: #24
woonx Offline
Registered
Posts: 10
Joined: Feb 2013
Reputation: 0
RE: xbian-package-a2dp
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
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
As you can see, nothing related to bluez.
Find all posts by this user
Quote this message in a reply
23rd Jun, 2014, 08:10 PM
Post: #25
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: xbian-package-a2dp
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.

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
25th Jun, 2014, 04:42 AM
Post: #26
woonx Offline
Registered
Posts: 10
Joined: Feb 2013
Reputation: 0
RE: xbian-package-a2dp
(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.
Find all posts by this user
Quote this message in a reply
26th Jun, 2014, 01:58 AM
Post: #27
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: xbian-package-a2dp
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

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?

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
26th Jun, 2014, 05:59 AM
Post: #28
woonx Offline
Registered
Posts: 10
Joined: Feb 2013
Reputation: 0
RE: xbian-package-a2dp
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)
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.
Find all posts by this user
Quote this message in a reply
26th Jun, 2014, 06:53 AM
Post: #29
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: xbian-package-a2dp
and bluetoothd run?
sudo /etc/init.d/bluetoothd start

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
26th Jun, 2014, 07:11 AM
Post: #30
woonx Offline
Registered
Posts: 10
Joined: Feb 2013
Reputation: 0
RE: xbian-package-a2dp
(26th Jun, 2014 06:53 AM)belese Wrote:  and bluetoothd run?
sudo /etc/init.d/bluetoothd start

Yes, I also tried that.
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: 10th May, 2025, 05:33 PM Powered By MyBB, © 2002-2025 MyBB Group.