Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] after last update hciconfig disappeared

126 views
Skip to first unread message

John Covici

unread,
Mar 27, 2017, 6:40:03 AM3/27/17
to
Hi. After the last update of net-wireless/bluez hciconfig has
disappeared. Even downgrading did not bring it back, although it was
there in the previous release. How do I do hciconfig, scan and
friends now, or is there a way to get them back.

As a workaround I put an old one back just copying the binary, so I
could proceed, but there has got to be a better way.

Thanks in advance for any suggestions.

--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
cov...@ccs.covici.com

Raffaele Belardi

unread,
Mar 27, 2017, 7:50:03 AM3/27/17
to

John Covici wrote:
> Hi. After the last update of net-wireless/bluez hciconfig has
> disappeared. Even downgrading did not bring it back, although it was
> there in the previous release. How do I do hciconfig, scan and
> friends now, or is there a way to get them back.
>
> As a workaround I put an old one back just copying the binary, so I
> could proceed, but there has got to be a better way.
>
> Thanks in advance for any suggestions.
>

https://wiki.archlinux.org/index.php/bluetooth#Deprecated_method_using_hciconfig

The ebuild lets you specify an extra-tools USE flag, maybe that one gets them back.

raffaele

Mick

unread,
Mar 27, 2017, 8:50:03 AM3/27/17
to
I'm on net-wireless/bluez-5.43-r1 with these USE flags:

Installed versions: 5.43-r1(09:55:34 02/05/17)(cups obex readline udev -
debug -deprecated -doc -experimental -extra-tools -selinux -systemd -test -
test-programs -user-session ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64"
ABI_S390="-32 -64" ABI_X86="64 -32 -x32" PYTHON_TARGETS="python2_7")

I still have hciconfig, hcitools, et al.

--
Regards,
Mick
signature.asc

John Covici

unread,
Mar 27, 2017, 12:30:03 PM3/27/17
to
On Mon, 27 Mar 2017 08:44:59 -0400,
Mick wrote:
>
> [1 <text/plain; us-ascii (quoted-printable)>]
I did as well, till I upgraded to 5.44 and then even downgrading did
not bring back the tools.

John Covici

unread,
Mar 27, 2017, 12:30:04 PM3/27/17
to
I tried that and it failed --some file is missing and I got lots of
warnings about upstream not supporting, etc.

Foster McLane

unread,
Mar 27, 2017, 12:50:03 PM3/27/17
to
If you are just using the tools in your terminal, 'bluetoothctl' has replaced
those programs. If you are writing scripts with those commands, I do not
know of any worthy replacements besides using the DBus interface
manually.

Foster

John Covici

unread,
Mar 27, 2017, 1:30:02 PM3/27/17
to
I need to make sure that hci0 is up before I start a program that
wants to use it and when I start the bluetooth service, hci0 is down.
How to put it up not using a terminal? Or how to get back those hci
commands?

Foster McLane

unread,
Mar 27, 2017, 1:40:03 PM3/27/17
to
You can set 'AutoEnable=true' in your '/etc/bluetooth/main.conf' file.
It should be commented at the bottom.

Foster

John Covici

unread,
Mar 27, 2017, 2:20:03 PM3/27/17
to
On Mon, 27 Mar 2017 13:31:56 -0400,
OK, I will try that out, never heard of that parameter before.

Thanks.

Mick

unread,
Mar 27, 2017, 2:50:03 PM3/27/17
to
On Monday 27 Mar 2017 14:14:20 John Covici wrote:
> On Mon, 27 Mar 2017 13:31:56 -0400,
>
> Foster McLane wrote:
> > On Mon, Mar 27, 2017 at 01:21:55PM -0400, John Covici wrote:

> > > I need to make sure that hci0 is up before I start a program that
> > > wants to use it and when I start the bluetooth service, hci0 is down.
> > > How to put it up not using a terminal? Or how to get back those hci
> > > commands?
> >
> > You can set 'AutoEnable=true' in your '/etc/bluetooth/main.conf' file.
> > It should be commented at the bottom.
>
> OK, I will try that out, never heard of that parameter before.
>
> Thanks.

Thank you I will need this too. What is the recommended way to initialize
only one device and not another, in case there are more than one bluetooth
devices on board? I am guessing AutoEnable=true will enable each and every
device physically connected at the time?
--
Regards,
Mick
signature.asc
0 new messages