The Affix distribution consists of two separate packages: affix and affix-kernel. affix contains source files to compile and install user mode programs and affix-kernel contains source file to compile kernel modules.
The affix-kernel package compiles and installs kernel-modules and developers header files.
Table A-1. affix-kernel components
Module | Description |
---|---|
net/bluetooth/affix.o | Affix core module (HCI, L2CAP, and its socket interfaces). |
net/bluetooth/affix_rfcomm.o | RFCOMM, BTY and its socket interface. |
net/bluetooth/affix_pan.o | PAN (BNEP, network interface). |
drivers/bluetooth/affix_usb.o | Bluetooth USB driver. |
drivers/bluetooth/affix_uart.o | Bluetooth UART (H4, BCSP, TLP) driver. |
drivers/bluetooth/affix_uart_cs.o | PCMCIA driver for UART cards. |
/usr/include/affix/bluetooth.h | Main Affix header file: Affix data structures, system calls, types. |
/usr/include/affix/hci_types.h | HCI data structures and identifiers. |
/usr/include/affix/hci_cmds.h | HCI commands implementation (used by "affix" package). |
USB support. In order to use USB Bluetooth adapter it's necessary to enable USB support in the kernel.
PCMCIA support. In order to use PCMCIA (PCCARD) Bluetooth adapter it's necessary to enable PCMCIA support in the kernel.
DEVFS support (optional, recommended). Provides automatic creation of /dev/btyXX device files.
HOTPLUG support (optional, recommended). Used in a case of USB support. Provides automatic way to load drivers for USB modules on demand.
modutils support (optional, recommended). Provides automatic updates for module information from user specific files. In order for the system to load modules automatically on demand modules information has to be added to /etc/modules.conf. modutils does it for you.
In oder to use Broadcomm BCM2033 USB dongle and 3Com Bluetooth PCCARD install Bluetooth Firmware Loader.
In order to properly compile affix-kernel package please follow these steps:
Copy affix-kernel-xxx.tgz package to any directory (e.g. /usr/src/).
Unpack it: tar xvfz affix-kernel-xxx.tgz
Configure it: make config
Configuration script offers configuration options to select. Answer y/n to the questions depending on the configuration you desire.
Compile it: make all
Install it: make install
This step requires root privilege.
Update system configuration.
Update protocol aliases.
It's required to automatically load Affix modules when application requires the Affix support. Installation script installs /etc/modutils/affix which contains necessary aliases. It works fine in a Debian distribution. If you do not have modutuls support then you need manually add following lines to your /etc/modules.conf.
alias net-pf-27 affix alias char-major-60 affix_rfcomm
Update PCMCIA config file.
Installation script installs etc/pcmcia/affix and etc/pcmcia/affix.conf files to the /etc/pcmcia. affix.conf is read by the PCMCIA subsystem automatically. But some time ago it was necessary to add entries to /etc/pcmcia/config manually. Please check you system and if necessary then add contents of the affix.conf file to your pcmcia config file (/etc/pcmcia/config or /etc/pcmcia/config-2.4).
Run "killall -HUP cardmgr" in order to tell PCMCIA manager to reload configuration.
Modules has to be loaded into the memory if your system does not do it automatically. Run "modprobe <module name>" for that.