Package Details: particle-cli 3.7.0-1

Git Clone URL: https://aur.archlinux.org/particle-cli.git (read-only, click to copy)
Package Base: particle-cli
Description: CLI tool for the Particle hardware platform
Upstream URL: http://particle.io/
Licenses: GPL
Submitter: imrehg
Maintainer: imrehg
Last Packager: imrehg
Votes: 2
Popularity: 0.000000
First Submitted: 2015-10-31 11:06 (UTC)
Last Updated: 2023-02-04 07:43 (UTC)

Latest Comments

imrehg commented on 2020-12-09 22:12 (UTC)

Hey @eagebhart, thanks for the heads up! Updated things to 2.9.1 as it is out now. The udev rules were updated as well, but not exactly as you mentioned. Kept the "50-..." name, as it is not clear why it would need to have a higher number (i.e. lower priority) to work. For the groups and mode, I've adjusted to use a tag instead, based on comments on the Arch Wiki and would be great if you can try it out, see if it works. (I have to unearth my Particle somewhere to try it, and it might take a few days)

eagebhart commented on 2020-12-05 15:00 (UTC)

2.9.0 is out.

Also, the udev rules that are currently installed by particle-cli do not work. Adding GROUPS="users" and MODE="0666" to each rule and then renaming 50-particle.rules.d to /etc/udev/99-particle.rules.d fixes it.

antoniovazquez commented on 2019-02-07 09:55 (UTC) (edited on 2019-02-07 09:56 (UTC) by antoniovazquez)

Description: particle-cli <= 1.38.0-1 includes the udev-rule "50-particle.rules" in directory "/etc/udev/rules.d", which relies on the group "plugdev". This group doesn't exist by default and is not referred in our wiki. The "plugdev" group seems to be a special group from Ubuntu and is not generally used on GNU/Linux.

The developers of systemd doesn't like this: https://bugzilla.redhat.com/show_bug.cgi?id=815093

I want judge this. But we are relying on systemd. So it seems sane, to follow their policy.

Based on https://bugs.archlinux.org/task/56059

Based on https://bugs.archlinux.org/task/35602.

Extra info:

⇢ journalctl -b

...

Feb 07 10:46:01 X1Arch systemd-udevd[285]: Specified group 'plugdev' unknown

...

⇢ cat /etc/udev/rules.d/50-particle.rules | grep plugdev

SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="607[df]", GROUP="plugdev", MODE="0666"

SUBSYSTEMS=="usb", ATTRS{idVendor}=="2b04", ATTRS{idProduct}=="[cd]00?", GROUP="plugdev", MODE="0666"

zstewart commented on 2018-04-21 13:52 (UTC)

When installing the latest version of this package, I lot of warnings from pacman:

warning: directory permissions differ on /usr/lib/node_modules/particle-cli/ filesystem: 755 package: 777

It doesn't seem to have changed permissions on already existing directories, but ones that it created seem to have global read/write permissions on the directories (but not their contents).

makepkg 5.0.2 npm 5.8.0

I fixed it for my installation by running find /usr/lib/node_modules/particle-cli/ -type d -exec sudo chmod 755 {} \;, but this should probably be fixed in the package.

dbrgn commented on 2015-11-15 11:57 (UTC)

Maybe add dfu-util and openssl as opt dependencies? They're needed for local flashing.