(osx) device not automatically selected for lolin d32

Can you list all installed extensions?

ls /System/Library/Extensions/

sure - a little longer…
(maybe to tell the original problem again - only valid for CH34x based connections: the autoselect of the port is not working like expected. I have to select either manually or put it into the platform.ini - the platform.ini has the disadvantage that when changing the USB port I have to change it, also I work as well on a PC which is then conflicting with the port definition in the .ini)

Asterix:~ jipp$ ls -l /System/Library/Extensions/
total 0
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 ALF.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMD10000Controller.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMD7000Controller.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMD8000Controller.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMD9000Controller.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMD9500Controller.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDFramebuffer.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDMTLBronzeDriver.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDRadeonVADriver.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDRadeonVADriver2.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDRadeonX4000.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDRadeonX4000GLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDRadeonX4000HWServices.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDRadeonX5000.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDRadeonX5000GLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDRadeonX5000HWServices.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDRadeonX5000MTLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDRadeonX5000Shared.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDShared.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AMDSupport.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 Apple16X50Serial.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleACPIPlatform.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleAHCIPort.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleAPIC.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleAVEBridge.kext
drwxr-xr-x@ 3 root wheel 96 21 Sep 2018 AppleActuatorDriver.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleBCMWLANBusInterfacePCIe.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleBCMWLANCore.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleBCMWLANCoreV3_Datastore.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleBacklight.kext
drwxr-xr-x@ 6 root wheel 192 14 Mai 18:38 AppleBacklightExpert.kext
drwxr-xr-x@ 3 root wheel 96 12 Mär 04:54 AppleBluetoothDebug.kext
drwxr-xr-x@ 3 root wheel 96 12 Mär 04:54 AppleBluetoothDebugService.kext
drwxr-xr-x@ 3 root wheel 96 12 Mär 04:54 AppleBluetoothModule.kext
drwxr-xr-x@ 3 root wheel 96 21 Sep 2018 AppleBluetoothMultitouch.kext
drwxr-xr-x@ 3 root wheel 96 21 Sep 2018 AppleBluetoothRemote.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleBusPowerController.kext
drwxr-xr-x@ 3 root wheel 96 31 Aug 2018 AppleCameraInterface.kext
drwxr-xr-x@ 3 root wheel 96 12 Mär 05:00 AppleConvergedIPCOLYBTControl.kext
drwxr-xr-x@ 3 root wheel 96 12 Mär 04:59 AppleConvergedPCI.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleCredentialManager.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleEFIRuntime.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleEffaceableNOR.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleEffaceableStorage.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleEmbeddedOSSupportHost.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleFDEKeyStore.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleFIVRDriver.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleFSCompressionTypeDataless.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleFSCompressionTypeZlib.kext
drwxr-xr-x@ 3 root wheel 96 21 Aug 2018 AppleFWAudio.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleFileSystemDriver.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleFileUtil.kext
drwxr-xr-x@ 3 root wheel 96 24 Aug 2018 AppleGFXHDA.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleGraphicsControl.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleGraphicsPowerManagement.kext
drwxr-xr-x@ 3 root wheel 96 24 Aug 2018 AppleHDA.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleHIDALSService.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleHIDKeyboard.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleHIDMouse.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleHPET.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleHPM.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleHSSPIHIDDriver.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleHSSPISupport.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleHV.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleHWSensor.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIRController.kext
drwxr-xr-x@ 3 root wheel 96 21 Sep 2018 AppleInputDeviceSupport.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelBDWGraphics.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelBDWGraphicsFramebuffer.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelBDWGraphicsGLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelBDWGraphicsMTLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelBDWGraphicsVADriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelBDWGraphicsVAME.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelCFLGraphicsFramebuffer.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelCFLGraphicsVAME.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelCPUPowerManagement.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelCPUPowerManagementClient.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelFramebufferAzul.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelFramebufferCapri.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelGraphicsShared.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelHD4000Graphics.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelHD4000GraphicsGLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelHD4000GraphicsMTLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelHD4000GraphicsVADriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelHD5000Graphics.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelHD5000GraphicsGLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelHD5000GraphicsMTLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelHD5000GraphicsVADriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelHSWVA.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelIVBVA.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelKBLGraphics.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelKBLGraphicsFramebuffer.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelKBLGraphicsGLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelKBLGraphicsMTLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelKBLGraphicsVADriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelKBLGraphicsVAME.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelLpssDmac.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelLpssGspi.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelLpssI2C.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelLpssI2CController.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelLpssSpiController.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelLpssUARTCommon.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelLpssUARTv0.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelLpssUARTv1.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelMCEReporter.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelPCHPMC.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelSKLGraphics.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelSKLGraphicsFramebuffer.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelSKLGraphicsGLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelSKLGraphicsMTLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelSKLGraphicsVADriver.bundle
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 AppleIntelSKLGraphicsVAME.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleIntelSlowAdaptiveClocking.kext
drwxr-xr-x@ 3 root wheel 96 17 Aug 2018 AppleKextExcludeList.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleKeyStore.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleLPC.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleLSIFusionMPT.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleMCCSControl.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleMCP89RootPortPM.kext
drwxr-xr-x@ 3 root wheel 96 18 Aug 2018 AppleMIDIBluetoothDriver.plugin
drwxr-xr-x@ 3 root wheel 96 21 Aug 2018 AppleMIDIFWDriver.plugin
drwxr-xr-x@ 3 root wheel 96 18 Aug 2018 AppleMIDIIACDriver.plugin
drwxr-xr-x@ 3 root wheel 96 18 Aug 2018 AppleMIDIRTPDriver.plugin
drwxr-xr-x@ 3 root wheel 96 18 Aug 2018 AppleMIDIUSBDriver.plugin
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleMatch.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleMikeyHIDDriver.kext
drwxr-xr-x@ 3 root wheel 96 7 Jan 2019 AppleMobileDevice.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleMobileFileIntegrity.kext
drwxr-xr-x@ 3 root wheel 96 12 Mär 04:50 AppleMultiFunctionManager.kext
drwxr-xr-x@ 3 root wheel 96 21 Aug 2018 AppleMultitouchDriver.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleOSXUSBNCM.kext
drwxr-xr-x@ 3 root wheel 96 25 Aug 2018 AppleOSXWatchdog.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleOnboardSerial.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 ApplePlatformEnabler.kext
drwxr-xr-x@ 3 root wheel 96 13 Nov 2018 AppleQEMUHID.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleRAID.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleRAIDCard.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleRTC.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSDXC.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSEPManager.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSMBIOS.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSMBusController.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSMBusPCI.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSMC.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSMCLMU.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSMCRTC.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSRP.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSSE.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSmartBatteryManager.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleStorageDrivers.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleSystemPolicy.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleThunderboltDPAdapters.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleThunderboltEDMService.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleThunderboltIP.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleThunderboltNHI.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleThunderboltPCIAdapters.kext
drwxr-xr-x@ 3 root wheel 96 24 Aug 2018 AppleThunderboltUTDM.kext
drwxr-xr-x@ 3 root wheel 96 21 Sep 2018 AppleTopCase.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBACM.kext
drwxr-xr-x@ 3 root wheel 96 24 Aug 2018 AppleUSBAudio.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBCDC.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBCHCOM.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBCommon.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBDMM.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBDisplays.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBECM.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBEEM.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBEthernet.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBEthernetHost.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBFTDI.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBMultitouch.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBNCM.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBNetworking.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBPLCOM.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBRealtek8153Patcher.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBSerial.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBTopCase.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBWCM.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleUSBiBridge.kext
drwxr-xr-x@ 3 root wheel 96 24 Aug 2018 AppleUpstreamUserClient.kext
drwxr-xr-x@ 3 root wheel 96 21 Aug 2018 AppleVADriver.bundle
drwxr-xr-x@ 3 root wheel 96 13 Nov 2018 AppleVirtIO.kext
drwxr-xr-x@ 3 root wheel 96 13 Nov 2018 AppleVirtualGraphics.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleWWANAutoEject.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 AppleXsanScheme.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 Apple_iSight.kext
drwxr-xr-x@ 6 root wheel 192 14 Mai 18:38 AudioAUUC.kext
drwxr-xr-x@ 3 root wheel 96 13 Nov 2018 BCMWLANFirmware4355_Hashstore.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 BCMWLANFirmware4364_Hashstore.kext
drwxr-xr-x@ 3 root wheel 96 12 Mär 04:58 BCMWLANFirmware4377_Hashstore.kext
drwxr-xr-x 3 root wheel 96 7 Nov 2011 BJUSBLoad.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 BootCache.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 BridgeAudioCommunication.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 BridgeAudioController.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 CellPhoneHelper.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 CoreStorage.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 CoreTrust.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 DSACL.ppp
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 DSAuth.ppp
drwxr-xr-x@ 3 root wheel 96 18 Aug 2018 DVFamily.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 Dont Steal Mac OS X.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 EAP-KRB.ppp
drwxr-xr-x@ 3 root wheel 96 18 Aug 2018 EAP-RSA.ppp
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 EAP-TLS.ppp
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 GeForce.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 GeForceAIRPlugin.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 GeForceGLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 GeForceMTLDriver.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 GeForceVADriver.bundle
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 HFS.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 HFSEncodings.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IO80211Family.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IO80211FamilyV2.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOACPIFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOAHCIFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOATAFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOAVBFamily.kext
drwxr-xr-x@ 3 root wheel 96 21 Aug 2018 IOAccelerator2D.plugin
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOAcceleratorFamily2.kext
drwxr-xr-x@ 3 root wheel 96 24 Aug 2018 IOAudioFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOBDStorageFamily.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 IOBluetoothFamily.kext
drwxr-xr-x@ 3 root wheel 96 29 Aug 2018 IOBluetoothHIDDriver.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOBufferCopyController.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOBufferCopyEngineFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOCDStorageFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IODVDStorageFamily.kext
drwxr-xr-x@ 3 root wheel 96 21 Aug 2018 IOFireWireAVC.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOFireWireFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOFireWireIP.kext
drwxr-xr-x@ 3 root wheel 96 21 Aug 2018 IOFireWireSBP2.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOFireWireSerialBusProtocolTransport.kext
drwxr-xr-x@ 7 root wheel 224 14 Mai 18:38 IOGraphicsFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOHDIXController.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOHIDFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOImageLoader.kext
drwxr-xr-x@ 6 root wheel 192 14 Mai 18:38 IONDRVSupport.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IONVMeFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IONetworkingFamily.kext
drwxr-xr-x@ 6 root wheel 192 14 Mai 18:38 IOPCIFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOPlatformPluginFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOReportFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOSCSIArchitectureModelFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOSCSIParallelFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOSMBusFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOSerialFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOSkywalkFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOSlaveProcessor.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOSlowAdaptiveClockingFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOStorageFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOStreamFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOSurface.kext
drwxr-xr-x@ 3 root wheel 96 21 Aug 2018 IOThunderboltFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOTimeSyncFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOUSBAttachedSCSI.kext
drwxr-xr-x@ 3 root wheel 96 24 Aug 2018 IOUSBFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOUSBHostFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOUSBMassStorageClass.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOUSBMassStorageDriver.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOUserEthernet.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 IOVideoFamily.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 KXLog.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 KernelRelayHost.kext
drwxr-xr-x@ 3 root wheel 96 13 Nov 2018 KextAudit.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 L2TP.ppp
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 Libm.kext
drwxr-xr-x@ 3 root wheel 96 11 Jun 2018 NVDAGF100Hal.kext
drwxr-xr-x@ 3 root wheel 96 11 Jun 2018 NVDAGK100Hal.kext
drwxr-xr-x@ 3 root wheel 96 11 Jun 2018 NVDAResman.kext
drwxr-xr-x@ 3 root wheel 96 11 Jun 2018 NVDAStartup.kext
drwxr-xr-x@ 3 root wheel 96 21 Aug 2018 NVMeSMARTLib.plugin
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 NVSMU.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 OSvKernDSPLib.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 PPP.kext
drwxr-xr-x@ 3 root wheel 96 18 Aug 2018 PPPSerial.ppp
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 PPPoE.ppp
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 PPTP.ppp
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 Quarantine.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 Radius.ppp
drwxr-xr-x@ 3 root wheel 96 21 Aug 2018 SMARTLib.plugin
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 SMCMotionSensor.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 Sandbox.kext
drwxr-xr-x@ 6 root wheel 192 14 Mai 18:38 System.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 TMSafetyNet.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 acfs.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 acfsctl.kext
drwxr-xr-x@ 3 root wheel 96 31 Aug 2018 apfs.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 autofs.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 cd9660.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 cddafs.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 corecapture.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 corecrypto.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 eficheck.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 exfat.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 iPodDriver.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 mcxalr.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 msdosfs.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 ntfs.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 pmtelemetry.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 pthread.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 smbfs.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 triggers.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 udf.kext
drwxr-xr-x@ 3 root wheel 96 24 Aug 2018 vecLib.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 webcontentfilter.kext
drwxr-xr-x@ 3 root wheel 96 23 Aug 2018 webdav_fs.kext
Asterix:~ jipp$ ls -l /Library/Extensions/
total 0
drwxr-xr-x 3 root wheel 96 24 Apr 2018 ACS6x.kext
drwxr-xr-x 3 root wheel 96 8 Mai 2018 ATTOCelerityFC8.kext
drwxr-xr-x 3 root wheel 96 7 Mai 2018 ATTOExpressSASHBA2.kext
drwxr-xr-x 3 root wheel 96 7 Mai 2018 ATTOExpressSASRAID2.kext
drwxr-xr-x 3 root wheel 96 6 Sep 2017 ArcMSR.kext
drwxr-xr-x 3 root wheel 96 1 Sep 2013 CalDigitHDProDrv.kext
drwxr-xr-x 3 root wheel 96 4 Mai 2018 HighPointIOP.kext
drwxr-xr-x 3 root wheel 96 5 Dez 2017 HighPointRR.kext
drwxr-xr-x 3 root wheel 96 31 Mär 2017 PromiseSTEX.kext
drwxr-xr-x 3 root wheel 96 19 Jan 2018 SiLabsUSBDriver.kext
drwxr-xr-x 3 root wheel 96 25 Apr 2018 SoftRAID.kext
drwxr-xr-x 3 root wheel 96 4 Jul 2018 usbserial.kext

Hi

is there any update?
problem still persists.

cheers

You have three options:

1. Remove the usbserial driver

sudo rm -rf /Library/Extensions/usbserial.kext

2. Specify a port pattern

In platformio.ini, add:

upload_port = /dev/cu.wchusbserial*
monitor_port = /dev/cu.wchusbserial*

3. Purchase a better driver

Go to https://www.mac-usb-serial.com/ and purchase better drivers.

I have them installed and they are quite robust. Officially, they are limited to 230,400 bps. But for most chips they also work at double or four times the speed. I once had a question to the support and never got an answer.

macOS 10.15 was supposed to introduce user-mode USB-to-serial drivers but the documentation has disappeared from Apple’s web site with beta 3. So it’s obviously delay like many more things announced at WWDC '19. But chances still are that these drivers are obsolete soon.

1 Like

thx a lot for all the help. Just some comments to the options proposed:

  1. is not an option as it removes not the apple driver (which is not working), but the extra installed one (which is the working one). So after this it would not work at all anymore

  2. will work when only working on osx, but I use windows and osx in parallel

  3. as the apple included driver seems to be selected first by platform IO, the additional purchased driver would need to remove them first.

as a conclusion for me it would mean I continue like before and have to use separate platform.ini for windows and osx :frowning:
nevertheless platformio is my favorite ide for working on embedded systems. means it is only a small drawback.

thx again for all the help :slight_smile:

You might want to give option 1 another chance. macOS 10.14 Mojave comes with a CH340 driver that works for me. You seem to have it installed as well at /System/Library/Extensions/AppleUSBCHCOM.kext.

I’ve disabled the Repleo driver and successfully tested the Apple driver with a Lolin32 Lite board. It works nicely if you make a minor change to platformio.ini that should be compatible with Windows as well:

upload_speed = 460800

Similar to the Repleo drivers, the baud rate must be reduced…

Reduced? Don’t you mean increased? :stuck_out_tongue: PlatformIO has for some strange reason set the default baud at 115200 rather than sticking to the current ESP8266 Arduino default of 460800 (where setting the speed any higher will ‘automagically’ be limited to 460800). Which is itself due to an issue with esptool.py not working at 921600 baud with CH340/341 chips on linux (maybe also on Mac?) even though the maths indicates it should work perfectly.

That’s strange. If I remove the upload_speed line, it no longer works. So it works at 460,800, but not at 115,200? I will make more tests later today.

BTW:

Option 4 is to disable the Apple driver until the next boot:

sudo kextunload /System/Library/Extensions/AppleUSBCHCOM.kext
1 Like

Edit: I should have been clearer… I was referring to the ESP8266, not the ESP32 platform… my apologies! The ESP32s are probably still on 912600 - the lolin_d32 certainly is! However, since the commonality is the CH340 UARTs and esptool.py… the same baud rate issue should apply to both… if it doesn’t, that itself could be revealing as to the culprit.

Accounts from tests were that it works at 460800, but not at 912600, but does at 1000000 (which it shouldn’t)…

However, it seems to be something unix specific, as (for me at least) 912K worked just fine on Windows, but failed miserably on Linux, which tallies with experiences of others.

As far as I can tell from a quick look (and a commit from a few months ago changing a few others) the boards default back to 115200, i.e. like the d1_mini … but it is possible not ALL boards were set at that rate.

@pfeerick I just verified it: As you suspected the default upload speed for the ESP32 is 912,600. On my machine (both with the Apple and Repleo driver) it fails at that speed but works at half the speed.

@ivankravets Would it make sense to open an issue to lower the speed for all ESP32 boards that are known to use the CH340 USB-to-serial chip? It would help on Linux. And on macOS it might prevent people from installing the additional CH340 driver and then run into difficulties with the port detection due to duplicate devices.

1 Like

Hi

I tried option 4 and removed the Apple Driver - this works fine, but needs to be repeated after every reboot. - was stated above :slight_smile:

Did some tests on Mojave 10.14.6 with different upload speeds, but all fail. Could it be that that the native driver is broken on Mojave?

cheers

I don’t think so. It works reliably for me for speeds up to 460,800 bps.

How do they fail? What’s the error message?

log message:

esptool.py v2.6
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: /dev/cu.usbserial-1410
Uploading .pio/build/release/firmware.bin
esptool.py v2.6
Traceback (most recent call last):
Serial port /dev/cu.usbserial-1410
  File "/Users/wkeller/.platformio/packages/tool-esptoolpy/esptool.py", line 2959, in <module>
    _main()
  File "/Users/wkeller/.platformio/packages/tool-esptoolpy/esptool.py", line 2952, in _main
    main()
  File "/Users/wkeller/.platformio/packages/tool-esptoolpy/esptool.py", line 2652, in main
    esp = chip_class(each_port, initial_baud, args.trace)
  File "/Users/wkeller/.platformio/packages/tool-esptoolpy/esptool.py", line 222, in __init__
    self._port = serial.serial_for_url(port)
  File "/Users/wkeller/.platformio/penv/lib/python2.7/site-packages/serial/__init__.py", line 88, in serial_for_url
    instance.open()
  File "/Users/wkeller/.platformio/penv/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
    raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 16] could not open port /dev/cu.usbserial-1410: [Errno 16] Resource busy: '/dev/cu.usbserial-1410'
*** [upload] Error 1

platformio part:

[env:release]
platform = espressif32
board = lolin_d32
framework = arduino
lib_deps =
https://github.com/tzapu/WiFiManager.git#development
build_flags =
!python build_flags.py
monitor_speed = 115200
upload_speed = 460800
test_ignore = native

Resource busy very much looks as if there are still two drivers active.

Have you uninstalled the WCH driver? If so, have you first unloaded it? The procedure is:

  1. Unplug all devices with CH340 chip
  2. Unload driver: sudo kextunload /Library/Extensions/usbserial.kext/
  3. Remove driver: sudo rm -rf /Library/Extensions/usbserial.kext/

If you haven’t unloaded the driver before removing it, you will need to reboot your machine now.

If you haven’t uninstalled it yet, you should be able to test upload with the Apple driver by just unloading the WCH driver (usbserial.kext).

1 Like

Hi

good news. Your hints seem to do the trick. Summary:

  • remove all none native drivers (sudo rm -rf /Library/Extensions/usbserial.kext)
  • restart laptop
  • using of correct speed! (upload_speed = 460800) - other speeds are not reliable as far as I can say for now.

now the upload is working fine and no need to differentiate between windows and osx.

thx a lot.

1 Like