edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 37 forks source link

Bluetooth support #13

Closed floion closed 6 years ago

floion commented 6 years ago

Hi, have you had luck with getting bluetooth to work on kernel 4.x? Is the btbcm module working or do we need to fall back to backporting the bcm_bt_lpm?

Thank you

htot commented 6 years ago

Last time I checked it just works, see #9 under https://github.com/htot/meta-intel-edison/wiki/Current-state-of-Edison-Morty.

floion commented 6 years ago

So before running btattach you get the device listed when you run "rfkill list"?

htot commented 6 years ago

Hmm, something is wrong now that worked before. When I do:

root@edison:~# /usr/bin/btattach  -B /dev/ttyS0 -P bcm -S 3000000
Attaching Primary controller to /dev/ttyS0
Switched line discipline from 0 to 15
Failed to set protocol: Protocol not supported
No controller attached

Looks like the bt device does not get power. Maybe @andy-shev knows what is wrong (this is on linux 4.14 bluez 5.43)

htot commented 6 years ago

(@floion no, before, when it worked, first you run btattach then rfkill)

htot commented 6 years ago

If I remember correctly it worked with linux 4.12, possibly with 4.13. You can easily go back to one of these by changing this file: poky-edison.conf. Let me know if that helps.

andy-shev commented 6 years ago

Can you revert commit 276c87054751 ("x86/platform/intel-mid: Make 'bt_sfi_data' const") and check if it works again?

htot commented 6 years ago

Fixed with c788c20abbb3c8f9e30265e206780befcf9915a5. Thanks for reporting.

floion commented 6 years ago

Thanks @htot @andy-shev