最終更新:2022-06-18 (土) 05:22:37 (671d)
BlueZ/プラグイン/hostname
https://github.com/bluez/bluez/blob/master/plugins/hostname.c
設定項目
D-Bus
マシンタイプ
- Linux/sys/class/dmi/id/chassis_type
- desktop
- laptop
- handset
- server
メモ
- The BlueZ hostname plugin overrides the Name and Class settings in Linux/etc/bluetooth/main.conf
- hostnameプラグインを無効にしないとmain.confの設定が上書きされる
- https://askubuntu.com/questions/439088/how-to-change-bluetooth-device-class
挙動
- bluetoothd[xxxx]: plugins/hostname.c:property_changed() static hostname: vm
- bluetoothd[xxxx]: plugins/hostname.c:property_changed() pretty hostname:
- bluetoothd[xxxx]: plugins/hostname.c:update_name() name: vm
- bluetoothd[xxxx]: src/adapter.c:adapter_set_name() name: vm
- bluetoothd[xxxx]: plugins/hostname.c:property_changed() chassis: vm
- update_class
メモ
- hostname_probe
- update_name
- update_class
関連
- hciconfig hci0 name 'Device Name'
- bluetoothd