diff options
author | emax <emax@FreeBSD.org> | 2005-11-10 19:09:22 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2005-11-10 19:09:22 +0000 |
commit | 3e42392551e4268614fa93c66761c62d91572e44 (patch) | |
tree | 90d65f258beeb3e9749b80171b3ab20ec92581f6 /etc/bluetooth | |
parent | c82c5ba499665e44341dee9630ef960a16eca899 (diff) | |
download | FreeBSD-src-3e42392551e4268614fa93c66761c62d91572e44.zip FreeBSD-src-3e42392551e4268614fa93c66761c62d91572e44.tar.gz |
Start integrating Bluetooth into rc.d system.
Introduce /etc/rc.d/bluetooth script to start/stop Bluetooth devices. It
will be called from devd(8) in response to device arrival/departure events.
It is also possible to call it by hand to start/stop particular device
without unplugging it.
Introduce generic way to set configuration parameters for Bluetooth devices.
By default /etc/rc.d/bluetooth script has hardwired defaults compatible
with old rc.bluetooth from /usr/share/netgraph/bluetooth/examples. These
can be overridden using /etc/defaults/bluetooth.device.conf file (system
wide defaults). Finally, there could be another device specific override
file located in /etc/bluetooth/$device.conf (where $device is ubt0, btccc0
etc.)
The list of configuration parameters and their meaning described in the
/etc/defaults/bluetooth.device.conf file. Even though Bluetooth device
configuration files are not shell scripts, they must follow basic sh(1) syntax.
The bluetooth.device.conf(5) and handbook update will follow shortly.
Inspired by: Panagiotis Astithas ( past at ebs dot gr )
Reviewed by: brooks, yar
MFC after: 1 week
Diffstat (limited to 'etc/bluetooth')
-rw-r--r-- | etc/bluetooth/hosts | 3 | ||||
-rw-r--r-- | etc/bluetooth/protocols | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/bluetooth/hosts b/etc/bluetooth/hosts index 4ad0a04..b704248 100644 --- a/etc/bluetooth/hosts +++ b/etc/bluetooth/hosts @@ -7,5 +7,4 @@ # # BD_ADDR Name [ alias0 alias1 ... ] -ff:ff:ff:00:00:00 localhost local # Magic sdpd address - +# 00:11:22:33:44:55 phone diff --git a/etc/bluetooth/protocols b/etc/bluetooth/protocols index 222798b..6715094 100644 --- a/etc/bluetooth/protocols +++ b/etc/bluetooth/protocols @@ -3,7 +3,8 @@ # # Bluetooth Protocol/Service Multiplexor (PSM) names and numbers # -# See also http://www.bluetoothsig.org/assigned-numbers/ +# See also +# https://www.bluetooth.org/foundry/assignnumb/document/assigned_numbers # # Protocol PSM Alias Reference |