Re: Not set name from main.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Aleksandr,

On Tue, Aug 29, 2017 at 9:08 AM, Проклов Александр Валерьевич
<ProklovAV@xxxxxxxxxxxxxxxx> wrote:
>  Hello All,
>
> I set name in main.conf file, in log bluetoothd i see:
>>
>> bluetoothd[25627]: src/main.c:parse_config() name=PuppyBT
>> bluetoothd[25627]: src/adapter.c:btd_adapter_new() System name: PuppyBT
>
>
> and later in the log:
>
>> bluetoothd[25627]: src/adapter.c:local_name_changed_callback() Name:
>> PuppyBT
>> bluetoothd[25627]: src/adapter.c:local_name_changed_callback() Short name:
>> bluetoothd[25627]: src/adapter.c:local_name_changed_callback() Current
>> alias: PuppyBT
>> bluetoothd[25627]: plugins/hostname.c:property_changed() static hostname:
>> pra
>> bluetoothd[25627]: plugins/hostname.c:property_changed() pretty hostname:
>> 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 command
>> 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 name:
>> bluetoothd[25627]: src/adapter.c:local_name_changed_callback() Current
>> alias: pra
>
>
> How 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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux