-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Arduino IDE serial ports not working on EL Capitan OSX #3928
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
Comments
You are the first to report this issue, so could you please provide more details? What happens exactly? What did you expect? Any error messages / verbose output you could add? |
Hi Matthijs Kooijman, I have the very same problem. Arduino IDE does no longer show "tty" ports in port list, but just "cu", even if device "/dev/tty.usbmodem1A21" looks to be correctly created when USB cable is connected. If I run again Arduino IDE in this situation, it reports no USB port at all, even if I disconnect and reconnect my Arduino UNO. The only way to stop these effects is to turn off and back on my Mac. I hope I gave you enough elements to start to catch this issue, that has completely stacked my project. I look forward you hearing from you. Best Regards. Luca Moscardini |
Note to self: |
Hi Martino, Unfortunately I had no success: “nam install tmpvar/node-serialport#el-capitan” returns a long list of errors (see below), so I still can’t fix that issue. Please also find attached a copy of the file “npm-debug.log”. I look forward to hearing from you. Best Regards. Luca Moscardini npm ERR! git rev-list -n1 el-capitan: fatal: ambiguous argument 'el-capitan': unknown revision or path not in the working tree. npm ERR! Command failed: git clone --template=/Users/luca/.npm/_git-remotes/_templates --mirror git@github.com:tmpvar/node-serialport.git /Users/luca/.npm/_git-remotes/git-github-com-tmpvar-node-serialport-git-bde745f9 npm ERR! Please include the following file with any support request:
|
Sorry Luca, my message was intended as a reminder for myself, not a real way to solve the issue. |
Hi Martino, Luca Moscardini -------- Messaggio originale -------- Sorry Luca, my message was intended as a reminder for myself, not a real way to solve the issue. We'll tackle is very soon I promise — |
Unfortunately, he only fix that I have found, so far, is the return to Yosemite.... I've reported the problem to Apple... Under El Capitan, any use of the USB ports would lockup my Bluetooth keyboard and mouse. So, either the drivers from the Arduino must be re-written.... or... there is actually a bug in El Capitan.... |
Should alleviate arduino#3928
Heads up, the pull request @facchinm mentioned has been landed and is included in serialport@2.0.1
|
This issue is not a bug, but rather the result of Apple's new System Integrity Protection (SIP) policy called "Rootless". Rootless was introduced with the launch of El Capitan. The effect of Rootless is that many applications and drivers (such as those required for your USB serial connections) will no longer operate correctly. Third party vendors must modify their drivers and applications in order to comply with the new policy. There are "fixes" floating around the internet that require you to manually disable certain El Capitan security protection features – it is not recommended that you implement these fixes as they are either dangerous, or opportunistic security scams. The only thing you can really do is wait for third party vendors to rewrite their software. Unfortunately, this is not the answer anyone wanted to hear. |
You say that 'Third Party Vendors' need to re-write their software, Does this mean that genuine Arduino boards will still work? |
Fixed by #4006. Available with latest hourly build http://www.arduino.cc/en/Main/Software#hourly |
For the record: we tried the fix on our macs with various Arduino/Genuino boards and it is working flawlessly. If you are still experiencing problems maybe your boards uses proprietary USB-Serial chips that are not compliant with CDC-ACM? |
@cmaglie - are you using El Capitan? I had no problems with Yosemite on either of my macs (including my MacBook 2015 with USB C). However, since installing El Capitan on both my macs, the USB serial ports will only communicate using Windows 10 as a Bootcamp OS. Earlier versions of Windows would be fine too, but they have to be run natively (not as a virtual OS within El Capitan). If you are using El Capitan, then you must be using newer drivers. |
yes, the issue is all about "El Capitan".
Which boards are you using? In particular, I want to know if the USB-2-Serial chip is an atmega16u2 with Arduino's firmware or is another proprietary chip like FTDI or CH340. |
Hi Federico, I download latest nightly release but it does not fix my Mac problem with USB ports. Regards. Luca Moscardini
|
Are you certain you're using a genuine Arduino board? Not one of those Chinese clones with a CH340 chip? |
Hi Paul, I only use 100% genuine Arduinos. In my opinion, if this issue would be caused by a not 100% compatible USB chip, my Mac should simply not recognize and ignore it or transfer would return an error message. On the contrary, when Arduino IDE tries to upload my sketch, it crashes and also makes my bluetooth mouse crash as well: only way to close it is kill it from shell or from “Cmd+Alt+Esc” (luckily touch pad keeps working). Afterward, my Mac fan starts slowly to increase its speed till maximum. At that point, I can only shut my Mac down (it takes ages to turn off, ten times longer than usual). Best Regards. Luca
|
Hi All, Today I have bought a Yún (original, obviously!) and I have tried to upload a sketch: it does not work anyway, but IDE has not crashed and it has not crashed my bluetooth mouse. Also it has displayed the following error message: “Arduino:1.6.6 Hourly Build 2015/10/27 05:48 (Mac OS X), Scheda:"Arduino Yún" /Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Applications/Arduino.app/Contents/Java/hardware" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/Users/luca/Documents/Arduino/libraries" -fqbn=arduino:avr:yun -vid-pid=0X2341_0X8041 -ide-version=10606 -build-path "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp" -warnings=null -prefs=build.warn_data_percentage=75 -verbose "/prg/C/Arduino/ShiftRegisterTest/ShiftRegisterTest.ino" Lo sketch usa 5.190 byte (18%) dello spazio disponibile per i programmi. Il massimo è 28.672 byte. avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1A21": No such file or directory Unfortunately part of the messages are in Italian, language of my Arduino IDE. I hope it helps. Regards. Luca
|
Are you sure /dev/cu.usbmodem1A21 is the right port to use? A friend of mine was using an Arduino Uno with his OSX laptop yesterday, and had to use /dev/tty.something IIRC. Don't take my word for it though, I'm not a Mac user at all :-) |
Hi Matthijs, Luca Moscardini -------- Messaggio originale -------- Are you sure /dev/cu.usbmodem1A21 is the right port to use? A friend of mine was using an Arduino Uno with his OSX laptop yesterday, and had to use /dev/tty.something IIRC. Don't take my word for it though, I'm not a Mac user at all :-) — |
That suggests to me that no serial port for the Arduino is available at all, and this cu port is just your normal serial port, or an internal one, or whatever. Does the cu port disappear when you unplug the Arduino? |
Hi Matthijs, Luca Moscardini -------- Messaggio originale -------- That suggests to me that no serial port for the Arduino is available at all, and this cu port is just your normal serial port, or an internal one, or whatever. Does the cu port disappear when you unplug the Arduino? — |
Mac OS X EL Capitan 10.11.3 - Arduino 1.6.7 |
@squidlyboy : Did you try using a usb hub? |
When I use a hub, I get: When I don’t use a hub, I lose my Bluetooth mouse and keyboard, and the sketch is not uploaded. Sometimes it resets the Arduino, but still doesn’t upload. This is after moving the app to the root directory, then copying it to Applications. BTW: @richard Loxley Are you familiar with Apple’s new “sandbox” security? It’s not just a matter of permissions anymore. And I have tried to disable this feature, but it didn’t help. Hal
|
@Breidenbach which board are you using in #3928 (comment)? Also, are you using a powered or unpowered USB hub? The |
Powered
|
Powered hub, Genuine Arduino Uno
|
I've just downloaded the nightly build dated April 08 2016 on OS X El Capitan 10.11.3 |
Hi, @bmikhael you might need to update your Arduino to the latest version as well if you haven't done so. Check your version of "board manager" etc. I am running the latest EI Capitan and a cu version UNO, it is working fine. |
@DanceOfDragon, I've the latest nightly build for Arduino IDE and Intel Curie Boards v1.0.5, that's the latest I can find, and it's not working! |
I'm not sure why this is closed as it's not resolved. I'm not able to see any ports except for the one bluetooth port that is incorrect. I'm running EC 10.11.4 with the latest daily build of Arduino at the time of this posting and can't upload anything to my ATmega 2560. Anyone have any ideas? |
I had the same problem and the only solution I found was connect a external power supply to the Arduino. I think that the USB power isn't enough to supply the Arduino and our circuits, so the board is detected sometimes and sometimes no, depending the power needed on our circuit. So try to connect the Arduino board to a external powered USB Hub, or a external power supply. |
I'm having this issue with a Bare Conductive Touch Board. I have a genuine Uno that mounts fine, and is selectable in the Tools -> Port: menu, but the Touch Board doesn't even show up when I check the command line Maybe @stefandz or @peter-krige could point me in the right direction? I am using the Arduino IDE 1.6.9 on a Macbook Pro 9,1 in El Capitan 10.11.5. For the record I have tried:
SOLVED (?) Well, it was working, then it suddenly dismounted. Here's what I did:
I'm fairly certain that it has to do with how much power is going to the board from the computer. When I directly plug the board into the computer without a USB port (powered by the computer via USB) and unplug the other chip that the Touch Board is powering (oops, forgot to mention that to y'all!), then it mounts as a device and is selectable in the Arduino IDE. Jeez Louise. |
@mosspassion it sounds like you have this solved for now - different USB ports will be able to supply different amounts of power, and external circuitry attached to the board will certainly draw more power, potentially exceeding this limit. The fact that changing the USB cable made a difference is not surprising either - due to the number of leads designed purely for charging mobile phones (i.e. without the data conductors in place) we find a number of people having this issue. Certainly something to consider if you ever design your own board. If you have further issues with this, please send an email to info@bareconductive.com as this certainly isn't an issue for the Arduino development team - they have enough to do already! |
I ran into the same issue today, so I figured I'd look into it and add any info I could find. When connecting the MKR1000 to my MacBook Pro (using El Capitan 10.11.6) the board boots, but it isn't listed in my devices (not even in the
I think this might be a lead to why the device doesn't mount, however I'm not sure what could cause this and what I could do about it - if anything at all. I'll investigate a bit more and report any useful findings here :) |
Hi @tvervest , |
Hey @facchinm, I was just typing an update that the problem was resolved with a double-tap of the reset button xD It seems to work fine now, not sure if it matters but I've also installed the USB driver as described by @mosspassion. |
Hello, I am trying to connect my huzzah esp8266 to my mac os el capitan 10.11.6, but I can only see these boards in my IDE The IDE does not detect the serial port. I also checked in my file system but I don't see a device pointing to my huzzah. I've checked my system.log for messages but I don't see any, not even kernel related messages, as stated by other users. I've changed the USB cables. I've tested the same ESP8266 in another Linux machine and it was recognised by the IDE. Previous users reported problems with Arduino Uno boards, I've haven't seen this issue with a Huzzah ESP 8266 board over the internet. The sketch gets compiled without error, but when I upload the sketch I got: error: espcomm_open failed That is pointing to /dev/cu.itead-DevB, but this is not the real huzzah. Has anyone experienced the same issue? Any advices? Thank you. |
Oh well, if the kernel is not reporting it I'd be very surprised if the IDE did it 😄 |
Hi @facchinm I will report it with Adafruit too. Do you know what other log file I could check in Mac to confirm if it is detecting something or not? Thank you. |
Hi borch84, Luca Moscardini -------- Messaggio originale -------- Hello, I am trying to connect my huzzah esp8266 to my mac os el capitan 10.11.6, but I can only see these boards in my IDE The IDE does not detect the serial port. I also checked in my file system but I don't see a device pointing to my huzzah. I've checked my system.log for messages but I don't see any, not even kernel related messages, as stated by other users. I've changed the USB cables. I've tested the same ESP8266 in another Linux machine and it was recognised by the IDE. Previous users reported problems with Arduino Uno boards, I've haven't seen this issue with a Huzzah ESP 8266 board over the internet. The sketch gets compiled without error, but when I upload the sketch I got: sptool v0.4.9 - (c) 2014 Ch. Klippel ck@atelier-klippel.de An error occurred while uploading the sketch
opening port /dev/cu.itead-DevB at 115200 error: cannot access /dev/cu.itead-DevB error: espcomm_open failed error: espcomm_upload_mem failed That is pointing to /dev/cu.itead-DevB, but this is not the real huzzah. Has anyone experienced the same issue? Any advices? Thank you. — {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/arduino/Arduino","title":"arduino/Arduino","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/arduino/Arduino"}},"updates":{"snippets":[{"icon":"PERSON","message":"@borch84 in #3928: Hello, I am trying to connect my huzzah esp8266 to my mac os el capitan 10.11.6, but I can only see these boards in my IDE\r\n |
I wonder if Uno's 47 uF capacitors are causing the trouble? If you look at the USB 2.0 specification, in section 7.2.4.1 "Inrush Current Limiting" on page 177 is says:
|
Thanks for your feedback. I think I would have to try an externally powered USB hub then. Still looking more details about this issue. |
Being a Mac owner and Arduino user for a few years, I have had to deal with "locked up/frozen" USB ports on a few OS X iterations (incl. El Capitan & Sierra). I surmised it was due to excessive power draw. With 2 USB ports on my MacBook Pros, I found the following:
|
I had the same problem and none of this stuff worked to get my Adafruit Metro Mini + serial port working. To my embarrassment, I found that Adafruit had changed the driver from FTDI to CP2104. So if anyone is having the same problem with a Adafruit Metro Mini, then you may just need the correct driver. 😳 From the Adafruit Metro Mini product page:
|
Connected a 7 port usb hub to mbp with OSX 10.11.6. Had installed new drivers FTDI and 340 to connect to all kinds of boards. It seems that I have to use hub port 1 until it freezes, then move to port 2 until it freezes, etcetera. |
Hi AMKUIPERS, you are using an out of date version of MAC OS, you should try to update to 10.12 at least. I was having problems with the USB port as well, I updated it and now it is working. My mac is a Late 2012 Imac. Hope this helps for you. |
I see I was late to this party, but thanks to traumverloren for pointing out Adafruit has the SILAB CP2104 and I needed the new driver. FWIW, I'm running on OS X 10.11.6 on a MacBook Pro (15-inch, Late 2008) and at least no USB power issues. Also using the Feather Huzzah from ADA Box 3. Driver is at ---> CP2104 thanks **_From the Adafruit Metro Mini product page: As of Nov 8th 2016, we are now shipping with the SiLabs CP2104 - a high quality USB-to-Serial converter that performs as well or better than the FTDI series_** |
Anyone know how to fix Arduino IDE serial port lockup on EL Capitan OSX ??
Thanks
The text was updated successfully, but these errors were encountered: