Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pine A64 | Bluetooth support for add-on module #528

Closed
pfeerick opened this issue Sep 25, 2016 · 6 comments
Closed

Pine A64 | Bluetooth support for add-on module #528

pfeerick opened this issue Sep 25, 2016 · 6 comments

Comments

@pfeerick
Copy link

[I'll add the link here to the pine64 forum post once it is available]

When trying to enable on the Bluetooth on the DietPi distro using the same steps that worked for the Debian Jessie distro, I had no luck. You can see the steps needed here (from my notes).

I have come to believe after examining the start_bt.sh script further that that it may not be working as the kernel config flag "CONFIG_SERIAL_8250" is not set, and is apparently needed for this to work.

Firmware binaries, start_bt.sh, etc were sourced from this repo: https://github.com/lwfinger/rtl8723bs_bt

@MichaIng
Copy link
Owner

MichaIng commented Mar 1, 2018

@pfeerick
Is the issue and procedure still current?

@Fourdee
As far as I can see, we do not support bluetooth on Pine64. If there is still no native/repo support for this, it is a bid more to do then for the other devices, but maybe worth trying, setting kernel config flag included, if it (still) works?

@Fourdee Fourdee added this to the v6.3 milestone Mar 2, 2018
@Fourdee
Copy link
Collaborator

Fourdee commented Mar 2, 2018

@MichaIng

I'll run a test today.

Yep, still broken.


G_AGI build-essential
wget https://github.com/lwfinger/rtl8723bs_bt/archive/master.zip -O package.zip
unzip package.zip
rm package.zip

cd rtl8723bs*
make -j $(nproc --all)
make install

Builds fine, but still hangs on BT

root@DietPi:~/rtl8723bs_bt-master# ./start_bt.sh
Using device /dev/at MM for Bluetooth
root@DietPi:~/rtl8723bs_bt-master# bluetoothctl
Waiting to connect to bluetoothd...

@Fourdee Fourdee self-assigned this Mar 2, 2018
@Fourdee Fourdee changed the title Bluetooth support on Pine64 PineA64 | Bluetooth support for add-on module Mar 2, 2018
@Fourdee Fourdee removed this from the v6.3 milestone Mar 2, 2018
@MichaIng
Copy link
Owner

MichaIng commented Apr 6, 2018

@Fourdee
The link provided by @pfeerick includes some other steps after start_bt.sh: https://www.evernote.com/shard/s1/sh/cb4b9f07-e182-4abf-8ee3-5db105192626/3a8d6c901cc8acab

  • "...it configures the BT module and makes it available for use": ./rtk_hciattach -n -s 115200 /dev/ttyS1 rtk_h5 & (needs to run in background, hmm serial tty needs to be active, then (?)...)
  • "Remove soft block, scan for devices": rfkill list, then rfkill unblock <bt_deviceID> in case

@MichaIng
Copy link
Owner

@Fourdee
Maybe we can pick this up again, if you find time to test with the steps provided in the link above?
Sadly I cannot test all the WiFi and BT stuff, however about the other WiFi (multiple SSID) topic, I can provide the initial dietpi-config/set_hardware menus/additions, when solution is chosen 😃.

@Fourdee Fourdee modified the milestones: v6.21, v6.22 Feb 7, 2019
@MichaIng
Copy link
Owner

MichaIng commented Feb 27, 2019

Pine A64 image has been updated and is now based on ARMbian with different (newer) kernel. Perhaps the above works now.

And we have to take care here as well that neither the kernel cmd line nor systemd blocks /dev/ttyS1 for boot messages and/or as login console: #2607

@MichaIng
Copy link
Owner

MichaIng commented Feb 4, 2020

New Buster-based image available for testing: https://dietpi.com/downloads/testing/DietPi_PineA64-ARMv8-Buster.7z
Since there have been vast changes in kernel, system etc. this should or needs to be simply retested, following the linked guide and drivers. If it hangs even after error-free build and verifying that used UART device is not in other use and not blocked and listens to the correct hardware connectors, it should be reported to the drivers repo. I mark this as closed, as it is hence no DietPi-specific issue.

@MichaIng MichaIng closed this as completed Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants