* [gentoo-amd64] Bluetooth Config
@ 2009-09-05 12:13 sean
2009-09-05 12:48 ` Justin
0 siblings, 1 reply; 9+ messages in thread
From: sean @ 2009-09-05 12:13 UTC (permalink / raw
To: gentoo-amd64
I picked up a Bluetooth dongle and have gone through the steps here,
http://www.gentoo.org/doc/en/bluetooth-guide.xml
So on bluetooth startup I am supposed to get, per the instructions,
(Start up Bluetooth)
# /etc/init.d/bluetooth start
* Starting Bluetooth ...
* Starting hcid ... [ ok ]
* Starting sdpd ... [ ok ]
* Starting rfcomm ... [ ok ]
However on my system I do not see the sdpd line.
I have all the config options specified, and cannot figure out why?
Does this show up on amd64, or do I have missed something?
It is a broadcom based device.
I figure once that is correct, I will move on to the next step.
Thanks
Sean
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Bluetooth Config
2009-09-05 12:13 sean
@ 2009-09-05 12:48 ` Justin
2009-09-05 13:10 ` sean
0 siblings, 1 reply; 9+ messages in thread
From: Justin @ 2009-09-05 12:48 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1011 bytes --]
sean wrote:
> I picked up a Bluetooth dongle and have gone through the steps here,
> http://www.gentoo.org/doc/en/bluetooth-guide.xml
>
> So on bluetooth startup I am supposed to get, per the instructions,
> (Start up Bluetooth)
> # /etc/init.d/bluetooth start
> * Starting Bluetooth ...
> * Starting hcid ... [ ok ]
> * Starting sdpd ... [ ok ]
> * Starting rfcomm ... [ ok ]
>
> However on my system I do not see the sdpd line.
> I have all the config options specified, and cannot figure out why?
> Does this show up on amd64, or do I have missed something?
> It is a broadcom based device.
>
> I figure once that is correct, I will move on to the next step.
>
>
> Thanks
> Sean
>
Hi,
I had a little fight last weekend with bluetooth and ended up with following working setup:
sys-apps/hal-0.5.13-r2
sys-fs/udev-145
net-wireless/bluez-4.39
net-wireless/gnome-bluetooth-2.27.9-r1
I case of more question I might help..
justin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Bluetooth Config
2009-09-05 12:48 ` Justin
@ 2009-09-05 13:10 ` sean
2009-09-05 13:58 ` Justin
0 siblings, 1 reply; 9+ messages in thread
From: sean @ 2009-09-05 13:10 UTC (permalink / raw
To: gentoo-amd64
Justin wrote:
>
> Hi,
> I had a little fight last weekend with bluetooth and ended up with following working setup:
>
>
> sys-apps/hal-0.5.13-r2
> sys-fs/udev-145
> net-wireless/bluez-4.39
> net-wireless/gnome-bluetooth-2.27.9-r1
>
> I case of more question I might help..
>
>
> justin
>
A fright?
You have the newer ~ versions of hal and udev than I have installed.
I do not have gnome-bluetooth installed, I am not using the gnome desktop.
You do see sdpd starting?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Bluetooth Config
2009-09-05 13:10 ` sean
@ 2009-09-05 13:58 ` Justin
2009-09-05 14:34 ` sean
0 siblings, 1 reply; 9+ messages in thread
From: Justin @ 2009-09-05 13:58 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 926 bytes --]
sean wrote:
> Justin wrote:
>> Hi,
>> I had a little fight last weekend with bluetooth and ended up with following working setup:
>>
>>
>> sys-apps/hal-0.5.13-r2
>> sys-fs/udev-145
>> net-wireless/bluez-4.39
>> net-wireless/gnome-bluetooth-2.27.9-r1
>>
>> I case of more question I might help..
>>
>>
>> justin
>>
>
> A fright?
>
> You have the newer ~ versions of hal and udev than I have installed.
> I do not have gnome-bluetooth installed, I am not using the gnome desktop.
>
> You do see sdpd starting?
>
No I don't.
I am using the gnome applet because it is working well. But it is also working wiht the console based tools.
I tried it the way the guide tells but I had no success with the old bluez-3 branch so upgraded to later
versions. I think most important was the upgrade of udev, but I cannot really remember. I don't even
have the daemon installed. What do you need it for?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Bluetooth Config
2009-09-05 13:58 ` Justin
@ 2009-09-05 14:34 ` sean
0 siblings, 0 replies; 9+ messages in thread
From: sean @ 2009-09-05 14:34 UTC (permalink / raw
To: gentoo-amd64
Justin wrote:
>>
>> You do see sdpd starting?
>>
>
> No I don't.
> I am using the gnome applet because it is working well. But it is also working wiht the console based tools.
> I tried it the way the guide tells but I had no success with the old bluez-3 branch so upgraded to later
> versions. I think most important was the upgrade of udev, but I cannot really remember. I don't even
> have the daemon installed. What do you need it for?
>
Need bluetooth for?
File transfers for a hand held device I have.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Bluetooth Config
@ 2009-09-05 14:37 Dmitri Pogosyan
2009-09-05 14:53 ` sean
0 siblings, 1 reply; 9+ messages in thread
From: Dmitri Pogosyan @ 2009-09-05 14:37 UTC (permalink / raw
To: gentoo-amd64
Unfortunately, http://www.gentoo.org/doc/en/bluetooth-guide.xml is somewhat
outdated, as well as most of info that one can find on internet (especially if
one is interested in bluez-4.x)
In particular, already bluez-3.x series do not have sdpd daemon - its role is
played internally by hcid.
In bluez-4.x series hcid is renamed bluetoothd and configs are changed
significantly, if you decide to play with that version
> I picked up a Bluetooth dongle and have gone through the steps here,
> http://www.gentoo.org/doc/en/bluetooth-guide.xml
>
> So on bluetooth startup I am supposed to get, per the instructions,
> (Start up Bluetooth)
> # /etc/init.d/bluetooth start
> * Starting Bluetooth ...
> * Starting hcid ... [ ok ]
> * Starting sdpd ... [ ok ]
> * Starting rfcomm ... [ ok ]
>
> However on my system I do not see the sdpd line.
> I have all the config options specified, and cannot figure out why?
> Does this show up on amd64, or do I have missed something?
> It is a broadcom based device.
>
> I figure once that is correct, I will move on to the next step.
>
> Thanks
> Sean
--
Dmitri Pogosyan Department of Physics
Associate Professor University of Alberta
tel 1-780-492-2150 11322 - 89 Avenue
fax 1-780-492-0714 Edmonton, AB, T6G 2G7, CANADA
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Bluetooth Config
@ 2009-09-05 14:44 Dmitri Pogosyan
0 siblings, 0 replies; 9+ messages in thread
From: Dmitri Pogosyan @ 2009-09-05 14:44 UTC (permalink / raw
To: gentoo-amd64
> I am using the gnome applet because it is working well. But it is also
working wiht the console based tools.
What console tools are you using ? I did not find any reference to them
for bluez-4.x besides sending commands by hand through dbus interface,
or editing by hand files in /var/lib/bluetooth/00:0A:50:F0:19:A1
(your MAC will differ)
--
Dmitri Pogosyan Department of Physics
Associate Professor University of Alberta
tel 1-780-492-2150 11322 - 89 Avenue
fax 1-780-492-0714 Edmonton, AB, T6G 2G7, CANADA
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Bluetooth Config
2009-09-05 14:37 Dmitri Pogosyan
@ 2009-09-05 14:53 ` sean
0 siblings, 0 replies; 9+ messages in thread
From: sean @ 2009-09-05 14:53 UTC (permalink / raw
To: gentoo-amd64
Dmitri Pogosyan wrote:
> Unfortunately, http://www.gentoo.org/doc/en/bluetooth-guide.xml is somewhat
> outdated, as well as most of info that one can find on internet (especially if
> one is interested in bluez-4.x)
>
> In particular, already bluez-3.x series do not have sdpd daemon - its role is
> played internally by hcid.
>
> In bluez-4.x series hcid is renamed bluetoothd and configs are changed
> significantly, if you decide to play with that version
>
>
Sounds like it just managed to get harder.
So I should be installing bluez instead of
net-wireless/bluez-libs net-wireless/bluez-utils as the documentation
states?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Bluetooth Config
@ 2009-09-05 16:02 Dmitri Pogosyan
0 siblings, 0 replies; 9+ messages in thread
From: Dmitri Pogosyan @ 2009-09-05 16:02 UTC (permalink / raw
To: gentoo-amd64
>
> Sounds like it just managed to get harder.
It is, but perhaps not as a matter of principle. Seems that development is
focused entirely on bluetooth subsystem, leaving user side tools and user
level documentation far behind.
bluez-4.x has very primitive (and nowhere, except comments explained) config
files. Most of the management (like enabling/disabling services, pairing) is
done at runtime through d-bus commands. Since I did not find any command line
tools that do that, one has to rely on gnome-bluez or blueman (both of which
comes with some gnome dependancies, unfortunately).
In online docs you can get some hints and tips, but there is no coherent
description what to do, at least as far as bluetooth networking is concerned.
I used the following links
http://sourceforge.net/apps/mediawiki/noko/index.php?title=Gentoo_bluetooth_network_gateway_with_bluez-utils_3.*
(but dbus-send command is incorrect for bluez-4.x)
Correct dbus command I got from
http://wiki.openmoko.org/wiki/Manually_using_Bluetooth#Information_about_bluez4_networking
and it is something like
dbus-send --system --dest=org.bluez --print-reply /org/bluez/`pidof
bluetoothd`/hci0 org.bluez.Adapter.GetProperties
(here ~amd64 d-feet utility is invaluable to find what d-bus interfaces and
methods you driver exposes).
http://bluez.sourceforge.net/contrib/HOWTO-PAN
(old, there is no pand daemon anymore, but finally explained to me when I am
supposed to see bnep0 devices, and what's there relation to pan0 device)
>
> So I should be installing bluez instead of
> net-wireless/bluez-libs net-wireless/bluez-utils as the documentation
> states?
I did go with ~amd64 bluez-4.39 (since I had no previous setup anyway) and
spend last week on/off trying to configure networking with mobile phone. Not
yet there, but apporaching ... (actually I got stuck yesterday trying to pair
two computers - not that I need it, but as a matter of principle, phone got
paired all right).
BTW, bluez-4.39 has 'old-daemons' USE flag, which perhaps will give you sdpd
and pand to mimick old behaviour, but I have not tried that.
Good luck, and keep us posted on progress !
--
Dmitri Pogosyan Department of Physics
Professor University of Alberta
tel 1-780-492-2150 11322 - 89 Avenue
fax 1-780-492-0714 Edmonton, AB, T6G 2G7, CANADA
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-09-05 16:02 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-05 14:44 [gentoo-amd64] Bluetooth Config Dmitri Pogosyan
-- strict thread matches above, loose matches on Subject: below --
2009-09-05 16:02 Dmitri Pogosyan
2009-09-05 14:37 Dmitri Pogosyan
2009-09-05 14:53 ` sean
2009-09-05 12:13 sean
2009-09-05 12:48 ` Justin
2009-09-05 13:10 ` sean
2009-09-05 13:58 ` Justin
2009-09-05 14:34 ` sean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox