Re: [Familiar] bluetooth in latest familiar image

From: Nils Faerber <nils.a.t.kernelconcepts.de>
Date: Tue Nov 05 2002 - 07:06:56 EST

On Tue, 5 Nov 2002 22:32:39 +1100
Cameron McCormack <clm@csse.monash.edu.au> wrote:
> I just flashed my ipaq with the latest familiar image and I'm fiddling
> about getting bluetooth working again. I notice that if the relevant
> modules aren't loaded, by entering {serial,hci_uart,l2cap,bluez,ussp}
> into /etc/modules.conf, hcid won't start up properly with the
> /etc/init.d/hcid script that comes in the bluez-utils package. This
> was with the relevant alias entries in /etc/modules.

Hmm ... which aliases are in your modules.conf?
You should have something like this

alias net-pf-31 bluez
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-4 bnep
alias tty-ldisc-15 hci_uart
alias char-major-10-250 hci_vhci

> Also, I'm wondering where I should run hci_attach. Should I just
> stick it in /etc/init.d/hcid? Obviously I know that I can stick it in
> there and it'll fix the problem, but I'm wondering where hci_attach
> *should* be done. Perhaps an entry "post-install hci_uart hciattach
> /dev/ttySB0 csr" should be put in /etc/modules.conf.

The problem is that you probably do not want to have Bluetooth enabled
all the time. And as soon as you do the hciattach you have the device
opened, the blue LED flashing and the CSR module sucking power.

What we need is something like a Bluetooth manager that does
- configure the Bluetooth subsystem and services
- starting the device
- toggling of services, i.e. obex-push, PAN connection, SDP browse,
inquiry, etc.

This tool would then start the device by request from the user.
This tool would be needed twice, once for GPE and once for OPIE. Since
it requires user interaction we should have it integrated into the GUI
environments.

> Just bouncing ideas here to improve the bluez packages.

Sure!
I just got PAN running between iPaq and notebook and was "very amused"
;) So I am just a click away from starting this Bluetooth manager app
for GPE :)

> I must say thought that every time I try a complete new installation
> of familiar (every couple of months, it seems), there is less manual
> configuring that I must do to get things working. :-)

Yes!
There is really good progress going on!

> Thanks,
> Cameron
CU
  nils faerber

-- 
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--
Received on Tue Nov 05 12:08:22 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:30 EDT