Just upgraded my laptop to 4.14 kernel from 4.13. My bluetooth mouse don't work anymore, I have high cpu usage and memory leak caused by systemd-udevd.
lsusb | grep Bluetooth Bus 002 Device 010: ID 413c:8156 Dell Computer Corp. Wireless 370 Bluetooth Mini-card Bus 002 Device 005: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
usb-devices | awk '/8156/' RS= T: Bus=02 Lev=03 Prnt=04 Port=02 Cnt=03 Dev#= 12 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=413c ProdID=8156 Rev=04.56 S: Manufacturer=Dell Computer Corp S: Product=Dell Wireless 370 Bluetooth Mini-card C: #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
Log is getting filled with:
déc 09 21:28:12 dell-laptop systemd-udevd[399]: Process 'hid2hci --method=dell --devpath=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6.2/2-1.6.2:1.0' failed with exit code 1. déc 09 21:28:12 dell-laptop upowerd[1890]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6.2/2-1.6.2:1.0
Current workaround :
1-Copy 97-hid2hci.rules: cp /usr/lib/udev/rules.d/97-hid2hci.rules /etc/udev/rules.d/
2- Remove those lines in /etc/udev/rules.d/97-hid2hci.rules:
ATTR{bInterfaceClass}=="03", ATTR{bInterfaceSubClass}=="01", ATTR{bInterfaceProtocol}=="02", \ ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \ RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1"
3- Reboot.
Now my bluetooth adaptor dont work but if I run the following command as root, bluetooth works and no more high cpu usage and memory leak :
/usr/lib/udev/hid2hci --method=dell --devpath=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6.2/2-1.6.2:1.0 error: switching device '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6.2/2-1.6.2:1.0' failed.