BLUETOOTH.DEVICE.CONF(5)
๐ NAME ๐
bluetooth.device.conf โ Bluetooth device configuration file. This is the BLUETOOTH.DEVICE.CONF(5) page from the File Formats Manual, bestie ๐ฆ
โจ DESCRIPTION โจ
Okay so the Bluetooth device configuration framework gives you the ability to adjust certain Bluetooth device parameters on a per-device basis. Periodt ๐
Bluetooth device configuration files are plain text files that should conform to basic sh(1) syntax. Even though Bluetooth device files are not exactly shell scripts, they are parsed and passed through the shell eval command. This makes it possible to use various shell tricks in the Bluetooth device configuration files โ iykyk โจ
The /etc/rc.d/bluetooth script is used to start and stop Bluetooth devices. This script is not executed by default when the system boots. It is called by devd(8) in response to Bluetooth device arrival and departure events. It is possible to execute this script by hand if required. The script accepts the Bluetooth device driver name as an extra parameter. ๐ซถ
The system wide Bluetooth device configuration file is called /etc/defaults/bluetooth.device.conf. Configuration parameters set in the system wide Bluetooth device configuration file apply to every Bluetooth device connected to the system. ๐
Configuration parameters overrides for the specific Bluetooth device should be placed in the /etc/bluetooth/DEVICE_DRIVER_NAME.conf file. Where DEVICE_DRIVER_NAME is the device driver name of the Bluetooth device. ๐
The following list provides a name and short description for each variable that can be set in a Bluetooth device configuration file. ๐
๐ง the variables, all of them ๐ง
authentication_enable(bool) โ controls if the device requires to authenticate the remote device at connection setup. If set toYES, the device will try to authenticate the other device at connection setup. Bluetooth authentication requests are handled byhcsecd(8)daemon. ๐class(str) โ used to indicate the capabilities of the device to other devices. For more details see โAssigned Numbers - Bluetooth Basebandโ document. โญconnectable(bool) โ controls whether or not the device should periodically scan for page attempts from other devices. If set toYES, the device will periodically scan for page attempts from other devices. ๐discoverable(bool) โ controls whether or not the device should periodically scan for inquiry requests from other devices. If set toYES, the device will periodically scan for inquiry requests from other devices. ๐ฆencryption_mode(str) โ controls if the device requires encryption to the remote device at connection setup. At connection setup, only the devices with theauthentication_enableparameter enabled andencryption_modeparameter enabled will try to encrypt the connection to the other device. Possible values areNONE(encryption disabled),P2P(encryption for only point-to-point packets), orALL(encryption for both point-to-point and broadcast packets). ๐ฅhci_debug_level(int) โ HCI node debug level. Higher values mean more verbose output. ๐l2cap_debug_level(int) โ L2CAP node debug level. Higher values mean more verbose output. ๐local_name(str) โ provides the ability to modify the user friendly name for the device. ๐ธrole_switch(bool) โ controls whether the local device should perform role switch. By default, if role switch is supported, the local device will try to perform role switch and become Master on incoming connection. Some devices do not support role switch and thus incoming connections from such devices will fail. If role switch is disabled then the accepting device will remain Slave. ๐ญ
๐ FILES ๐
/etc/defaults/bluetooth.device.conf/etc/rc.d/bluetooth
These are the paths, bestie โ no cap. ๐ซถ
๐ธ EXAMPLES ๐ธ
The /etc/bluetooth/ubt0.conf file should be used to specify configuration parameters overrides for the first USB Bluetooth device (device driver name is ubt0). ๐ฆ
The /etc/bluetooth/ubt1.conf file should be used to specify configuration parameters overrides for the second USB Bluetooth device. ๐
๐ฎ SEE ALSO ๐ฎ
Go read those too, bestie โ the lore is real โจ
๐ AUTHORS ๐
Maksim Yevmenkin <m_evmenkin@yahoo.com> โ iconic. ๐
Source/version: Debian ยท date: September 29, 2021 โ mwah, bestie ๐
๐ฆ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2005 Maksim Yevmenkin <m_evmenkin@yahoo.com>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms