hciconfig: command not found (BBB)

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

hciconfig: command not found (BBB)

Postby andwicf » Mon Dec 16, 2013 1:56 pm

Sorry my bad English before

I have Beaglebone Black and i use archlinux. When i try use USB Bluetooth dongle, my archlinux (in Beaglebone Black) cannot use hciconfig/hcitool command. I have read many source in Google. After that, i try install Bluez (i dont know..it is complete or not). After install Bluez, i cannot use hciconfig and hcitool command.

What should i do??

i have question about USB Bluetooth Dongle:
- Is every usb bluetooth dongle can use RFCOMM Protocol??

this is my bluez reinstalling $this->bbcode_second_pass_code('', 'pacman -S bluez-utils bluez dbus
warning: bluez-5.12-1 is up to date -- reinstalling
warning: dbus-1.6.18-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

')
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Update:
When i try this command:
$this->bbcode_second_pass_code('', 'pacman -Syy bluez-utils bluez dbus')

i succes use hciconfig and hcitool command. but, when i use "hcitool scan" , it can scan anything like this:
$this->bbcode_second_pass_code('', '[root@alarm ~]# hcitool scan
Device is not available: No such device')

i have read many source, and i try use "rfkill list". maybe my usb bluetooth has blocked. but i cant use "rfkill list"

$this->bbcode_second_pass_code('', '[root@alarm ~]# lsmod
Module Size Used by
btusb 11546 0
bluetooth 191018 2 btusb
rfkill 18341 1 bluetooth
g_ether 34301 0
libcomposite 18893 1 g_ether
autofs4 22234 2')

what should i do???
andwicf
 
Posts: 2
Joined: Mon Dec 16, 2013 1:37 pm

Re: hciconfig: command not found (BBB)

Postby WarheadsSE » Mon Dec 16, 2013 2:46 pm

So the topic is misleading. It is not that hciconfig is not found, so much as $this->bbcode_second_pass_code('', 'hcitool scan') returns with nothing found.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: hciconfig: command not found (BBB)

Postby PLyttle » Fri Dec 20, 2013 9:13 am

First see if your bluetooth dongle is switched on:
type "bluetoothctl"
then at the [bluetooth] prompt type "show"
you should see your controller stats
if it says "Powered: no", type
"power on"
(type "help" to see the rest of the commands)
you can type "scan on" to discover your devices
type "devices" to see what has been found.

type "exit" to leave bluetoothctl
"hcitool scan" should now find your active devices too

success
PLyttle
 
Posts: 120
Joined: Mon Jun 10, 2013 6:52 am


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 6 guests