Skip to content

Instantly share code, notes, and snippets.

@liuyq
liuyq / text.sh
Created June 7, 2022 01:39 — forked from mohclips/text.sh
Enable - Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 040: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 044: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# get the pre-compiled driver
$ wget https://github.com/Realtek-OpenSource/android_hardware_realtek/raw/rtk1395/bt/rtkbt/Firmware/BT/rtl8761b_fw
--------- beginning of main
06-01 09:49:36.778 450 4121 I adbd : UsbFfs: connection terminated: read 107 failed with error Cannot send after transport endpoint shutdown
06-01 09:49:36.778 450 4116 I adbd : USB event: FUNCTIONFS_UNBIND
06-01 09:49:36.779 450 4116 W adbd : received FUNCTIONFS_UNBIND while still enabled?
06-01 09:49:36.779 450 450 I adbd : UsbFfs: offline
06-01 09:49:36.779 450 450 I adbd : destroying transport UsbFfs
06-01 09:49:36.779 450 450 I adbd : UsbFfsConnection being destroyed
06-01 09:49:36.775 414 414 W health@2.1-serv: type=1400 audit(0.0:93): avc: denied { getattr } for path="/sys/devices/platform/soc/ffd72000.i2c/i2c-1/1-004e/power_supply/tcpm-source-psy-1-004e/online" dev="sysfs" ino=27071 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
06-01 09:49:36.775 414 414 W health@2.1-serv: type=1400 audit(0.0:94): avc: denied { getattr } for path="/sys/devices/platform/soc/ffd72000.i2c/i2c-1/1-004e/pow
Kernel/OS Combo(s) in this report:
4.19.232-09c4b497fccb - 4.19-stable-master-hikey960-lkft, 4.19-stable-master-hikey-lkft, 4.19-stable-android11-hikey960-lkft
166 Prior Failures now pass
57 Regressions of 1114 Failures, 233777 Passed, 1790 Ignored, 516 Assumption Failures, 237197 Total
Failure Key: