just received my Photon today, after I had (unfortunately) updated my MBP to the Beta 3 of OS X El Capitan.
The particle-cli is working fine and I used brew to install all dependencies. dfu-util can see my Photon in DFU mode, but particle serial list merely says No devices available via serial. Is there anything I can do to debug that?
But all ports (iPhone AP + BT Incoming) are listed without manufacturer/vendor/product id. If I manually add the the device to the devices array (with type Photon), the particle serial list command gives me (obviously) this:
~ ξ° $ ξ° particle serial list
Found 1 device connected via serial:
/dev/cu.usbmodem1d111000.1 - Photon
But the setup still doesn't work, because the secure WiFi setup fails
~ ξ° $ ξ° particle setup
_ _ _ _
_ __ __ _ _ __| |_(_) ___| | ___ (_) ___
| '_ \ / _` | '__| __| |/ __| |/ _ \ | |/ _ \
| |_) | (_| | | | |_| | (__| | __/_| | (_) |
| .__/ \__,_|_| \__|_|\___|_|\___(_)_|\___/
|_| https://particle.io/
> Setup is easy! Let`s get started...
> It appears as though you are already logged in as a.graf@aetherworld.org
? Would you like to log in with a different account? No
! PROTIP: Hold the MODE/SETUP button on your device until it blinks blue!
! PROTIP: Please make sure you are connected to the internet.
> I have detected a Photon connected via USB.
? Would you like to continue with this one? Yes
! The Photon supports secure Wi-Fi setup. We`ll try that first.
! PROTIP: Wireless setup of Photons works like a wizard!
! PROTIP: We will automagically change the Wi-Fi network to which your computer is connected.
! PROTIP: You may lose your connection to the internet for a moment.
? Found "Photon-V92J". Would you like to perform setup on this one now? Yes
! PROTIP: You will need to know the password for your Wi-Fi network (if any) to proceed.
! PROTIP: You can press ctrl + C to quit setup at any time.
! Woops. Something went wrong connecting to Photon-V92J. Please manually re-connect to your Wi-Fi network.
Setting the device type to Spark Core allows me to complete the setup.
If all the other USB devices like you mentioned did not have the params then it would either be node-serialport having to adapt to the new changes or simply some beta bug?
I tested it with pretty much all USB devices I own (which is a lot) and Iβm confident itβs a node-serialport issue. At first I believed itβs a problem with rootless and it very well might be, but it must go deeper than merely not allowing access to /usr.
I might have misunderstood your last post: it definitely is an issue with either El Capitan or node-serialport. The exact same version works fine with Yosemite, and there is no problem enumerating the devices under El Capitan. Merely the PID/Vendor ID is missing.
Theoretically, this should also work: sudo npm update -g particle-cli
Also, if you are using homebrew on OSX, and have set the permissions on /usr/local correctly, you shouldnβt need to use sudo. (and in fact, it would be discouraged in this case)
I tried the uninstall - worked OK and install. It kicked out 5 warnings - see below. Is this OK?
xs-iMac:~ xs$ sudo npm uninstall -g particle-cli
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.