[A64] Bluetooth service not activate on restart

Started by vikas, November 10, 2020, 06:03:19 AM

Previous topic - Next topic

vikas

Hello,

I am using A64 package "A64-OLinuXino-bionic-base-20201008-215447.img.7z", and recently upgraded and updated firmware. Now when I restart, bluetooth service, sometimes it fails to be active. Logs:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
root@a64-olinuxino:~# /etc/init.d/bluetooth start
[ ok ] Starting bluetooth (via systemctl): bluetooth.service.
root@a64-olinuxino:~# /etc/init.d/bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
Condition: start condition failed at Tue 2020-11-10 03:48:40 IST; 6s ago
           └─ ConditionPathIsDirectory=/sys/class/bluetooth was not met
     Docs: man:bluetoothd(8)

Nov 10 03:20:48 a64-olinuxino systemd[1]: /lib/systemd/system/bluetooth.service:10: Unknown lvalue 'sdptool add --channel' in section 'Service'
Nov 10 03:20:49 a64-olinuxino systemd[1]: /lib/systemd/system/bluetooth.service:10: Unknown lvalue 'sdptool add --channel' in section 'Service'
Nov 10 03:20:49 a64-olinuxino systemd[1]: /lib/systemd/system/bluetooth.service:10: Unknown lvalue 'sdptool add --channel' in section 'Service'
root@a64-olinuxino:~# uname -a
Linux a64-olinuxino 5.8.16-olimex #114159 SMP Thu Oct 29 11:43:21 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I also tried systemctl restart bluetooth, systemctl enable bluetooth, but that also not activate service.

After power off and power on, the bluetooth service on start, activate.

My requirement is bluetooth service should be ON for 10 hours in one go and activate on every software reboot(may be no power cycle).

Regards,
Vikas

LubOlimex

Not sure if it is isolated issue for our hardware or general Linux bug, it seems to be present in a lot community threads, for desktop computers too. Will investigate.
Technical support and documentation manager at Olimex