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

Still struggling with "cycling bluetooth hardware on hci0" #433

Open
fedulovivan opened this issue Apr 24, 2024 · 0 comments
Open

Still struggling with "cycling bluetooth hardware on hci0" #433

fedulovivan opened this issue Apr 24, 2024 · 0 comments

Comments

@fedulovivan
Copy link

Hello! Trying to launch this so promising software on old 2010 macmini runnning ubuntu, with no success...
The only vital idicator I succeed with, is receiving "online" message on the mqtt broker side.
In the logs there are lots of "cycling bluetooth hardware on hci0. please wait a moment..." and nothing else.

Host hardware and sofware specs from neofetch:

OS: Ubuntu 20.04.1 LTS x86_64
Host: Macmini4,1 1.0
Kernel: 5.4.0-174-generic
Shell: bash 5.0.17
CPU: Intel Core 2 Duo P8800 (2) @ 2.660GHz

Output of hciconfig -a:

hci0:	Type: Primary  Bus: USB
	BD Address: C8:BC:C8:E0:92:61  ACL MTU: 1021:8  SCO MTU: 64:1
	DOWN
	RX bytes:183732127 acl:0 sco:0 events:9272511 errors:0
	TX bytes:209490756 acl:0 sco:0 commands:9272512 errors:2
	Features: 0xff 0xff 0xcf 0xfe 0x9b 0xff 0x79 0x83
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
	Link policy: RSWITCH HOLD SNIFF PARK
	Link mode: SLAVE ACCEPT

Output of dmesg | grep Blue:

[    3.877671] usb 4-6.3: Product: Bluetooth USB Host Controller
[   23.722559] Bluetooth: Core ver 2.22
[   23.722604] Bluetooth: HCI device and connection manager initialized
[   23.722610] Bluetooth: HCI socket layer initialized
[   23.722613] Bluetooth: L2CAP socket layer initialized
[   23.722617] Bluetooth: SCO socket layer initialized
[   24.142683] Bluetooth: hci0: BCM: chip id 19 build 0846
[   24.145678] Bluetooth: hci0: BCM: product 05ac:8218
[   24.148655] Bluetooth: hci0: BCM: features 0x07
[   24.166676] Bluetooth: hci0: Apple Bluetooth Device
[   61.346403] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   61.346405] Bluetooth: BNEP filters: protocol multicast
[   61.346411] Bluetooth: BNEP socket layer initialized
[1813716.884147] Bluetooth: hci0: unexpected event for opcode 0x200b

Output of sudo systemctl status bluetooth.service:

● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2024-04-24 12:23:15 MSK; 16min ago
       Docs: man:bluetoothd(8)
   Main PID: 586968 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 4286)
     Memory: 1.6M
     CGroup: /system.slice/bluetooth.service
             └─586968 /usr/lib/bluetooth/bluetoothd

Apr 24 12:23:15 macmini systemd[1]: Starting Bluetooth service...
Apr 24 12:23:15 macmini bluetoothd[586968]: Bluetooth daemon 5.53
Apr 24 12:23:15 macmini systemd[1]: Started Bluetooth service.
Apr 24 12:23:15 macmini bluetoothd[586968]: Starting SDP server
Apr 24 12:23:15 macmini bluetoothd[586968]: Bluetooth management interface 1.14 initialized

Output of sudo systemctl status monitor:

● monitor.service - Monitor Service
     Loaded: loaded (/etc/systemd/system/monitor.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2024-04-24 12:24:17 MSK; 17min ago
   Main PID: 588028 (bash)
      Tasks: 18 (limit: 4286)
     Memory: 12.9M
     CGroup: /system.slice/monitor.service
             ├─588028 /bin/bash /home/johnny/Projects/monitor/monitor.sh &
             ├─588103 /bin/bash /home/johnny/Projects/monitor/monitor.sh &
             ├─588104 /bin/bash /home/johnny/Projects/monitor/monitor.sh &
             ├─588105 /bin/bash /home/johnny/Projects/monitor/monitor.sh &
             ├─588106 /bin/bash /home/johnny/Projects/monitor/monitor.sh &
             ├─588107 /bin/bash /home/johnny/Projects/monitor/monitor.sh &
             ├─588109 /bin/bash /home/johnny/Projects/monitor/monitor.sh &
             ├─588111 /bin/bash /home/johnny/Projects/monitor/monitor.sh &
             ├─588124 /bin/bash /home/johnny/Projects/monitor/monitor.sh &
             ├─588131 /usr/bin/mosquitto_sub -I macmini -v -F %t|%p -q 2 -L mqtt://mosquitto ********* localhost 1883 monitor/# --will-topic monitor/macmini/status --will-payload offline
             ├─609467 /bin/bash /home/johnny/Projects/monitor/monitor.sh &
             ├─609468 timeout --signal SIGINT 120 stdbuf -oL -eL hcidump -i hci0 --raw
             ├─609469 hcidump -i hci0 --raw
             ├─610155 /bin/bash /home/johnny/Projects/monitor/monitor.sh &
             ├─610157 timeout --signal SIGINT 90 stdbuf -oL -eL btmon
             ├─610158 btmon
             ├─610484 sleep 20
             └─610626 sleep 5

Apr 24 12:40:40 macmini bash[588103]: [+] 0.2.200 24-04-2024 12:40:40 PM [CMD-INFO]        cycling bluetooth hardware on hci0. please wait a moment...
Apr 24 12:40:45 macmini bash[588103]: [+] 0.2.200 24-04-2024 12:40:45 PM [CMD-INFO]        cycling bluetooth hardware on hci0. please wait a moment...
Apr 24 12:40:50 macmini bash[588103]: [+] 0.2.200 24-04-2024 12:40:50 PM [CMD-INFO]        cycling bluetooth hardware on hci0. please wait a moment...
Apr 24 12:40:56 macmini bash[588103]: [+] 0.2.200 24-04-2024 12:40:56 PM [CMD-INFO]        cycling bluetooth hardware on hci0. please wait a moment...
Apr 24 12:41:01 macmini bash[588103]: [+] 0.2.200 24-04-2024 12:41:01 PM [CMD-INFO]        cycling bluetooth hardware on hci0. please wait a moment...
Apr 24 12:41:06 macmini bash[588103]: [+] 0.2.200 24-04-2024 12:41:06 PM [CMD-INFO]        cycling bluetooth hardware on hci0. please wait a moment...
Apr 24 12:41:12 macmini bash[588103]: [+] 0.2.200 24-04-2024 12:41:12 PM [CMD-INFO]        cycling bluetooth hardware on hci0. please wait a moment...
Apr 24 12:41:17 macmini bash[588103]: [+] 0.2.200 24-04-2024 12:41:17 PM [CMD-INFO]        cycling bluetooth hardware on hci0. please wait a moment...
Apr 24 12:41:22 macmini bash[588103]: [+] 0.2.200 24-04-2024 12:41:22 PM [CMD-INFO]        cycling bluetooth hardware on hci0. please wait a moment...
Apr 24 12:41:27 macmini bash[588103]: [+] 0.2.200 24-04-2024 12:41:27 PM [CMD-INFO]        cycling bluetooth hardware on hci0. please wait a moment...
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