Thread (1 message) 1 message, 1 author, 2020-08-23

[Bug 60824] [PATCH][regression] Cambridge Silicon Radio, Ltd Bluetooth Dongle unusable

From: <hidden>
Date: 2020-08-23 06:58:47

https://bugzilla.kernel.org/show_bug.cgi?id=60824
--- Comment #141 from MMD (mmdesai20@gmail.com) ---
(In reply to MMD from comment #140)
(In reply to Swyter from comment #137)
quoted
Hi! There's actually a script that should help with this, at least as
reference:
https://gist.github.com/nevack/6b36b82d715dc025163d9e9124840a07

It's for newer kernels, though. So while the btusb.c part should more or
less apply cleanly (because the existing/original CSR workaround stuff has
been there for a while) the ERR_DATA_REPORTING stuff (on hci_core.c) is new
and will need to be stripped out when back-porting the patch.

Who knows, maybe it's a good idea to ask someone from Canonical to add it
to
quoted
Ubuntu, once it's been more battle-tested. Hopefully (as it officially gets
into stable kernels) distros downstream will pick this up, even on super
old
quoted
Linux versions.

Hope that helps. :)
Hi tried this script, but it gives below error
cp: cannot stat '/usr/lib/modules/5.8.2-050802-generic/build/.config': No
such file or director

I checked there is no such directory and file.

I have Ubuntu 20.04 LTS with Kernel 5.4.0-42-generic. Then updated kernel to
hoping that 5.8.2-050802-generic hoping by Bluetooth device will work with
this .(As you mentioned this script is accepted in 5.7 and 5.8 version of
kernel)
With new kernel 5.8.2-050802-generic, it detects logitech M337 mouse , but
not able to configure. Then I tried above script and got error
cp: cannot stat '/usr/lib/modules/5.8.2-050802-generic/build/.config': No
such file or director
I tried some command as suggested by you on
https://gist.github.com/nevack/6b36b82d715dc025163d9e9124840a07

Here is the output of its


lsusb -vvd 0a12:0001... gives bcdDevice 25.20

dmesg |grep 'CSR clone detected'
[   75.420911] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding
workarounds...
[ 4880.814947] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding
workarounds...
[22664.573526] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding
workarounds...
[23268.855461] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding
workarounds...

btmon -w my.log
Bluetooth monitor ver 5.54
= Note: Linux version 5.8.2-050802-generic (x86_64)                            
                                                                               
          0.574027
= Note: Bluetooth subsystem version 2.22                                       
                                                                               
               0.574029
= New Index: 00:1A:7D:DA:71:10 (Primary,USB,hci0)                              
                                                                               
        [hci0] 0.574030
@ MGMT Open: bluetoothd (privileged) version 1.17                              
                                                                               
      {0x0001} 0.574031
@ MGMT Open: btmon (privileged) version 1.17

hcidump -X
HCI sniffer - Bluetooth packet analyzer ver 5.53
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff

-- 
You are receiving this mail because:
You are the assignee for the bug.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help