Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Driver CH340G not working Mac M1 chip #2

Open
rohaizanr opened this issue Nov 5, 2021 · 21 comments
Open

Driver CH340G not working Mac M1 chip #2

rohaizanr opened this issue Nov 5, 2021 · 21 comments

Comments

@rohaizanr
Copy link

Hello,

After following the step, it is still not working on my MacBook Air (M1, 2020).

In the System Information, it is showing USB2.0-Ser!

Screenshot 2021-11-05 at 4 30 03 PM

I've already tried uninstalling and installing many time, is there a manual way to do this?

Thanks

@Lanjelin
Copy link

Lanjelin commented Nov 5, 2021

Been emailing WCH on the issue, and recieved the following file yesterday.
CH34xVCPDriver.zip
I've not had much time to test, but I was able to communicate/ use serial monitor with a CH340K chip.

@rohaizanr
Copy link
Author

Hi @Lanjelin, it seems not working on CH340G.
I had the same file given to me from https://github.com/WCHSoftGroup/ch34xser_macos

@rohaizanr rohaizanr changed the title Driver not working Mac M1 chip Driver not working Mac M1 chip (CH340G) Nov 5, 2021
@rohaizanr rohaizanr changed the title Driver not working Mac M1 chip (CH340G) Driver CH340G not working Mac M1 chip Nov 5, 2021
@johnnymiranda
Copy link

I am having the same issue as @izandotnet. I am really new to the Apple M1 chip so I am not sure if there is a work around via emulation.

@deepbluese
Copy link

Is there a solution for Macs with M1?

@WCHSoftGroup
Copy link
Owner

The driver supports:
OS X 10.9 to OS X 10.15
OS X 11.0(Big Sur) and above

@WCHSoftGroup
Copy link
Owner

@izandotnet It seems that the cable works now, and the device is named "tty.wchusbserialxxx"

@deepbluese
Copy link

deepbluese commented Nov 15, 2021 via email

@rohaizanr
Copy link
Author

@izandotnet It seems that the cable works now, and the device is named "tty.wchusbserialxxx"

In the System Information, it is showing USB2.0-Ser!
Screenshot 2021-11-15 at 8 23 26 PM

@rohaizanr
Copy link
Author

And what's about the architecture? Arm? M1 is arm and this don’t work already! Von meinem iPhone gesendet

Am 15.11.2021 um 13:09 schrieb WCHSoftGroup @.***>:  The driver supports: OS X 10.9 to OS X 10.15 OS X 11.0(Big Sur) and above — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

How do you know this?

@deepbluese
Copy link

Because of:
(https://user-images.githubusercontent.com/77930305/141809687-8374fb44-a8d0-4089-81a2-895d5acb04dc.png)> >

Am 15.11.2021 um 13:09 schrieb WCHSoftGroup @.***>:  The driver supports: OS X 10.9 to OS X 10.15 OS X 11.0(Big Sur) and above — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

How do you know this?

@DataCerealz
Copy link

Same issue here.
Using an M1 Mac on Monterey 12.0.1 the driver doesn't work.
I tried the one from the official website as well as the driver from this repository without any success; following exactly the instructions of the pdf.
It creates files in /var/db/receipts/ but no files in /dev/ or in /Library/Extensions/.

I tried rebooting and reinstalling several times with no success; using 1.1, 1.4, 1.5, and this repo.

@lptr
Copy link

lptr commented Nov 26, 2021

I'm having the same issue, but with an Intel MacBook Pro (15-inch, 2019).
The same setup works fine on my Intel iMac (2020).

Both machines are on Monterey 12.0.1.

The installation of the driver goes fine, I click "allow" in security preferences, reboot, but there is no kernel extension:

$ kextstat | grep -v com.apple                       

Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>
  120    0 0xffffff7f997cf000 0x2000     0x2000     com.intel.driver.EnergyDriver (3.6.0) CF3549FA-B79E-34E2-BF25-6C5FEF5EF262 <9 7 6 3>

Nor do I see any tty.wch* devices:

$ ls -l /dev/tty.*
crw-rw-rw-  1 root  wheel  0x9000000 Nov 26 11:27 /dev/tty.BLTH
crw-rw-rw-  1 root  wheel  0x9000002 Nov 26 11:27 /dev/tty.Bluetooth-Incoming-Port

@lptr
Copy link

lptr commented Nov 26, 2021

OK, I tried using the same USB cable that works on the iMac, and now it works on the MBP as well. I have no idea what the difference between the cables are.

@DataCerealz
Copy link

@lptr Wait; so you still don't have a kernel extension nor a dev entry and it's still working just with a different cable?!
Where does this driver even get installed?
Did you use some sort of USB-C to USB-B cable or do you still have a Hub in between?

@lptr
Copy link

lptr commented Nov 26, 2021

I don't have a kernel extension:

$ kextstat | grep -v com.apple
Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>
  124    0 0xffffff7f997cf000 0x2000     0x2000     com.intel.driver.EnergyDriver (3.6.0) CF3549FA-B79E-34E2-BF25-6C5FEF5EF262 <9 7 6 3>

But I do have the USB device when using the right cable:

$ ls -l /dev/tty.*
crw-rw-rw-  1 root  wheel  0x9000000 Nov 26 11:39 /dev/tty.BLTH
crw-rw-rw-  1 root  wheel  0x9000002 Nov 26 11:39 /dev/tty.Bluetooth-Incoming-Port
crw-rw-rw-  1 root  wheel  0x9000006 Nov 26 13:23 /dev/tty.usbmodem52780134231
crw-rw-rw-  1 root  wheel  0x9000004 Nov 26 13:23 /dev/tty.wchusbserial52780134231

I'm using an USB-C to USB-A dongle with a USB-A to micro USB-2A cable.

@lptr
Copy link

lptr commented Nov 26, 2021

TIL about charge-only USB cables:

Because the USB Implementers Forum doesn’t have any rule enforcing USB manufacturers to label or differentiate charge-only cables from data-transfer cables, it is almost impossible to tell them apart.

https://www.dignited.com/50330/usb-data-cable-vs-usb-charging-cable/

My best guess is that the cables I tried on my MBP that didn't work were charge-only.

🤦

@DataCerealz
Copy link

Now that's crazy. So I copied your setup and tried with a really old blackberry cable.

It generated the dev files as expected:

ls /dev/*usb*         
/dev/cu.usbserial-10
/dev/tty.usbserial-10
/dev/cu.wchusbserial10
/dev/tty.wchusbserial10

The controller is still not recognised by the Arduino IDE; but having Arduino agent installed (well, installation crashed with an error message but it's still running and doing it's job somehow) the Arduino Web IDE recognised the controller and I could upload code flawlessly.

I am still kind of confused. So I already shared your theory about no data lanes in my cables; but I was so sure that I also used the other ones for data before....and I mean I tired quite a few. But I could be wrong here and it really was just me being unlucky for always picking power-only cables out of my storage box ;)

Feeling stupid right now.

@lptr
Copy link

lptr commented Nov 26, 2021

Feeling stupid right now.

Same. 🤷 But glad that it works for you too now! :)

@andypiper
Copy link

What is the conclusion here for M1 / Apple Silicon Macs?

@smilodonis
Copy link

What is the conclusion here for M1 / Apple Silicon Macs?

Still not working for me on M1 Mac.

@helmiattastify
Copy link

helmiattastify commented Jan 9, 2023

try to use V1.1 instead of another driver version
after plug the device please wait little bit longer maybe 20seconds.

if you cannot see the usb serial port, check on serial monitor

I'm using M1 (13.1)

Screenshot 2023-01-09 at 09 20 36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants