Thursday, February 17, 2022

Recent Questions - Ask Different

Recent Questions - Ask Different


Automator Apple Script sometimes work, sometimes doesn't

Posted: 17 Feb 2022 02:00 AM PST

I've wrote (and collected from different places on the internet) an Automator Apple Script to share network drive locations between Windows and Macs.

It works that all mac users can rightclick a file and copy the Windows path of it. The windows user can just copy paste it into explorer. If the Windows user wants to share a location he just copies the normal Windows path from explorer and all mac users that want to access that location highlight the path and execute another script that transforms it back to a mac path.

I have some trouble with the opening part. For quite some time I was the only Mac user using this script. Now I installed the script to other Macs and ran into issues.

Sometimes the path doesn't open, sometimes it does. On my machine it works everytime.

Here some example:
Windows path:
\\Ourservername\Somefolder\Some_sub_folder\ would convert into:
smb://Ourservername/Somefolder/Some_sub_folder/

On the other Mac I tested it it seems pretty random when it works. So I have no idea why it's not working there 100% of time.

The "working" Mac uses BigSur and the "non working" uses Monterey. But it just recently updated and before on Catalina it wasn't working either 100% of the time.

Here is the script:

on searchReplace(theText, SearchString, ReplaceString)      set OldDelims to AppleScript's text item delimiters      set AppleScript's text item delimiters to SearchString      set newText to text items of theText      set AppleScript's text item delimiters to ReplaceString      set newText to newText as text      set AppleScript's text item delimiters to OldDelims      return newText  end searchReplace    on run {input, parameters}            set myClip to the input      set mylocation to searchReplace(myClip, "<", "")      set mylocation to searchReplace(mylocation, ">.", "")      set mylocation to searchReplace(mylocation, ">", "")      set mylocation to searchReplace(mylocation, "\\", "/")      set mylocation to "smb:" & mylocation      # fix issue with spaces and other characters      set mylocation to searchReplace(mylocation, " ", "%20")      set mylocation to searchReplace(mylocation, "!", "%21")      set mylocation to searchReplace(mylocation, "#", "%23")      set mylocation to searchReplace(mylocation, "$", "%24")      set mylocation to searchReplace(mylocation, "%", "%25")      set mylocation to searchReplace(mylocation, "&", "%26")      set mylocation to searchReplace(mylocation, "'", "%27")      set mylocation to searchReplace(mylocation, "(", "%28")      set mylocation to searchReplace(mylocation, ")", "%29")      set mylocation to searchReplace(mylocation, "*", "%2A")      set mylocation to searchReplace(mylocation, "+", "%2B")      set mylocation to searchReplace(mylocation, ",", "%2C")      #set mylocation to searchReplace(mylocation, ".", "%2E")      #set mylocation to searchReplace(mylocation, "/", "%2F")      #set mylocation to searchReplace(mylocation, ":", "%3A")      set mylocation to searchReplace(mylocation, ";", "%3B")      set mylocation to searchReplace(mylocation, "=", "%3D")      set mylocation to searchReplace(mylocation, "?", "%3F")      set mylocation to searchReplace(mylocation, "@", "%40")      set mylocation to searchReplace(mylocation, "[", "%5B")      set mylocation to searchReplace(mylocation, "]  ", "%5D")            considering case          set mylocation to searchReplace(mylocation, "Ä", "%C3%84")          set mylocation to searchReplace(mylocation, "ä", "%C3%A4")          set mylocation to searchReplace(mylocation, "Ö", "%C3%96")          set mylocation to searchReplace(mylocation, "ö", "%C3%B6")          set mylocation to searchReplace(mylocation, "Ü", "%C3%9C")          set mylocation to searchReplace(mylocation, "ü", "%C3%BC")          set mylocation to searchReplace(mylocation, "ß", "%C3%9F")          set mylocation to searchReplace(mylocation, "ẞ", "%E1%BA%9E")      end considering                  tell application "Finder"          open location mylocation      end tell            tell application "Finder"          activate      end tell                  return input  end run  

Quick note to the script: While pasting it I just noticed that I commented some characters out (. / :). If I remember correctly I did that because it messed up the smb:// part. But I will test around here a little bit. But still, why is it working on one Mac, but not the other?

This might be worth a second question: But if you know any better way of doing this (sharing network locations between Windows and Mac, maybe an app?) I would be thankful to know about them!

Trigger script upon Notification

Posted: 17 Feb 2022 12:58 AM PST

Does anyone know of any way - either OS native or via 3rd-party software - to run a shell command or Applescript when a certain notification is received?

I'd like to run a shell script when Microsoft Teams - and potentially other applications - raise a system notification (e.g. when an incoming call is received).

1920x1280 retina monitor

Posted: 17 Feb 2022 01:55 AM PST

I'm looking for a large monitor for my MacBook (2019 Intel 16"). Huawei sells a 3,840 x 2,560 monitor instead of the usual 3,840 x 2,160, which is the largest monitor at a reasonable price (less than £600, and nobody sells 5k anymore).

Can anyone confirm if this monitor will work as 1,920 x 1,280 retina, and whether it will work scaled at 2,560 x 1,706 resolution?

How to automate the clicking of "connect" for nearby airpods

Posted: 16 Feb 2022 10:18 PM PST

Whenever there is a nearby airpod, and I play the video. I get a notification that asks me to connect the airpod. It only has one button, that says "connect".

I want to run an applescript that presses that button. Is that possible?

QuickTime Screen Recording - Output name and path

Posted: 16 Feb 2022 08:18 PM PST

I'm writing AppleScript in Python, and I'm trying to create an auto screen recorder. I found some solutions from 2-3 years ago on this site which works (though with some hiccups), but right now I'm trying to figure out how to save the recordings in a specific path, and customizing the file name.

Here is my code, taken from another thread. I'd truly appreciate any help I can get.

edit: just noticed screen recording only captured video, but not audio. need to figure that out too separately.

command = """ osascript -e '    --  # Setup to do a screen recording.    tell application "QuickTime Player" to new screen recording    --  # Start the screen recording.    tell application "System Events" to tell process "Screen Shot"      repeat until exists button "Record" of its front window          delay 0.1      end repeat      click button "Record" of its front window  end tell    --  # Set the time in seconds you want the recording to be.    delay 10    --  # Stop the recording.    tell application "System Events" to ¬      click menu bar item 1 ¬          of menu bar 1 ¬          of application process "screencaptureui"    <save in specific path, either desktop or desktop/recordings, and can work across all users>  <output file name will be dynamic>    '"""  

Is there a way to share a timer?

Posted: 16 Feb 2022 07:47 PM PST

I have frequent disputes in my family of iphone users where we are waiting on each other and tensions flare. It seems we might be able to alleviate this problem if we could share a timer, perhaps 10 minute countdown timer so that we are all in the car or agreed location before that time has ellapsed and woe to the user who doesn't make it. Is there such a way to share a timer?

macOS keeps restarting due to apparent kernel/CPU panic

Posted: 16 Feb 2022 06:47 PM PST

My Macbook Air 13" 2019 running Big Sur 11.4 has been having these issues for a while. I've narrowed down the issue to a third party kext as running in safe mode prevents restarting/CPU panic. Below is the most recent report. How should I fix this?

panic(cpu 1 caller 0xfffffff029b26024): macOS watchdog detected  Debugger message: panic  Memory ID: 0x6  OS release type: User  OS version: 19P549  macOS version: 20G224  Kernel version: Darwin Kernel Version 21.1.0: Wed Oct 13 18:09:06 PDT 2021; root:xnu-8019.41.5~2/RELEASE_ARM64_T8010  Kernel UUID: 5206FA9B-BD6D-381D-A198-5F6E6A09B67F  iBoot version: iBoot-7429.41.4  secure boot?: YES  x86 EFI Boot State: 0xd  x86 System State: 0x0  x86 Power State: 0x0  x86 Shutdown Cause: 0xc1  x86 Previous Power Transitions: 0x70707060400  PCIeUp link state: 0x1614  Paniclog version: 13  Kernel slide:      0x0000000021a98000  Kernel text base:  0xfffffff028a9c000  mach_absolute_time: 0x4506dac0f  Epoch Time:        sec       usec    Boot    : 0x620da156 0x00095ba2    Sleep   : 0x00000000 0x00000000    Wake    : 0x00000000 0x00000000    Calendar: 0x620da455 0x000c3278    Zone info:  Foreign   : 0xfffffff06e1bc000 - 0xfffffff06e1cc000  Native    : 0xffffffe0000d8000 - 0xffffffe6000d8000  Readonly  : 0 - 0  Metadata  : 0xffffffeb007e8000 - 0xffffffeb049a4000  Bitmaps   : 0xffffffeb01fe8000 - 0xffffffeb02248000  CORE 0: PC=0xfffffff0299e955c, LR=0xfffffff0299e955c, FP=0xffffffeb0ea4bdc0  CORE 1 is the one that panicked. Check the full backtrace for details.  Panicked task 0xffffffe0f2968658: 0 pages, 202 threads: pid 0: kernel_task  Panicked thread: 0xffffffe0f3012798, backtrace: 0xffffffeb0ebbb670, tid: 391            lr: 0xfffffff029283388  fp: 0xffffffeb0ebbb6b0            lr: 0xfffffff029283118  fp: 0xffffffeb0ebbb720            lr: 0xfffffff0293bbeac  fp: 0xffffffeb0ebbb7a0            lr: 0xfffffff0293bb03c  fp: 0xffffffeb0ebbb850            lr: 0xfffffff0298e55fc  fp: 0xffffffeb0ebbb860            lr: 0xfffffff029282e2c  fp: 0xffffffeb0ebbbbf0            lr: 0xfffffff029282e2c  fp: 0xffffffeb0ebbbc50            lr: 0xfffffff02a3d7488  fp: 0xffffffeb0ebbbc70            lr: 0xfffffff029b26024  fp: 0xffffffeb0ebbbca0            lr: 0xfffffff029b12f5c  fp: 0xffffffeb0ebbbd00            lr: 0xfffffff029b19410  fp: 0xffffffeb0ebbbd50            lr: 0xfffffff029b14e48  fp: 0xffffffeb0ebbbdf0            lr: 0xfffffff029b12640  fp: 0xffffffeb0ebbbe70            lr: 0xfffffff0299c4db4  fp: 0xffffffeb0ebbbea0            lr: 0xfffffff02982b3a4  fp: 0xffffffeb0ebbbee0            lr: 0xfffffff02982abb4  fp: 0xffffffeb0ebbbf20            lr: 0xfffffff0298f05a0  fp: 0x0000000000000000  

Edit: since I posted this question a second crash/panic occurred. Here is the log.

panic(cpu 1 caller 0xfffffff024619740): "void AppleEmbeddedPCIeUpLinkMgmt::_linkInterruptAction(IOInterruptEventSource *, int): " "A link timeout has been seen after 650000 microseconds and 49999 iterations." @AppleEmbeddedPCIeUpLinkMgmt.cpp:3979  Debugger message: panic  Memory ID: 0x6  OS release type: User  OS version: 19P549  macOS version: 20G224  Kernel version: Darwin Kernel Version 21.1.0: Wed Oct 13 18:09:06 PDT 2021; root:xnu-8019.41.5~2/RELEASE_ARM64_T8010  Kernel UUID: 5206FA9B-BD6D-381D-A198-5F6E6A09B67F  iBoot version: iBoot-7429.41.4  secure boot?: YES  x86 EFI Boot State: 0xd  x86 System State: 0x0  x86 Power State: 0x0  x86 Shutdown Cause: 0xec  x86 Previous Power Transitions: 0x405060400  PCIeUp link state: 0x89271611  Paniclog version: 13  Kernel slide:      0x000000001c578000  Kernel text base:  0xfffffff02357c000  mach_absolute_time: 0xb1a005a8  Epoch Time:        sec       usec    Boot    : 0x620db4aa 0x000f3c8c    Sleep   : 0x620db5a9 0x00068a3f    Wake    : 0x620db5aa 0x0007e663    Calendar: 0x620db601 0x00074bc5    Zone info:  Foreign   : 0xfffffff0901bc000 - 0xfffffff0901cc000  Native    : 0xffffffe00004c000 - 0xffffffe60004c000  Readonly  : 0 - 0  Metadata  : 0xffffffeb0075c000 - 0xffffffeb049a0000  Bitmaps   : 0xffffffeb01f5c000 - 0xffffffeb021dc000  CORE 0: PC=0xfffffff02430b3a4, LR=0xfffffff02430b3a4, FP=0xffffffeb0f473ee0  CORE 1 is the one that panicked. Check the full backtrace for details.  Panicked task 0xffffffe0f2974658: 0 pages, 203 threads: pid 0: kernel_task  Panicked thread: 0xffffffe0f2e4b3c8, backtrace: 0xffffffeb0eb2b780, tid: 256            lr: 0xfffffff023d63388  fp: 0xffffffeb0eb2b7c0            lr: 0xfffffff023d63118  fp: 0xffffffeb0eb2b830            lr: 0xfffffff023e9beac  fp: 0xffffffeb0eb2b8b0            lr: 0xfffffff023e9b03c  fp: 0xffffffeb0eb2b960            lr: 0xfffffff0243c55fc  fp: 0xffffffeb0eb2b970            lr: 0xfffffff023d62e2c  fp: 0xffffffeb0eb2bd00            lr: 0xfffffff023d62e2c  fp: 0xffffffeb0eb2bd60            lr: 0xfffffff024eb742c  fp: 0xffffffeb0eb2bd80            lr: 0xfffffff024619740  fp: 0xffffffeb0eb2bdc0            lr: 0xfffffff024613d4c  fp: 0xffffffeb0eb2be50            lr: 0xfffffff02430c9dc  fp: 0xffffffeb0eb2bea0            lr: 0xfffffff02430b3a4  fp: 0xffffffeb0eb2bee0            lr: 0xfffffff02430abb4  fp: 0xffffffeb0eb2bf20            lr: 0xfffffff0243d05a0  fp: 0x0000000000000000  

How do I clear cache on KakaoTalk, on my iPhone?

Posted: 16 Feb 2022 05:32 PM PST

I use KakaoTalk on my iPhone. On Mar 31 2015, @kakaotalk tweeted

Hi @ZephPhillips you can clear up space by going to your KakaoTalk settings and clearing the cache. Hope that helps~

But I found no option to clear cache in KakaoTalk settings on my iPhone. Can someone please list all steps and screenshot them?

I contacted KakaoTalk by completing their online form, but they haven't replied.

How to turn off “macOS MDM Enrollment”

Posted: 16 Feb 2022 06:06 PM PST

I have a MacBook Pro that I bought on eBay. There's an annoying message that pops up every few minutes "macOS MDM Enrollment" is the title. I've tried several different methods posted on this site to remove it. I've been in Recovery Mode more times than I can count. I've turned off FileVault, removed all of the pertinent files from LaunchAgent and LaunchDaemon,unmounted and mounted my volume, etc. Nothing has been effective. I'm running Monterey v12.2.1 on an Intel 2019 MacBook Pro. Can anyone suggest something new?

Switch between virtual desktops by scrolling on the menu bar

Posted: 16 Feb 2022 04:35 PM PST

Looking for a script, macro, automation script, TIY solution that will allow me to hover my mouse over the menu bar scroll my mouse wheel up and down which in turn will switch between my left and right virtual desktops.

Is this possible to do on macOS?

errSecInternalComponent when using codesign from within a daemon

Posted: 16 Feb 2022 03:29 PM PST

I have my own running daemon application that listens to a network port and executes some different commands based on the coming request. All is working fine except when trying to execute the following codesign command.

sudo codesign --force --timestamp --options=runtime --entitlements <Entitlements File Path> --sign <Application Certificate Id> <file to sign>

Where I see an error saying errSecInternalComponent. However, when I take the same command and paste it into the terminal it works.

I have my application certificate installed under both login and System keychains and set to be Always Trust in settings.

I tried adding --keychain option to specify the keychain path for the codesign command. Also, I made sure that both login and System keychains are unlocked during command execution. Besides, I tried adding the following key/value pair to my daemon plist file and restarting it.

<key>SessionCreate</key>  <true/>  

All of the above trials failed to fix the issue, I'm out of ideas and any help would be highly appreciated.

Do we need to continue having paid Apple's developer account for keeping the app on App store?

Posted: 16 Feb 2022 03:17 PM PST

I got an iOS app made for my experiments from a free lancer. He asked me to subscribe to Apple Developer Program and then using the account he uploaded the app on the app store. I paid $98.99 for the account for annual subscription. Do I need to renew that subscription each year for keeping the app on App store?

Please feel free to ask for clarifications on the question.

tree command does not show hierarchical structure?

Posted: 16 Feb 2022 07:07 PM PST

The following resources show tree should output hierarchical directory structure view directory structure

enter image description here

So I did brew install tree. But the tree command does not print hierarchical output:

(py367) 11:31:12/hercules-api $tree -d src  [        160 Jan 20 17:28]  src  [        224 Feb 13 13:52]  src/alembic_migrations  [        160 Feb 13 23:21]  src/alembic_migrations/__pycache__  [        256 Feb 13 13:52]  src/alembic_migrations/versions  [        544 Feb 13 23:35]  src/alembic_migrations/versions/__pycache__  

Is there a switch on tree to get the expected or a different code base/compile/install which has this feature on macOS?

How mount many directories with the same name over the LAN on /Volumes?

Posted: 17 Feb 2022 03:24 AM PST

In Windows 10, through Windows Explorer is possible stablish a network connection for a remote directory and thanks to the Map network drive approach is possible keep that connection mapped with a drive, so if three machines has the same directory name - lets consider documents - so is possible get:

M:\documents  N:\documents  W:\documents  

In Mac - El Capitan - through:

  • Finder -> Go -> Connect to Server

Is possible do the connection with smb://hostname/documents

Therefore the documents remote directory is mounted on /Volumes

/Volumes   documents  

The problem is, what happen if other two machines have the same documents directory name? - Consider it how a mandatory policy of the company - How is mounted in /Volumes? How recognize each mounted remote directory within each machine in the LAN? I want rename the mounted directory through Finder, but is not possible.

I want have in MacOS in /Volumes the following structure:

/Volumes   192.168.1.55      documents   192.168.1.56      documents   192.168.1.57      documents  

It to have the isolated paths available to be used on some bash-shell scripts. How accomplish this goal?

Safari inserts "localhost" in URLs with three slashes after the scheme

Posted: 16 Feb 2022 10:31 PM PST

Safari seems to be the only browser that differently handles URL's that have three slashes after the scheme.

For example typing https:///google.com in the address bar results in the URL being converted to https://google.com by all browsers I tried (Edge, Firefox, Opera, Tor), excepting for Safari, which converts the URL to https://localhost/google.com.

The conversion also happens when receiving a HTTP redirect (301 or 302) with a "malformed" URL, but doesn't happen when clicking on a link, in that case Safari is consistent with the other browsers.

Does somebody know why is that? And who's correct - Safari inserting localhost, or the other browsers stripping out the third slash?

Format SanDisk Extreme Pro SSD V2 on Mac

Posted: 16 Feb 2022 03:00 PM PST

Formatting (erasing) SanDisk Extreme Pro 55AF Media works but looks unusual in Disk Utility (image):

Erase: SanDisk Extreme Pro 55AF Media

Name: Extreme Pro  Format: APFS  Scheme: GUID Partition Map  

Result: SanDisk Extreme Pro 55AF Media > Container disk5 > Extreme PRO

enter image description here

*macOS Monterey, Intel

Completely disable iMessages cloud sync

Posted: 16 Feb 2022 04:31 PM PST

I have iMessages in iCloud disabled. However, when I bring new devices online, my message history is still synced to those devices.

How can I prevent this, and how long are messages retained by the server? Is there any documentation on how long Apple retains messages so that my message history isn't pulled down to all of my devices?

E.g. I brought a laptop online that had been turned off for a month, and hundreds of iMessages were synced to the computer despite iMessage for iCloud being off on all of my devices.

Highlight text/add remarks to a PDF file in which text is an image

Posted: 17 Feb 2022 03:36 AM PST

I have a PDF file that I need to study intensely online, but the text is actually an image.

Which software may I use to highlight text and add remarks?

I'm on macOS 10.13.

(OneNote is not available for my system, as it requires macOS 10.15.)

How to remove an unclosable desktop from desktop list?

Posted: 17 Feb 2022 02:19 AM PST

I have noticed of late that when my mbp goes into sleep mode, waking from it is essentially like a recovery (or an attempt to) which generally loses my desktop and window(s) arrangement (everything is restarted) however, some maximised windows/desktops become uncloseable see middle desktop in the image below:

uncloseable_desktop_list_screen_cap


Is it possible to remove this without having to restart the system?

Note:

  1. I have already tried quitting the iTerm app but the (dead) full screen desktop remains.
  2. I thought there might be a zombie process linked to this but grepping for zombie processes ps -A -ostat,ppid,pid,command | grep -e '^[Zz]' revealed nothing.
  3. Restarting finder doesn't work either.
  4. The only thing that works thus far involves ending my session (restarting my system).

Below are my system specs:

System_specs

Can an Apple expert reset or delete my firmware password on 2017 iMac running Monterey remotely or must I go to Genius Bar at store? I have receipt

Posted: 17 Feb 2022 02:04 AM PST

I can't get to an Apple store. Is there another way to do this. I have my receipt on line for proof of purchase.

M1 MacBook runs out of battery while sleeping

Posted: 16 Feb 2022 10:04 PM PST

My MacBook(MacBook Pro M1 Max 16-inch, 2021, Monterey v12.0.1) runs out of battery while sleeping. When I run

pmset -g log  

the following log appears repeatedly while sleeping.

I unchecked Contact in iCloud settings. But this didn't work.

Every Monday the battery is completely drained again.

What is the cause and how to fix it?

DriverReason:smc.70070000 - DriverDetails:                                   DriverReason:wifibt - DriverDetails:                                         DriverReason:bluetooth-pcie - DriverDetails:                                 2022-01-15 10:23:00 +0900 HibernateStats        hibmode=3 standbydelaylow=0 standbydelayhigh=0                                        15321           2022-01-15 10:23:00 +0900 WakeTime              WakeTime: 0.164 sec                                                                     2022-01-15 10:23:00 +0900 Kernel Client Acks    Delays to Sleep notifications: [AppleH13CamIn driver is slow(msg: SetState to 0)(103 ms)] [AppleH13CamIn driver is slow(msg: SetState to 1)(1070 ms)] [AppleH13CamIn driver is slow(msg: SetState to 0)(109 ms)] [H11ANEIn driver is slow(msg: SetState to 0)(112 ms)]   2022-01-15 10:23:00 +0900 Kernel Client Acks    Delays to Wake notifications: [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(101 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(129 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(125 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(162 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 1)(61 ms)] [AppleH13CamIn driver is slow(msg: SetState to 1)(1094 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(129 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(125 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(163 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(131 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(128 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(160 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(134 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(127 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(160 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 1)(65 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(123 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(128 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(161 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 1)(58 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(129 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(124 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(163 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 1)(68 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(50 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(129 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(125 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(159 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 1)(61 ms)] [AppleSN012776Amp driver is slow(msg: SetState to 1)(54 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(134 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(125 ms)]             2022-01-15 10:23:02 +0900 Assertions            PID 263(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:01  id:0x0xd00009c70 [System: PrevIdle SysAct SRPrevSleep IPushSrvc kCPU]            2022-01-15 10:23:45 +0900 Assertions            PID 111(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:45  id:0x0xd00009c71 [System: SysAct]            2022-01-15 10:23:45 +0900 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:26%) 8 secs      2022-01-15 10:23:47 +0900 Wake Requests         [*process=mDNSResponder request=Maintenance deltaSecs=5353 wakeAt=2022-01-15 11:53:00 info="DHCP lease renewal"] [process=powerd request=TCPKATurnOff deltaSecs=246616 wakeAt=2022-01-18 06:54:03]             2022-01-15 10:23:47 +0900 PM Client Acks        Delays to Sleep notifications: [com.apple.bluetooth.sleep is slow(1540 ms)]             2022-01-15 10:23:53 +0900 Assertions            PID 263(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00009c7f [System: SysAct]            2022-01-15 10:23:53 +0900 Assertions            PID 111(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd00009c80 [System: SysAct]            2022-01-15 10:23:53 +0900 DarkWake              DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt bluetooth-pcie/ Using BATT (Charge:26%) 45 secs     2022-01-15 10:23:53 +0900 WakeDetails           DriverReason:SMC.OutboxNotEmpty - DriverDetails:                             DriverReason:smc.70070000 - DriverDetails:                                   DriverReason:wifibt - DriverDetails:                                         DriverReason:bluetooth-pcie - DriverDetails:                                 2022-01-15 10:23:53 +0900 HibernateStats        hibmode=3 standbydelaylow=0 standbydelayhigh=0                                        15322           2022-01-15 10:23:53 +0900 WakeTime              WakeTime: 0.182 sec                                                                     2022-01-15 10:23:53 +0900 Kernel Client Acks    Delays to Sleep notifications: [AppleH13CamIn driver is slow(msg: SetState to 0)(103 ms)] [AppleH13CamIn driver is slow(msg: SetState to 1)(1070 ms)] [AppleH13CamIn driver is slow(msg: SetState to 0)(109 ms)] [H11ANEIn driver is slow(msg: SetState to 0)(112 ms)]   2022-01-15 10:23:53 +0900 Kernel Client Acks    Delays to Wake notifications: [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(101 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(129 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(125 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(162 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 1)(61 ms)] [AppleH13CamIn driver is slow(msg: SetState to 1)(1094 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(129 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(125 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(163 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(131 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(128 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(160 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(134 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(127 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(160 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 1)(65 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(123 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(128 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(161 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 1)(58 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(129 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(124 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(163 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 1)(68 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(50 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(129 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(125 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(159 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 1)(61 ms)] [AppleSN012776Amp driver is slow(msg: SetState to 1)(54 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(134 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(125 ms)]             2022-01-15 10:23:53 +0900 Assertions            PID 263(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00009c7f [System: PrevIdle SysAct SRPrevSleep IPushSrvc kCPU]            2022-01-15 10:24:08 +0900 Assertions            PID 852(SubmitDiagInfo) Released PreventUserIdleSystemSleep "com.apple.SubmitDiagInfo" 00:00:14  id:0x0x100009c88 [System: SysAct SRPrevSleep kCPU]            2022-01-15 10:24:13 +0900 Assertions            PID 75336(runningboardd) Created SystemIsActive "xpcservice<com.apple.news.widget([daemon<com.apple.chronod>:35840])>75336-35840-2200:[news.widget-336D4E9ACAFE]" 00:00:00  id:0x0xc00009c94 [System: SysAct SRPrevSleep kCPU]            2022-01-15 10:24:14 +0900 Assertions            PID 75336(runningboardd) Created SystemIsActive "daemon<com.apple.parsec-fbf>75336-40629-2201:com.apple.CFNetwork.StorageDB" 00:00:00  id:0x0xc00009c95 [System: SysAct SRPrevSleep kCPU]            2022-01-15 10:24:15 +0900 Assertions            PID 75336(runningboardd) Released SystemIsActive "daemon<com.apple.parsec-fbf>75336-40629-2201:com.apple.CFNetwork.StorageDB" 00:00:01  id:0x0xc00009c95 [System: SysAct SRPrevSleep kCPU]            2022-01-15 10:24:15 +0900 Assertions            PID 75336(runningboardd) Released SystemIsActive "xpcservice<com.apple.news.widget([daemon<com.apple.chronod>:35840])>75336-35840-2202:[news.widget-336D4E9ACAFE]" 00:00:02  id:0x0xc00009c94 [System: SysAct SRPrevSleep kCPU]            2022-01-15 10:24:22 +0900 Assertions            PID 140(apsd) Released ApplePushServiceTask "com.apple.apsd-recreatecourierstate-push.apple.com" 00:00:10  id:0x0xb00009c93 [System: SysAct SRPrevSleep kCPU]            2022-01-15 10:24:38 +0900 Assertions            PID 111(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:45  id:0x0xd00009c80 [System: SysAct]            2022-01-15 10:24:38 +0900 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:25%) 7 secs      2022-01-15 10:24:39 +0900 Wake Requests         [*process=mDNSResponder request=Maintenance deltaSecs=5306 wakeAt=2022-01-15 11:53:06 info="DHCP lease renewal"] [process=powerd request=TCPKATurnOff deltaSecs=246564 wakeAt=2022-01-18 06:54:03]             2022-01-15 10:24:39 +0900 PM Client Acks        Delays to Sleep notifications: [com.apple.bluetooth.sleep is slow(1547 ms)]             2022-01-15 10:24:45 +0900 Assertions            PID 263(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00009c98 [System: SysAct]            2022-01-15 10:24:45 +0900 Assertions            PID 111(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd00009c99 [System: SysAct]            2022-01-15 10:24:45 +0900 DarkWake              DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt bluetooth-pcie/ Using BATT (Charge:25%) 45 secs     2022-01-15 10:24:45 +0900 WakeDetails           DriverReason:SMC.OutboxNotEmpty - DriverDetails:                                                            

Is the problem "Wake for network access" setting?

System Preferences - Battery pane

I turned off "Wake for network access" setting. And I ran the commands below.

$ sudo pmset -b tcpkeepalive 0  $ sudo pmset -b standbydelaylow 3600  $ sudo pmset -b standbydelayhigh 3600  

Since then, the log has been changed as follows. It still seems like something wakes up every minute though.

DriverReason:nub-spmi0.0x02 - DriverDetails:                                 DriverReason:rtc - DriverDetails:                                            2022-01-16 12:10:35 +0900 HibernateStats        hibmode=3 standbydelaylow=0 standbydelayhigh=0                                        15748           2022-01-16 12:10:35 +0900 WakeTime              WakeTime: 0.154 sec                                                                     2022-01-16 12:10:35 +0900 Kernel Client Acks    Delays to Sleep notifications: [AppleH13CamIn driver is slow(msg: SetState to 1)(1067 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(97 ms)]   2022-01-16 12:10:35 +0900 Kernel Client Acks    Delays to Wake notifications: [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(126 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(130 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(160 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(98 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(53 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(128 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(156 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(100 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(126 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(159 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(98 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(127 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(158 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(105 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(53 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(133 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(128 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(160 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(99 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(134 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(129 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(155 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(100 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(127 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(159 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(104 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(129 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(135 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(159 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(108 ms)]             2022-01-16 12:10:35 +0900 Assertions            PID 240(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008d9d [System: PrevIdle SRPrevSleep kCPU]            2022-01-16 12:10:51 +0900 Assertions            PID 140(apsd) Released InteractivePushServiceTask "com.apple.apsd-requestkeepaliveproxy-push.apple.com" 00:00:16  id:0x0x1200008d9b [System: SRPrevSleep kCPU]            2022-01-16 12:11:20 +0900 Assertions            PID 111(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:45  id:0x0xd00008d9e [System: No Assertions]            2022-01-16 12:11:20 +0900 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:76%) 1 secs      2022-01-16 12:11:21 +0900 Assertions            PID 240(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008da5 [System: No Assertions]            2022-01-16 12:11:21 +0900 Assertions            PID 111(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd00008da6 [System: No Assertions]            2022-01-16 12:11:21 +0900 DarkWake              DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:76%) 45 secs     2022-01-16 12:11:21 +0900 WakeDetails           DriverReason:NUB.SPMISw3IRQ - DriverDetails:                                 DriverReason:nub-spmi0.0x02 - DriverDetails:                                 DriverReason:rtc - DriverDetails:                                            2022-01-16 12:11:21 +0900 HibernateStats        hibmode=3 standbydelaylow=0 standbydelayhigh=0                                        15749           2022-01-16 12:11:21 +0900 WakeTime              WakeTime: 0.158 sec                                                                     2022-01-16 12:11:21 +0900 Kernel Client Acks    Delays to Sleep notifications: [AppleH13CamIn driver is slow(msg: SetState to 1)(1067 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(97 ms)]   2022-01-16 12:11:21 +0900 Kernel Client Acks    Delays to Wake notifications: [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(126 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(130 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(160 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(98 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(53 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(128 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(156 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(100 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(126 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(159 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(98 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(127 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(158 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(105 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(53 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(133 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(128 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(160 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(99 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(134 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(129 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(155 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(100 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(127 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(159 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(104 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(129 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(135 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(159 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(108 ms)]             2022-01-16 12:11:21 +0900 Assertions            PID 240(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008da5 [System: PrevIdle SRPrevSleep kCPU]            2022-01-16 12:11:36 +0900 Assertions            PID 140(apsd) Released InteractivePushServiceTask "com.apple.apsd-requestkeepaliveproxy-push.apple.com" 00:00:16  id:0x0x1200008da4 [System: SRPrevSleep kCPU]            2022-01-16 12:12:06 +0900 Assertions            PID 111(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:45  id:0x0xd00008da6 [System: No Assertions]            2022-01-16 12:12:06 +0900 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:76%) 1 secs      2022-01-16 12:12:07 +0900 Assertions            PID 240(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008daf [System: PrevIdle]            2022-01-16 12:12:07 +0900 Assertions            PID 111(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd00008db0 [System: PrevIdle]            2022-01-16 12:12:07 +0900 DarkWake              DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:76%) 45 secs     2022-01-16 12:12:07 +0900 WakeDetails           DriverReason:NUB.SPMISw3IRQ - DriverDetails:                                 DriverReason:nub-spmi0.0x02 - DriverDetails:                                 DriverReason:rtc - DriverDetails:                                            2022-01-16 12:12:07 +0900 HibernateStats        hibmode=3 standbydelaylow=0 standbydelayhigh=0                                        15750           2022-01-16 12:12:07 +0900 WakeTime              WakeTime: 0.162 sec                                                                     2022-01-16 12:12:07 +0900 Kernel Client Acks    Delays to Sleep notifications: [AppleH13CamIn driver is slow(msg: SetState to 1)(1067 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(97 ms)]   2022-01-16 12:12:07 +0900 Kernel Client Acks    Delays to Wake notifications: [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(126 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(130 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(160 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(98 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(53 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(128 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(156 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(100 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(126 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(159 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(98 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(127 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(158 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(105 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(53 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(133 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(128 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(160 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(99 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(103 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(134 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(129 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(155 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(100 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(51 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(132 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(127 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(159 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(104 ms)] [Codec Output driver is slow(msg: DidChangeState to 1)(52 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(102 ms)] [AppleConvergedIPCOLYBTControl driver is slow(msg: SetState to 1)(129 ms)] [AppleMultiFunctionManager driver is slow(msg: SetState to 1)(135 ms)] [RTBuddyV2 driver is slow(msg: SetState to 2)(159 ms)] [AppleBCMWLANCore driver is slow(msg: SetState to 0)(108 ms)]             2022-01-16 12:12:07 +0900 Assertions            PID 240(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008daf [System: PrevIdle SRPrevSleep kCPU]            2022-01-16 12:12:22 +0900 Assertions            PID 140(apsd) Released InteractivePushServiceTask "com.apple.apsd-requestkeepaliveproxy-push.apple.com" 00:00:16  id:0x0x1200008dad [System: SRPrevSleep kCPU]            2022-01-16 12:12:52 +0900 Assertions            PID 111(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:45  id:0x0xd00008db0 [System: No Assertions]            2022-01-16 12:12:52 +0900 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:76%) 0 secs      2022-01-16 12:12:52 +0900 Assertions            PID 240(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008db8 [System: No Assertions]            2022-01-16 12:12:52 +0900 Assertions            PID 111(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd00008db9 [System: No Assertions]            2022-01-16 12:12:52 +0900 DarkWake              DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:76%) 45 secs     2022-01-16 12:12:52 +0900 WakeDetails           DriverReason:NUB.SPMISw3IRQ - DriverDetails:                                     

Shutdown Cause -128 on MacBook Pro: Should I replace the charger with exposed wire?

Posted: 16 Feb 2022 10:31 PM PST

I have a MacBook Pro (Retina, 15-inch, Late 2013) from Mid-2014 which is vintage classed. It is running MacOS Catalina 10.15.7 (not Big Sur which is the later OS available).

Recently I am experiencing rather frequent random sudden shutdowns (multiple per day or near-daily). The screen suddenly becomes dark but the computer is still on. After 20 seconds or so, it powers off completely. This happens when plugged in with charger (not sure if it happens on battery or not). From some of these shutdown events, it looks to be related to code -128, which is an "unknown cause": (Shutdown Cause -128) or possibly related to memory issues.

$ sudo log show --predicate 'eventMessage contains "Previous shutdown cause"'    Filtering the log data using "composedMessage CONTAINS "Previous shutdown cause""  Skipping info and debug messages, pass --info and/or --debug to include.  Timestamp                       Thread     Type        Activity             PID    TTL    2022-01-06 11:46:14.824317+0100 0xb5       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: -128  

I have tried resetting SMC, and NVRAM/PVRAM (holding Opt-CMD-P-R on boot), and run the Apple Diagnostics on startup (holding D on boot). I still have the same issue, and Diagnostics didn't find any issues.

Battery health is at 88% (battery and top case replaced in early 2019).

I just discovered that on my charger, the wiring inside is exposed (the outer material protecting them have somewhat broken at a place). I can't tell if there is sufficient damage or not to the wiring. An extreme close-up (hardly visible to the eye) in the photo shows that there has at least been some minimal tearing to the wire:

enter image description here

Is it possible that this can be causing voltage issues? If so, can I use electric tape to cover it up, or do I need to buy a new charger?

I am somewhat hesitant to buying a new charger, because I suspect that the exposed wiring may not be the problem, and that there is a bigger hardware issue at fault – in which case investing further in this vintage-classed computer may be cost inefficient.

I would also appreciate general advice on how to proceed with this matter altogether.

On Monterey, where are the downloaded wallpapers saved?

Posted: 16 Feb 2022 10:32 PM PST

I am on the new Monterey macOS, and it appears in System Preferences that you have to download some wallpapers, such as the wallpaper for Big Sur, Catalina, etc. When I download it, where exactly is it stored?

Mouse moving vertically up and down, as well as clicking, on its own

Posted: 17 Feb 2022 01:05 AM PST

While away from my desk, but the screen still visible, I noticed the mouse start to move. It went up to the current window's top bar, double clicked. This caused that window to minimize. Then it selected something on the next window (it was an Amazon window, it selected a particular shirt color). Then went to that window's top bar and double clicked. The next window was still a chrome window, but the content of the webpage wasn't interactable. On it, the mouse then zoomed in, dragged around a little, then went to the top of the screen and double clicked a running application's menu bar icon. Incidentally, this triggered a macOS dialog box to open asking me if I'd like to grant permission to the application to register all key events from all applications.

At this point I immediately stepped in and started moving the mouse around to prevent it from hitting accept. I think it's important to note here that the mouse wasn't moving like a person would move it, but jumping from point to point. Despite intervening, the mouse just kept exhibiting what seemed like programmed behavior. Then in an effort to prevent any more activity I locked the screen. To my surprise, the behavior continued, then after several minutes stopped on its own.

Not long after — perhaps 20 minutes — it started exhibiting what appeared to be the same pattern of motion (moving up, double clicking, moving to the center, clicking, etc.). This all happening on the lock screen.

I tried disconnecting my trackpad and even my keyboard, but it did not stop the behavior. Now, it has been some hours since it first started, it stopped a couple of times more, but now it seems perpetual (been going on for two hours now).

Is there any way for me to determine what could be causing the mouse to click and move without my input?

What causes Time Machine to perform a non-manual verification?

Posted: 16 Feb 2022 04:06 PM PST

Since verification takes a LONG time, I am naturally curious as to what the criteria are that causes it to occur. Time since last verification? Amount of data added since last verification? Failure of some data validity check (parity bits or the like)?

How do I change my keyboard type to JIS in terminal?

Posted: 16 Feb 2022 05:07 PM PST

I have a JIS type keyboard but osx is recognizing it as ANSI

Before you answer There is no "change keyboard type" button in keyboard settings

there is no file named com.apple.keyboardtype.plist

I have tried to manually open the keyboard setup wizard but when I click it nothing happens

2016 MacBook Pro Touch Bar (A1706) Doesn't Boot When Battery is Plugged In

Posted: 16 Feb 2022 09:04 PM PST

First time posting here so I'm sorry if I mess anything up.

I have a 2016 MacBook Pro Touch Bar 13" that refuses to charge or boot when the battery is connected (It will boot when plugged into the charger and even with the battery data cable plugged in, just not when the battery power is connected). With it booted (battery disconnected) everything works normal. The computer is not receiving power when the battery is connected (no haptic feedback on trackpad, lights, fans, etc.).

Opening up the computer and giving it a visual inspection shows no physical damage, corrosion or water damage on either side of the logic board. On one of the USB-C ports I noticed what looked like a little bit of corrosion so I cleaned it off.

What I've tried:

  1. Different charger cable/block (OEM)
  2. New battery (OEM)
  3. Reset SMC -This one is a little weird. When I try to reset the SMC, per Apple's instructions (T1 with non-removable battery-I leave the battery plugged in and charger connected) the computer refuses to boot unless I disconnect the battery. So I'm not sure if it's actually resetting or not.

MacOS says battery - "Service Recommended", the diagnostic (Hold R while booting) shows no problems- Reference Code:APD000 (it used to give a Service Battery before I put the new battery in), and I've attached a screenshot of CoconutBattery.

If anybody has any ideas of what else to check or to try that would be huge help. If there's any other info. that you need me to provide that I didn't please let me know. Thank you!

CoconutBattery with replacement battery installed

How to disable or change an application's shortcut?

Posted: 17 Feb 2022 01:22 AM PST

I have an app (Skitch) that has a seemingly unchangable shortcut of command-shift-5 for capturing the screen. I'd like to disable this or, at least, change it to another shortcut.

Previously I could go to System Preferences > Keyboard > Shortcuts > App Shortcuts and add an app with its accompanying shortcut there. For example, I tried to change it to the following:

image

Unfortunately in this instance command-shift-5 retains its function whenever the app is open and in the background in Catalina.

Skitch appears to capture this keyboard setting even when the key binding is disabled for the normal macOS keybinding for "Screenshot and recording options": disabled

Is there a way to stop Skitch from receiving this shortcut and/or assigning it another shortcut that works?

Will macOS Big Sur remove the default Python installation for good?

Posted: 17 Feb 2022 02:34 AM PST

I initially thought that this would happen with Catalina, but since it didn't happen a similar question is again relevant:

My question is two fold:

  • When I eventually update to macOS Big Sur, will the Python (2.7.X) installation – which currently ships with macOS – get removed from my system?
  • What about if I do a fresh install; will python be gone then?

Relevant section from macOS Catalina 10.15 Release Notes (emphasis mine):

Scripting Language Runtimes

Deprecations

  • Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. Future versions of macOS won't include scripting language runtimes by default, and might require you to install additional packages. If your software depends on scripting languages, it's recommended that you bundle the runtime within the app. (49764202)
  • Use of Python 2.7 isn't recommended as this version is included in macOS for compatibility with legacy software. Future versions of macOS won't include Python 2.7. Instead, it's recommended that you run python3 from within Terminal. (51097165)

Source: https://developer.apple.com/documentation/macos-release-notes/macos-catalina-10_15-release-notes

I can't find anything about this in Big Sur's release notes though.

Edit: I am not actively using Python 2, I'm simply wondering this since it might affect some 3rd party software which relies on the OS's Python installation.

Unlocking new Mac not working with Apple Watch

Posted: 16 Feb 2022 08:07 PM PST

I've grown accustomed to the convenience of being able to unlock my MacBook Pro with my Apple Watch, but I just got a new Mac Mini, and no matter what I do, it is not unlocking it for me.

I have checked "Use your Apple Watch to unlock apps and your Mac" in System Preferences → Security & Privacy → General. And I am able to use my watch to unlock (e.g.) settings in the Privacy tab of that same System Preferences pane, like Accessibility settings. I just can't unlock the computer itself.

What could be wrong? Why would this work on one computer and fail on another (newer) one?

No comments:

Post a Comment