Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 17928

Re: Bluetooth communication Edison/phone

$
0
0

Hi all and thanks for your answers !

 

After facing several weird errors I needed to reflash the Edison with ubilinux and the wget command worked, I followed these steps (just needed apt-get update and apt-get upgrade before) from the post you mentioned Re: ubilinux (Debian) now available from Emutex Labs :

$ apt-getinstall libusb-dev libdbus-1-dev libglib2.0-dev automake libudev-dev libical-dev libreadline-dev rfkill

$ wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.24.tar.xz

$ tar xf bluez-5.24.tar.xz

$ cd bluez-5.24

$ ./configure –disable-systemd

$ make -j 2

$ make install


I think I'm really close to do it but I'm bit confused with the steps that follow, it is said :

Then from the original image (I have downloaded on my laptop and mounted the ext4 file locally) you should copy the following folder and files to your Edison ubilinux filesystem:

 

/etc/bluetooth/

/usr/sbin/bluetooth_rfkill_event

/usr/sbin/brcm_patchram_plus

 

I'm not really sure about what to do, I think I have to copy those folders in order to have it on Edison, right ? I don't understand what I am supposed to do to have these files on my laptop (mount ext4 locally ?) and then to transfer it on Edison (I think that speccy88 mentioned about FilZilla, this should do it ?).

 

Plus speccy88 you said :

Put these missing files in my filesystem:

requested_yocto_bluetooth_files.zip

But I can't access to it, it's giving an "Unauthorized web page" !

Are the files I need in this zip file ?

 

Your help has been really useful from the beginning and I'm sure this is close to work !

If anyone can give me a hand about this cause I'm a bit confused !

 

Thank you,

 

Thomas

 

EDIT :

Just saw and followed this to have the files : Re: Bluetooth ubilinux

So to recap all of what I did :

* install bluez-5.24

* copy /lib/firmware/bcm43341.* in new directory /etc/firmware/

* get the files :

/etc/bluetooth/                                   --> wget Edison Yocto image and mount -o loop edison-image-edison.ext4 ./foo and I copied the file ./foo/etc/bluetooth in new directory on Edison /etc/bluetooth

/usr/sbin/bluetooth_rfkill_event          --> same wget Yocto, mount, and copied ./foo/usr/sbin/bluetooth_rfkill_event in new directory /usr/sbin/bluetooth_rfkill_event on Edison

/usr/sbin/brcm_patchram_plus          --> git clone broadcom bluetooth, make and copy all files in new directory /usr/sbin/brcm_patchram_plus on Edison

 

Running bluetooth_rfkill_event on Edison give me the following :

root@ubilinux:~# execute brcm_patchram_plus --use_baudrate_for_download --no2bytes --enable_fork --enable_lpm --enable_hci --baudrate 3000000 --patchram /etc/firmware/bcm43341.hcd --bd_addr 00:43:34:b1:be:ef /dev/ttyMFD0

sh: 1: brcm_patchram_plus: Permission denied

 

I tried  chmod 777 /usr/sbin/brcm_patchram_plus/brcm_patchram_plus but still permission denied...

Must be a problem with the way I imported /usr/sbin/bluetooth_rfkill_event ??? Do I have to do a "make" somewhere ?

If someone can tell me, I must have done something wrong or forgot something, I'll may try to reflash ubilinux and try all the steps again just to check.


Viewing all articles
Browse latest Browse all 17928

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>