Skip to content

Commit

Permalink
misc, docs: Remove ERTM patches and update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kakra committed Apr 12, 2021
1 parent 2c587d5 commit 3450125
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 73 deletions.
3 changes: 0 additions & 3 deletions docs/3P-BUGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ some of which are fixed now - others are not:

* Broken Battery Indicator in KDE
fixed! https://www.kde.org/announcements/kde-frameworks-5.45.0.php
* L2CAP Layer does not handle ERTM requests
* workaround: disable ERTM
* unofficially fixed: see kernel_patches folder
* Cambridge Silicon Radio (CSR) chipsets do have problems while reconnecting (OUI 00:1A:7D)
* Most of these problems may be fixed in kernel 5.10
* Qualcomm chipsets may have performance and lag problems (OUI 9C:B6:D0)
Expand Down
3 changes: 1 addition & 2 deletions docs/TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

#### Enhanced ReTransmission Mode is enabled

If your Gamepad is stuck in a Connected / Disconnected loop, then it may be caused by ERTM.
Usually the driver does disable this incompatible mode automatically, but sometimes things go wrong.
**Obsolete:** This section is scheduled for removal. Future kernels will include the proper fix for this.

Also, there seems to be a bug in the L2CAP handling of the kernel and you may need to force-disable
this setting:
Expand Down
1 change: 1 addition & 0 deletions hid-xpadneo/dkms.post_install
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh

#TODO Remove ERTM after kernel patch is deployed in the wild
ERTM_OVERRIDE="/etc/modprobe.d/99-xpadneo-bluetooth.conf"
DISABLE_ERTM="/sys/module/bluetooth/parameters/disable_ertm"

Expand Down
1 change: 1 addition & 0 deletions hid-xpadneo/dkms.post_remove
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh

#TODO Remove ERTM after kernel patch is deployed in the wild
ERTM_OVERRIDE="/etc/modprobe.d/99-xpadneo-bluetooth.conf"

[ -L "${ERTM_OVERRIDE}" ] || { echo "Uninstalling ERTM override..."; rm -f "${ERTM_OVERRIDE}"; }
Expand Down
34 changes: 0 additions & 34 deletions misc/kernel_patches/0001-fix_bluetooth_reconnect.patch

This file was deleted.

34 changes: 0 additions & 34 deletions misc/kernel_patches/raspi3/0001-fix_bluetooth_reconnect.patch

This file was deleted.

0 comments on commit 3450125

Please sign in to comment.