Wouter1 / EMU-driver

OSX Kernel extension for Creative Labs EMU driver
189 stars 30 forks source link

ARM M1 issue Incompatible architecture: Cannot find arm64e in fat binary #136

Open bezromval opened 3 years ago

bezromval commented 3 years ago

The installer report is:

Error Domain=KMErrorDomain Code=3 "Error occurred unloading extensions: Missing extension with identifier com.emu.driver.EMUUSBAudio : Incompatible architecture: Cannot find arm64e in fat binary
Incompatible architecture: Binary is for x86_64, but needed arch arm64e" UserInfo={NSLocalizedDescription=Error occurred unloading extensions: Missing extension with identifier com.emu.driver.EMUUSBAudio : Incompatible architecture: Cannot find arm64e in fat binary
Incompatible architecture: Binary is for x86_64, but needed arch arm64e}
Error Domain=KMErrorDomain Code=71 "Incompatible architecture: Binary is for x86_64, but needed arch arm64e" UserInfo={NSLocalizedDescription=Incompatible architecture: Binary is for x86_64, but needed arch arm64e}
Waiting for the system to finish installation. Can take several minutes.
Executing: /usr/bin/kmutil install --volume-root / --check-rebuild
Rebuilding the kernel
Driver is installed and ready for use!
You can close this window.
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Wouter1 commented 3 years ago

Trying to rename the whole copy to IOSyncer2 to avoid name collision

Wouter1 commented 3 years ago

It works on my test machine. Let's give it a try on M1

Wouter1 commented 3 years ago

@bezromval I updated the code, hopefully that adresses the issue that appeared in the output that you posted. Can you retry?

bezromval commented 3 years ago

e-mu appears in sound devices but output not working and there is no any controls in output. And when i turned off e-mu there was some panic with this report after rebooting:

panic(cpu 3 caller 0xfffffe001b52ff94): "lck_mtx_assert(): mutex (0xfffffe2335631e90) not owned" Debugger message: panic Memory ID: 0x6 OS release type: User OS version: 20D91 Kernel version: Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 Fileset Kernelcache UUID: F78A48EC84D7C3283E7C6C67D00889A7 Kernel UUID: 9FE8C0DA-8ED0-381C-9CEC-2A779F3E1503 iBoot version: iBoot-6723.81.1 secure boot?: YES Paniclog version: 13 KernelCache slide: 0x00000000137d0000 KernelCache base: 0xfffffe001a7d4000 Kernel slide: 0x0000000014304000 Kernel text base: 0xfffffe001b308000 Kernel text exec base: 0xfffffe001b3d0000 mach_absolute_time: 0x7f69c3a5 Epoch Time: sec usec Boot : 0x6054b5c2 0x0004b1bf Sleep : 0x00000000 0x00000000 Wake : 0x00000000 0x00000000 Calendar: 0x6054b614 0x000b025d

CORE 0 recently retired instr at 0xfffffe001b53ac0c CORE 1 recently retired instr at 0xfffffe001b53ac0c CORE 2 recently retired instr at 0xfffffe001b53ac0c CORE 3 recently retired instr at 0xfffffe001b539748 CORE 4 recently retired instr at 0xfffffe001b53ac10 CORE 5 recently retired instr at 0xfffffe001b53ac10 CORE 6 recently retired instr at 0xfffffe001b53ac10 CORE 7 recently retired instr at 0xfffffe001b53ac10 Panicked task 0xfffffe166e106550: 2021 pages, 11 threads: pid 437: coreaudiod Panicked thread: 0xfffffe16730b0cb0, backtrace: 0xfffffe3fe1143490, tid: 11379 lr: 0xfffffe001b41dfd0 fp: 0xfffffe3fe1143500 lr: 0xfffffe001b41dd9c fp: 0xfffffe3fe1143570 lr: 0xfffffe001b53ff0c fp: 0xfffffe3fe1143590 lr: 0xfffffe001b5318b8 fp: 0xfffffe3fe1143640 lr: 0xfffffe001b3d77e8 fp: 0xfffffe3fe1143650 lr: 0xfffffe001b41da2c fp: 0xfffffe3fe11439e0 lr: 0xfffffe001b41da2c fp: 0xfffffe3fe1143a50 lr: 0xfffffe001bbb865c fp: 0xfffffe3fe1143a70 lr: 0xfffffe001b52ff94 fp: 0xfffffe3fe1143a90 lr: 0xfffffe001ba8d69c fp: 0xfffffe3fe1143ab0 lr: 0xfffffe001a6c09e0 fp: 0xfffffe3fe1143af0 lr: 0xfffffe001b4fe7d8 fp: 0xfffffe3fe1143b50 lr: 0xfffffe001b422fb0 fp: 0xfffffe3fe1143bc0 lr: 0xfffffe001b3fb9dc fp: 0xfffffe3fe1143c40 lr: 0xfffffe001b424124 fp: 0xfffffe3fe1143c70 lr: 0xfffffe001b40aff0 fp: 0xfffffe3fe1143d10 lr: 0xfffffe001b414bf4 fp: 0xfffffe3fe1143d50 lr: 0xfffffe001b4126e8 fp: 0xfffffe3fe1143d70 lr: 0xfffffe001b5252d8 fp: 0xfffffe3fe1143e40 lr: 0xfffffe001b53192c fp: 0xfffffe3fe1143ef0 lr: 0xfffffe001b3d77e8 fp: 0xfffffe3fe1143f00 Kernel Extensions in backtrace: com.emu.driver.EMUUSBAudio(4.1)[793BBAA1-B3AA-3CED-A418-9FB2AA150B5D]@0xfffffe001a6a4000->0xfffffe001a6cffff dependency: com.apple.iokit.IOAudioFamily(300.6.1)[8F3BCABA-5A95-3E59-BCA4-563D59AC1339]@0xfffffe001d2dc000->0xfffffe001d303fff dependency: com.apple.iokit.IOUSBHostFamily(1.2)[60A0F164-C469-34AD-A787-F64C60948655]@0xfffffe001db94000->0xfffffe001dc4bfff

last started kext at 746195861: com.apple.filesystems.autofs 3.0 (addr 0xfffffe001b280000, size 16384) loaded kexts: com.emu.driver.EMUUSBAudio 4.1.0 com.apple.filesystems.autofs 3.0 com.apple.fileutil 20.036.15 com.apple.driver.AppleBluetoothMultitouch 99 com.apple.driver.AppleTopCaseHIDEventDriver 4030.5 com.apple.iokit.IOBluetoothSerialManager 8.0.3d9 com.apple.driver.AppleBiometricServices 1 com.apple.driver.BCMWLANFirmware4378.Hashstore 1 com.apple.driver.CoreKDL 1 com.apple.driver.SEPHibernation 1 com.apple.driver.DiskImages.ReadWriteDiskImage 493.0.0 com.apple.driver.DiskImages.UDIFDiskImage 493.0.0 com.apple.driver.DiskImages.RAMBackingStore 493.0.0 com.apple.driver.DiskImages.FileBackingStore 493.0.0 com.apple.driver.AppleUSBDeviceNCM 5.0.0 com.apple.driver.AppleThunderboltIP 4.0.3 com.apple.driver.AppleSmartBatteryManager 161.0.0 com.apple.driver.AppleALSColorSensor 1.0.0d1 com.apple.filesystems.apfs 1677.81.1 com.apple.driver.AppleAOPVoiceTrigger 11.5 com.apple.driver.AppleFileSystemDriver 3.0.1 com.apple.nke.l2tp 1.9 com.apple.filesystems.tmpfs 1 com.apple.driver.ApplePMP 1 com.apple.IOTextEncryptionFamily 1.0.0 com.apple.filesystems.hfs.kext 556.60.1 com.apple.security.BootPolicy 1 com.apple.BootCache 40 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0 com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1 com.apple.driver.AppleCS42L83Audio 437.96 com.apple.driver.AppleSmartIO2 1 com.apple.driver.ApplePMPFirmware 1 com.apple.driver.AppleAVD 376 com.apple.AppleEmbeddedSimpleSPINORFlasher 1 com.apple.driver.AppleMobileDispH13G-DCP 140.0 com.apple.driver.AppleTAS5770LAmp 437.96 com.apple.driver.AppleSPMIPMU 1.0.1 com.apple.driver.AppleDPDisplayTCON 1 com.apple.driver.AppleAVE2 401.63.3 com.apple.AGXG13G 172.26.2 com.apple.driver.AppleJPEGDriver 4.6.0 com.apple.driver.AppleT8020SOCTuner 1 com.apple.driver.AppleT8103CLPCv3 1 com.apple.driver.usb.AppleUSBHostT8103 1 com.apple.driver.AudioDMAController-T8103 1.59 com.apple.driver.AppleS5L8960XNCO 1 com.apple.driver.AppleT8103PMGR 1 com.apple.driver.AppleS8000AES 1 com.apple.driver.AppleS8000DWI 1.0.0d1 com.apple.driver.AppleS5L8960XWatchDogTimer 1 com.apple.driver.AppleInterruptController 1.0.0d1 com.apple.driver.AppleM68Buttons 1.0.0d1 com.apple.driver.AppleT8020DART 1 com.apple.driver.AppleBluetoothModule 1 com.apple.driver.AppleSamsungSerial 1.0.0d1 com.apple.driver.AppleBCMWLANBusInterfacePCIe 1 com.apple.driver.AppleS5L8920XPWM 1.0.0d1 com.apple.driver.AppleS5L8940XI2C 1.0.0d2 com.apple.driver.AppleSPIMC 1 com.apple.driver.AppleT8101 1 com.apple.iokit.IOUserEthernet 1.0.1 com.apple.iokit.IOKitRegistryCompatibility 1 com.apple.iokit.EndpointSecurity 1 com.apple.driver.AppleDiskImages2 1 com.apple.AppleSystemPolicy 2.0.0 com.apple.nke.applicationfirewall 310 com.apple.kec.InvalidateHmac 1 com.apple.kext.triggers 1.0 com.apple.driver.AppleHIDKeyboard 223 com.apple.driver.AppleActuatorDriver 4400.28 com.apple.driver.AppleMultitouchDriver 4400.28 com.apple.driver.AppleHSBluetoothDriver 4030.5 com.apple.driver.IOBluetoothHIDDriver 8.0.3d9 com.apple.iokit.IOAVBFamily 930.1 com.apple.plugin.IOgPTPPlugin 900.11 com.apple.iokit.IOEthernetAVBController 1.1.0 com.apple.driver.AppleMesaSEPDriver 100.99 com.apple.iokit.IOBiometricFamily 1 com.apple.driver.usb.cdc 5.0.0 com.apple.driver.AppleUSBAudio 401.4 com.apple.iokit.IOAudioFamily 300.6.1 com.apple.vecLib.kext 1.2.0 com.apple.driver.IOBluetoothHostControllerPCIeTransport 8.0.3d9 com.apple.iokit.IOBluetoothHostControllerTransport 8.0.3d9 com.apple.driver.AppleConvergedIPCOLYBTControl 1 com.apple.driver.AppleConvergedPCI 1 com.apple.driver.AppleBluetoothDebug 1 com.apple.driver.AppleSEPHDCPManager 1.0.1 com.apple.iokit.AppleSEPGenericTransfer 1 com.apple.driver.DiskImages.KernelBacked 493.0.0 com.apple.driver.AppleBTM 1.0.1 com.apple.driver.usb.networking 5.0.0 com.apple.driver.AppleThunderboltPCIDownAdapter 4.1.1 com.apple.driver.AppleThunderboltUSBDownAdapter 1.0.4 com.apple.driver.AppleThunderboltDPInAdapter 8.1.4 com.apple.driver.AppleThunderboltDPAdapterFamily 8.1.4 com.apple.driver.AppleXsanScheme 3 com.apple.driver.AppleAOPAudio 14.32 com.apple.driver.AppleHIDTransportSPI 4400.35 com.apple.driver.AppleHIDTransport 4400.35 com.apple.driver.AppleInputDeviceSupport 4400.35 com.apple.driver.AppleDCPDPTXProxy 1.0.0 com.apple.driver.DCPDPFamilyProxy 1 com.apple.nke.ppp 1.9 com.apple.driver.AppleBSDKextStarter 3 com.apple.filesystems.hfs.encodings.kext 1 com.apple.AGXFirmwareKextG13GRTBuddy 172.26.2 com.apple.AGXFirmwareKextRTBuddy64 172.26.2 com.apple.driver.DCPAVFamilyProxy 1 com.apple.driver.AppleCSEmbeddedAudio 437.96 com.apple.driver.AppleDiagnosticDataAccessReadOnly 1.0.0 com.apple.iokit.IONVMeFamily 2.1.0 com.apple.driver.AppleNANDConfigAccess 1.0.0 com.apple.driver.AppleSPU 1 com.apple.iokit.IOMobileGraphicsFamily-DCP 343.0.0 com.apple.driver.AppleDCP 1 com.apple.driver.AppleFirmwareKit 1 com.apple.iokit.IOMobileGraphicsFamily 343.0.0 com.apple.driver.AppleEmbeddedAudio 437.96 com.apple.iokit.AppleARMIISAudio 80.34 com.apple.driver.AppleStockholmControl 1.0.0 com.apple.driver.AppleHPM 3.4.4 com.apple.driver.AppleDialogPMU 1.0.1 com.apple.iokit.IOGPUFamily 20.23 com.apple.driver.AppleH13CameraInterface 2.82.0 com.apple.driver.AppleH10PearlCameraInterface 14.70.0 com.apple.driver.AppleH11ANEInterface 4.52.0 com.apple.driver.ApplePassthroughPPM 3.0 com.apple.driver.AppleSPMI 1.0.1 com.apple.driver.AppleUSBXDCIARM 1.0 com.apple.driver.AppleUSBXDCI 1.0 com.apple.iokit.IOUSBDeviceFamily 2.0.0 com.apple.driver.usb.AppleUSBXHCIARM 1 com.apple.driver.usb.AppleUSBXHCI 1.2 com.apple.driver.AppleEmbeddedUSBHost 1 com.apple.driver.usb.AppleUSBHub 1.2 com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2 com.apple.driver.AppleT8103TypeCPhy 1 com.apple.driver.AppleSART 1 com.apple.driver.ApplePMGR 1 com.apple.driver.watchdog 1 com.apple.driver.usb.AppleUSBHostPacketFilter 1.0 com.apple.driver.AppleMobileApNonce 1 com.apple.driver.AppleDisplayCrossbar 1.0.0 com.apple.iokit.IODisplayPortFamily 1.0.0 com.apple.driver.AppleTypeCPhy 1 com.apple.driver.AppleThunderboltNHI 7.2.8 com.apple.driver.AppleT8103PCIeC 1 com.apple.iokit.IOThunderboltFamily 9.3.2 com.apple.driver.ApplePIODMA 1 com.apple.driver.AppleT8103PCIe 1 com.apple.driver.AppleBluetoothDebugService 1 com.apple.driver.AppleBCMWLANCore 1.0.0 com.apple.iokit.IO80211FamilyV2 1200.12.2b1 com.apple.driver.IOImageLoader 1.0.0 com.apple.driver.AppleMCA2-T8103 510.72 com.apple.driver.AppleGPIOICController 1.0.2 com.apple.driver.AppleFireStormErrorHandler 1 com.apple.driver.AppleMultiFunctionManager 1 com.apple.driver.corecapture 1.0.4 com.apple.driver.AppleEmbeddedPCIE 1 com.apple.iokit.IOTimeSyncFamily 900.11 com.apple.driver.DiskImages 493.0.0 com.apple.iokit.IOGraphicsFamily 585 com.apple.iokit.IOBluetoothFamily 8.0.3d9 com.apple.iokit.IOBluetoothPacketLogger 8.0.3d9 com.apple.driver.FairPlayIOKit 68.6.0 com.apple.iokit.CoreAnalyticsFamily 1 com.apple.driver.AppleSSE 1.0 com.apple.driver.AppleSEPKeyStore 2 com.apple.driver.AppleUSBTDM 511.60.2 com.apple.iokit.IOUSBMassStorageDriver 184.40.6 com.apple.iokit.IOPCIFamily 2.9 com.apple.iokit.IOSCSIBlockCommandsDevice 436.40.6 com.apple.iokit.IOSCSIArchitectureModelFamily 436.40.6 com.apple.driver.AppleIPAppender 1.0 com.apple.driver.AppleFDEKeyStore 28.30 com.apple.driver.AppleEffaceableStorage 1.0 com.apple.driver.AppleCredentialManager 1.0 com.apple.driver.KernelRelayHost 1 com.apple.iokit.IOUSBHostFamily 1.2 com.apple.driver.AppleUSBHostMergeProperties 1.2 com.apple.driver.usb.AppleUSBCommon 1.0 com.apple.driver.AppleSMC 3.1.9 com.apple.driver.RTBuddy 1.0.0 com.apple.driver.AppleEmbeddedTempSensor 1.0.0 com.apple.driver.AppleARMPMU 1.0 com.apple.iokit.IOAccessoryManager 1.0.0 com.apple.driver.AppleOnboardSerial 1.0 com.apple.iokit.IOSkywalkFamily 1 com.apple.driver.mDNSOffloadUserClient 1.0.1b8 com.apple.iokit.IONetworkingFamily 3.4 com.apple.iokit.IOSerialFamily 11 com.apple.driver.AppleSEPManager 1.0.1 com.apple.driver.AppleA7IOP 1.0.2 com.apple.driver.IOSlaveProcessor 1 com.apple.driver.AppleBiometricSensor 2 com.apple.iokit.IOHIDFamily 2.0.0 com.apple.AUC 1.0 com.apple.iokit.IOAVFamily 1.0.0 com.apple.iokit.IOHDCPFamily 1.0.0 com.apple.iokit.IOCECFamily 1 com.apple.iokit.IOAudio2Family 1.0 com.apple.driver.AppleEmbeddedAudioLibs 1.17 com.apple.driver.AppleFirmwareUpdateKext 1 com.apple.driver.AppleM2ScalerCSCDriver 265.0.0 com.apple.iokit.IOSurface 289.3 com.apple.driver.IODARTFamily 1 com.apple.security.quarantine 4 com.apple.security.sandbox 300.0 com.apple.kext.AppleMatch 1.0.0d1 com.apple.driver.AppleMobileFileIntegrity 1.0.5 com.apple.kext.CoreTrust 1 com.apple.security.AppleImage4 3.0.0 com.apple.iokit.IOCryptoAcceleratorFamily 1.0.1 com.apple.driver.AppleARMPlatform 1.0.2 com.apple.iokit.IOStorageFamily 2.1 com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0 com.apple.iokit.IOReportFamily 47 com.apple.kec.pthread 1 com.apple.kec.corecrypto 11.1 com.apple.kec.Libm 1

Stackshot Succeeded Bytes Traced 268266 (Uncompressed 678560) **

Wouter1 commented 3 years ago

@bezromval thanks for the report. So the driver now loads. We're heading in the right direction.

If I understand correctly, your machine only crashed when you turned off the emu. That gives more possibilities to see what is going on.

Can you report the console output and post the EMUUSB messages? Don't turn off the driver until you have copied the text into a file.

Wouter1 commented 3 years ago

If the IOSyncer remains an issue, we may need other syncing/locking. https://flylib.com/books/en/3.126.1.120/1/

Wouter1 commented 3 years ago

@philippgadow thanks for confirming.

bezromval commented 3 years ago

Last login: Sat Mar 20 15:20:20 on console bezromval@MacBook-Air ~ % sudo kextload /Library/Extensions/EMUUSBAudio.kext Password: Executing: /usr/bin/kmutil load -p /Library/Extensions/EMUUSBAudio.kext bezromval@MacBook-Air ~ % sudo kextutil -t /Library/Extensions/EMUUSBAudio.kext Executing: /usr/bin/kmutil load --bundle-path /Library/Extensions/EMUUSBAudio.kext bezromval@MacBook-Air ~ %

bezromval commented 3 years ago

now the e-mu is in my audio devices but in System Preferences/Sound in Tab Output there is a message "The selected device has no output controls" E-mu can't play any sound and can't record too. see screenshots https://cloud.mail.ru/public/z85f/EDBBbW5jr

Wouter1 commented 3 years ago

@bezromval FYI you can post images here by just dropping them in.

Screenshot 2021-03-20 at 15 27 12 Screenshot 2021-03-20 at 15 27 56
Wouter1 commented 3 years ago

@bezromval Ah you have a tracker pre, not a 0404. That complicates matters because there are some known issues with the other types. Some people had to mess with the midi audio controls to get that working, Getting the number of channels correct. but I don't know the details.

Wouter1 commented 3 years ago

@bezromval that input value looks nonzero to me. Is that some sort of signal?

Wouter1 commented 3 years ago

@bezromval Can you report the console output and post the EMUUSB messages?

bezromval commented 3 years ago

@bezromval Ah you have a tracker pre, not a 0404. That complicates matters because there are some known issues with the other types. Some people had to mess with the midi audio controls to get that working, Getting the number of channels correct. but I don't know the details.

In previous Mac OSes your kext works perfect without any additional settings.

bezromval commented 3 years ago

@bezromval Can you report the console output and post the EMUUSB messages?

How can I do that?

Wouter1 commented 3 years ago

@bezromval It's explained on the https://github.com/Wouter1/EMU-driver/blob/master/FAQ.md , "How do I make a system log of a mal-functioning driver?".

bezromval commented 3 years ago

Ok. This is when I turned on the E-mu стандартное 12:43:16.357088+0300 kernel Sound assertion "nullptr == thisUnitIDNum" failed in "/Users/wouter/Desktop/EMU-driver/src/EMUUSBAudio/EMUUSBAudioDevice.cpp" at line 2050 goto Exit стандартное 12:43:16.378187+0300 kernel Sound assertion "nullptr == thisUnitIDNum" failed in "/Users/wouter/Desktop/EMU-driver/src/EMUUSBAudio/EMUUSBAudioDevice.cpp" at line 2050 goto Exit стандартное 12:43:16.399398+0300 kernel +findPipe: dir=1, type = 3 стандартное 12:43:16.399405+0300 kernel endpoint found: epDirection = 1, epType = 3 стандартное 12:43:16.402595+0300 kernel -findpipe: success стандартное 12:43:16.404090+0300 kernel +EMUUSBAudioEngine[]::start () стандартное 12:43:16.404115+0300 kernel Adding notification with custom matching dictionary стандартное 12:43:16.404340+0300 kernel +EMUUSBAudioEngine::audioDevicePublished (, 0x0, ) стандартное 12:43:16.404356+0300 kernel +EMUUSBAudioEngine::audioDevicePublished (, 0x0, ) стандартное 12:43:16.404356+0300 kernel ++EMUUSBAudioEngine[]: found device () for Audio Engine () стандартное 12:43:16.404366+0300 kernel ++EMUUSBAudioEngine[]: found device () for Audio Engine () стандартное 12:43:16.404370+0300 kernel ++EMUUSBAudioEngine[]: found device () for Audio Engine () стандартное 12:43:16.404373+0300 kernel -EMUUSBAudioEngine::audioDevicePublished (, 0x0, ) стандартное 12:43:16.404378+0300 kernel ++EMUUSBAudioEngine[]: found device () for Audio Engine () стандартное 12:43:16.404383+0300 kernel -EMUUSBAudioEngine::audioDevicePublished (, 0x0, ) стандартное 12:43:16.404412+0300 kernel +EMUUSBAudioEngine[]::initHardware () стандартное 12:43:16.404484+0300 kernel Default sample rate is 44100 стандартное 12:43:16.404486+0300 kernel Default alternate setting ID is 1 стандартное 12:43:16.404578+0300 kernel Default sample rate is 44100 стандартное 12:43:16.404582+0300 kernel Default alternate setting ID is 1 стандартное 12:43:16.404666+0300 kernel There are 12 alternate stream interfaces on interface 2 стандартное 12:43:16.404685+0300 kernel Interface 2, Alt 2 has a стандартное 12:43:16.404686+0300 kernel 24 bit interface, стандартное 12:43:16.404690+0300 kernel 2 channels, and стандартное 12:43:16.404692+0300 kernel 1 sample rates, which are: стандартное 12:43:16.404696+0300 kernel 44100 стандартное 12:43:16.404740+0300 kernel Interface 2, Alt 4 has a стандартное 12:43:16.404742+0300 kernel 24 bit interface, стандартное 12:43:16.404745+0300 kernel 2 channels, and стандартное 12:43:16.404747+0300 kernel 1 sample rates, which are: стандартное 12:43:16.404751+0300 kernel 48000 стандартное 12:43:16.404802+0300 kernel Interface 2, Alt 6 has a стандартное 12:43:16.404804+0300 kernel 24 bit interface, стандартное 12:43:16.404808+0300 kernel 2 channels, and стандартное 12:43:16.404812+0300 kernel 1 sample rates, which are: стандартное 12:43:16.404814+0300 kernel 88200 стандартное 12:43:16.404869+0300 kernel Interface 2, Alt 8 has a стандартное 12:43:16.404871+0300 kernel 24 bit interface, стандартное 12:43:16.404874+0300 kernel 2 channels, and стандартное 12:43:16.404876+0300 kernel 1 sample rates, which are: стандартное 12:43:16.404880+0300 kernel 96000 стандартное 12:43:16.404942+0300 kernel Interface 2, Alt 9 has a стандартное 12:43:16.404946+0300 kernel 24 bit interface, стандартное 12:43:16.404948+0300 kernel 2 channels, and стандартное 12:43:16.404952+0300 kernel 1 sample rates, which are: стандартное 12:43:16.404954+0300 kernel 176400 стандартное 12:43:16.405011+0300 kernel Interface 2, Alt 10 has a стандартное 12:43:16.405015+0300 kernel 24 bit interface, стандартное 12:43:16.405019+0300 kernel 2 channels, and стандартное 12:43:16.405021+0300 kernel 1 sample rates, which are: стандартное 12:43:16.405025+0300 kernel 192000 стандартное 12:43:16.405082+0300 kernel There are 12 alternate stream interfaces on interface 1 стандартное 12:43:16.405093+0300 kernel Interface 1, Alt 2 has a стандартное 12:43:16.405170+0300 kernel 24 bit interface, стандартное 12:43:16.405350+0300 kernel 2 channels, and стандартное 12:43:16.405356+0300 kernel 192000 стандартное 12:43:16.406974+0300 kernel -EMUUSBAudioEngine::performFormatChange, result = 0 стандартное 12:43:16.407104+0300 kernel +EMUUSBAudioEngine::performFormatChange existing sampleRate is 44100 direction 0 стандартное 12:43:16.407107+0300 kernel fDriverTag = 0x10002 стандартное 12:43:16.407110+0300 kernel Need to adjust channel controls, cur = 0, new = 2 стандартное 12:43:16.407118+0300 kernel ++about to set output : ourInterfaceNumber = 1 & newAlternateSettingID = 2 стандартное 12:43:16.407598+0300 kernel called setNumSampleFramesPerBuffer with 32768 стандартное 12:43:16.407603+0300 kernel newFormat->fNumChannels = 2, newFormat->fBitWidth 24 стандартное 12:43:16.407608+0300 kernel -EMUUSBAudioEngine::performFormatChange, result = 0 стандартное 12:43:16.408380+0300 kernel getGlobalUniqueID = EMUUSBAudioEngine:E-MU Systems, Inc.:E-MU Tracker Pre | USB:100000:2 стандартное 12:43:16.408688+0300 kernel -EMUUSBAudioEngine[]::start () = 1 стандартное 12:43:16.408699+0300 kernel getGlobalUniqueID = EMUUSBAudioEngine:E-MU Systems, Inc.:E-MU Tracker Pre | USB:100000:2 стандартное 12:43:16.414400+0300 coreaudiod HALS_Device::Activate: activating device 217: EMUUSBAudioEngine:E-MU Systems, Inc.:E-MU Tracker Pre | USB:100000:2 стандартное 12:43:46.524136+0300 coreaudiod HALS_DefaultDeviceManager::SetDefaultDevice: 'dIn ' | 217: 'EMUUSBAudioEngine:E-MU Systems, Inc.:E-MU Tracker Pre | USB:100000:2'/'' стандартное 12:43:46.525690+0300 coreaudiod HALS_DefaultDeviceManager::FindPreferredDefaultDevice: 'dIn ' | found preferred[0] 217: 'EMUUSBAudioEngine:E-MU Systems, Inc.:E-MU Tracker Pre | USB:100000:2'/'' стандартное 12:43:46.526129+0300 com.apple.preference.sound.remoteservice HALDefaultDeviceProperty::SetData:kAudioHardwarePropertyDefaultInputDevice to EMUUSBAudioEngine:E-MU Systems, Inc.:E-MU Tracker Pre | USB:100000:2 (Object: 56) стандартное 12:43:46.626688+0300 kernel +EMUUSBAudioEngine[]::performAudioEngineStart () стандартное 12:43:46.626998+0300 kernel +findPipe: dir=1, type = 1 стандартное 12:43:46.627002+0300 kernel endpoint found: epDirection = 1, epType = 1 стандартное 12:43:46.630170+0300 kernel -findpipe: success стандартное 12:43:46.630626+0300 kernel create output pipe стандартное 12:43:46.630633+0300 kernel +findPipe: dir=0, type = 1 стандартное 12:43:46.630635+0300 kernel endpoint found: epDirection = 0, epType = 1 стандартное 12:43:46.633658+0300 kernel -findpipe: success стандартное 12:43:46.633665+0300 kernel check for associated endpoint стандартное 12:43:46.633986+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.633990+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.633992+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634004+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634030+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634053+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634082+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634109+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634195+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634196+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634200+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634202+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634203+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634221+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634227+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634228+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634231+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634233+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634239+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634243+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634253+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634254+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634257+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634259+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634262+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634263+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634267+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634269+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634270+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634274+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634275+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634279+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634280+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634283+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634284+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634288+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634290+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634293+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634294+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634298+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634299+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634303+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634305+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634306+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634309+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634311+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634314+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634315+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634318+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634320+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634322+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634325+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634327+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634330+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634332+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634334+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634336+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634340+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634341+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634344+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.634346+0300 kernel frameSizeQueue empty, guessing some queue size. May need fix.. стандартное 12:43:46.820285+0300 kernel warning way-out ring wrap position стандартное 12:43:47.006972+0300 kernel warning way-out ring wrap position стандартное 12:43:47.192709+0300 kernel warning way-out ring wrap position стандартное 12:43:47.378458+0300 kernel warning way-out ring wrap position стандартное 12:43:47.564208+0300 kernel warning way-out ring wrap position стандартное 12:43:47.750006+0300 kernel warning way-out ring wrap position стандартное 12:43:47.935740+0300 kernel warning way-out ring wrap position стандартное 12:43:48.121052+0300 kernel warning way-out ring wrap position стандартное 12:43:48.200397+0300 kernel USB hick (expected 743038548, got 30960035042, error=30216996494). timer re-syncing. стандартное 12:43:48.307259+0300 kernel warning way-out ring wrap position стандартное 12:43:48.492280+0300 kernel warning way-out ring wrap position стандартное 12:43:48.678752+0300 kernel warning way-out ring wrap position стандартное 12:43:48.864512+0300 kernel warning way-out ring wrap position стандартное 12:43:49.049974+0300 kernel warning way-out ring wrap position стандартное 12:43:49.236004+0300 kernel warning way-out ring wrap position стандартное 12:43:49.421781+0300 kernel warning way-out ring wrap position стандартное 12:43:49.607495+0300 kernel warning way-out ring wrap position стандартное 12:43:49.672425+0300 kernel USB hick (expected 743038548, got 30960544000, error=30217505452). timer re-syncing. стандартное 12:43:49.793262+0300 kernel warning way-out ring wrap position стандартное 12:43:49.979010+0300 kernel warning way-out ring wrap position стандартное 12:43:50.164808+0300 kernel warning way-out ring wrap position стандартное 12:43:50.350514+0300 kernel warning way-out ring wrap position стандартное 12:43:50.536276+0300 kernel warning way-out ring wrap position стандартное 12:43:50.722062+0300 kernel warning way-out ring wrap position стандартное 12:43:50.907777+0300 kernel warning way-out ring wrap position стандартное 12:43:51.093597+0300 kernel warning way-out ring wrap position стандартное 12:43:51.176398+0300 kernel USB hick (expected 743038548, got 30960578750, error=30217540202). timer re-syncing. стандартное 12:43:51.279295+0300 kernel warning way-out ring wrap position стандартное 12:43:51.465038+0300 kernel warning way-out ring wrap position стандартное 12:43:51.650834+0300 kernel warning way-out ring wrap position стандартное 12:43:51.836535+0300 kernel warning way-out ring wrap position стандартное 12:43:52.022341+0300 kernel warning way-out ring wrap position стандартное 12:43:52.208060+0300 kernel warning way-out ring wrap position стандартное 12:43:52.393795+0300 kernel warning way-out ring wrap position стандартное 12:43:52.578742+0300 kernel warning way-out ring wrap position стандартное 12:43:52.648442+0300 kernel USB hick (expected 743038548, got 30961476292, error=30218437744). timer re-syncing. стандартное 12:43:52.765305+0300 kernel warning way-out ring wrap position стандартное 12:43:52.951066+0300 kernel warning way-out ring wrap position стандартное 12:43:53.136806+0300 kernel warning way-out ring wrap position стандартное 12:43:53.322551+0300 kernel warning way-out ring wrap position стандартное 12:43:53.508335+0300 kernel warning way-out ring wrap position стандартное 12:43:53.693372+0300 kernel warning way-out ring wrap position стандартное 12:43:53.879820+0300 kernel warning way-out ring wrap position стандартное 12:43:54.065583+0300 kernel warning way-out ring wrap position стандартное 12:43:54.152367+0300 kernel USB hick (expected 743038548, got 30963040833, error=30220002285). timer re-syncing.

bezromval commented 3 years ago

When I Turned off стандартное 12:45:47.826550+0300 kernel +EMUUSBAudioEngine[]::stopUSBStream () стандартное 12:45:47.828658+0300 kernel All playback streams stopped стандартное 12:45:47.830697+0300 kernel -EMUUSBAudioEngine[]::requestTerminate (, 4) стандартное 12:45:48.827667+0300 kernel -EMUUSBAudioEngine[]::stopUSBStream () стандартное 12:45:48.827821+0300 kernel -EMUUSBAudioEngine[]::willTerminate стандартное 12:45:48.828875+0300 kernel -EMUUSBAudioEngine[]::stop () - rc=10 стандартное 12:45:48.832711+0300 coreaudiod HALS_Device::_Deactivate: deactivating device 217: EMUUSBAudioEngine:E-MU Systems, Inc.:E-MU Tracker Pre | USB:100000:2 стандартное 12:45:48.847357+0300 powerd Process coreaudiod.383 Released PreventUserIdleDisplaySleep "com.apple.audio.EMUUSBAudioEngine:E-MU Systems, Inc.:E-MU Tracker Pre | USB:100000:2.context.preventuseridledisplaysleep" age:00:02:03 id:21474871138 [System: PrevIdle DeclUser kDisp] стандартное 12:45:48.847640+0300 powerd Process coreaudiod.383 Released PreventUserIdleSystemSleep "com.apple.audio.EMUUSBAudioEngine:E-MU Systems, Inc.:E-MU Tracker Pre | USB:100000:2.context.preventuseridlesleep" age:00:02:02 id:4295001953 [System: PrevIdle DeclUser kDisp]

bezromval commented 3 years ago

Sometime its turns off sometime I get cursor frizzed,pink screen and reboot with this report after boot up panic(cpu 3 caller 0xfffffe002d44bf94): "lck_mtx_assert(): mutex (0xfffffe23339fc2e0) not owned" Debugger message: panic Memory ID: 0x6 OS release type: User OS version: 20D91 Kernel version: Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 Fileset Kernelcache UUID: F78A48EC84D7C3283E7C6C67D00889A7 Kernel UUID: 9FE8C0DA-8ED0-381C-9CEC-2A779F3E1503 iBoot version: iBoot-6723.81.1 secure boot?: YES Paniclog version: 13 KernelCache slide: 0x00000000256ec000 KernelCache base: 0xfffffe002c6f0000 Kernel slide: 0x0000000026220000 Kernel text base: 0xfffffe002d224000 Kernel text exec base: 0xfffffe002d2ec000 mach_absolute_time: 0x334d6f0c1 Epoch Time: sec usec Boot : 0x60571757 0x000215b3 Sleep : 0x00000000 0x00000000 Wake : 0x00000000 0x00000000 Calendar: 0x6057198e 0x00033130

CORE 0 recently retired instr at 0xfffffe002d456c0c CORE 1 recently retired instr at 0xfffffe002d456c0c CORE 2 recently retired instr at 0xfffffe002d456c0c CORE 3 recently retired instr at 0xfffffe002d455748 CORE 4 recently retired instr at 0xfffffe002d456c10 CORE 5 recently retired instr at 0xfffffe002d456c10 CORE 6 recently retired instr at 0xfffffe002d456c10 CORE 7 recently retired instr at 0xfffffe002d456c10 Panicked task 0xfffffe166e0f6550: 2190 pages, 61 threads: pid 430: coreaudiod Panicked thread: 0xfffffe1671e8ac68, backtrace: 0xfffffe3fdfd83490, tid: 18039 lr: 0xfffffe002d339fd0 fp: 0xfffffe3fdfd83500 lr: 0xfffffe002d339d9c fp: 0xfffffe3fdfd83570 lr: 0xfffffe002d45bf0c fp: 0xfffffe3fdfd83590 lr: 0xfffffe002d44d8b8 fp: 0xfffffe3fdfd83640 lr: 0xfffffe002d2f37e8 fp: 0xfffffe3fdfd83650 lr: 0xfffffe002d339a2c fp: 0xfffffe3fdfd839e0 lr: 0xfffffe002d339a2c fp: 0xfffffe3fdfd83a50 lr: 0xfffffe002dad465c fp: 0xfffffe3fdfd83a70 lr: 0xfffffe002d44bf94 fp: 0xfffffe3fdfd83a90 lr: 0xfffffe002d9a969c fp: 0xfffffe3fdfd83ab0 lr: 0xfffffe002c5dc9e0 fp: 0xfffffe3fdfd83af0 lr: 0xfffffe002d41a7d8 fp: 0xfffffe3fdfd83b50 lr: 0xfffffe002d33efb0 fp: 0xfffffe3fdfd83bc0 lr: 0xfffffe002d3179dc fp: 0xfffffe3fdfd83c40 lr: 0xfffffe002d340124 fp: 0xfffffe3fdfd83c70 lr: 0xfffffe002d326ff0 fp: 0xfffffe3fdfd83d10 lr: 0xfffffe002d330bf4 fp: 0xfffffe3fdfd83d50 lr: 0xfffffe002d32e6e8 fp: 0xfffffe3fdfd83d70 lr: 0xfffffe002d4412d8 fp: 0xfffffe3fdfd83e40 lr: 0xfffffe002d44d92c fp: 0xfffffe3fdfd83ef0 lr: 0xfffffe002d2f37e8 fp: 0xfffffe3fdfd83f00 Kernel Extensions in backtrace: com.emu.driver.EMUUSBAudio(4.1)[793BBAA1-B3AA-3CED-A418-9FB2AA150B5D]@0xfffffe002c5c0000->0xfffffe002c5ebfff dependency: com.apple.iokit.IOAudioFamily(300.6.1)[8F3BCABA-5A95-3E59-BCA4-563D59AC1339]@0xfffffe002f1f8000->0xfffffe002f21ffff dependency: com.apple.iokit.IOUSBHostFamily(1.2)[60A0F164-C469-34AD-A787-F64C60948655]@0xfffffe002fab0000->0xfffffe002fb67fff

last started kext at 2262760346: com.emu.driver.EMUUSBAudio 4.1.0 (addr 0xfffffe002c5b0000, size 49152) loaded kexts: com.emu.driver.EMUUSBAudio 4.1.0 com.apple.filesystems.autofs 3.0 com.apple.fileutil 20.036.15 com.apple.driver.AppleBluetoothMultitouch 99 com.apple.driver.AppleTopCaseHIDEventDriver 4030.5 com.apple.iokit.IOBluetoothSerialManager 8.0.3d9 com.apple.driver.AppleBiometricServices 1 com.apple.driver.AppleALSColorSensor 1.0.0d1 com.apple.driver.AppleAOPVoiceTrigger 11.5 com.apple.driver.BCMWLANFirmware4378.Hashstore 1 com.apple.driver.DiskImages.ReadWriteDiskImage 493.0.0 com.apple.driver.DiskImages.UDIFDiskImage 493.0.0 com.apple.driver.DiskImages.RAMBackingStore 493.0.0 com.apple.driver.DiskImages.FileBackingStore 493.0.0 com.apple.driver.CoreKDL 1 com.apple.driver.SEPHibernation 1 com.apple.filesystems.apfs 1677.81.1 com.apple.driver.AppleUSBDeviceNCM 5.0.0 com.apple.driver.AppleThunderboltIP 4.0.3 com.apple.driver.AppleSmartBatteryManager 161.0.0 com.apple.driver.AppleFileSystemDriver 3.0.1 com.apple.nke.l2tp 1.9 com.apple.filesystems.tmpfs 1 com.apple.IOTextEncryptionFamily 1.0.0 com.apple.filesystems.hfs.kext 556.60.1 com.apple.security.BootPolicy 1 com.apple.BootCache 40 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0 com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1 com.apple.driver.ApplePMP 1 com.apple.driver.ApplePMPFirmware 1 com.apple.AppleEmbeddedSimpleSPINORFlasher 1 com.apple.driver.AppleSmartIO2 1 com.apple.driver.AppleCS42L83Audio 437.96 com.apple.driver.AppleTAS5770LAmp 437.96 com.apple.driver.AppleSPMIPMU 1.0.1 com.apple.driver.AppleDPDisplayTCON 1 com.apple.driver.AppleT8020SOCTuner 1 com.apple.driver.AppleT8103CLPCv3 1 com.apple.AGXG13G 172.26.2 com.apple.driver.AppleAVD 376 com.apple.driver.AppleAVE2 401.63.3 com.apple.driver.AppleJPEGDriver 4.6.0 com.apple.driver.AppleMobileDispH13G-DCP 140.0 com.apple.driver.usb.AppleUSBHostT8103 1 com.apple.driver.AudioDMAController-T8103 1.59 com.apple.driver.AppleS5L8960XNCO 1 com.apple.driver.AppleT8103PMGR 1 com.apple.driver.AppleS8000AES 1 com.apple.driver.AppleS8000DWI 1.0.0d1 com.apple.driver.AppleS5L8960XWatchDogTimer 1 com.apple.driver.AppleInterruptController 1.0.0d1 com.apple.driver.AppleT8020DART 1 com.apple.driver.AppleBluetoothModule 1 com.apple.driver.AppleSamsungSerial 1.0.0d1 com.apple.driver.AppleBCMWLANBusInterfacePCIe 1 com.apple.driver.AppleS5L8920XPWM 1.0.0d1 com.apple.driver.AppleS5L8940XI2C 1.0.0d2 com.apple.driver.AppleSPIMC 1 com.apple.driver.AppleT8101 1 com.apple.driver.AppleM68Buttons 1.0.0d1 com.apple.iokit.IOUserEthernet 1.0.1 com.apple.iokit.IOKitRegistryCompatibility 1 com.apple.iokit.EndpointSecurity 1 com.apple.driver.AppleDiskImages2 1 com.apple.AppleSystemPolicy 2.0.0 com.apple.nke.applicationfirewall 310 com.apple.kec.InvalidateHmac 1 com.apple.driver.usb.cdc 5.0.0 com.apple.driver.AppleUSBAudio 401.4 com.apple.iokit.IOAudioFamily 300.6.1 com.apple.vecLib.kext 1.2.0 com.apple.kext.triggers 1.0 com.apple.driver.AppleActuatorDriver 4400.28 com.apple.driver.AppleMultitouchDriver 4400.28 com.apple.driver.AppleHSBluetoothDriver 4030.5 com.apple.driver.IOBluetoothHIDDriver 8.0.3d9 com.apple.driver.AppleHIDKeyboard 223 com.apple.iokit.IOAVBFamily 930.1 com.apple.plugin.IOgPTPPlugin 900.11 com.apple.iokit.IOEthernetAVBController 1.1.0 com.apple.driver.AppleMesaSEPDriver 100.99 com.apple.iokit.IOBiometricFamily 1 com.apple.driver.AppleAOPAudio 14.32 com.apple.driver.DiskImages.KernelBacked 493.0.0 com.apple.driver.AppleSEPHDCPManager 1.0.1 com.apple.iokit.AppleSEPGenericTransfer 1 com.apple.driver.AppleXsanScheme 3 com.apple.driver.IOBluetoothHostControllerPCIeTransport 8.0.3d9 com.apple.iokit.IOBluetoothHostControllerTransport 8.0.3d9 com.apple.driver.usb.networking 5.0.0 com.apple.driver.AppleBTM 1.0.1 com.apple.driver.AppleConvergedIPCOLYBTControl 1 com.apple.driver.AppleConvergedPCI 1 com.apple.driver.AppleBluetoothDebug 1 com.apple.driver.AppleThunderboltDPInAdapter 8.1.4 com.apple.driver.AppleThunderboltDPAdapterFamily 8.1.4 com.apple.driver.AppleThunderboltUSBDownAdapter 1.0.4 com.apple.driver.AppleThunderboltPCIDownAdapter 4.1.1 com.apple.nke.ppp 1.9 com.apple.driver.AppleHIDTransportSPI 4400.35 com.apple.driver.AppleHIDTransport 4400.35 com.apple.driver.AppleInputDeviceSupport 4400.35 com.apple.driver.AppleBSDKextStarter 3 com.apple.filesystems.hfs.encodings.kext 1 com.apple.driver.AppleDCPDPTXProxy 1.0.0 com.apple.driver.DCPDPFamilyProxy 1 com.apple.driver.AppleSPU 1 com.apple.driver.AppleDiagnosticDataAccessReadOnly 1.0.0 com.apple.AGXFirmwareKextG13GRTBuddy 172.26.2 com.apple.AGXFirmwareKextRTBuddy64 172.26.2 com.apple.iokit.IONVMeFamily 2.1.0 com.apple.driver.AppleNANDConfigAccess 1.0.0 com.apple.driver.AppleHPM 3.4.4 com.apple.driver.AppleStockholmControl 1.0.0 com.apple.driver.AppleCSEmbeddedAudio 437.96 com.apple.driver.AppleEmbeddedAudio 437.96 com.apple.iokit.AppleARMIISAudio 80.34 com.apple.driver.AppleDialogPMU 1.0.1 com.apple.driver.ApplePassthroughPPM 3.0 com.apple.iokit.IOGPUFamily 20.23 com.apple.driver.AppleH11ANEInterface 4.52.0 com.apple.driver.AppleH13CameraInterface 2.82.0 com.apple.driver.AppleH10PearlCameraInterface 14.70.0 com.apple.driver.DCPAVFamilyProxy 1 com.apple.iokit.IOMobileGraphicsFamily-DCP 343.0.0 com.apple.driver.AppleDCP 1 com.apple.driver.AppleFirmwareKit 1 com.apple.iokit.IOMobileGraphicsFamily 343.0.0 com.apple.driver.AppleSPMI 1.0.1 com.apple.driver.AppleUSBXDCIARM 1.0 com.apple.driver.AppleUSBXDCI 1.0 com.apple.iokit.IOUSBDeviceFamily 2.0.0 com.apple.driver.usb.AppleUSBXHCIARM 1 com.apple.driver.usb.AppleUSBXHCI 1.2 com.apple.driver.AppleEmbeddedUSBHost 1 com.apple.driver.usb.AppleUSBHub 1.2 com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2 com.apple.driver.AppleT8103TypeCPhy 1 com.apple.driver.AppleSART 1 com.apple.driver.ApplePMGR 1 com.apple.driver.watchdog 1 com.apple.driver.AppleDisplayCrossbar 1.0.0 com.apple.iokit.IODisplayPortFamily 1.0.0 com.apple.driver.AppleTypeCPhy 1 com.apple.driver.AppleThunderboltNHI 7.2.8 com.apple.driver.AppleT8103PCIeC 1 com.apple.iokit.IOThunderboltFamily 9.3.2 com.apple.driver.ApplePIODMA 1 com.apple.driver.AppleT8103PCIe 1 com.apple.driver.AppleMultiFunctionManager 1 com.apple.driver.AppleEmbeddedPCIE 1 com.apple.driver.AppleBluetoothDebugService 1 com.apple.driver.AppleBCMWLANCore 1.0.0 com.apple.iokit.IO80211FamilyV2 1200.12.2b1 com.apple.driver.IOImageLoader 1.0.0 com.apple.driver.corecapture 1.0.4 com.apple.driver.AppleMCA2-T8103 510.72 com.apple.driver.AppleGPIOICController 1.0.2 com.apple.driver.AppleFireStormErrorHandler 1 com.apple.driver.AppleMobileApNonce 1 com.apple.driver.usb.AppleUSBHostPacketFilter 1.0 com.apple.iokit.IOTimeSyncFamily 900.11 com.apple.driver.DiskImages 493.0.0 com.apple.iokit.IOGraphicsFamily 585 com.apple.iokit.IOBluetoothFamily 8.0.3d9 com.apple.iokit.IOBluetoothPacketLogger 8.0.3d9 com.apple.driver.FairPlayIOKit 68.6.0 com.apple.iokit.CoreAnalyticsFamily 1 com.apple.driver.AppleSSE 1.0 com.apple.driver.AppleSEPKeyStore 2 com.apple.driver.AppleUSBTDM 511.60.2 com.apple.iokit.IOUSBMassStorageDriver 184.40.6 com.apple.iokit.IOPCIFamily 2.9 com.apple.iokit.IOSCSIBlockCommandsDevice 436.40.6 com.apple.iokit.IOSCSIArchitectureModelFamily 436.40.6 com.apple.driver.AppleIPAppender 1.0 com.apple.driver.AppleFDEKeyStore 28.30 com.apple.driver.AppleEffaceableStorage 1.0 com.apple.driver.AppleCredentialManager 1.0 com.apple.driver.KernelRelayHost 1 com.apple.iokit.IOUSBHostFamily 1.2 com.apple.driver.AppleUSBHostMergeProperties 1.2 com.apple.driver.usb.AppleUSBCommon 1.0 com.apple.driver.AppleSMC 3.1.9 com.apple.driver.RTBuddy 1.0.0 com.apple.driver.AppleEmbeddedTempSensor 1.0.0 com.apple.driver.AppleARMPMU 1.0 com.apple.iokit.IOAccessoryManager 1.0.0 com.apple.driver.AppleOnboardSerial 1.0 com.apple.iokit.IOSkywalkFamily 1 com.apple.driver.mDNSOffloadUserClient 1.0.1b8 com.apple.iokit.IONetworkingFamily 3.4 com.apple.iokit.IOSerialFamily 11 com.apple.driver.AppleSEPManager 1.0.1 com.apple.driver.AppleA7IOP 1.0.2 com.apple.driver.IOSlaveProcessor 1 com.apple.driver.AppleBiometricSensor 2 com.apple.iokit.IOHIDFamily 2.0.0 com.apple.AUC 1.0 com.apple.iokit.IOAVFamily 1.0.0 com.apple.iokit.IOHDCPFamily 1.0.0 com.apple.iokit.IOCECFamily 1 com.apple.iokit.IOAudio2Family 1.0 com.apple.driver.AppleEmbeddedAudioLibs 1.17 com.apple.driver.AppleFirmwareUpdateKext 1 com.apple.driver.AppleM2ScalerCSCDriver 265.0.0 com.apple.iokit.IOSurface 289.3 com.apple.driver.IODARTFamily 1 com.apple.security.quarantine 4 com.apple.security.sandbox 300.0 com.apple.kext.AppleMatch 1.0.0d1 com.apple.driver.AppleMobileFileIntegrity 1.0.5 com.apple.kext.CoreTrust 1 com.apple.security.AppleImage4 3.0.0 com.apple.iokit.IOCryptoAcceleratorFamily 1.0.1 com.apple.driver.AppleARMPlatform 1.0.2 com.apple.iokit.IOStorageFamily 2.1 com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0 com.apple.iokit.IOReportFamily 47 com.apple.kec.pthread 1 com.apple.kec.corecrypto 11.1 com.apple.kec.Libm 1

Stackshot Succeeded Bytes Traced 262996 (Uncompressed 671536) **

Wouter1 commented 3 years ago

@bezromval thanks! It is going better than I expected. There is a connection being made with the EMU and some startup steps are taken. But either the real time stream does not work at all or there is a severe synchronization issue.

Need to think about what we can do next.

Wouter1 commented 3 years ago

стандартное 12:43:51.176398+0300 kernel USB hick (expected 743038548, got 30960578750, error=30217540202). timer re-syncing.

This indicates that the driver IS receiving data from the USB stream. However the time at which the data was received is way off (error = 30 seconds here) where the maximum error is 1ms

Wouter1 commented 3 years ago

@bezromval @philippgadow There seems to be some timing issue. Might be related to some issue with the non-0404 hardware. I first need someone test this on a EMU0404. I don't know however how to find that someone.

oxygen311 commented 3 years ago

There seems to be some timing issue. Might be related to some issue with the non-0404 hardware. I first need someone test this on a EMU0404. I don't know however how to find that someone.

I have a friend with an M1 mac. Can ask him to connect my 0404 to hic mac. What needs to be tested?

Wouter1 commented 3 years ago

@oxygen311 that would be great.

What I want to test is a new version of this driver. IMPORTANT it also caused kernel crashes, particularly when you turn OFF the EMU Therefore please test it on a separate copy of macos, not your normal copy. And copy any console log texts BEFORE you turn it off again.

This version os on the m1 branch at

https://github.com/Wouter1/EMU-driver/tree/M1

It's in the v15 directory.

The installation script is NOT recognising that new file yet.

Can you install the v15 driver manually in /Library/Extensions and see what it does?

If it does not work, please copy the console output log for kernel and EMU to this ticket so that I might be able to see some more info.

oxygen311 commented 3 years ago

@oxygen311 that would be great.

What I want to test is a new version of this driver. IMPORTANT it also caused kernel crashes, particularly when you turn OFF the EMU Therefore please test it on a separate copy of macos, not your normal copy. And copy any console log texts BEFORE you turn it off again.

This version os on the m1 branch at

https://github.com/Wouter1/EMU-driver/tree/M1

It's in the v15 directory.

The installation script is NOT recognising that new file yet.

Can you install the v15 driver manually in /Library/Extensions and see what it does?

If it does not work, please copy the console output log for kernel and EMU to this ticket so that I might be able to see some more info.

I not sure, that it will be able to test it that way in the near future (if it needs to copy system).

So, if anyone else can do it, it'll be great too.

Wouter1 commented 3 years ago

@oxygen311 I see. It is safer to test it on copy to avoid any data loss. But thanks for considering anyway.

svakulenko commented 2 years ago

Hi Guys,

After 5 month, what is the status for ticket. Can we use M1 branch drivers to use interface with M1 chip?

Thanks!

Wouter1 commented 2 years ago

@svakulenko Nothing changed. Nobody was willing to help me testing and debugging the M1 version. I do not have a M1 computer so I can not do anything more at this moment.

Wouter1 commented 2 years ago

Hi,

Thanks for your offer.

What might help if you can try and see whether and which error messages are coming from the driver (see the faq/ how make system log)

However I expect that this is going to need debugging. Debugging is possible only if I have a M1 mac and I don't expect that happen soon.

Wouter

------ Original Message ------ From: "Harsh Gundecha" @.> To: "Wouter1/EMU-driver" @.> Cc: "Wouter1" @.>; "Mention" @.> Sent: 11/1/2021 12:53:54 PM Subject: Re: [Wouter1/EMU-driver] ARM M1 issue Incompatible architecture: Cannot find arm64e in fat binary (#136)

@.*** I'll be more than happy to help but only if we can speed things up so that it either gets working or I can return the controller before the last date or if you feel that there won't be much changes and so we are confident that we will be able to get it working given that I'll do all that I can for testing/debugging (to the extent that I don't care even if I have to reinstall macOS)

Waiting for your response.

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/Wouter1/EMU-driver/issues/136#issuecomment-956169154

loveplov commented 2 years ago

Hi, I have a m1 air and e-mu 0204, if you want we can arrange a google meet session se we can debug it and make it work on m1.

krii1988 commented 2 years ago

I have an M1 Max and e-mu 0202, can also contribute to testing if necessary. Would be really nice to make it work!

Wouter1 commented 2 years ago

@loveplov @krii1988 Apple repair broke my mac. At this moment I can't do any mac development at all. I think it will take at least a month to estimate how I'm going to proceed with this.

toferzim commented 2 years ago

I have an m1 pro on monterery and 0202. I would be glad to contribute in testing. I've used MacBook Pro 13 2017 and your driver worked just great. I love my e-mu 0202 and would love to have a chance to start it on my new laptop. And thank you for doing it

bezromval commented 2 years ago

I have an M1 Max and e-mu 0202, can also contribute to testing if necessary. Would be really nice to make it work!

Be sure you're installing driver in a proper way like it described here https://motu.com/techsupport/technotes/apple-silicon-motu-audio-inst

toferzim commented 2 years ago

I have an M1 Max and e-mu 0202, can also contribute to testing if necessary. Would be really nice to make it work!

Be sure you're installing driver in a proper way like it described here https://motu.com/techsupport/technotes/apple-silicon-motu-audio-inst

Do you mean you've successfully installed the driver on M1?

Wouter1 commented 2 years ago

@krii1988 @loveplov @bezromval @toferzim

I moved away from Apple MacOS to Linux. I already had my doubts where Apple is moving, especially conserning security. Not being able to swap my drive to replacement system is a huge compromise to my security. And this showed when Apple erased my harddrive in what should have been a routine replacement of my machine's batteries.

So my support for this driver is going to end here (unless I need it for some other reason at some point in the future).

toferzim commented 2 years ago

@krii1988 @loveplov @bezromval @toferzim

I moved away from Apple MacOS to Linux. I already had my doubts where Apple is moving, especially conserning security. Not being able to swap my drive to replacement system is a huge compromise to my security. And this showed when Apple erased my harddrive in what should have been a routine replacement of my machine's batteries.

So my support for this driver is going to end here (unless I need it for some other reason at some point in the future)

Bad mews((( I was so happy to start my old EMU card on my macbook pro 2017. Now I've upgraded to M1Pro and found it's not working anymore. It is such a pity it's not supported anymore cause it is a good sound interface. I've recorded so much great stuff on it. And most of the modern sound interfaces in this price range are so bad and unreliable. Is there anything we can do to change your mind?

By the way, I've replaced my battery myself) nothing complicated at all

bezromval commented 2 years ago

Totally support the opinion up here. E-mu iis great interface even for today. It’s hard to find something with the same sound quality.

Wouter1 commented 2 years ago

@toferzim Yes. I attached the EMU to Ubuntu 20 and playback worked out of the box. So it might be an option to consider if you want to keep using it. Did not try recording yet though.

Replacing batteries in macbook pro is not simple anymore. Everything is glued in place and you apparently need special solvents to get them out...

toferzim commented 2 years ago

@toferzim Yes. I attached the EMU to Ubuntu 20 and playback worked out of the box. So it might be an option to consider if you want to keep using it. Did not try recording yet though.

Replacing batteries in macbook pro is not simple anymore. Everything is glued in place and you apparently need special solvents to get them out...

Can you please describe the process of "attaching Ubuntu 20"?

Wouter1 commented 2 years ago

@toferzim I would first test if it works using a boot stick. I think it's explained here https://ubuntu.com/tutorials/create-a-usb-stick-on-macos#1-overview. After that you can plug in the EMU and see if you can play back and record. it's also possible to run ubuntu in a virtual box within MacOS. https://siytek.com/ubuntu-mac-virtualbox/ but I think this is technically more involved and therefore I think this has slightly less chance of working properly