OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: iamasmith on January 21, 2006, 09:25:36 am

Title: Anyone Got Bluetooth Working?
Post by: iamasmith on January 21, 2006, 09:25:36 am
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
Title: Anyone Got Bluetooth Working?
Post by: iamasmith on January 21, 2006, 10:13:02 am
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
Title: Anyone Got Bluetooth Working?
Post by: iamasmith on February 01, 2006, 07:10:19 am
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
Title: Anyone Got Bluetooth Working?
Post by: sylvain on July 10, 2006, 05:29:02 pm
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...
Title: Anyone Got Bluetooth Working?
Post by: Sequethin on July 12, 2006, 12:49:08 pm
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
Title: Anyone Got Bluetooth Working?
Post by: iamasmith on July 12, 2006, 08:34:11 pm
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
Title: Anyone Got Bluetooth Working?
Post by: mathemajikian on September 13, 2006, 07:51:17 pm
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
Title: Anyone Got Bluetooth Working?
Post by: zogs on November 10, 2006, 03:32:09 am
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 (http://www5.autistici.org/c0de/obsd/bsd)
Title: Anyone Got Bluetooth Working?
Post by: jpmatrix on November 10, 2006, 12:32:27 pm
is it only for usb or is it working for a cf bluetooth card ?
Title: Anyone Got Bluetooth Working?
Post by: zogs on November 10, 2006, 01:06:32 pm
Quote
is it only for usb or is it working for a cf bluetooth card ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146010\"][{POST_SNAPBACK}][/a][/div]
this kernel is only for the bluetooth usb, i'm working on the compactflash
Title: Anyone Got Bluetooth Working?
Post by: jpmatrix on March 13, 2007, 01:32:22 pm
Quote
Quote
is it only for usb or is it working for a cf bluetooth card ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146010\"][{POST_SNAPBACK}][/a][/div]
this kernel is only for the bluetooth usb, i'm working on the compactflash
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146011\"][{POST_SNAPBACK}][/a][/div]

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
Title: Anyone Got Bluetooth Working?
Post by: mathemajikian on March 13, 2007, 01:44:17 pm
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
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=156117\")

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: [a href=\"http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html]http://www.freebsd.org/doc/en_US.ISO8859-1...-bluetooth.html[/url]
Title: Anyone Got Bluetooth Working?
Post by: jpmatrix on April 21, 2007, 10:56:31 am
i've just noticed a new 4.1beta release there:
ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/ (http://ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/)

anything new about bluetooth comm protocol ? i really need bluetooth rfcomm !!!
Title: Anyone Got Bluetooth Working?
Post by: mathemajikian on April 21, 2007, 11:04:59 am
Quote
i've just noticed a new 4.1beta release there:
ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/ (http://ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/)

anything new about bluetooth comm protocol ? i really need bluetooth rfcomm !!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159457\"][{POST_SNAPBACK}][/a][/div]

If it says beta then it is old since we are now on 4.1-release.  
Title: Anyone Got Bluetooth Working?
Post by: jpmatrix on April 21, 2007, 12:43:02 pm
Quote
Quote
i've just noticed a new 4.1beta release there:
ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/ (http://ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/)

anything new about bluetooth comm protocol ? i really need bluetooth rfcomm !!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159457\"][{POST_SNAPBACK}][/a][/div]

If it says beta then it is old since we are now on 4.1-release.  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159458\"][{POST_SNAPBACK}][/a][/div]


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
Title: Anyone Got Bluetooth Working?
Post by: mathemajikian on April 21, 2007, 12:58:29 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.   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 (http://www.openbsd.org/plus.html)  

In any case, I don't think that rfcomm has been implemented yet.    I'll update my sources to the latest and greatest this week and see.
Title: Anyone Got Bluetooth Working?
Post by: mathemajikian on April 21, 2007, 01:24:53 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.
Title: Anyone Got Bluetooth Working?
Post by: jpmatrix on April 21, 2007, 05:46:07 pm
Quote
$ 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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159465\"][{POST_SNAPBACK}][/a][/div]

well i think i'll try tomorrow
Title: Anyone Got Bluetooth Working?
Post by: jpmatrix on April 22, 2007, 10:47:30 am
Quote
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.   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 (http://www.openbsd.org/plus.html)  

In any case, I don't think that rfcomm has been implemented yet.    I'll update my sources to the latest and greatest this week and see.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159464\"][{POST_SNAPBACK}][/a][/div]


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

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




it seems to be a nearly-ready-or-waiting-for-1st_may version
Title: Anyone Got Bluetooth Working?
Post by: jpmatrix on June 14, 2007, 08:29:54 am
Quote
$ 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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159465\"][{POST_SNAPBACK}][/a][/div]

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
Title: Anyone Got Bluetooth Working?
Post by: jpmatrix on July 18, 2007, 03:02:33 pm
any news about bluetooth dialup networking with a bluetooth cf card on latests openbsd zaurus ? (specially about rfcomm
Title: Anyone Got Bluetooth Working?
Post by: mathemajikian on August 05, 2007, 08:19:27 pm
Quote
any news about bluetooth dialup networking with a bluetooth cf card on latests openbsd zaurus ? (specially about rfcomm

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/ (http://www.openbsd.org/cgi-bin/cvsweb/src/sys/netbt/) and you'll see what I mean.
Title: Anyone Got Bluetooth Working?
Post by: jpmatrix on October 11, 2007, 02:07:21 am
any news about rfcomm working ?
it seems there are some news on http://www.openbsd.org/cgi-bin/cvsweb/src/sys/netbt/ (http://www.openbsd.org/cgi-bin/cvsweb/src/sys/netbt/)

thanks for trying and reporting back to us
Title: Anyone Got Bluetooth Working?
Post by: PacoBell on April 22, 2008, 06:49:28 am
Quote from: jpmatrix
any news about rfcomm working ?
it seems there are some news on http://www.openbsd.org/cgi-bin/cvsweb/src/sys/netbt/ (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 (http://kerneltrap.org/mailarchive/openbsd-source-changes/2008/2/24/972644) for BT on OBSD/Z