PINE64
bluetooth rock64 problem - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: bluetooth rock64 problem (/showthread.php?tid=9765)



bluetooth rock64 problem - deta - 05-01-2020

hello,

I had to set up my Rock64 a few days ago because the SD card had unfortunately died.
As always, I first installed a new SD card with the image "Armbian_20.02.1_Rock64_buster_current_5.4.20". Everything great. Only my bluetooth stick does not want to run.


I don't have a desktop version, only access via SSH


The stick is recognized, as before. Here are a few system information:

Code:
root@rock64:~# lsusb
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0451:16a8 Texas Instruments, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@rock64:~#
root@rock64:~# dmesg | grep -i bluetooth
[34669.643396] Bluetooth: Core ver 2.22
[34669.643482] Bluetooth: HCI device and connection manager initialized
[34669.643498] Bluetooth: HCI socket layer initialized
[34669.643506] Bluetooth: L2CAP socket layer initialized
[34669.643522] Bluetooth: SCO socket layer initialized
root@rock64:~#
root@rock64:~# hcitool scan
Device is not available: No such device
root@rock64:~#
root@rock64:~# hcitool dev
Devices:
root@rock64:~#

Why is the stick not recognized with hcitool?
What else can I do?
What is missing ?

cu Deta


RE: bluetooth rock64 problem - Rocklobster - 05-01-2020

I wonder if you boot without the dongle plugged in and plug it in after the boot completes


RE: bluetooth rock64 problem - deta - 05-05-2020

(05-01-2020, 11:45 AM)Rocklobster Wrote: I wonder if you boot without the dongle plugged in and plug it in after the boot completes

ok
have now switched off the Rock64, pulled the dongle and switched on.


Code:
root@rock:~# sudo service bluetooth status
● bluetooth.service - Bluetooth service
  Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
  Active: inactive (dead)
    Docs: man:bluetoothd(8)
root@rock:~# sudo /etc/init.d/bluetooth start
[ ok ] Starting bluetooth (via systemctl): bluetooth.service.
root@rock:~# sudo /etc/init.d/bluetooth status
● bluetooth.service - Bluetooth service
  Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
  Active: inactive (dead)
    Docs: man:bluetoothd(8)

Mai 05 14:41:56 rock systemd[1]: Condition check resulted in Bluetooth service being skipped.
root@rock:~# hcitool dev
Devices:
root@rock:~#

Now I put the dongle back in.

Code:
root@rock:~# sudo /etc/init.d/bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:bluetoothd(8)

Mai 05 14:41:56 rock systemd[1]: Condition check resulted in Bluetooth service being skipped.
root@rock:~# sudo /etc/init.d/bluetooth start
[ ok ] Starting bluetooth (via systemctl): bluetooth.service.
root@rock:~# sudo /etc/init.d/bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2020-05-05 14:44:18 CEST; 2s ago
     Docs: man:bluetoothd(8)
 Main PID: 12311 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4746)
   Memory: 2.4M
   CGroup: /system.slice/bluetooth.service
           └─12311 /usr/lib/bluetooth/bluetoothd

Mai 05 14:44:18 rock systemd[1]: Starting Bluetooth service...
Mai 05 14:44:18 rock bluetoothd[12311]: Bluetooth daemon 5.50
Mai 05 14:44:18 rock systemd[1]: Started Bluetooth service.
Mai 05 14:44:18 rock bluetoothd[12311]: Starting SDP server
Mai 05 14:44:19 rock bluetoothd[12311]: kernel lacks bnep-protocol support
Mai 05 14:44:19 rock bluetoothd[12311]: System does not support network plugin
Mai 05 14:44:19 rock bluetoothd[12311]: Bluetooth management interface 1.14 initialized
root@rock:~# hcitool dev
Devices:
root@rock:~#

The Same...


RE: bluetooth rock64 problem - deta - 05-06-2020

Mh i think that is the Problem

root@rock:~# sudo modprobe btusb
modprobe: FATAL: Module btusb not found in directory /lib/modules/5.4.32-rockchip64
root@rock:~#