picotool icon indicating copy to clipboard operation
picotool copied to clipboard

add a udev rule for linux systems to access the pico without sudo

Open diehard67 opened this issue 4 years ago • 2 comments

I created a udev rules file so I can use picotool without sudo

# make raspberry pi pico accessible without sudo.

SUBSYSTEM!="usb_device", ACTION!="add", GOTO="rpi2_end"
# Raspberry Pi Pico
ATTR{idVendor}=="2e8a", ATTRS{idProduct}=="0003", MODE="660", GROUP="plugdev"

LABEL="rpi2_end"

diehard67 avatar May 27 '21 07:05 diehard67

I guess this is very similar to https://github.com/raspberrypi/openocd/pull/5 and https://github.com/raspberrypi/openocd/pull/27 ? (although not identical, as it has a different idProduct)

lurch avatar May 27 '21 09:05 lurch

yah sort of, this one is for a pico in BOOTSEL mode, not picoprobe, but looks like the same goal.

diehard67 avatar May 28 '21 00:05 diehard67

merged into develop

kilograham avatar Feb 10 '23 13:02 kilograham