There, you will find how to install OpenBSD's source code to /usr/src.

Note that the manpage for ubt(4) specifies the following line at the beginning:

Code:

SYNOPSIS
ubt* at uhub?

This indicates what needs to be enabled in /usr/src/sys/arch/i386/conf/GENERIC. For OpenBSD 4.4-release, ubt(4) is commented out which can be verified by looking at the OPENBSD_4_4_BASE tagged version of GENERIC found in CVS:

Recompile the kernel according to Section 5.3. Be very sure you understand the process before starting. You can recover from mistakes made as long as the new kernel has not yet been installed, but watch & heed any messages seen as a result of all commands issued.

Don't think that you can blindly issue these commands without understanding them. This is Unix, not Windows. Unix allows you to whatever you want, but you get to live with the consequences of your (in)decisions. Recompiling the kernel is not meant for casual users, & you should be very clear on the points made in Section 5.6 of the FAQ before attempting to recompile the kernel:

Be forewarned that nearly 2GB of space in will be consumed in /usr/src to complete the task.

Lastly, you should be beginning to see that lots can be done with any of the *BSD's & Unix, but it requires that one is willing to study & learn. You have had a history of issuing commands without understanding what they do, & you appear to have been very fortunate that nothing catastrophic has happened yet(as far as we know...), but as you venture into more sophisticated areas, you will be taking on greater responsibility to understand what it is that you are doing. So the decision is yours as to whether you simply use the system or take the opportunity to get more out of the equipment you already have.

Although this is correct, it is better to force mfaridi(or anyone else experimenting with building a kernel for the first time...) to stay with published & vetted instructions before improvising on a theme.

The point I have attempted to make for a very long time is that most information which most people need can be found in the FAQ. Unfortunately, most don't take the time to study it as they should, & then come complaining here when life goes very bad.

I don't know if mfaridi will have much success with 4.4. The drivers may be available on an experimental basis, and some FreeBSD and NetBSD based tools may be available, but ... the applications and services he would want to use with bluetooth are not in place there.

Bluetooth development work is underway, right now:

Those of us who track CVS repository changes have noticed a significant amount of bluetooth changes to -current in the last week or two, starting around November 21.

Those who read the Following -current FAQ will have seen a recent mention of changes to support a new btd(8) daemon. The btd daemon is not yet in the -current tree, though by now the changes to support the daemon in /etc/passwd, /etc/group, /etc/rc and /etc/rc.conf have all been completed.

Drivers have been enabled in GENERIC.

Man pages for some of the bluetooth drivers refer to userland tools that do not yet exist. They will.

Last edited by jggimi; 7th December 2008 at 01:55 AM.
Reason: clarification: drivers in 4.4 are experimental