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

Always encounter "Can't init device hci1: Connection timed out (110)" #1

Open
ctrl-shift-esc opened this issue Jun 5, 2020 · 0 comments

Comments

@ctrl-shift-esc
Copy link

ctrl-shift-esc commented Jun 5, 2020

I am trying to use the NINA bluetooth module that comes with the HummingBoard Pulse. I have followed the following steps in order to use bluetooth:

Hardware: HummingBoard Pulse, i.MX8M
Software: SolidRun Official Debian Buster image
All commands executed via SSH terminal

  1. After first boot, using hciconfig did not yield any devices
  2. Use of bluetoothctl from bluez too yielded no controllers.
  3. Contacted SolidRun for support and was directed to build and install firmware for NINA B1 module as stated here.
    a. Installed Apache Newt Tool
    b. Installed gcc-arm-none-eabi
    c. Installed OpenOCD as documented here and enabled imx_gpio
    d. Followed the rest of the steps to build and load image.
    - Here I temporarily encountered the error which said The specified debug interface was not found (imx_gpio). This issue got resolved by itself, but I don't know what resolved this error.
  4. Executed the sudo btattach -B /dev/ttymxc3 -S 1000000 -N & so as to not block the terminal.
  5. Now I try to list the devices using hciconfig -a. I get the following output
    image
    a. For hciconfig -a to list the device, the command in step 4 has to be executed at every reboot. Otherwise, it does not show up.
  6. Here bluetoothctl also is not recognizing this device.
  7. When I try hciconfig hci1 up, I get Can't init device hci1: Connection timed out (110) error.

I am at a loss on how to proceed further. Googling this issue brings up a lot of similar issues, but none are exactly this issue and none of the suggested solutions have worked for me.

Furthermore, I bought a USB Bluetooth dongle for HB Pulse. This works perfectly fine. Using this Bluetooth dongle, controlling it with bluetoothctl, the NINA-B1 module shows up on device scan and can be also paired with the Bluetooth dongle. So I assume everything is fine with the module itself and something is the problem with the software connection with the Bluetooth module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant