From cea743694387fd8c89fc32a1eaf07b434df0b3d1 Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Sun, 5 May 2019 21:08:00 +0200
Subject: dell bluetooth fix

systemd-udevd consumes 100% of CPU
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1759836
https://bugzilla.kernel.org/show_bug.cgi?id=199035
---
 config/chroot_local-hooks/03-silverfire-fixes | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/config/chroot_local-hooks/03-silverfire-fixes b/config/chroot_local-hooks/03-silverfire-fixes
index 3e701d1..5ed9fac 100755
--- a/config/chroot_local-hooks/03-silverfire-fixes
+++ b/config/chroot_local-hooks/03-silverfire-fixes
@@ -56,4 +56,9 @@ EOF
 	cd -
     fi
 
+# hotfix for some dell machines causing 100% cpu load with dell bluetooth enabled
+    if [ -e /lib/udev/rules.d/97-hid2hci.rules ]; then
+	sed -i -e "s|ATTR{bInterfaceClass}==\"03\"|ACTION==\"add\", ATTR{bInterfaceClass}==\"03\"|g" /lib/udev/rules.d/97-hid2hci.rules
+    fi
+
 fi
-- 
cgit v1.0