Gentoo Archives: gentoo-user

From: Foster McLane <fkmclane@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] after last update hciconfig disappeared
Date: Mon, 27 Mar 2017 17:32:09
Message-Id: 20170327173156.GA22219@flynn.fkmclane.net
In Reply to: Re: [gentoo-user] after last update hciconfig disappeared by John Covici
1 On Mon, Mar 27, 2017 at 01:21:55PM -0400, John Covici wrote:
2 > On Mon, 27 Mar 2017 12:46:18 -0400,
3 > Foster McLane wrote:
4 > >
5 > > On Mon, Mar 27, 2017 at 12:28:11PM -0400, John Covici wrote:
6 > > > On Mon, 27 Mar 2017 08:44:59 -0400,
7 > > > Mick wrote:
8 > > > >
9 > > > > [1 <text/plain; us-ascii (quoted-printable)>]
10 > > > > On Monday 27 Mar 2017 13:45:08 Raffaele Belardi wrote:
11 > > > > > John Covici wrote:
12 > > > > > > Hi. After the last update of net-wireless/bluez hciconfig has
13 > > > > > > disappeared. Even downgrading did not bring it back, although it was
14 > > > > > > there in the previous release. How do I do hciconfig, scan and
15 > > > > > > friends now, or is there a way to get them back.
16 > > > > > >
17 > > > > > > As a workaround I put an old one back just copying the binary, so I
18 > > > > > > could proceed, but there has got to be a better way.
19 > > > > > >
20 > > > > > > Thanks in advance for any suggestions.
21 > > > > >
22 > > > > > https://wiki.archlinux.org/index.php/bluetooth#Deprecated_method_using_hcico
23 > > > > > nfig
24 > > > > >
25 > > > > > The ebuild lets you specify an extra-tools USE flag, maybe that one gets
26 > > > > > them back.
27 > > > > >
28 > > > > > raffaele
29 > > > >
30 > > > >
31 > > > > I'm on net-wireless/bluez-5.43-r1 with these USE flags:
32 > > > >
33 > > > > Installed versions: 5.43-r1(09:55:34 02/05/17)(cups obex readline udev -
34 > > > > debug -deprecated -doc -experimental -extra-tools -selinux -systemd -test -
35 > > > > test-programs -user-session ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64"
36 > > > > ABI_S390="-32 -64" ABI_X86="64 -32 -x32" PYTHON_TARGETS="python2_7")
37 > > > >
38 > > > > I still have hciconfig, hcitools, et al.
39 > > > >
40 > > >
41 > > > I did as well, till I upgraded to 5.44 and then even downgrading did
42 > > > not bring back the tools.
43 > > >
44 > > > --
45 > > > Your life is like a penny. You're going to lose it. The question is:
46 > > > How do
47 > > > you spend it?
48 > > >
49 > > > John Covici
50 > > > covici@××××××××××.com
51 > > >
52 > >
53 > > If you are just using the tools in your terminal, 'bluetoothctl' has replaced
54 > > those programs. If you are writing scripts with those commands, I do not
55 > > know of any worthy replacements besides using the DBus interface
56 > > manually.
57 >
58 > I need to make sure that hci0 is up before I start a program that
59 > wants to use it and when I start the bluetooth service, hci0 is down.
60 > How to put it up not using a terminal? Or how to get back those hci
61 > commands?
62 >
63 > --
64 > Your life is like a penny. You're going to lose it. The question is:
65 > How do
66 > you spend it?
67 >
68 > John Covici
69 > covici@××××××××××.com
70 >
71
72 You can set 'AutoEnable=true' in your '/etc/bluetooth/main.conf' file.
73 It should be commented at the bottom.
74
75 Foster

Replies

Subject Author
Re: [gentoo-user] after last update hciconfig disappeared John Covici <covici@××××××××××.com>