-
Notifications
You must be signed in to change notification settings - Fork 11
/
99-joulescope.rules
39 lines (35 loc) · 1.51 KB
/
99-joulescope.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Joulescope udev rules
# This file grants normal system users sufficient permissions to access Joulescope.
#
# Instructions:
# Copy this file to the udev rules
# sudo cp 99-joulescope.rules /etc/udev/rules.d/
# Reload the udev rules
# sudo udevadm control --reload-rules
#
#
# This file grants everyone read/write access. If you want to restrict access,
# you should modify MODE to "0660". You can then grant access to specific user
# accounts by adding them to the plugdev group. To grant yourself permission:
#
# sudo usermod -a -G plugdev `whoami`
#
# You will have to log out and then back in for the group change to take effect.
# To grant permission to a specific {user}:
#
# sudo usermod -a -G plugdev {user}
#
# replacing {user} with the actual username.
#
#
# Also see
# https://www.joulescope.com : product website
# https://github.com/jetperch/pyjoulescope : source code
# Joulescope JS110 application
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0e88", MODE="0666", GROUP="plugdev"
# Joulescope JS110 bootloader
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0e87", MODE="0666", GROUP="plugdev"
# Joulescope JS220 application
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="10ba", MODE="0666", GROUP="plugdev"
# Joulescope JS220 updater
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="10b9", MODE="0666", GROUP="plugdev"