USB Bluetooth dongle stop response with timeout error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,

I am working on an embedded system with Altera Cyclone V SoC FPGA to support Bluetooth PAN profile (NAP service) using an USB Bluetooth dongle.

The problem is the dongle seems to stop or get unstable responding to the Bluetooth sub system sometimes.
For example, "bluetoothctl" does not show the dongle.
Another example is that clients of PAN suddenly do not receive response from the PAN server. Bluetooth seems to connected still on client status.

The dongle is detected in hardware level even when this problem is happening as I can see it on "hciconfig".
This happens randomly, not always.

I have replicated the problem on Ångström distribution with kernel version is 4.17 and 4.19.
The USB Bluetooth dongle has a Broadcom chip and connected as USB1.1.

I always found error messages of
"Bluetooth: hci0: command 0x0406 tx timeout" and
"dwc2 ffb40000.usb: --Host Channel x Interrupt: Frame Overrun--"
when this problem is happening.

Here's an example log:
[  251.748320] pan: port 1(bnep0) entered disabled state
[  251.752153] device bnep0 left promiscuous mode
[  251.754541] pan: port 1(bnep0) entered disabled state
[  257.879162] Bluetooth: hci0: command 0x0406 tx timeout
Oct 25 04:47:14 cyclone5 systemd-networkd[132]: bnep0: Lost carrier
Oct 25 04:47:14 cyclone5 kernel: pan: port 1(bnep0) entered disabled state
Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 15 Interrupt: Frame Overrun--
Oct 25 04:47:14 cyclone5 kernel: device bnep0 left promiscuous mode
Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 4 Interrupt: Frame Overrun--
Oct 25 04:47:14 cyclone5 kernel: pan: port 1(bnep0) entered disabled state
Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 5 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 13 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 14 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 0 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 12 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 1 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 8 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 10 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 3 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 7 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 11 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 2 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 9 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 15 Interrupt: Frame Overrun--
Oct 25 04:47:14 cyclone5 kernel: PM: Removing info for No Bus:bnep0
Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 4 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 5 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 13 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 14 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 0 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 12 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 1 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 8 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 10 Interrupt: Frame Overrun-- Oct 25 04:47:14 cyclone5 kernel: dwc2 ffb40000.usb: --Host Channel 3 Interrupt: Frame Overrun--
.
.
.
Many "Frame Overrun" errors continue below...

It would be great if you would give me your thoughts.

Thank you in advance,

Mori




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux