WCHSoftGroup / ch34xser_macos

MacOS USB driver for USB to serial chip ch340, ch341, ch342, ch343, ch344, ch9101, ch9102, ch9103, etc
313 stars 25 forks source link

Apple Silicon M1+ native support without Rosetta? #6

Open mailinger-mate opened 2 years ago

mailinger-mate commented 2 years ago

Hello, Could you support Apple Silicon natively with M1+ chips? The current driver requires the Rosetta layer that I would rather avoid.

Screen Shot 2565-07-28 at 13 53 57

Thank you!

moyun-yinyun commented 2 years ago

Hello, Could you support Apple Silicon natively with M1+ chips? The current driver requires the Rosetta layer that I would rather avoid. Screen Shot 2565-07-28 at 13 53 57

Thank you!

https://support.apple.com/en-ca/guide/security/secebb113be1/web https://support.apple.com/en-ca/HT211861

mailinger-mate commented 2 years ago

Thank you, @moyun-yinyun! I am aware of how Rosetta works, and that we can run programs written for the Intel architecture.

My question is if you would consider writing the drivers native for Apple Silicon so we do not need to use Rosetta? https://isapplesiliconready.com/

moyun-yinyun commented 2 years ago

Thank you, @moyun-yinyun! I am aware of how Rosetta works, and that we can run programs written for the Intel architecture.

My question is if you would consider writing the drivers native for Apple Silicon so we do not need to use Rosetta? https://isapplesiliconready.com/

maye the CH34xVCPDriver.pkg need rosetta

cd /CH34xVCPDriver.app/Contents/MacOS file ./CH34xVCPDriver ./CH34xVCPDriver: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64] ./CH34xVCPDriver (for architecture x86_64): Mach-O 64-bit executable x86_64 ./CH34xVCPDriver (for architecture arm64): Mach-O 64-bit executable arm64 cd CH34xVCPDriver.app/Contents/Library/SystemExtensions/cn.wch.CH34xVCPDriver.dext/_CodeSignature

file ./cn.wch.CH34xVCPDriver ./cn.wch.CH34xVCPDriver: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64] ./cn.wch.CH34xVCPDriver (for architecture x86_64): Mach-O 64-bit executable x86_64 ./cn.wch.CH34xVCPDriver (for architecture arm64): Mach-O 64-bit executable arm64

moyun-yinyun commented 2 years ago

Thank you, @moyun-yinyun! I am aware of how Rosetta works, and that we can run programs written for the Intel architecture.

My question is if you would consider writing the drivers native for Apple Silicon so we do not need to use Rosetta? https://isapplesiliconready.com/

pleases add me mail lcl@wch.cn

mailinger-mate commented 2 years ago

So there is already driver for amr64 but maybe not packaged correctly?

mailinger-mate commented 2 years ago

pleases add me mail lcl@wch.cn

Do you mean I should send you email about the issue?

moyun-yinyun commented 2 years ago

pleases add me mail lcl@wch.cn

Do you mean I should send you email about the issue?

Yes, I will send you the installation package in dmg format, the PKG installation package must have rosetta installed

mailinger-mate commented 2 years ago

Thank you, I have sent you an email

andypiper commented 2 years ago

Can we get the Apple Silicon version for everyone please.

mailinger-mate commented 2 years ago

I will test the driver this week to confirm if it is working

mailinger-mate commented 2 years ago

@moyun-yinyun @andypiper Thank you, I can confirm that the CH34xVCPDriver.dmg file you shared with me works well. Would you be able to publish it for everyone as well? 🙏

lptr commented 2 years ago

Please publish it for everyone.

gingerbeardman commented 2 years ago

There is another way...

  1. Get the files out of the .pkg using one of:
  2. Move CH34xVCPDriver.app to /Applications manually
  3. Run /Applications/CH34xVCPDriver.app
  4. Press Install button
  5. Reboot

Done!

mailinger-mate commented 2 years ago

@moyun-yinyun thank you for sharing the m1 driver with me a few months ago. Would you please also upload the working DMG installer to this repository for everyone?

mela93 commented 1 year ago

There is another way...

1. Get the files out of the .pkg using one of:

   * SuspiciousPackage https://www.mothersruin.com/software/SuspiciousPackage/
   * The Unarchiver https://theunarchiver.com/

2. Move CH34xVCPDriver.app to /Applications manually

3. Run /Applications/CH34xVCPDriver.app

4. Press Install button

5. Reboot

Done!

Thank you, this is working for me.