* Name and Class in main.conf ignored
@ 2016-05-28 10:51 denk
2016-05-29 9:30 ` Szymon Janc
0 siblings, 1 reply; 3+ messages in thread
From: denk @ 2016-05-28 10:51 UTC (permalink / raw)
To: linux-bluetooth
Hi,
I would like to configure the name and the class using the respective entries in /etc/bluetooth/main.conf. Unfortunately without success. Both values are ignored or overwritten, I don't know.
Any ideas why it doesn't work? Am I doing something wrong? Is there maybe an alternative way to achieve this?
Thanks in advance.
Best
denk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Name and Class in main.conf ignored
2016-05-28 10:51 Name and Class in main.conf ignored denk
@ 2016-05-29 9:30 ` Szymon Janc
2016-05-31 5:11 ` Dennis Kadioglu
0 siblings, 1 reply; 3+ messages in thread
From: Szymon Janc @ 2016-05-29 9:30 UTC (permalink / raw)
To: denk; +Cc: linux-bluetooth
Hi,
On Saturday 28 May 2016 12:51:12 denk wrote:
> Hi,
>
> I would like to configure the name and the class using the respective
> entries in /etc/bluetooth/main.conf. Unfortunately without success. Both
> values are ignored or overwritten, I don't know.
>
> Any ideas why it doesn't work? Am I doing something wrong? Is there maybe an
> alternative way to achieve this?
>
> Thanks in advance.
>
This is probably due to hostname plugin. Try disabling it (-P option) in
command line.
--
pozdrawiam
Szymon Janc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Name and Class in main.conf ignored
2016-05-29 9:30 ` Szymon Janc
@ 2016-05-31 5:11 ` Dennis Kadioglu
0 siblings, 0 replies; 3+ messages in thread
From: Dennis Kadioglu @ 2016-05-31 5:11 UTC (permalink / raw)
To: linux-bluetooth
Hi,
thanks for your immediate answer. Using -P hostname now and it works!
One question: Shouldn't the settings in the configuration file supersede otherwise configured settings? I want to change the class of my device but, on the other hand I don't want to change the hostname which is set by the hostname plugin, I can't do that now. Instead I have to disable the whole plugin by changing the bluetooth.service file and therefor I have to take care for the changed bluetooth.service file in case of updates. What are the reasons for the current implementation? Would it be possible to change the current implementation in a way, that settings in main.conf overwrite settings in other places?
----- Ursprüngliche Mail -----
Von: "Szymon Janc" <szymon.janc@codecoup.pl>
An: "denk" <denk@post.com>
CC: linux-bluetooth@vger.kernel.org
Gesendet: Sonntag, 29. Mai 2016 11:30:24
Betreff: Re: Name and Class in main.conf ignored
Hi,
On Saturday 28 May 2016 12:51:12 denk wrote:
> Hi,
>
> I would like to configure the name and the class using the respective
> entries in /etc/bluetooth/main.conf. Unfortunately without success. Both
> values are ignored or overwritten, I don't know.
>
> Any ideas why it doesn't work? Am I doing something wrong? Is there maybe an
> alternative way to achieve this?
>
> Thanks in advance.
>
This is probably due to hostname plugin. Try disabling it (-P option) in
command line.
--
pozdrawiam
Szymon Janc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-31 5:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-28 10:51 Name and Class in main.conf ignored denk
2016-05-29 9:30 ` Szymon Janc
2016-05-31 5:11 ` Dennis Kadioglu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).