Help - Search - Members - Calendar
Full Version: Anyone Got Bluetooth Working?
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > OpenBSD
iamasmith
Hi,

Looking at the kernel source it appears that ubt has indeed been ported over into 3.8, I'm wondering if anyone has managed to hack it together into a working state.

I have built the bluetooth-tools (and libs) but I seem to be missing some important stuff for my particularly USB device... in particular a firmware download utility since it uses a Broadcom BCM2033 chipset.

- Andy
iamasmith
OK, looking into this a little further OpenBSD provides specific firmware download for a range of devices within the drivers... standard location for firmware files is /etc/firmware - there is no firmware downloader for the BCM2033 yet in the kernel sad.gif
iamasmith
OK, forgot to make a note... I have confirmed there is no Bluetooth support at all at the moment.

The ubt driver according to the kernel cvs is explicitely commented out and you can confirm this by checking the kernel devices...

config -e /bsd
list
quit

returns no ubt devices

Ah well, lets hope that something eventually happens otherwise longer term I think I will need to get a UTMS/GPRS modem card to try.

- Andy
sylvain
The kernel can be compiled easily with ubt support (and recognize my low cost dongle). I managed to find a compilable gpsdrive version, and the gpsd port also compile easily.

But... I couldn't manage to find a way of getting things to work together : gpsd/gpsdrive want a ttyS device, and ubt does not seem to provide one by default. I did a bit of searching on mailing lists, but I fear I am not a specialist in low level drivers, and I am completely stucked...
Sequethin
I haven't been able to find bluetooth support on {Free,Net,Open}BSD =/ I would love to sync my phone with my pc (or maybe even my powerbook with my pc?) I guess I'll wait as patiently as I can wink.gif
iamasmith
ok, here's the picture..

FreeBSD does have working bluetooth including rfcomm and I have been able to set up a test machine and run a ppp connection over it.

I don't know about NetBSD.

OpenBSD has rudimentary bluetooth support in the form of ubt, it doesn't yet have rfcomm. I was going to port it but there seemed to be a lot of folk in the developer circle that couldn't come to any agreement what it should look like in userland. Also there didn't seem to be enough interest in thrashing it out. Rather then spend a lot of time porting it and having it rejected from cvs because it wasn't what the committers wanted I shelved the idea.

-Andy
mathemajikian
Well this is a good sign:

OpenBSD 4.0 ZAURUS#0 zaurus

Sep 14 00:30:43 zaurus /bsd: ubt0 at uhub0 port 2 configuration 1 interface 0
Sep 14 00:30:44 zaurus /bsd: ubt0: vendor 0x1131 ISSCBTA, rev 1.10/3.73, addr 2
Sep 14 00:30:44 zaurus /bsd: ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2
Sep 14 00:30:44 zaurus /bsd: ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294
zogs
for default the bsd 4.0 kernel don't have usb bluetooth support.
I have prepared the 4.0 kernel with usb bluetooth support.
you can take it here:
http://www5.autistici.org/c0de/obsd/bsd
jpmatrix
is it only for usb or is it working for a cf bluetooth card ?
zogs
QUOTE(jpmatrix @ Nov 10 2006, 05:32 PM)
is it only for usb or is it working for a cf bluetooth card ?
*

this kernel is only for the bluetooth usb, i'm working on the compactflash
jpmatrix
QUOTE(zogs @ Nov 10 2006, 08:06 PM)
QUOTE(jpmatrix @ Nov 10 2006, 05:32 PM)
is it only for usb or is it working for a cf bluetooth card ?
*

this kernel is only for the bluetooth usb, i'm working on the compactflash
*



so how about cf bluetooth in bsd 4.1beta ? is it yet ready ?
i would need to do dialup networking via bt to my nokia gsm phone
mathemajikian
QUOTE
so how about cf bluetooth in bsd 4.1beta  ? is it yet ready ?
i would need to do dialup networking via bt to my nokia gsm phone
*


Bluetooth works; however, a communication protocol has yet to be implemented for OpenBSD. I can make a bluetooth connection between my Z and FreeBSD laptop, but I have no way of transferring anything from the Z to the laptop. FreeBSD uses the RFCOMM Protocol for bluetooth comms. I followed the directions on the following site to establish the connection between the Z and FBSD laptop: http://www.freebsd.org/doc/en_US.ISO8859-1...-bluetooth.html
jpmatrix
i've just noticed a new 4.1beta release there:
ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/

anything new about bluetooth comm protocol ? i really need bluetooth rfcomm !!! smile.gif
mathemajikian
QUOTE(jpmatrix @ Apr 21 2007, 02:56 PM)
i've just noticed a new 4.1beta release there:
ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/

anything new about bluetooth comm protocol ? i really need bluetooth rfcomm !!! smile.gif
*


If it says beta then it is old since we are now on 4.1-release. smile.gif
jpmatrix
QUOTE(mathemajikian @ Apr 21 2007, 05:04 PM)
QUOTE(jpmatrix @ Apr 21 2007, 02:56 PM)
i've just noticed a new 4.1beta release there:
ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/

anything new about bluetooth comm protocol ? i really need bluetooth rfcomm !!! smile.gif
*


If it says beta then it is old since we are now on 4.1-release. smile.gif
*




are you sure?
on openbsd.org/zaurus.html it is written that current is 4.0 and i read 4.1 is due to be out on 1st of may
mathemajikian
QUOTE
are you sure?
on openbsd.org/zaurus.html it is written that current is 4.0 and i read 4.1 is due to be out on 1st of may

hummm.... I guess will just have to go with what the website says. I could have swore I saw an release announcement. Usually you'll see the following dmesg output when in beta:

$ dmesg
OpenBSD 4.1-beta (ZAURUS) #5: Sat Feb 17 00:06:50 GMT 2007

but I currently see this:

$ dmesg
OpenBSD 4.1-current (ZAURUS) #10: Sun Apr 1 23:41:41 BST 2007

-current usually comes after release. smile.gif Maybe thats the CD release date? I don't know.

You can see the changes that are taking place between 4.1 and 4.2 at the following link: -current changes

In any case, I don't think that rfcomm has been implemented yet. sad.gif I'll update my sources to the latest and greatest this week and see.
mathemajikian
$ pwd
/usr/src/sys/netbt
$ ls
CVS bt.h bt_proto.c h4.h hci_raw.c l2cap.h rfcomm_var.h
bluetooth.h bt_input.c bt_var.h hci.h hci_var.h l2cap_var.h

However, rfcomm is not yet implemented.
jpmatrix
QUOTE(mathemajikian @ Apr 21 2007, 07:24 PM)
$ pwd
/usr/src/sys/netbt
$ ls
CVS          bt.h        bt_proto.c  h4.h        hci_raw.c    l2cap.h    rfcomm_var.h
bluetooth.h  bt_input.c  bt_var.h    hci.h        hci_var.h    l2cap_var.h
*


well i think i'll try tomorrow wink.gif
jpmatrix
QUOTE(mathemajikian @ Apr 21 2007, 06:58 PM)
QUOTE
are you sure?
on openbsd.org/zaurus.html it is written that current is 4.0 and i read 4.1 is due to be out on 1st of may

hummm.... I guess will just have to go with what the website says. I could have swore I saw an release announcement. Usually you'll see the following dmesg output when in beta:

$ dmesg
OpenBSD 4.1-beta (ZAURUS) #5: Sat Feb 17 00:06:50 GMT 2007

but I currently see this:

$ dmesg
OpenBSD 4.1-current (ZAURUS) #10: Sun Apr 1 23:41:41 BST 2007

-current usually comes after release. smile.gif Maybe thats the CD release date? I don't know.

You can see the changes that are taking place between 4.1 and 4.2 at the following link: -current changes

In any case, I don't think that rfcomm has been implemented yet. sad.gif I'll update my sources to the latest and greatest this week and see.
*




well,
i've just installed from latest ftp and dmesg says:

OpenBSD 4.1-current (GENERIC) #84...........

smile.gif


it seems to be a nearly-ready-or-waiting-for-1st_may version smile.gif
jpmatrix
QUOTE(mathemajikian @ Apr 21 2007, 07:24 PM)
$ pwd
/usr/src/sys/netbt
$ ls
CVS          bt.h        bt_proto.c  h4.h        hci_raw.c    l2cap.h    rfcomm_var.h
bluetooth.h  bt_input.c  bt_var.h    hci.h        hci_var.h    l2cap_var.h

However, rfcomm is not yet implemented.
*


is there something new about rfcomm on openbsd ?
i'm beginning to be tired to have a usb cable tied to my zaurus to do dialup networking smile.gif
jpmatrix
any news about bluetooth dialup networking with a bluetooth cf card on latests openbsd zaurus ? (specially about rfcomm wink.gif
mathemajikian
QUOTE(jpmatrix @ Jul 18 2007, 07:02 PM)
any news about bluetooth dialup networking with a bluetooth cf card on latests openbsd zaurus ? (specially about rfcomm wink.gif


Only HCI commands/events are supported at the moment, L2CAP and RFCOMM aren't completely implemented yet. However, there implementation seems to be just around the corner. Have a look at some of the sources located here: /cvsweb/src/sys/netbt/ and you'll see what I mean.
jpmatrix
any news about rfcomm working ?
it seems there are some news on http://www.openbsd.org/cgi-bin/cvsweb/src/sys/netbt/

thanks for trying and reporting back to us smile.gif
PacoBell
QUOTE(jpmatrix @ Oct 10 2007, 11:07 PM) *
any news about rfcomm working ?
it seems there are some news on http://www.openbsd.org/cgi-bin/cvsweb/src/sys/netbt/
Speaking of which... "Sync sys/netbt with NetBSD ok deraadt" -- Revision 1.2, Sun Feb 24 21:34:48 2008 UTC by uwe. I do believe it's open season for BT on OBSD/Z wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.