All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 210775] New: hci0 reset with multiple clients
@ 2020-12-18 17:00 bugzilla-daemon
  0 siblings, 0 replies; only message in thread
From: bugzilla-daemon @ 2020-12-18 17:00 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=210775

            Bug ID: 210775
           Summary: hci0 reset with multiple clients
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.14.79
          Hardware: ARM
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Bluetooth
          Assignee: linux-bluetooth@vger.kernel.org
          Reporter: gnulux@gmail.com
        Regression: No

Created attachment 294217
  --> https://bugzilla.kernel.org/attachment.cgi?id=294217&action=edit
bluetoothd debug mode poutput

Hi all


I need support in bluez. 

My configuration is : 

Linux raspberry (stretch) 

Kernel : 4.14.79

Bluez: 5.43-2+rpt2+deb9u2


lsusb: 

us 001 Device 008: ID 0920:5550 Echelon Co. 

Bus 001 Device 013: ID 04b4:f901 Cypress Semiconductor Corp.  ← bluetooth
device

Bus 001 Device 012: ID 072f:223e Advanced Card Systems, Ltd 

Bus 001 Device 011: ID 1a40:0101 Terminus Technology Inc. Hub

Bus 001 Device 006: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast
Ethernet Adapter

Bus 001 Device 004: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast
Ethernet Adapter

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



I ‘m running bluez 5.43 on raspbian  with an external usb bluetooth device (but
i have the same behaviour with embedded bluetooth device  bcm43xx with uart) . 


I’ve developed a server that initiates and establishes sessions with a client
application  on a smartphone.  it works well but recently I noticed a weird
issue . When the smartphone is connected and I connect another device or simply
run gatttool -d 00:16:A4:4C:B9:37 -char-desc on my server , the hci0 device
disappears then comes back again. My application on the server crash as it can
no more access to the device


In kern.log :


Dec 18 12:33:56 box-121 kernel: [   37.927261] usb 1-1.4.1: usbfs: process 1083
(node /opt/filln) did not claim interface 0 before use

Dec 18 12:38:45 box-121 kernel: [  327.673582] Bluetooth: hci0 command 0x200c
tx timeout

Dec 18 12:38:47 box-121 kernel: [  328.908625] usb 1-1.4.4: USB disconnect,
device number 9

Dec 18 12:38:49 box-121 kernel: [  330.743618] usb 1-1.4.4: new full-speed USB
device number 10 using dwc_otg

Dec 18 12:38:49 box-121 kernel: [  330.898584] usb 1-1.4.4: New USB device
found, idVendor=04b4, idProduct=f901

Dec 18 12:38:49 box-121 kernel: [  330.898597] usb 1-1.4.4: New USB device
strings: Mfr=1, Product=2, SerialNumber=3


With bluetoothd in debug mode in attachement


I’m wondering why I lose the device when another device tries to connect and
discuss with my server. Any suggestions ?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-18 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-18 17:00 [Bug 210775] New: hci0 reset with multiple clients bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.