Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99156 - Gentoo Linux Bluetooth Guide
Summary: Gentoo Linux Bluetooth Guide
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Submit New (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Shyam Mani (RETIRED)
URL: http://www.gentoo.org/doc/en/draft/bl...
Whiteboard:
Keywords:
Depends on: 103494
Blocks:
  Show dependency tree
 
Reported: 2005-07-15 15:08 UTC by Ioannis Aslanidis (RETIRED)
Modified: 2005-08-25 03:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bluetooth-guide.xml (bluetooth-guide.xml,20.64 KB, text/plain)
2005-07-15 22:24 UTC, Ioannis Aslanidis (RETIRED)
Details
bluetooth-guide.xml-rc2 (bluetooth-guide.xml,21.60 KB, text/plain)
2005-07-16 04:04 UTC, Ioannis Aslanidis (RETIRED)
Details
bluetooth-guide-rc3.patch (bluetooth-guide-rc3.patch,2.49 KB, patch)
2005-07-17 09:45 UTC, Ioannis Aslanidis (RETIRED)
Details | Diff
bluetooth-guide.xml-rc4 (bluetooth-guide.xml,23.13 KB, text/plain)
2005-07-19 14:40 UTC, Ioannis Aslanidis (RETIRED)
Details
bluetooth-guide.xml-rc5 (bluetooth-guide.xml,23.49 KB, text/plain)
2005-07-20 13:15 UTC, Ioannis Aslanidis (RETIRED)
Details
bluetooth-guide.xml (rc6) (bluetooth-guide.xml,23.49 KB, text/plain)
2005-07-20 15:48 UTC, Ioannis Aslanidis (RETIRED)
Details
Minor typos fixed, mention btexmms and multisync (bluetooth-guide-rc6.minor_changes.patch,2.18 KB, patch)
2005-07-28 01:14 UTC, Arun Raghavan (RETIRED)
Details | Diff
Minor typos fixed, mention btexmms and multisync (fixed typos in patch) (bluetooth-guide-rc6.minor_changes.patch,2.20 KB, patch)
2005-07-28 01:56 UTC, Arun Raghavan (RETIRED)
Details | Diff
Patch against more recent guide (bluetooth-guide.damn_you_fox2mike.patch,1.19 KB, patch)
2005-07-29 22:18 UTC, Arun Raghavan (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ioannis Aslanidis (RETIRED) gentoo-dev 2005-07-15 15:08:33 UTC
This is a preliminary version of the document. Needs to be spell & syntax corrected.

Shyam, all yours!
Comment 1 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-07-15 22:24:32 UTC
Created attachment 63506 [details]
bluetooth-guide.xml

Please, note that rane (Lukasz Damentko) did some XML corrections on it :) Give
rane a fame point!

fox2mike, please note that there is quite a good quantity of style problems and
that the content is still up to you ;)
Comment 2 Shyam Mani (RETIRED) gentoo-dev 2005-07-15 22:31:11 UTC
Righto, will have a look at this one in a while :)
Comment 3 Douglas Russell (RETIRED) gentoo-dev 2005-07-16 03:04:54 UTC
Ok, a few comments:  
  
1) Many bluetooth devices do not appear as usb/pci devices straight out of the  
box such as the logitech base station for the MX900 and the devices in the new 
Apple Powerbooks. Before you can even recognise it as a bluetooth device you 
may need to do hid2hci on it. So I recommend you at least include a note about 
this. 
 
2) You might want to mention the bemused server which is part of kde-bluetooth 
and also an individual package. In my opinion this is one of the most useful 
features of bluetooth as long as you have a device (such as a phone) capable of 
using it. 
 
3) One other thing you may want to consider is going a bit off-topic with 
respect to phone connections. Another incredibly useful feature of bluetooth is 
being able to use your phone as an internet connection using GPRS or 3G, and it 
would be nice to have a decent document on how to do that maybe as just a link 
from this doc but geared towards the bluetooth user unlike the many docs (Not 
really for gentoo as far as I've seen) which already exist on this which are 
mostly geared towards infrared. This is a highly desirable application of 
bluetooth from a users point of view but is not easy to set up unless you're a 
pretty advanced user so something straight forward to get them going would be 
ideal. 
 
I've not tried anything technical from this document but it looks good. 
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-07-16 04:04:37 UTC
Created attachment 63519 [details]
bluetooth-guide.xml-rc2

This solves issues stated in paragraphs 1 and 3 of Comment #3.
Additionally, I've added some minor things on the doc.
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-07-17 09:45:12 UTC
Created attachment 63625 [details, diff]
bluetooth-guide-rc3.patch

Please, apply the patch above to bluetooth-guide.xml-rc2
Comment 6 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-07-18 05:28:59 UTC
I got lots of feedback from Marcel Holtmann. I'll update the guide ASAP. There
it goes his reply:

-----

>We got a 'release candidate' document and we've performed some changes
>> on it. If you'd be so kind...  :) 
>> 
>> http://rane.cjb.net/bluetooth-guide.xml
>> 
>> Note that the doc is located at the computer of one of the document editors.


in general the word USB and Bluetooth are written this way. You never
should write them only lower-case. For Bluetooth it is important,
because the Bluetooth SIG owns the wordmark and there exists strict
regulations about the use of it.

You missed the Bluetooth PCMCIA drivers in your list.

The bluez-bluefw package is deprecated. You only need to install the
bluez-firmware package to get the Broadcom firmware files.

You changed the default hcid.conf to enable "auth" and "encrypt". Don't
do this, because this invokes security mode 3. You don't wanna have this
and I don't wanna answer stupid request in the mailing list, because
they followed your guide. Keep the default hcid.conf. It is doing the
correct job for most people.

The text about the rfcomm usage is still wrong. It speaks about the
local device as the first parameter. It is the RFCOMM TTY device node
and not the device itself.

-----
Comment 7 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-07-19 14:40:32 UTC
Created attachment 63813 [details]
bluetooth-guide.xml-rc4

- Added PCMCIA drivers
- Replaced bluez-bluezfw with bluez-firmware
- Corrected RFCOMM nuisances
- Text aligned to 80
- All bluetooth converted to Bluetooth
- All usb converted to USB
- Disabled mode 3 and added a warning to people that might want to use it
Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-07-20 13:15:33 UTC
Created attachment 63915 [details]
bluetooth-guide.xml-rc5

- Added Marcel Holtmann as contributor
- Added a notice about additional pin helpers
- Corrected some minor spelling mistakes
Comment 9 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-07-20 15:48:03 UTC
Created attachment 63931 [details]
bluetooth-guide.xml (rc6)

This is a non-programmed update:
- Corrected capitalization mistakes (my fault)
Comment 10 Luis Medinas (RETIRED) gentoo-dev 2005-07-21 17:18:42 UTC
Looks like this guide needs this fix: 

you don't need to add hotplug to runlevels take a look at the comments of this
bug and fix this heeh

http://bugs.gentoo.org/show_bug.cgi?id=97662
Comment 11 Shyam Mani (RETIRED) gentoo-dev 2005-07-25 00:37:17 UTC
Guys, do we really need the "About the content of this guide" section? I think
it's slightly redundant (chapters can be selected from above) and no other
official doc/guide/howto has such a section....as far as I've seen atleast.

What say?
Comment 12 Shyam Mani (RETIRED) gentoo-dev 2005-07-25 00:44:07 UTC
Acknowledgements can go in the end, no need to have them right at the top....
Comment 13 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-07-25 01:19:02 UTC
In reply to Comment #11: http://www.gentoo.org/proj/en/gdp/doc/doc-policy.xml
(See covered topics) However, feel free to change it at will.

In reply to Comment #12: About acknowledgements: Looks like the policy is to
send it to bottom.

Comment 14 Shyam Mani (RETIRED) gentoo-dev 2005-07-25 01:38:26 UTC
(In reply to comment #13)
> In reply to Comment #11: http://www.gentoo.org/proj/en/gdp/doc/doc-policy.xml
> (See covered topics) However, feel free to change it at will.

LOL. :p I wonder how I missed that.... ;) /me runs

We'll see how it looks in the guide when the rest of the changes/stuff is in.
And then take a call on this.
Comment 15 Arun Raghavan (RETIRED) gentoo-dev 2005-07-28 01:14:26 UTC
Created attachment 64504 [details, diff]
Minor typos fixed, mention btexmms and multisync

rane, could you put up the latest version on the web so that us lower beings
can read it in pretty rendered Gentoo-doc style? :)

Uploaded patch for some minor typosand mention to mention 'btexmms'[1] and
'multisync'[2] as well.

This is a really neat doc - thanks!

[1] http://www.gentoo-portage.com/media-plugins/xmms-btexmms
[2] http://multisync.sourceforge.net/
Comment 16 Arun Raghavan (RETIRED) gentoo-dev 2005-07-28 01:56:23 UTC
Created attachment 64505 [details, diff]
Minor typos fixed, mention btexmms and multisync (fixed typos in patch)
Comment 17 Arun Raghavan (RETIRED) gentoo-dev 2005-07-28 02:00:47 UTC
(In reply to comment #16)
> Created an attachment (id=64505) [edit]
> Minor typos fixed, mention btexmms and multisync (fixed typos in patch)

Uggh...uploaded corrected patch.
Comment 18 Shyam Mani (RETIRED) gentoo-dev 2005-07-28 02:07:22 UTC
(In reply to comment #16)
> Created an attachment (id=64505) [edit]
> Minor typos fixed, mention btexmms and multisync (fixed typos in patch)

Gee, my life is being made really easy :) I was going to write up on multisync
anyway *and* btexmms...

I'll incorporate the stuff Arun's given in the patch. As well as prolly add to
it. I'm not patching as in since the doc has changed since rc6. If you want to
make my life more easy, you could run the below URL with a ?passthru=1 and
re-diff so I'll apply the changes right away.

Arun, the latest version is at
http://www.gentoo.org/doc/en/draft/bluetooth-guide.xml

PS : Tis okay, we'll fix em typos ;) 
Comment 19 Shyam Mani (RETIRED) gentoo-dev 2005-07-28 02:09:08 UTC
Changing URL to reflect location of up to date doc..
Comment 20 Arun Raghavan (RETIRED) gentoo-dev 2005-07-29 21:07:09 UTC
/usr/bin/bluepin does not work - it does evil things with regards to setting the
XAUTHORITY environment variable
Comment 21 Arun Raghavan (RETIRED) gentoo-dev 2005-07-29 22:18:55 UTC
Created attachment 64704 [details, diff]
Patch against more recent guide
Comment 22 Shyam Mani (RETIRED) gentoo-dev 2005-08-22 00:02:33 UTC
Wokay, about time.

This is the Final Call for Flight BT007 to /doc/en from /doc/en/draft. All
passengers are requested to proceed to the plane immediately. Laggers will be
b00ted :p

I've just commited a "final" version. Barring further comments, this will go
live by say Wednesday latest.
Comment 23 Shyam Mani (RETIRED) gentoo-dev 2005-08-22 00:08:27 UTC
(In reply to comment #20)

> /usr/bin/bluepin does not work - it does evil things with regards to setting the
> XAUTHORITY environment variable

Agreed and I've even removed references to it from the doc. 

BTW, Where exactly does hcid.conf play a role? I'm able to validate my BT device
using both /etc/bluetooth/pin_helper and /usr/bin/bluepin (although the latter
fails with an ERR when run alone) in the hcid.conf file.
Comment 24 Shyam Mani (RETIRED) gentoo-dev 2005-08-25 03:43:24 UTC
Fixed, Guide is now in cvs.

Thanks everyone.