Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apple-dcp 231c00000.dcp: RTKit: syslog message adds newlines to the kernel logs #295

Open
jvoisin opened this issue May 23, 2024 · 0 comments

Comments

@jvoisin
Copy link

jvoisin commented May 23, 2024

This is a really minor-ish issue: when running dmesg -T -w, the syslog messages from apple-dcp' RTKIT are (sometimes) adding newlines, on an Apple M2 running 6.8.9-404.asahi.fc40.aarch64+16k #1 SMP PREEMPT_DYNAMIC Fri May 17 17:22:13 UTC 2024 aarch64 GNU/Linux, eg:

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: dcp_poweron() starting
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:1356: set_device_enabled_gated: current state: 0, requested state: 1

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:10468: set_run_mode_safe: no need to defer: 0 -> 1

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: ock_Tunables_v1.cpp:651: IOMFB: Writing tunables with target 3

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:10468: set_run_mode_safe: no need to defer: 1 -> 2

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: eoInterfaceIOAV.cpp:237: bool VideoInterfaceIOAV::open_ioav_gated(): IOAVVideoInterface open failed

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: eoInterfaceIOAV.cpp:296: IOMFB: VideoInterfaceIOAV::power_on: m_power_ctrl->setPower( 1 )

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: AppleDCPDPTX.cpp:355: [AFK]powering nub 0x86ffc0
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: set_digital_out_mode(color:1 timing:2) "2560x1600": 60 277042 2560 2568 2600 2640 1600 1633 1705 1749 0x48 0x0
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: set_digital_out_mode() color mode depth:8 format:0 colorimetry:16 eotf:0 range:0
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:7462: set_digital_out_mode: Modeset requested for colorID: 1, timingID: 2

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:18011: Dual pipe disabled offset 0

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:7465: set_digital_out_mode returned 8000000b

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: set_digital_out_mode finished:8500
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: ileCDIDPDisplay.cpp:119: [AFK]SAC enable: DP=1 CDI=1
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: DCPDP13Service.cpp:60: [AFK]version: 13
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: DCPDPService.cpp:76: [AFK]version: 13
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: eoInterfaceIOAV.cpp:135: IOMFB: IOAVVideoInterface published

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: eoInterfaceIOAV.cpp:714: IOMFBStatus VideoInterfaceIOAV::plug_gated(IOAVVideoInterface *, bool): display HPD asserted

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:10490: set_run_mode_safe: deferring: 2 -> 4

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:10395: virtual IOMFBStatus IOMFB::UPPipeDCP_H13P::ready_for_run_mode_change(IOMFB::AppleRegisterStream *): initiating deferred run mod
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: M3Hal_v1.cpp:197: IOMFB: load APT M3 IMem : size 0x7918

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: M3Hal_v1.cpp:197: IOMFB: load APT M3 DMem : size 0x6f60

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: CAHandler.cpp:188: IOMFB load_ca_data: Unrecognized data version 0 (expected 1 or 2)
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: UPPipe.cpp:3767: IOMFB read_pmu_data_sync: pmu ram read error (e00800d8)

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:14085: IOMFB Int RTBandwidth: program_M3_rt_config: Using Dashboard 23b3d05d8
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: UPTSQManager.cpp:133: IOMFB: clearing M3 reset

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: UPTSQ_Hal_v1.cpp:349: IOMFB: timebase_offset = 4

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: UPTSQManager.cpp:105: IOMFB: switch to normal mode succeeded

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: ock_PCC2DLTM_v1.cpp:910: IOMFBStatus IOMFB::UPBlock_PCC2DLTM_v1::set_mcpu_power(IOMFB::AppleRegisterStream *, bool) Loading M3 Hal
[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: M3Hal_v1.cpp:197: IOMFB: load LTM M3 IMem : size 0x8e70

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: M3Hal_v1.cpp:197: IOMFB: load LTM M3 DMem : size 0xedd8

[Fri May 24 01:23:30 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:17179: handle_stage1_enable blm_en 0 ltm_en 1 
                            
[Fri May 24 01:23:30 2024] usb 1-1: usbfs: process 2561 (pcscd) did not claim interface 2 before use
[Fri May 24 01:23:31 2024] ieee80211 phy0: brcmf_p2p_set_firmware: failed to update device address ret -52

or

[Fri May 24 00:29:28 2024] macsmc-rtkit 23e400000.smc: RTKit: syslog message: aceElec.cpp:703: 	Elec: Elec Cause 0x0
[Fri May 24 00:29:28 2024] macsmc-power macsmc-power: Charging: 1
[Fri May 24 00:29:28 2024] macsmc-power macsmc-power: Port 1 state change (charge port: 255)
[Fri May 24 00:29:28 2024] macsmc-rtkit 23e400000.smc: RTKit: syslog message: aceElec.cpp:703: 	Elec: Elec Cause 0x200000
[Fri May 24 00:29:28 2024] macsmc-power macsmc-power: Charging: 0
[Fri May 24 00:29:28 2024] macsmc-power macsmc-power: Port 2 state change (charge port: 2)
[Fri May 24 00:29:28 2024] macsmc-power macsmc-power: Port 1 state change (charge port: 2)
[Fri May 24 00:29:28 2024] macsmc-power macsmc-power: Charging: 1
[Fri May 24 00:29:28 2024] macsmc-power macsmc-power: Port 1 state change (charge port: 2)
[Fri May 24 00:29:28 2024] macsmc-rtkit 23e400000.smc: RTKit: syslog message: aceElec.cpp:703: 	Elec: Elec Cause 0x8000
[Fri May 24 00:29:29 2024] macsmc-rtkit 23e400000.smc: RTKit: syslog message: aceElec.cpp:703: 	Elec: Elec Cause 0x20
[Fri May 24 00:29:29 2024] macsmc-rtkit 23e400000.smc: RTKit: syslog message: charger.cpp:2418: Not charging:0
[Fri May 24 00:29:35 2024] macsmc-rtkit 23e400000.smc: RTKit: syslog message: aceElec.cpp:703: 	Elec: Elec Cause 0x1000
[Fri May 24 00:38:24 2024] macsmc-rtkit 23e400000.smc: RTKit: syslog message: apComms.cpp:375: SMC HID Event: 03 01 00
[Fri May 24 00:38:24 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:10490: set_run_mode_safe: deferring: 4 -> 1

[Fri May 24 00:38:24 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:10395: virtual IOMFBStatus IOMFB::UPPipeDCP_H13P::ready_for_run_mode_change(IOMFB::AppleRegisterStream *): initiating deferred run mod
[Fri May 24 00:38:24 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: UPTSQManager.cpp:150: IOMFBStatus IOMFB::UPTSQManager::power_down_M3(IOMFB::AppleRegisterStream *, UPTSQManager::ModeChangeWaiter *): request mode ch
[Fri May 24 00:38:24 2024] brcmfmac: brcmf_msgbuf_delete_flowring: timed out waiting for txstatus
[Fri May 24 00:38:24 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: UPTSQManager.cpp:162: IOMFBStatus IOMFB::UPTSQManager::power_down_M3(IOMFB::AppleRegisterStream *, UPTSQManager::ModeChangeWaiter *): disabling M3
[Fri May 24 00:38:24 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:10468: set_run_mode_safe: no need to defer: 1 -> 0

[Fri May 24 00:38:24 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: eoInterfaceIOAV.cpp:433: IOMFB: VideoInterfaceIOAV::did_power_off: m_power_ctrl->setPower( 0 )
[Fri May 24 00:38:24 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: eoInterfaceIOAV.cpp:146: IOMFB: IOAVVideoInterface terminated

[Fri May 24 00:38:24 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: oInterfaceIOAV.cpp:1094: void VideoInterfaceIOAV::unplug_gated(IOAVVideoInterface *): display HPD removed

[Fri May 24 00:38:24 2024] apple-dcp 231c00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:1356: set_device_enabled_gated: current state: 1, requested state: 0

[Fri May 24 00:38:24 2024] apple-dcp 231c00000.dcp: dcp_poweroff() done
[Fri May 24 00:38:24 2024] brcmfmac: brcmf_msgbuf_delete_flowring: timed out waiting for txstatus
[Fri May 24 00:38:25 2024] PM: suspend entry (s2idle)
[Fri May 24 00:38:25 2024] Filesystems sync: 0.008 seconds
[Fri May 24 00:38:25 2024] Freezing user space processes
[Fri May 24 00:38:25 2024] Freezing user space processes completed (elapsed 0.003 seconds)
[Fri May 24 00:38:25 2024] OOM killer disabled.
[Fri May 24 00:38:25 2024] Freezing remaining freezable tasks
[Fri May 24 00:38:25 2024] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[Fri May 24 00:38:25 2024] printk: Suspending console(s) (use no_console_suspend to debug)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant