[OnePlus 3 & 3T Cross Device Development] cebo86:
Maybe this helps. Log while connecting / disconnecting the DAC.

01-06 20:23:43.870 1906 7214 I ActivityManager: Killing 5669:com.google.android.calendar/u0a79 (adj 906): empty #17

01-06 20:23:43.875 1906 1959 W zygote64: kill(-5669, 9) failed: No such process

01-06 20:23:43.921 1906 1959 W zygote64: kill(-5669, 9) failed: No such process

01-06 20:23:43.921 1906 1959 I zygote64: Successfully killed process cgroup uid 10079 pid 5669 in 49ms

01-06 20:23:49.255 2672 2758 I QCNEJ/CndHalConnector: -> SND notifyWifiStatusChanged(RatInfo{type=1, subType=101, state=CONNECTED, v4=IfaceAddrPair{iface=wlan0, addr=192.168.2.61}, v6=IfaceAddrPair{iface=, addr=}, timestamp=2018-01-06 20:23:49.254, isAndroidValidated=true, netHandle=438103100126, slotIdx=0} WifiInfo{freq=FIVE_GHz, state=3, ssid=Noverwlan-5G, bssid=08:96:d7:29:b9:5a, dns=[192.168.2.1, 0.0.0.0, 0.0.0.0, 0.0.0.0, ]})

01-06 20:23:53.500 1906 1955 I ActivityManager: Killing 7049:android.process.acore/u0a4 (adj 906): empty #17

01-06 20:23:53.502 1906 1959 W zygote64: kill(-7049, 9) failed: No such process

01-06 20:23:53.551 1906 1959 I chatty : uid=1000(system) ActivityManager identical 5 lines

01-06 20:23:53.571 1906 1959 W zygote64: kill(-7049, 9) failed: No such process

01-06 20:23:53.571 1906 1959 I zygote64: Successfully killed process cgroup uid 10004 pid 7049 in 69ms

01-06 20:24:01.338 2672 2758 I QCNEJ/CndHalConnector: -> SND notifyWifiStatusChanged(RatInfo{type=1, subType=101, state=CONNECTED, v4=IfaceAddrPair{iface=wlan0, addr=192.168.2.61}, v6=IfaceAddrPair{iface=, addr=}, timestamp=2018-01-06 20:24:01.337, isAndroidValidated=true, netHandle=438103100126, slotIdx=0} WifiInfo{freq=FIVE_GHz, state=3, ssid=Noverwlan-5G, bssid=08:96:d7:29:b9:5a, dns=[192.168.2.1, 0.0.0.0, 0.0.0.0, 0.0.0.0, ]})

01-06 20:24:04.379 2672 2758 I QCNEJ/CndHalConnector: -> SND notifyWifiStatusChanged(RatInfo{type=1, subType=101, state=CONNECTED, v4=IfaceAddrPair{iface=wlan0, addr=192.168.2.61}, v6=IfaceAddrPair{iface=, addr=}, timestamp=2018-01-06 20:24:04.378, isAndroidValidated=true, netHandle=438103100126, slotIdx=0} WifiInfo{freq=FIVE_GHz, state=3, ssid=Noverwlan-5G, bssid=08:96:d7:29:b9:5a, dns=[192.168.2.1, 0.0.0.0, 0.0.0.0, 0.0.0.0, ]})

01-06 20:24:12.770 2958 2958 I wpa_supplicant: wlan0: WPA: Group rekeying completed with 08:96:d7:29:b9:5a [GTK=CCMP]

01-06 20:24:13.448 2672 2758 I QCNEJ/CndHalConnector: -> SND notifyWifiStatusChanged(RatInfo{type=1, subType=101, state=CONNECTED, v4=IfaceAddrPair{iface=wlan0, addr=192.168.2.61}, v6=IfaceAddrPair{iface=, addr=}, timestamp=2018-01-06 20:24:13.448, isAndroidValidated=true, netHandle=438103100126, slotIdx=0} WifiInfo{freq=FIVE_GHz, state=3, ssid=Noverwlan-5G, bssid=08:96:d7:29:b9:5a, dns=[192.168.2.1, 0.0.0.0, 0.0.0.0, 0.0.0.0, ]})

01-06 20:24:19.059 3361 3375 I zygote64: Do full code cache collection, code=249KB, data=168KB

01-06 20:24:19.060 3361 3375 I zygote64: After code cache collection, code=202KB, data=135KB

01-06 20:24:24.567 1906 4099 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.packageinstaller cmp=com.android.packageinstaller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10119

01-06 20:24:24.600 7992 7992 I zygote64: Deoptimizing com.android.packageinstaller.permission.model.AppPermissionGroup com.android.packageinstaller.permission.model.AppPermissionGroup.create(android.content.Context, android.content.pm.PackageInfo, android.content.pm.PackageItemInfo, java.util.List, android.os.UserHandle) due to JIT inline cache

01-06 20:24:24.647 4768 4768 I GoogleInputMethod: onFinishInput() : Dummy InputConnection bound

01-06 20:24:24.649 4768 4768 I GoogleInputMethod: onStartInput() : Dummy InputConnection bound

01-06 20:24:24.658 1906 1969 I ActivityManager: Displayed com.android.packageinstaller/.permission.ui.GrantPermissionsActivity: +75ms

01-06 20:24:29.710 456 456 W vold : type=1400 audit(0.0:4045): avc: denied { read } for name="s1302" dev="proc" ino=4026533568 scontext=u:r:vold:s0 tcontext=u:object_r:proc_touchpanel:s0 tclass=dir permissive=0

01-06 20:24:29.710 456 456 W vold : type=1400 audit(0.0:4046): avc: denied { read } for name="touchpanel" dev="proc" ino=4026533208 scontext=u:r:vold:s0 tcontext=u:object_r:proc_touchpanel:s0 tclass=dir permissive=0

01-06 20:24:29.710 456 456 W vold : type=1400 audit(0.0:4047): avc: denied { read } for name="tri-state-key" dev="proc" ino=4026532630 scontext=u:r:vold:s0 tcontext=u:object_r:proc_touchpanel:s0 tclass=dir permissive=0

01-06 20:24:29.740 3299 3742 W GCoreFlp: No location to return for getLastLocation()

01-06 20:24:29.747 3299 3742 I chatty : uid=10033(com.google.android.gms) FlpThread identical 1 line

01-06 20:24:29.755 3299 3742 W GCoreFlp: No location to return for getLastLocation()

01-06 20:24:29.766 456 456 W vold : type=1400 audit(0.0:4048): avc: denied { read } for name="s1302" dev="proc" ino=4026533568 scontext=u:r:vold:s0 tcontext=u:object_r:proc_touchpanel:s0 tclass=dir permissive=0

01-06 20:24:29.766 456 456 W vold : type=1400 audit(0.0:4049): avc: denied { read } for name="touchpanel" dev="proc" ino=4026533208 scontext=u:r:vold:s0 tcontext=u:object_r:proc_touchpanel:s0 tclass=dir permissive=0

01-06 20:24:29.766 456 456 W vold : type=1400 audit(0.0:4050): avc: denied { read } for name="tri-state-key" dev="proc" ino=4026532630 scontext=u:r:vold:s0 tcontext=u:object_r:proc_touchpanel:s0 tclass=dir permissive=0

01-06 20:24:29.782 3299 3742 W GCoreFlp: No location to return for getLastLocation()

01-06 20:24:29.788 3299 3742 I chatty : uid=10033(com.google.android.gms) FlpThread identical 1 line

01-06 20:24:29.794 3299 3742 W GCoreFlp: No location to return for getLastLocation()

01-06 20:24:29.871 4768 4768 I GoogleInputMethod: onFinishInput() : Dummy InputConnection bound

01-06 20:24:29.872 4768 4768 I GoogleInputMethod: onStartInput() : Dummy InputConnection bound

01-06 20:24:35.556 3706 8593 W GAv4-SVC: Network compressed POST connection error: java.net.ConnectException: Failed to connect to ssl.google-analytics.com/127.0.0.1:443

01-06 20:24:46.471 8409 8409 I AppCompatDelegate: The Activity's LayoutInflater already has a Factory installed so we can not install AppCompat's

01-06 20:24:46.475 8409 8409 I zygote64: Deoptimizing void android.support.v4.view.ViewCompat$JBViewCompatImpl.postOnAnimation(android.view.View, java.lang.Runnable) due to JIT inline cache

01-06 20:24:46.475 8409 8409 I zygote64: Deoptimizing void android.support.v4.view.ViewCompatJB.postOnAnimation(android.view.View, java.lang.Runnable) due to JIT inline cache

01-06 20:24:46.484 8409 8409 I zygote64: Deoptimizing void android.support.v4.view.ViewCompat$ICSViewCompatImpl.setAccessibilityDelegate(android.view.View, android.support.v4.view.AccessibilityDelegateCompat) due to JIT inline cache

01-06 20:24:46.501 8409 8409 I zygote64: Deoptimizing void android.support.v7.internal.widget.ContentFrameLayout.onMeasure(int, int) due to JIT inline cache

01-06 20:24:46.519 8409 8409 I zygote64: Deoptimizing void android.view.ViewGroup$ChildListForAccessibility.init(android.view.ViewGroup, boolean) due to JIT inline cache

01-06 20:24:46.522 4768 4768 I GoogleInputMethod: onFinishInput() : Dummy InputConnection bound

01-06 20:24:46.522 4768 4768 I GoogleInputMethod: onStartInput() : Dummy InputConnection bound

01-06 20:24:51.115 8409 8409 I zygote64: Deoptimizing boolean android.support.v7.internal.view.WindowCallbackWrapper.dispatchTouchEvent(android.view.MotionEvent) due to JIT inline cache

01-06 20:24:51.266 4768 4768 I GoogleInputMethod: onFinishInput() : Dummy InputConnection bound

01-06 20:24:51.266 4768 4768 I GoogleInputMethod: onStartInput() : Dummy InputConnection bound

01-06 20:24:59.662 1906 2297 I EventHub: Removing device Nuvoton AQUA due to epoll hang-up event.

01-06 20:24:59.662 1906 2297 I EventHub: Removed device: path=/dev/input/event6 name=Nuvoton AQUA id=14 fd=222 classes=0x80000001

01-06 20:24:59.669 1906 2297 I InputReader: Device removed: id=14, name='Nuvoton AQUA', sources=0x00000101

01-06 20:24:59.671 1906 2297 I EventHub: Removing device '/dev/input/event6' due to inotify event

01-06 20:24:59.696 1906 2533 I UsbAlsaManager: USB Audio Device Removed: UsbAudioDevice: [card: 1, device: 0, name: USB-Audio - AQUA, hasPlayback: true, hasCapture: false, class: 0x80000002]

01-06 20:24:59.754 1906 1960 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth

01-06 20:25:13.920 1709 1809 I ThermalEngine: Monitor : quiet_therm = 32, msm_therm = 31, ufs_therm = 31, battery_therm = 296,current_now = 152000

01-06 20:25:17.104 1906 2297 I InputReader: Reconfiguring input devices. changes=0x00000004

01-06 20:25:17.104 1906 2297 I InputReader: Device reconfigured: id=8, name='synaptics', size 1080x1920, orientation 3, mode 1, display id 0

01-06 20:25:17.106 1906 1957 I ActivityManager: Config changes=480 {1.0 262mcc1mnc [de_DE] ldltr sw360dp w640dp h336dp 480dpi nrml long land finger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 1920, 1080) s.12}

01-06 20:25:17.139 1906 1957 I ActivityManager: Override config changes=480 {1.0 262mcc1mnc [de_DE] ldltr sw360dp w640dp h336dp 480dpi nrml long land finger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 1920, 1080) s.12} for displayId=0

01-06 20:25:17.208 2542 2542 I zygote64: Deoptimizing void com.android.systemui.recents.views.TaskViewHeader.<init>(android.content.Context, android.util.AttributeSet, int, int) due to JIT inline cache

01-06 20:25:17.230 4768 4768 I zygote64: Deoptimizing java.lang.String bdu.c(android.content.Context, int) due to JIT inline cache

01-06 20:25:17.234 2542 2845 I zygote64: Deoptimizing void com.android.systemui.qs.tileimpl.QSTileImpl.handleStateChanged() due to JIT inline cache

01-06 20:25:17.272 1906 2222 I WindowManager: Screen frozen for +199ms due to Window{74cee92 u0 StatusBar}

01-06 20:25:17.320 4768 4768 I GoogleInputMethod: onStartInput() : Dummy InputConnection bound

01-06 20:25:17.737 1906 2297 I InputReader: Reconfiguring input devices. changes=0x00000004

01-06 20:25:17.737 1906 2297 I InputReader: Device reconfigured: id=8, name='synaptics', size 1080x1920, orientation 0, mode 1, display id 0

01-06 20:25:17.738 1906 1969 I ActivityManager: Config changes=480 {1.0 262mcc1mnc [de_DE] ldltr sw360dp w360dp h616dp 480dpi nrml long port finger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 1080, 1920) s.13}

01-06 20:25:17.771 1906 1969 I ActivityManager: Override config changes=480 {1.0 262mcc1mnc [de_DE] ldltr sw360dp w360dp h616dp 480dpi nrml long port finger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 1080, 1920) s.13} for displayId=0

01-06 20:25:17.889 1906 2222 I WindowManager: Screen frozen for +182ms due to Window{74cee92 u0 StatusBar}

01-06 20:25:17.937 4768 4768 I GoogleInputMethod: onStartInput() : Dummy InputConnection bound

01-06 20:25:20.114 1906 1969 I zygote64: Explicit concurrent copying GC freed 154369(7MB) AllocSpace objects, 23(732KB) LOS objects, 44% free, 15MB/27MB, paused 157us total 218.803ms

01-06 20:25:25.989 2672 2758 I QCNEJ/CndHalConnector: -> SND notifyWifiStatusChanged(RatInfo{type=1, subType=101, state=CONNECTED, v4=IfaceAddrPair{iface=wlan0, addr=192.168.2.61}, v6=IfaceAddrPair{iface=, addr=}, timestamp=2018-01-06 20:25:25.989, isAndroidValidated=true, netHandle=438103100126, slotIdx=0} WifiInfo{freq=FIVE_GHz, state=3, ssid=Noverwlan-5G, bssid=08:96:d7:29:b9:5a, dns=[192.168.2.1, 0.0.0.0, 0.0.0.0, 0.0.0.0, ]})

01-06 20:25:27.126 3706 3860 I CastDatabase: Saving the database

01-06 20:25:27.136 3706 3860 I SQLiteCastStore: [CastNetworkInfo] saved: 4, skipped: 0, [CastDeviceInfo]: saved 1, skipped 0, Paired Guest Mode DeviceInfo] saved: 0, skipped: 0.

01-06 20:25:31.903 1906 2297 W EventHub: Unable to disable kernel key repeat for /dev/input/event6: Function not implemented

01-06 20:25:31.904 1906 2297 I EventHub: wakeMechanism=EPOLLWAKEUP, usingClockIoctl=true

01-06 20:25:31.904 1906 2297 I EventHub: New device: id=15, fd=172, path='/dev/input/event6', name='Nuvoton AQUA', classes=0x80000001, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false,

01-06 20:25:31.904 1906 2297 I InputReader: Device added: id=15, name='Nuvoton AQUA', sources=0x00000101

01-06 20:25:31.914 1906 2533 I UsbDescriptorParser: ---- isInputHeadset() prob:0.0%

01-06 20:25:31.915 1906 2533 I UsbDescriptorParser: ---- isOutputHeadset() prob:100.0%

01-06 20:25:31.915 1906 2533 I UsbHostManager: ---- isHeadset[in: false , out: true]

01-06 20:25:31.920 1906 2533 I UsbAlsaManager: USB Audio Device Added: UsbAudioDevice: [card: 1, device: 0, name: USB-Audio - AQUA, hasPlayback: true, hasCapture: false, class: 0x80000002]

01-06 20:25:31.922 1906 2453 E AudioService: not connecting device 0x4000000 due to command error 1

01-06 20:25:36.252 1906 2297 I EventHub: Removing device Nuvoton AQUA due to epoll hang-up event.

01-06 20:25:36.252 1906 2297 I EventHub: Removed device: path=/dev/input/event6 name=Nuvoton AQUA id=15 fd=172 classes=0x80000001

01-06 20:25:36.268 1906 2297 I InputReader: Device removed: id=15, name='Nuvoton AQUA', sources=0x00000101

01-06 20:25:36.270 1906 2297 I EventHub: Removing device '/dev/input/event6' due to inotify event

01-06 20:25:36.290 1906 2533 I UsbAlsaManager: USB Audio Device Removed: UsbAudioDevice: [card: 1, device: 0, name: USB-Audio - AQUA, hasPlayback: true, hasCapture: false, class: 0x80000002]

01-06 20:25:41.109 2672 2758 I QCNEJ/CndHalConnector: -> SND notifyWifiStatusChanged(RatInfo{type=1, subType=101, state=CONNECTED, v4=IfaceAddrPair{iface=wlan0, addr=192.168.2.61}, v6=IfaceAddrPair{iface=, addr=}, timestamp=2018-01-06 20:25:41.108, isAndroidValidated=true, netHandle=438103100126, slotIdx=0} WifiInfo{freq=FIVE_GHz, state=3, ssid=Noverwlan-5G, bssid=08:96:d7:29:b9:5a, dns=[192.168.2.1, 0.0.0.0, 0.0.0.0, 0.0.0.0, ]})

01-06 20:25:42.342 1906 7214 I ActivityManager: START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10029

01-06 20:25:42.356 2542 2542 E BufferItemConsumer: [unnamed-2542-14] Failed to release buffer: Unknown error -1 (1)

01-06 20:25:42.411 8409 8409 W Notification: Use of stream types is deprecated for operations other than volume control

01-06 20:25:42.411 8409 8409 W Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case

01-06 20:25:42.418 2542 2542 E BufferItemConsumer: [unnamed-2542-15] Failed to release buffer: Unknown error -1 (1)

01-06 20:25:42.422 4768 4768 I GoogleInputMethod: onStartInput() : Dummy InputConnection bound

01-06 20:25:43.046 1906 1916 I zygote64: NativeAlloc concurrent copying GC freed 14309(994KB) AllocSpace objects, 6(120KB) LOS objects, 44% free, 15MB/27MB, paused 170us total 178.214ms

01-06 20:25:43.894 2542 2542 E BufferItemConsumer: [unnamed-2542-16] Failed to release buffer: Unknown error -1 (1)

01-06 20:25:43.911 2542 2542 E BufferItemConsumer: [unnamed-2542-17] Failed to release buffer: Unknown error -1 (1)

01-06 20:25:43.951 4768 4768 I GoogleInputMethod: onFinishInput() : Dummy InputConnection bound

01-06 20:25:43.951 4768 4768 I GoogleInputMethod: onStartInput() : Dummy InputConnection bound

01-06 20:25:44.368 2542 6868 I zygote64: Explicit concurrent copying GC freed 26706(1273KB) AllocSpace objects, 0(0B) LOS objects, 68% free, 5MB/17MB, paused 233us total 71.718ms