Skip to contentSkip to conversation

Should btmgmt be installed?

DISCUSSION Pacho Ramos 4 participants 4 messages Oct 28, 2015 – Oct 31, 2015 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Some people downstream is asking us to install btmgmt utility but, for some reason, it looks like upstream makefile rules don't install it. Is that being missed on purpose? Should Makefiles be fixed to get it installed or that utility is not meant to be installed in users systems?

Thanks for the info

#1 lore raw

Hi Pacho,

Quoted 5 lines · Pacho Ramos

Some people downstream is asking us to install btmgmt utility but, for some reason, it looks like upstream makefile rules don't install it. Is that being missed on purpose? Should Makefiles be fixed to get it installed or that utility is not meant to be installed in users systems?

I think this is mostly because of historical reasons. The btmgmt tool wasn't created for anything else except a developer testing tool initially. It's still supposed to be just a developer tool, but if people have good reasons to use it then I don't personally have anything against making it installable through the makefile rules. Someone should just send a patch for it. That said, Marcel might have a differing opinion on the matter (though his silence so far is promising ;)

Johan

#2 lore raw

Seems like if the potentially dangerous hcitool is still installed, there would be no harm in installing btmgmt - perhaps long term btmgmt should be installed instead of hcitool.

Quoted 17 lines · On 10/30/15, 8:00 AM, "[email protected] on behalf of…

Hi Pacho,

Quoted 5 lines · Pacho Ramos

Some people downstream is asking us to install btmgmt utility but, for some reason, it looks like upstream makefile rules don't install it. Is that being missed on purpose? Should Makefiles be fixed to get it installed or that utility is not meant to be installed in users systems?

I think this is mostly because of historical reasons. The btmgmt tool wasn't created for anything else except a developer testing tool initially. It's still supposed to be just a developer tool, but if people have good reasons to use it then I don't personally have anything against making it installable through the makefile rules. Someone should just send a patch for it. That said, Marcel might have a differing opinion on the matter (though his silence so far is promising ;)

Quoted 6 lines

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Statement of Confidentiality

The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or at 508.683.2500 and delete this message and its attachments, if any.

maintainer
#3 lore raw
In reply to Johan Hedberg

Hi Johan,

Quoted 6 lines
Quoted 5 lines

Some people downstream is asking us to install btmgmt utility but, for some reason, it looks like upstream makefile rules don't install it. Is that being missed on purpose? Should Makefiles be fixed to get it installed or that utility is not meant to be installed in users systems?

Quoted 7 lines

I think this is mostly because of historical reasons. The btmgmt tool wasn't created for anything else except a developer testing tool initially. It's still supposed to be just a developer tool, but if people have good reasons to use it then I don't personally have anything against making it installable through the makefile rules. Someone should just send a patch for it. That said, Marcel might have a differing opinion on the matter (though his silence so far is promising ;)

I do not think btmgmt should be installed. It is not a tool with a stable interface nor is it useful for non-developers. The main tool for interaction should be bluetoothctl.

Also hciconfig and hcitool are not really tools that should be installed these days. They are actually harmful since they inject HCI commands. And with that btmgmt is not as bad, but still harmful since it can mess with the mgmt interface.

The one thing I really like to avoid is that btmgmt ends up in all the howto docs as some tool that someone can rely on. I do not think it is such kind of tool.

Regards

Marcel