USB Devices not working on Catalina after water spilled over keyboard

The other day I spilled water on my MBP 2017 keyboard. I let it dry for 48 hours before turning it on again. And it ran fine.

Ever since that spill, however, I have not been able to use my USB wired mouse on my macbook. Power still runs through it (Charges my iPhone, Powers USB LED) but it does not detect any devices anymore like my USB Wired Mouse.
When I check System Report, it doesn’t state any devices plugged in.

  • I tested the mouse on my PC and it works fine.

  • I’ve tried several different USB C to A adapters. Same result.

  • I tried restarting several times.

Is this a software issue or perhaps it’s due to water damage?

EDIT: It still detects my USB Flash Drive, how is this possible?

Force bluetooth usb adapter Mac Catalina

I’m having trouble forcing my mac to stay connected to my external USB Bluetooth adapter on reboot/restart.

I’ve read quite a few posts and have found this command

sudo nvram bluetoothHostControllerSwitchBehavior=always

I was able to use Bluetooth Explorer and I switched it to the new bluetooth USB dongle but it will still not remain connected after reboot. Instead it remains disconnected and I have to reconnect it every time I restart my computer.

Is there another command that I can use that will keep it connected after reboot?

macbook pro – Bluetooth Connectivity in MacbookPro Touchbar 2017(latest catalina)

recently i bought a JBL Flip 5 speaker, first thing i did is connect it to my iPhone xr, the speaker was fine and then i connected it to my MacBook Pro 2017 then it starts stuttering, i let it be for a couple of minutes and the stutters just continues. while I’m observing the problem, my bluetooth keyboard just keep disconnecting and reconnecting, i tried disconnecting my bluetooth keyboard and the speaker worked fine for a couple of minutes then it starts stuttering again..

when i try to connect my jbl flip 5 again on my MacBook Pro, it will start just fine then it will stutter and it will disconnect itself, other times my Logitech mx master 2s will disconnect too

tried debug>restart my bluetooth module on mac but still the problem persist

any help on this bug?

kernel panic – Sleep wake failure (Catalina, MBP 2016)

I’ve been having a recurring issue where my MacBook Pro crashes while sleeping. Any indication if this is a hardware issue or something in software?

panic(cpu 0 caller 0xffffff8002616487): "AppleIntelFramebuffer::setPowerState(0xffffff834a90d000 : 0xffffff7f85ba8d88, 1 -> 0) timed out after 45939 ms"@/AppleInternal/BuildRoot/Library/Caches/
Backtrace (CPU 0), Frame : Return Address
0xffffffa3e8a13b40 : 0xffffff8001f215cd 
0xffffffa3e8a13b90 : 0xffffff800205a3c5 
0xffffffa3e8a13bd0 : 0xffffff800204bf7e 
0xffffffa3e8a13c20 : 0xffffff8001ec7a40 
0xffffffa3e8a13c40 : 0xffffff8001f20c97 
0xffffffa3e8a13d40 : 0xffffff8001f21087 
0xffffffa3e8a13d90 : 0xffffff80026c2c7c 
0xffffffa3e8a13e00 : 0xffffff8002616487 
0xffffffa3e8a13e50 : 0xffffff8002615d69 
0xffffffa3e8a13e60 : 0xffffff800262d2fe 
0xffffffa3e8a13ea0 : 0xffffff8002614b18 
0xffffffa3e8a13ec0 : 0xffffff8001f63545 
0xffffffa3e8a13f40 : 0xffffff8001f63071 
0xffffffa3e8a13fa0 : 0xffffff8001ec713e 

BSD process name corresponding to current thread: kernel_task
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:

Kernel version:
Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64
Kernel UUID: AB0AA7EE-3D03-3C21-91AD-5719D79D7AF6
Kernel slide:     0x0000000001c00000
Kernel text base: 0xffffff8001e00000
__HIB  text base: 0xffffff8001d00000
System model name: MacBookPro16,1 (Mac-E1008331FDC96864)
System shutdown begun: NO

System uptime in nanoseconds: 34317245501611
last loaded kext at 32801181302746: >usb.IOUSBHostHIDDevice 1.2 (addr 0xffffff7f85c44000, size 45056)
last unloaded kext at 33137231350415: >!UAudio  322.2 (addr 0xffffff7f8922d000, size 434176)
loaded kexts:
@kext.AMDRadeonX6000    3.0.8
@kext.AMDRadeonServiceManager   3.0.8
>!AGraphicsDevicePolicy 5.1.16
@AGDCPluginDisplayMetrics   5.1.16
@fileutil   20.036.15
>!AHV   1
|IOUserEthernet 1.0.1
|IO!BSerialManager  7.0.4f6
>!AUpstreamUserClient   3.6.8
>AGPM   111.4.4
>!APlatformEnabler  2.7.0d0
>X86PlatformShim    1.0.0
>pmtelemetry    1
>!A!IKBLGraphics    14.0.5
@Dont_Steal_Mac_OS_X    7.0.0
>AGDCBacklightControl   5.1.16
>BridgeAudioCommunication   6.70.3
>!AThunderboltIP    3.1.4
>!ATopCaseHIDEventDriver    3430.1
>!AGFXHDA   100.1.426
>!AAVEBridge    6.1
>!A!IPCHPMC 2.0.1
>!A!ICFLGraphicsFramebuffer 14.0.5
>!AMuxControl2  5.1.16
>!AHIDALSService    1
>!ABridgeAudio!C    6.70.3
>!A!ISlowAdaptiveClocking   4.0.0
>!AMCCSControl  1.11
@filesystems.autofs 3.0
>BCMWLANFirmware4355.Hashstore  1
>BCMWLANFirmware4364.Hashstore  1
>BCMWLANFirmware4377.Hashstore  1
>!ABCMWLANBusInterfacePCIe  1
@filesystems.hfs.kext   522.100.5
@BootCache  40
@!AFSCompression.!AFSCompressionTypeDataless    1.0.0d1
@!AFSCompression.!AFSCompressionTypeZlib    1.0.0
>!AVirtIO   1.0
@filesystems.apfs   1412.101.1
@private.KextAudit  1.0
>!ASmartBatteryManager  161.0.0
>!AACPIButtons  6.1
>!ASMBIOS   2.1
>!AACPIEC   6.1
>!AAPIC 1.7
$!AImage4   1
@nke.applicationfirewall    303
$TMSafetyNet    8
@!ASystemPolicy 2.0.0
|EndpointSecurity   1
@kext.AMDRadeonX6100HWLibs  1.0
@kext.AMDRadeonX6000HWServices  3.0.8
|IOAVB!F    840.3
>!ASSE  1.0
@kext.AMDRadeonX6000Framebuffer 3.0.8
@!AGPUWrangler  5.1.16
>!ABacklightExpert  1.1.0
>!AHIDKeyboard  209
>!AHS!BDriver   3430.1
>IO!BHIDDriver  7.0.4f6
|IONDRVSupport  575.1
>!AActuatorDriver   3440.1
>!AMultitouchDriver 3440.1
>!AInputDeviceSupport   3440.8
@kext.AMDSupport    3.0.8
|IOAccelerator!F2   438.4.5
@!AGraphicsDeviceControl    5.1.16
>!AGraphicsControl  5.1.16
>X86PlatformPlugin  1.0.0
>IOPlatformPlugin!F 6.0.0d8
|IO!BHost!CUARTTransport    7.0.4f6
|IO!BHost!CTransport    7.0.4f6
>!A!ILpssUARTv1 3.0.60
>!A!ILpssUARTCommon 3.0.60
>!AOnboardSerial    1.0
|IOSlowAdaptiveClocking!F   1.0.0
>!ASMBus!C  1.0.18d1
|IOGraphics!F   575.1
@plugin.IOgPTPPlugin    840.3
|IOEthernetAVB!C    1.1.0
@kext.triggers  1.0
>usb.cdc.ncm    5.0.0
>usb.cdc    5.0.0
>usb.networking 5.0.0
>usb.!UHostCompositeDevice  1.2
>!ABCMWLANCore  1.0.0
>mDNSOffloadUserClient  1.0.1b8
>IOImageLoader  1.0.0
|IO80211!FV2    1200.12.2b1
>corecapture    1.0.4
|IOSkywalk!F    1
|IOSurface  269.11
@filesystems.hfs.encodings.kext 1
|IOAudio!F  300.2
@vecLib.kext    1.2.0
|IOSerial!F 11
>usb.!UVHCIBCE  1.2
>usb.!UVHCI 1.2
>usb.!UVHCICommonBCE    1.0
>usb.!UVHCICommon   1.0
>!AEffaceableNOR    1.0
|IOBufferCopy!C 1.1.0
|IOBufferCopyEngine!F   1
|IONVMe!F   2.1.0
>!AThunderboltPCIDownAdapter    2.5.4
>!AThunderboltDPInAdapter   6.2.6
>!AThunderboltDPAdapter!F   6.2.6
>!AHPM  3.4.4
>!A!ILpssI2C!C  3.0.60
>!A!ILpssDmac   3.0.60
>!A!ILpssI2C    3.0.60
>!AThunderboltNHI   5.8.6
|IOThunderbolt!F    7.6.0
|IOUSB!F    900.4.2
>usb.!UXHCIPCI  1.2
>usb.!UXHCI 1.2
>!AEFIRuntime   2.1
>!ASMCRTC   1.0
|IOSMBus!F  1.1
|IOHID!F    2.0.0
$quarantine 4
$sandbox    300.0
@kext.!AMatch   1.0.0d1
>!AKeyStore 2
>!UTDM  489.101.1
|IOSCSIBlockCommandsDevice  422.101.1
>!ACredentialManager    1.0
>KernelRelayHost    1
>!ASEPManager   1.0.1
>IOSlaveProcessor   1
>!AFDEKeyStore  28.30
>!AEffaceable!S 1.0
>!AMobileFileIntegrity  1.0.5
@kext.CoreTrust 1
|CoreAnalytics!F    1
|IOTimeSync!F   840.3
|IONetworking!F 3.4
>DiskImages 493.0.0
|IO!B!F 7.0.4f6
|IO!BPacketLogger   7.0.4f6
|IOUSBMass!SDriver  157.101.3
|IOSCSIArchitectureModel!F  422.101.1
|IO!S!F 2.1
|IOUSBHost!F    1.2
>usb.!UCommon   1.0
>!UHostMergeProperties  1.2
>!ABusPower!C   1.0
|IOReport!F 47
>!AACPIPlatform 6.1
>!ASMC  3.1.9
>watchdog   1
|IOPCI!F    2.9
|IOACPI!F   1.4
@kec.pthread    1
@kec.corecrypto 1.0
@kec.Libm   1

catalina – New MacBook Pro failed on OS reinstall, how do I get it out of Internet Recovery Mode?

I just got a new 16″ MacBook Pro but things have gone awry while migrating my data from another Mac. Would appreciate any advice you might have.

When I opened the new computer, I turned it on and made a new account just to make sure it worked. Seeing that it did, I began the data migration process from my old MBP (still running Mojave) using Migration Assistant. The migration seemed to be going ridiculously slowly to the point that I thought it was frozen. I then realized that I could get all the data from Time Machine on my backup drive, so I cancelled the process.

To make sure I had a clean start again, I rebooted the new computer in recovery mode and reinstalled MacOS Catalina. But unfortunately this stopped halfway through claiming there was an internet problem (I was seated right next to my router).

After this point, whenever I restarted the computer, it would either flash the folder with the question mark (i.e. no bootable drive found) or it would enter internet recovery mode. In the case of the latter, I would enter my wifi password and then it would gyrate for about 10 minutes until it gave up, showing the failed globe icon along with the message “ -2002F“. I wasn’t able to enter the typical recovery menu at all.

Now no matter what I do, it boots into internet recovery mode: booting up normally, holding CMD + R, holding Option + Cmd + R, etc. I have created and inserted two bootable USB drives into the computer, one with Catalina and the other with Mojave. When I hold Option while starting up, it correctly displays the two drives (and the wifi menu underneath). But when either is selected, it goes back into internet recovery mode anyway.

Has anyone else experienced problems like this? Anything else I can try? I’m very excited to use my new machine but this is proving to be immensely frustrating so far. Thanks for your time!

catalina – Why is my Dock hiding every time I open a “fan” folder?

I have Automatically hide and show the Dock disabled in System Preferences. But suddenly this morning, any time I open a “View content as: Fan” folder from my Dock, the Dock hides itself when I close the fan. I need to use CommandOptionD or right click and select “Turn Hiding Off” repeatedly after every time I open any folder that’s in “fan” view

I just upgraded to Mac OS X Catalina 10.15.5 this morning. Is this a bug? Or is there some setting on my machine I should adjust?

(Note that Automatically hide and show the Dock does not change, but the context menu “Turn Hiding on/off” changes every time I open a “fan” folder)

catalina – Laptop shutdown without low-battery warning?

Low battery shutdown is a popular topic:

Macbook Pro 2012 shutsdown suddenly at 25% battery

MacBook shut down at 20% battery with no warning? (duplicate)

This is a 2012 MacBook Air which I replaced the battery thanks to iFixit in November 2019. I’ve re-calibrated the battery three times (at install and twice after). And still, when the battery get’s below 20% the computer may shutdown suddenly without warning.

Then, I found a CLI command reporting battery health. I was surprised to discover a low battery warning here, before a GUI warning:

xtian ~ % pmset -g batt                    
Now drawing from 'Battery Power'
 -InternalBattery-0 (id=6750307)    17%; discharging; 0:39 remaining present: true
xtian ~ % pmset -g batt 
Now drawing from 'Battery Power'
 -InternalBattery-0 (id=6750307)    17%; discharging; 0:46 remaining present: true
xtian ~ % pmset -g batt 
Now drawing from 'Battery Power'
 -InternalBattery-0 (id=6750307)    11%; discharging; 0:17 remaining present: true
    Battery Warning: Early

The OS update announcements, iMessage announcements, all manner of those little card notifications–but not one for a low battery. Now I see a CLI text warning, so why does my–Laptop shutdown without battery warning?

Permissions to reset idle time on MacOS Catalina with Swift

I’m trying to reset HIDIdleTime to simulate activity programmatically on MacOs Catalina.

I looked at this post How to reset HIDIdleTime on macOS 10.14 and came up with the following solution from the comments:

let service = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("IOHIDSystem"))
let result = IOServiceOpen(service, mach_task_self_, UInt32(kIOHIDParamConnectType), &connect)

IOHIDSetStateForSelector(connect, 3, 0) // fails

but I get the following error message: IORegistryEntrySetCFProperty Failed for kIOHIDActivityUserIdleKey with err : 0xe00002e2

I checked here and looks like it’s a permission issue.

I gave the app Accessibility privileges but it doesn’t help.

How can I set up the permissions (via code? or in the system preferences?) to be able to execute the call to IOHIDSetStateForSelector?

hard drive – Time Machine and “Completed Verification” on shared HDD, Catalina

Good day.

Here is my setup:

  • MBP 16 1tb
  • Keenetic Giga router (it’s a widespread brand name here, ex-zyxel something)
  • HDD, a Seagate 4TB divided in 2 partitions. It
    was first formatted with Disk Utility to HFS+ (GUID), then split up to same HFS+ for Time Machine partition (3tb) and NTFS partition for media sharing (1tb).

I set up my router to share HDD with both AFP or SMB (I can choose), it has dedicated Time Machine support through all the menus so it should be fine.

On initial sync TM never actually finishes. It takes like 8 hours to sync up to 400 gb over WiFi, then it stops and I get a “Time Machine must create a new backup” message. It then starts over with no luck.

I spent several days googling and it seems really common. Although all fixes (I don’t know if they work though) were made in preCatalina time. As I understand, Catalina has changed the way TM files are named (no more .sparcebundle files) so I can’t even try.

I even had a chat with Apple Support, they advised to check disk with Disk Utility (it’s fine) and try again (did not work).

Is there any way to fix this?