LinHES Forums
http://forums.linhes.org/

Stream audio from Bluetooth usb dongle
http://forums.linhes.org/viewtopic.php?f=23&t=22613
Page 1 of 1

Author:  Ozdemon [ Thu May 03, 2012 3:22 am ]
Post subject:  Stream audio from Bluetooth usb dongle

I cannot stream audio from a usb bluetooth dongle. I posted the problem over at the Arch linux forums (https://bbs.archlinux.org/viewtopic.php?id=140454 because I thought that such an issue might be more likely to lead to a solution on their forums. However, 5 days and 107 views later it looks like I was wrong as I have not had a single reply.

So, I am hoping that there is someone here who might be able to suggest what I am doing wrong?

Author:  brfransen [ Thu May 03, 2012 10:09 am ]
Post subject:  Re: Stream audio from Bluetooth usb dongle

LH uses runit to start services.
Code:
sudo add_service.sh bluetoothd
sudo sv start bluetoothd


Also bluez has been updated in testing and a patch added to fix audio streaming. You could try installing that package:
Code:
sudo pacman -U http://linhes.org/repo/i686/extra-testing/bluez-4.99-3-i686.pkg.tar.xz

Author:  Ozdemon [ Thu May 03, 2012 2:48 pm ]
Post subject:  Re: Stream audio from Bluetooth usb dongle

Many thanks for the reply. I will try your suggestions asap.

Author:  Ozdemon [ Fri May 04, 2012 12:48 am ]
Post subject:  Re: Stream audio from Bluetooth usb dongle

I followed your suggestions and now I can get bluetooth running on my LH box and I can see it on my phone. However, I can't get it to pair with my phone. If if run the simple agent command I get this:

Code:
[root@brhes bluetooth]# bluez-simple-agent
Traceback (most recent call last):
  File "/usr/bin/bluez-simple-agent", line 89, in <module>
    manager = dbus.Interface(bus.get_object("org.bluez", "/"),
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files


I also tried to pair it from my phone using the usual suspects 0000 and 1234 but these codes were not accepted.

Author:  brfransen [ Fri May 04, 2012 7:55 am ]
Post subject:  Re: Stream audio from Bluetooth usb dongle

Sorry I don't know. Hopefully someone with bluetooth has tried this and can chime in.

Author:  Ozdemon [ Wed May 09, 2012 3:56 pm ]
Post subject:  Re: Stream audio from Bluetooth usb dongle

Can anyone help me with this? I have carefully followed the Arch wiki on bluetooth, but I get the errors above, so I am left wondering if there is something different about bluetooth on LH 7.2.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/