On Mon, Mar 27, 2017 at 01:21:55PM -0400, John Covici wrote: > On Mon, 27 Mar 2017 12:46:18 -0400, > Foster McLane wrote: > > > > On Mon, Mar 27, 2017 at 12:28:11PM -0400, John Covici wrote: > > > On Mon, 27 Mar 2017 08:44:59 -0400, > > > Mick wrote: > > > > > > > > [1 <text/plain; us-ascii (quoted-printable)>] > > > > On Monday 27 Mar 2017 13:45:08 Raffaele Belardi wrote: > > > > > 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_hcico > > > > > nfig > > > > > > > > > > The ebuild lets you specify an extra-tools USE flag, maybe that one > > > > > gets > > > > > them back. > > > > > > > > > > raffaele > > > > > > > > > > > > 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. > > > > > > > > > > I did as well, till I upgraded to 5.44 and then even downgrading did > > > not bring back the tools. > > > > > > -- > > > Your life is like a penny. You're going to lose it. The question is: > > > How do > > > you spend it? > > > > > > John Covici > > > [email protected] > > > > > > > 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. > > 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? > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > [email protected] >
You can set 'AutoEnable=true' in your '/etc/bluetooth/main.conf' file. It should be commented at the bottom. Foster

