No DFU capable device available but dfu-util shows it

New to Particle, just got a photon2. I am running on linux, Debian.
Just trying the blinking led in your tutorial. Compiles OK, when I try to flash, it says no DFU capable device is available. So, I put the Photon2 in DFU mode and I get:

_dfu-util: Cannot open DFU device 2b04:d020
_dfu-util: No DFU capable USB device available
make[2]: *** [program-dfu] Error 74
make[1]: *** [modules/tron/user-part] Error 2
make: *** [flash-user] Error 2

run:

sudo dfu-util -l

Found DFU: [2b04:d020] ver=0252, devnum=17, cfg=1, intf=0, path="1-10.2", alt=1, name="@DCT Flash /0x00000000/1016Ke", serial="0a10aced202194944a042c88"
Found DFU: [2b04:d020] ver=0252, devnum=17, cfg=1, intf=0, path="1-10.2", alt=0, name="@Internal Flash /0x08000000/2048
004Kg", serial="0a10aced202194944a042c88"

Looks like a permission thing, I can chmod /dev/ttyACM1 and flash from vscode or use the command line as root.
Program doesn't run but at least it flashes. Project for when I have lots of time to burn. I figured the challenge would be running my sensors.
Perhaps P2 documentation hasn't caught up or I am just mired here in the slow group. Have a nice day.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.