Re: Not set name from main.conf
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2017-08-29 07:00:09
Hi Aleksandr, On Tue, Aug 29, 2017 at 9:08 AM, =D0=9F=D1=80=D0=BE=D0=BA=D0=BB=D0=BE=D0=B2= =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80 =D0=92=D0=B0=D0=BB= =D0=B5=D1=80=D1=8C=D0=B5=D0=B2=D0=B8=D1=87 [off-list ref] wrote:
Hello All, I set name in main.conf file, in log bluetoothd i see:quoted
bluetoothd[25627]: src/main.c:parse_config() name=3DPuppyBT bluetoothd[25627]: src/adapter.c:btd_adapter_new() System name: PuppyBTand later in the log:quoted
bluetoothd[25627]: src/adapter.c:local_name_changed_callback() Name: PuppyBT bluetoothd[25627]: src/adapter.c:local_name_changed_callback() Short nam=
e:
quoted
bluetoothd[25627]: src/adapter.c:local_name_changed_callback() Current alias: PuppyBT bluetoothd[25627]: plugins/hostname.c:property_changed() static hostname=
:
quoted
pra bluetoothd[25627]: plugins/hostname.c:property_changed() pretty hostname=
:
quoted
bluetoothd[25627]: plugins/hostname.c:update_name() name: pra bluetoothd[25627]: src/adapter.c:adapter_set_name() name: pra bluetoothd[25627]: src/adapter.c:adapter_set_name() alias: pra bluetoothd[25627]: src/adapter.c:set_name() sending set local name comma=
nd
quoted
for index 0 bluetoothd[25627]: plugins/hostname.c:property_changed() chassis: laptop bluetoothd[25627]: plugins/hostname.c:update_class() major: 0x01 minor: 0x03 bluetoothd[25627]: src/adapter.c:local_name_changed_callback() Name: pra bluetoothd[25627]: src/adapter.c:local_name_changed_callback() Short nam=
e:
quoted
bluetoothd[25627]: src/adapter.c:local_name_changed_callback() Current alias: praHow to correctly set the device name?
You should probably disable the hostname plugin if you don't want it to set the name and alias, alternatively, you can set a different alias using the Alias property with bluetoothctl or your own tool.
Bluez version 5.45 --------------------- Best regards, Aleksandr Proklov -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth=
"
in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--=20 Luiz Augusto von Dentz