Skip to content

Commit

Permalink
Linux udev rule: Document need for updating idProduct to match Arduin…
Browse files Browse the repository at this point in the history
…o 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.
  • Loading branch information
forderud committed Sep 1, 2024
1 parent 19469df commit c5c0454
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions linux/98-upower-hid.rules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# TODO: Adjust idProduct to match ProductID for the Arduino board used
ATTRS{idVendor}=="2341", ENV{UPOWER_VENDOR}="Arduino"
ATTRS{idVendor}=="2341", ATTRS{idProduct}=="8036", ENV{UPOWER_BATTERY_TYPE}="ups"

0 comments on commit c5c0454

Please sign in to comment.