Particles-cli serial error

When I run particle identify, this is what i get.

āžœ  ~  particle identify
Serial err: Error: Cannot open /dev/ttyACM0
Serial problems, please reconnect the device.

! serial: Serial problems, please reconnect the device.
Potentially unhandled rejection [2] Error: Serialport not open.
    at SerialPortFactory.SerialPort.close (/usr/lib/node_modules/particle-cli/node_modules/serialport/serialport.js:476:17)
    at /usr/lib/node_modules/particle-cli/commands/SerialCommand.js:668:16
    at runSideEffect (/usr/lib/node_modules/particle-cli/node_modules/when/lib/decorators/flow.js:85:25)
    at /usr/lib/node_modules/particle-cli/node_modules/when/lib/decorators/flow.js:80:12
    at tryCatchReject (/usr/lib/node_modules/particle-cli/node_modules/when/lib/makePromise.js:845:30)
    at runContinuation1 (/usr/lib/node_modules/particle-cli/node_modules/when/lib/makePromise.js:804:4)
    at Rejected.when (/usr/lib/node_modules/particle-cli/node_modules/when/lib/makePromise.js:625:4)
    at Pending.run (/usr/lib/node_modules/particle-cli/node_modules/when/lib/makePromise.js:483:13)
    at Scheduler._drain (/usr/lib/node_modules/particle-cli/node_modules/when/lib/Scheduler.js:62:19)
    at Scheduler.drain (/usr/lib/node_modules/particle-cli/node_modules/when/lib/Scheduler.js:27:9)

What does particle --version say and i presume you are using ubuntu?

version 1.5.11. And I am actually using Centos 7. Forgot to mention that.

Cool. How about particle serial identify? Make sure the core/photon is blinking Blue.

It sounds like a udev rule issue

Never mind, I realized reinstalled the os recently and I need to change permission on ttyACM0

1 Like