All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: ProklovAV@mail.zabtrans.ru
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: Not set name from main.conf
Date: Tue, 29 Aug 2017 10:00:09 +0300	[thread overview]
Message-ID: <CABBYNZ+NLeJZDXa3agFfwZ1TSFU27RGwcjGgn-zvN_zi+Oi_TQ@mail.gmail.com> (raw)
In-Reply-To: <59A504D3.6070809@mail.zabtrans.ru>

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
<ProklovAV@mail.zabtrans.ru> wrote:
>  Hello All,
>
> I set name in main.conf file, in log bluetoothd i see:
>>
>> bluetoothd[25627]: src/main.c:parse_config() name=3DPuppyBT
>> 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 nam=
e:
>> 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 comma=
nd
>> 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:
>> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



--=20
Luiz Augusto von Dentz

  reply	other threads:[~2017-08-29  7:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29  6:08 Not set name from main.conf Проклов Александр Валерьевич
2017-08-29  7:00 ` Luiz Augusto von Dentz [this message]
2017-08-29  8:56 ` Проклов Александр Валерьевич
2017-08-29 10:21   ` Luiz Augusto von Dentz
2017-08-29 23:54     ` Проклов Александр Валерьевич

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABBYNZ+NLeJZDXa3agFfwZ1TSFU27RGwcjGgn-zvN_zi+Oi_TQ@mail.gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=ProklovAV@mail.zabtrans.ru \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.