Go Down

Topic: Unable to setup Bluetooth on Yun (Read 7785 times) previous topic - next topic

comlag

Hello everyone,

First, let me say that I'm really new to the Arduino environment. That may explain my problem.

I bought an Adruino Yun and a Broadcom Corp. BCM20702A0 Bluetooth 4.0 dongle. I'm now trying to configure the Bluetooth but I'm unable to detect it.
My netbook is running on Windows 8.1. I've installed the IDE and Putty.
I've connected my Yun through USB and it's detected just fine.

The problems start when I try to install the bluez_5.13-1_ar71xx.ipk package. I get this error message that I've been unable to resolve.

Inside the LuCI interface I get this error message :

Quote
Downloading http://fibasile.github.io/images/arduino-yun-ibeacon/bluez_5.13-1_ar71xx.ipk.
Installing bluez (5.13-1) to root...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for bluez:
*    libusb-compat *
* opkg_install_cmd: Cannot install package bluez.


I've installed the libusb packages available but it's still not working.

Could anyone help me please ?

Thanks

comlag

mdoan7

My Yun didn't have it either but I found the pkg here:
http://download.linino.org/linino_distro/release/latest/packages/libusb-compat_0.1.4-1_ar71xx.ipk

I got bluez to install but then it doesn't seem to work...

hciconfig doesn't find any devices on my end.

sonnyyu

#2
Sep 17, 2014, 04:11 pm Last Edit: Sep 17, 2014, 05:08 pm by sonnyyu Reason: 1
openwrt-yun  has bluez_5.13 but in 2 packages- bluez-libs, bluez-utils.

Code: [Select]
opkg update
opkg install kmod-bluetooth bluez-libs bluez-utils


but it would not auto mount with kernel 3.3.8  but 3.8.3.   ( new one is 3.3.8, old one is 3.8.3)

use manually mount it.

echo 050d 065a > /sys/bus/usb/drivers/btusb/new_id

https://github.com/arduino/linino/issues/21#issuecomment-32119717

Code: [Select]
root@Arduino:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 003: ID 0424:2507 Standard Microsystems Corp. hub
Bus 001 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 005: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0



Code: [Select]
root@Arduino:~# echo 0a5c 21e8> /sys/bus/usb/drivers/btusb/new_id
root@Arduino:~# hciconfig
hci0:   Type: BR/EDR  Bus: USB
       BD Address: 00:02:72:33:96:0A  ACL MTU: 1021:8  SCO MTU: 64:1
       DOWN
       RX bytes:489 acl:0 sco:0 events:20 errors:0
       TX bytes:86 acl:0 sco:0 commands:20 errors:0








BREL

Sonnyyu,

Thank you Thank you Thank you

Simply great

High Regards

BRE

mdoan7


Go Up