Skip to content

Commit c5c0454

Browse files
committed
Linux udev rule: Document need for updating idProduct to match Arduino board
The rule is currently hardcoded to Arduino Leonardo (VID=2341, PID=8036). It therefore needs to be slightly modified to work against other boards, such as Arduino micro.
1 parent 19469df commit c5c0454

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

linux/98-upower-hid.rules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# TODO: Adjust idProduct to match ProductID for the Arduino board used
12
ATTRS{idVendor}=="2341", ENV{UPOWER_VENDOR}="Arduino"
23
ATTRS{idVendor}=="2341", ATTRS{idProduct}=="8036", ENV{UPOWER_BATTERY_TYPE}="ups"
34

0 commit comments

Comments
 (0)