• 0
ker_ouss

Linux in Zybo + Bluetooth

Question

Hi everybody,

I try to run Linaro (ubuntu) in my Zybo baord and create a connection betzeen zybo board and Bluetooth Pmod Bt2 or  ordinary Bluetooth.

I don`t know were I start ,because I`m confusion what i used Vivado + SDK in windows to buils the kernal or install the tool in Ubuntu machine.

Best regard

Kerdjidj

 

 

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

hi jPeyron, 

Thank for this tutorial.

I can run linaro in zybo but when I try to do a connection Bluetooth using hub USB , i can't there some function I can't execute

 

when I do this command
lsusb  Ii can found the Bluetooth connected in hub USB
but when I used 
hciconfig dev
I have just
device:   
without any reference of some thins like that 
if I do 
hcitool scan 
Device is not available: Adress family not supported by protocol

 

 

 

Share this post


Link to post
Share on other sites
  • 0

If you are using the older linaro with a full ubuntu desktop, I would recommend connecting a monitor, a USB keyboard and a USB mouse. Then you can just boot into the desktop and use the graphical bluetooth utility like you were using a PC running Ubuntu. You might be able to do something similar in the newer alip builds, but you will probably have to install some additional packages.

Share this post


Link to post
Share on other sites
  • 0

What is the name of the USB Bluetooth adapter you are using? Please provide a link to it on amazon or newegg if possible so I can look further into it.

Also please provide the output of lsusb

Share this post


Link to post
Share on other sites
  • 0

A quick glance around the internet seems to suggest that most of these dongles tended to work with ubuntu automatically, which is good to know. Probably what that means is that either the kernel or the Linaro version of Ubuntu left out bluetooth support to save on space, and you will need to turn it back on. When you run dmesg, do you get any bluetooth related messages? Also, I still need the output of lsusb. 

Do you have petalinux installed, and have you ever rebuilt the kernel before? If it turns out that bluetooth support is disabled in the kernel you are going to need to do this.

Share this post


Link to post
Share on other sites
  • 0

Hi 

When I run lusb | grep Bluetooth

 

Pleaase find in attached the result when I run  dmesg  

8.810000] init: bluetooth main process (1210) terminated with status 1
[    8.810000] init: bluetooth main process ended, respawning
[    9.150000] init: failsafe main process (1271) killed by TERM signal
[    9.150000] init: bluetooth main process (1283) terminated with status 1
[    9.150000] init: bluetooth main process ended, respawning
[    9.610000] init: bluetooth main process (1332) terminated with status 1
[    9.610000] init: bluetooth main process ended, respawning

 

and whenI run hcitool scan  I have this message :

Device is not Available : Address Family not supported by protocol.

 

Thank you and best regards 

ker

 

Device 

dmesg.txt

Sans titre.png

Sans titre2.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now